From cced717cfeeaeeaa7e2340f1b9f7792726dd0d61 Mon Sep 17 00:00:00 2001 From: Silvan Sievers Date: Thu, 26 Oct 2023 15:59:33 +0200 Subject: [PATCH] add IPC23 benchmarks --- folding-opt23-adl/domain.pddl | 195 + folding-opt23-adl/p01.pddl | 302 ++ folding-opt23-adl/p02.pddl | 450 +++ folding-opt23-adl/p03.pddl | 628 ++++ folding-opt23-adl/p04.pddl | 961 +++++ folding-opt23-adl/p05.pddl | 1358 +++++++ folding-opt23-adl/p06.pddl | 1670 +++++++++ folding-opt23-adl/p07.pddl | 1829 +++++++++ folding-opt23-adl/p08.pddl | 628 ++++ folding-opt23-adl/p09.pddl | 729 ++++ folding-opt23-adl/p10.pddl | 842 +++++ folding-opt23-adl/p11.pddl | 1090 ++++++ folding-opt23-adl/p12.pddl | 1354 +++++++ folding-opt23-adl/p13.pddl | 1668 +++++++++ folding-opt23-adl/p14.pddl | 626 ++++ folding-opt23-adl/p15.pddl | 834 +++++ folding-opt23-adl/p16.pddl | 951 +++++ folding-opt23-adl/p17.pddl | 1076 ++++++ folding-opt23-adl/p18.pddl | 1352 +++++++ folding-opt23-adl/p19.pddl | 1658 +++++++++ folding-opt23-adl/p20.pddl | 2368 ++++++++++++ folding-sat23-adl/domain.pddl | 195 + folding-sat23-adl/p01.pddl | 632 ++++ folding-sat23-adl/p02.pddl | 1076 ++++++ folding-sat23-adl/p03.pddl | 1666 +++++++++ folding-sat23-adl/p04.pddl | 2000 ++++++++++ folding-sat23-adl/p05.pddl | 2368 ++++++++++++ folding-sat23-adl/p06.pddl | 2780 ++++++++++++++ folding-sat23-adl/p07.pddl | 3212 ++++++++++++++++ folding-sat23-adl/p08.pddl | 842 +++++ folding-sat23-adl/p09.pddl | 1080 ++++++ folding-sat23-adl/p10.pddl | 1360 +++++++ folding-sat23-adl/p11.pddl | 1662 +++++++++ folding-sat23-adl/p12.pddl | 2368 ++++++++++++ folding-sat23-adl/p13.pddl | 2780 ++++++++++++++ folding-sat23-adl/p14.pddl | 836 +++++ folding-sat23-adl/p15.pddl | 1076 ++++++ folding-sat23-adl/p16.pddl | 1354 +++++++ folding-sat23-adl/p17.pddl | 1658 +++++++++ folding-sat23-adl/p18.pddl | 2368 ++++++++++++ folding-sat23-adl/p19.pddl | 3208 ++++++++++++++++ folding-sat23-adl/p20.pddl | 3670 +++++++++++++++++++ labyrinth-opt23-adl/domain.pddl | 478 +++ labyrinth-opt23-adl/p01.pddl | 58 + labyrinth-opt23-adl/p02.pddl | 87 + labyrinth-opt23-adl/p03.pddl | 91 + labyrinth-opt23-adl/p04.pddl | 89 + labyrinth-opt23-adl/p05.pddl | 87 + labyrinth-opt23-adl/p06.pddl | 120 + labyrinth-opt23-adl/p07.pddl | 117 + labyrinth-opt23-adl/p08.pddl | 123 + labyrinth-opt23-adl/p09.pddl | 122 + labyrinth-opt23-adl/p10.pddl | 164 + labyrinth-opt23-adl/p11.pddl | 168 + labyrinth-opt23-adl/p12.pddl | 165 + labyrinth-opt23-adl/p13.pddl | 160 + labyrinth-opt23-adl/p14.pddl | 165 + labyrinth-opt23-adl/p15.pddl | 215 ++ labyrinth-opt23-adl/p16.pddl | 211 ++ labyrinth-opt23-adl/p17.pddl | 208 ++ labyrinth-opt23-adl/p18.pddl | 213 ++ labyrinth-opt23-adl/p19.pddl | 267 ++ labyrinth-opt23-adl/p20.pddl | 274 ++ labyrinth-sat23-adl/domain.pddl | 478 +++ labyrinth-sat23-adl/p01.pddl | 125 + labyrinth-sat23-adl/p02.pddl | 123 + labyrinth-sat23-adl/p03.pddl | 127 + labyrinth-sat23-adl/p04.pddl | 120 + labyrinth-sat23-adl/p05.pddl | 158 + labyrinth-sat23-adl/p06.pddl | 164 + labyrinth-sat23-adl/p07.pddl | 163 + labyrinth-sat23-adl/p08.pddl | 162 + labyrinth-sat23-adl/p09.pddl | 161 + labyrinth-sat23-adl/p10.pddl | 209 ++ labyrinth-sat23-adl/p11.pddl | 213 ++ labyrinth-sat23-adl/p12.pddl | 207 ++ labyrinth-sat23-adl/p13.pddl | 215 ++ labyrinth-sat23-adl/p14.pddl | 218 ++ labyrinth-sat23-adl/p15.pddl | 215 ++ labyrinth-sat23-adl/p16.pddl | 266 ++ labyrinth-sat23-adl/p17.pddl | 266 ++ labyrinth-sat23-adl/p18.pddl | 266 ++ labyrinth-sat23-adl/p19.pddl | 267 ++ labyrinth-sat23-adl/p20.pddl | 274 ++ quantum-layout-opt23-strips/domain_p01.pddl | 76 + quantum-layout-opt23-strips/domain_p02.pddl | 81 + quantum-layout-opt23-strips/domain_p03.pddl | 176 + quantum-layout-opt23-strips/domain_p04.pddl | 196 + quantum-layout-opt23-strips/domain_p05.pddl | 226 ++ quantum-layout-opt23-strips/domain_p06.pddl | 276 ++ quantum-layout-opt23-strips/domain_p07.pddl | 56 + quantum-layout-opt23-strips/domain_p08.pddl | 66 + quantum-layout-opt23-strips/domain_p09.pddl | 106 + quantum-layout-opt23-strips/domain_p10.pddl | 136 + quantum-layout-opt23-strips/domain_p11.pddl | 176 + quantum-layout-opt23-strips/domain_p12.pddl | 276 ++ quantum-layout-opt23-strips/domain_p13.pddl | 381 ++ quantum-layout-opt23-strips/domain_p14.pddl | 76 + quantum-layout-opt23-strips/domain_p15.pddl | 106 + quantum-layout-opt23-strips/domain_p16.pddl | 136 + quantum-layout-opt23-strips/domain_p17.pddl | 226 ++ quantum-layout-opt23-strips/domain_p18.pddl | 276 ++ quantum-layout-opt23-strips/domain_p19.pddl | 276 ++ quantum-layout-opt23-strips/domain_p20.pddl | 381 ++ quantum-layout-opt23-strips/p01.pddl | 76 + quantum-layout-opt23-strips/p02.pddl | 78 + quantum-layout-opt23-strips/p03.pddl | 116 + quantum-layout-opt23-strips/p04.pddl | 124 + quantum-layout-opt23-strips/p05.pddl | 136 + quantum-layout-opt23-strips/p06.pddl | 156 + quantum-layout-opt23-strips/p07.pddl | 50 + quantum-layout-opt23-strips/p08.pddl | 54 + quantum-layout-opt23-strips/p09.pddl | 70 + quantum-layout-opt23-strips/p10.pddl | 82 + quantum-layout-opt23-strips/p11.pddl | 98 + quantum-layout-opt23-strips/p12.pddl | 138 + quantum-layout-opt23-strips/p13.pddl | 180 + quantum-layout-opt23-strips/p14.pddl | 110 + quantum-layout-opt23-strips/p15.pddl | 122 + quantum-layout-opt23-strips/p16.pddl | 134 + quantum-layout-opt23-strips/p17.pddl | 170 + quantum-layout-opt23-strips/p18.pddl | 190 + quantum-layout-opt23-strips/p19.pddl | 190 + quantum-layout-opt23-strips/p20.pddl | 232 ++ quantum-layout-sat23-strips/domain_p01.pddl | 196 + quantum-layout-sat23-strips/domain_p02.pddl | 176 + quantum-layout-sat23-strips/domain_p03.pddl | 226 ++ quantum-layout-sat23-strips/domain_p04.pddl | 276 ++ quantum-layout-sat23-strips/domain_p05.pddl | 276 ++ quantum-layout-sat23-strips/domain_p06.pddl | 381 ++ quantum-layout-sat23-strips/domain_p07.pddl | 136 + quantum-layout-sat23-strips/domain_p08.pddl | 196 + quantum-layout-sat23-strips/domain_p09.pddl | 176 + quantum-layout-sat23-strips/domain_p10.pddl | 226 ++ quantum-layout-sat23-strips/domain_p11.pddl | 276 ++ quantum-layout-sat23-strips/domain_p12.pddl | 276 ++ quantum-layout-sat23-strips/domain_p13.pddl | 381 ++ quantum-layout-sat23-strips/domain_p14.pddl | 136 + quantum-layout-sat23-strips/domain_p15.pddl | 196 + quantum-layout-sat23-strips/domain_p16.pddl | 176 + quantum-layout-sat23-strips/domain_p17.pddl | 226 ++ quantum-layout-sat23-strips/domain_p18.pddl | 276 ++ quantum-layout-sat23-strips/domain_p19.pddl | 276 ++ quantum-layout-sat23-strips/domain_p20.pddl | 381 ++ quantum-layout-sat23-strips/p01.pddl | 124 + quantum-layout-sat23-strips/p02.pddl | 116 + quantum-layout-sat23-strips/p03.pddl | 136 + quantum-layout-sat23-strips/p04.pddl | 156 + quantum-layout-sat23-strips/p05.pddl | 156 + quantum-layout-sat23-strips/p06.pddl | 198 + quantum-layout-sat23-strips/p07.pddl | 82 + quantum-layout-sat23-strips/p08.pddl | 106 + quantum-layout-sat23-strips/p09.pddl | 98 + quantum-layout-sat23-strips/p10.pddl | 118 + quantum-layout-sat23-strips/p11.pddl | 138 + quantum-layout-sat23-strips/p12.pddl | 138 + quantum-layout-sat23-strips/p13.pddl | 180 + quantum-layout-sat23-strips/p14.pddl | 134 + quantum-layout-sat23-strips/p15.pddl | 158 + quantum-layout-sat23-strips/p16.pddl | 150 + quantum-layout-sat23-strips/p17.pddl | 170 + quantum-layout-sat23-strips/p18.pddl | 190 + quantum-layout-sat23-strips/p19.pddl | 190 + quantum-layout-sat23-strips/p20.pddl | 232 ++ recharging-robots-opt23-adl/domain.pddl | 135 + recharging-robots-opt23-adl/p01.pddl | 101 + recharging-robots-opt23-adl/p02.pddl | 132 + recharging-robots-opt23-adl/p03.pddl | 153 + recharging-robots-opt23-adl/p04.pddl | 155 + recharging-robots-opt23-adl/p05.pddl | 109 + recharging-robots-opt23-adl/p06.pddl | 128 + recharging-robots-opt23-adl/p07.pddl | 180 + recharging-robots-opt23-adl/p08.pddl | 226 ++ recharging-robots-opt23-adl/p09.pddl | 236 ++ recharging-robots-opt23-adl/p10.pddl | 127 + recharging-robots-opt23-adl/p11.pddl | 227 ++ recharging-robots-opt23-adl/p12.pddl | 232 ++ recharging-robots-opt23-adl/p13.pddl | 256 ++ recharging-robots-opt23-adl/p14.pddl | 301 ++ recharging-robots-opt23-adl/p15.pddl | 222 ++ recharging-robots-opt23-adl/p16.pddl | 236 ++ recharging-robots-opt23-adl/p17.pddl | 275 ++ recharging-robots-opt23-adl/p18.pddl | 229 ++ recharging-robots-opt23-adl/p19.pddl | 285 ++ recharging-robots-opt23-adl/p20.pddl | 324 ++ recharging-robots-sat23-adl/domain.pddl | 135 + recharging-robots-sat23-adl/p01.pddl | 108 + recharging-robots-sat23-adl/p02.pddl | 127 + recharging-robots-sat23-adl/p03.pddl | 151 + recharging-robots-sat23-adl/p04.pddl | 155 + recharging-robots-sat23-adl/p05.pddl | 195 + recharging-robots-sat23-adl/p06.pddl | 128 + recharging-robots-sat23-adl/p07.pddl | 231 ++ recharging-robots-sat23-adl/p08.pddl | 239 ++ recharging-robots-sat23-adl/p09.pddl | 129 + recharging-robots-sat23-adl/p10.pddl | 227 ++ recharging-robots-sat23-adl/p11.pddl | 227 ++ recharging-robots-sat23-adl/p12.pddl | 232 ++ recharging-robots-sat23-adl/p13.pddl | 298 ++ recharging-robots-sat23-adl/p14.pddl | 216 ++ recharging-robots-sat23-adl/p15.pddl | 234 ++ recharging-robots-sat23-adl/p16.pddl | 272 ++ recharging-robots-sat23-adl/p17.pddl | 235 ++ recharging-robots-sat23-adl/p18.pddl | 294 ++ recharging-robots-sat23-adl/p19.pddl | 329 ++ recharging-robots-sat23-adl/p20.pddl | 310 ++ ricochet-robots-opt23-adl/domain.pddl | 124 + ricochet-robots-opt23-adl/p01.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p02.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p03.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p04.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p05.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p06.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p07.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p08.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p09.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p10.pddl | 1447 ++++++++ ricochet-robots-opt23-adl/p11.pddl | 568 +++ ricochet-robots-opt23-adl/p12.pddl | 848 +++++ ricochet-robots-opt23-adl/p13.pddl | 1132 ++++++ ricochet-robots-opt23-adl/p14.pddl | 1416 +++++++ ricochet-robots-opt23-adl/p15.pddl | 1510 ++++++++ ricochet-robots-opt23-adl/p16.pddl | 1470 ++++++++ ricochet-robots-opt23-adl/p17.pddl | 1796 +++++++++ ricochet-robots-opt23-adl/p18.pddl | 1780 +++++++++ ricochet-robots-opt23-adl/p19.pddl | 2226 +++++++++++ ricochet-robots-opt23-adl/p20.pddl | 2312 ++++++++++++ ricochet-robots-sat23-adl/domain.pddl | 124 + ricochet-robots-sat23-adl/p01.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p02.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p03.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p04.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p05.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p06.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p07.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p08.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p09.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p10.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p11.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p12.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p13.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p14.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p15.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p16.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p17.pddl | 1447 ++++++++ ricochet-robots-sat23-adl/p18.pddl | 1704 +++++++++ ricochet-robots-sat23-adl/p19.pddl | 2172 +++++++++++ ricochet-robots-sat23-adl/p20.pddl | 2608 +++++++++++++ rubiks-cube-opt23-adl/domain.pddl | 242 ++ rubiks-cube-opt23-adl/p01.pddl | 56 + rubiks-cube-opt23-adl/p02.pddl | 56 + rubiks-cube-opt23-adl/p03.pddl | 56 + rubiks-cube-opt23-adl/p04.pddl | 56 + rubiks-cube-opt23-adl/p05.pddl | 56 + rubiks-cube-opt23-adl/p06.pddl | 56 + rubiks-cube-opt23-adl/p07.pddl | 56 + rubiks-cube-opt23-adl/p08.pddl | 56 + rubiks-cube-opt23-adl/p09.pddl | 56 + rubiks-cube-opt23-adl/p10.pddl | 56 + rubiks-cube-opt23-adl/p11.pddl | 56 + rubiks-cube-opt23-adl/p12.pddl | 56 + rubiks-cube-opt23-adl/p13.pddl | 56 + rubiks-cube-opt23-adl/p14.pddl | 56 + rubiks-cube-opt23-adl/p15.pddl | 56 + rubiks-cube-opt23-adl/p16.pddl | 56 + rubiks-cube-opt23-adl/p17.pddl | 56 + rubiks-cube-opt23-adl/p18.pddl | 56 + rubiks-cube-opt23-adl/p19.pddl | 56 + rubiks-cube-opt23-adl/p20.pddl | 56 + rubiks-cube-sat23-adl/domain.pddl | 242 ++ rubiks-cube-sat23-adl/p01.pddl | 56 + rubiks-cube-sat23-adl/p02.pddl | 56 + rubiks-cube-sat23-adl/p03.pddl | 56 + rubiks-cube-sat23-adl/p04.pddl | 56 + rubiks-cube-sat23-adl/p05.pddl | 56 + rubiks-cube-sat23-adl/p06.pddl | 56 + rubiks-cube-sat23-adl/p07.pddl | 56 + rubiks-cube-sat23-adl/p08.pddl | 56 + rubiks-cube-sat23-adl/p09.pddl | 56 + rubiks-cube-sat23-adl/p10.pddl | 56 + rubiks-cube-sat23-adl/p11.pddl | 56 + rubiks-cube-sat23-adl/p12.pddl | 56 + rubiks-cube-sat23-adl/p13.pddl | 56 + rubiks-cube-sat23-adl/p14.pddl | 56 + rubiks-cube-sat23-adl/p15.pddl | 56 + rubiks-cube-sat23-adl/p16.pddl | 56 + rubiks-cube-sat23-adl/p17.pddl | 56 + rubiks-cube-sat23-adl/p18.pddl | 56 + rubiks-cube-sat23-adl/p19.pddl | 56 + rubiks-cube-sat23-adl/p20.pddl | 56 + slitherlink-opt23-adl/domain.pddl | 185 + slitherlink-opt23-adl/p01.pddl | 144 + slitherlink-opt23-adl/p02.pddl | 172 + slitherlink-opt23-adl/p03.pddl | 229 ++ slitherlink-opt23-adl/p04.pddl | 263 ++ slitherlink-opt23-adl/p05.pddl | 270 ++ slitherlink-opt23-adl/p06.pddl | 281 ++ slitherlink-opt23-adl/p07.pddl | 306 ++ slitherlink-opt23-adl/p08.pddl | 335 ++ slitherlink-opt23-adl/p09.pddl | 372 ++ slitherlink-opt23-adl/p10.pddl | 410 +++ slitherlink-opt23-adl/p11.pddl | 392 ++ slitherlink-opt23-adl/p12.pddl | 438 +++ slitherlink-opt23-adl/p13.pddl | 454 +++ slitherlink-opt23-adl/p14.pddl | 485 +++ slitherlink-opt23-adl/p15.pddl | 531 +++ slitherlink-opt23-adl/p16.pddl | 561 +++ slitherlink-opt23-adl/p17.pddl | 588 +++ slitherlink-opt23-adl/p18.pddl | 2180 +++++++++++ slitherlink-opt23-adl/p19.pddl | 2169 +++++++++++ slitherlink-opt23-adl/p20.pddl | 2291 ++++++++++++ slitherlink-sat23-adl/domain.pddl | 185 + slitherlink-sat23-adl/p01.pddl | 173 + slitherlink-sat23-adl/p02.pddl | 228 ++ slitherlink-sat23-adl/p03.pddl | 263 ++ slitherlink-sat23-adl/p04.pddl | 268 ++ slitherlink-sat23-adl/p05.pddl | 280 ++ slitherlink-sat23-adl/p06.pddl | 310 ++ slitherlink-sat23-adl/p07.pddl | 335 ++ slitherlink-sat23-adl/p08.pddl | 374 ++ slitherlink-sat23-adl/p09.pddl | 407 ++ slitherlink-sat23-adl/p10.pddl | 388 ++ slitherlink-sat23-adl/p11.pddl | 440 +++ slitherlink-sat23-adl/p12.pddl | 454 +++ slitherlink-sat23-adl/p13.pddl | 484 +++ slitherlink-sat23-adl/p14.pddl | 533 +++ slitherlink-sat23-adl/p15.pddl | 564 +++ slitherlink-sat23-adl/p16.pddl | 585 +++ slitherlink-sat23-adl/p17.pddl | 650 ++++ slitherlink-sat23-adl/p18.pddl | 713 ++++ slitherlink-sat23-adl/p19.pddl | 751 ++++ slitherlink-sat23-adl/p20.pddl | 768 ++++ suites.py | 71 +- tests.py | 6 +- 334 files changed, 177388 insertions(+), 7 deletions(-) create mode 100644 folding-opt23-adl/domain.pddl create mode 100644 folding-opt23-adl/p01.pddl create mode 100644 folding-opt23-adl/p02.pddl create mode 100644 folding-opt23-adl/p03.pddl create mode 100644 folding-opt23-adl/p04.pddl create mode 100644 folding-opt23-adl/p05.pddl create mode 100644 folding-opt23-adl/p06.pddl create mode 100644 folding-opt23-adl/p07.pddl create mode 100644 folding-opt23-adl/p08.pddl create mode 100644 folding-opt23-adl/p09.pddl create mode 100644 folding-opt23-adl/p10.pddl create mode 100644 folding-opt23-adl/p11.pddl create mode 100644 folding-opt23-adl/p12.pddl create mode 100644 folding-opt23-adl/p13.pddl create mode 100644 folding-opt23-adl/p14.pddl create mode 100644 folding-opt23-adl/p15.pddl create mode 100644 folding-opt23-adl/p16.pddl create mode 100644 folding-opt23-adl/p17.pddl create mode 100644 folding-opt23-adl/p18.pddl create mode 100644 folding-opt23-adl/p19.pddl create mode 100644 folding-opt23-adl/p20.pddl create mode 100644 folding-sat23-adl/domain.pddl create mode 100644 folding-sat23-adl/p01.pddl create mode 100644 folding-sat23-adl/p02.pddl create mode 100644 folding-sat23-adl/p03.pddl create mode 100644 folding-sat23-adl/p04.pddl create mode 100644 folding-sat23-adl/p05.pddl create mode 100644 folding-sat23-adl/p06.pddl create mode 100644 folding-sat23-adl/p07.pddl create mode 100644 folding-sat23-adl/p08.pddl create mode 100644 folding-sat23-adl/p09.pddl create mode 100644 folding-sat23-adl/p10.pddl create mode 100644 folding-sat23-adl/p11.pddl create mode 100644 folding-sat23-adl/p12.pddl create mode 100644 folding-sat23-adl/p13.pddl create mode 100644 folding-sat23-adl/p14.pddl create mode 100644 folding-sat23-adl/p15.pddl create mode 100644 folding-sat23-adl/p16.pddl create mode 100644 folding-sat23-adl/p17.pddl create mode 100644 folding-sat23-adl/p18.pddl create mode 100644 folding-sat23-adl/p19.pddl create mode 100644 folding-sat23-adl/p20.pddl create mode 100644 labyrinth-opt23-adl/domain.pddl create mode 100644 labyrinth-opt23-adl/p01.pddl create mode 100644 labyrinth-opt23-adl/p02.pddl create mode 100644 labyrinth-opt23-adl/p03.pddl create mode 100644 labyrinth-opt23-adl/p04.pddl create mode 100644 labyrinth-opt23-adl/p05.pddl create mode 100644 labyrinth-opt23-adl/p06.pddl create mode 100644 labyrinth-opt23-adl/p07.pddl create mode 100644 labyrinth-opt23-adl/p08.pddl create mode 100644 labyrinth-opt23-adl/p09.pddl create mode 100644 labyrinth-opt23-adl/p10.pddl create mode 100644 labyrinth-opt23-adl/p11.pddl create mode 100644 labyrinth-opt23-adl/p12.pddl create mode 100644 labyrinth-opt23-adl/p13.pddl create mode 100644 labyrinth-opt23-adl/p14.pddl create mode 100644 labyrinth-opt23-adl/p15.pddl create mode 100644 labyrinth-opt23-adl/p16.pddl create mode 100644 labyrinth-opt23-adl/p17.pddl create mode 100644 labyrinth-opt23-adl/p18.pddl create mode 100644 labyrinth-opt23-adl/p19.pddl create mode 100644 labyrinth-opt23-adl/p20.pddl create mode 100644 labyrinth-sat23-adl/domain.pddl create mode 100644 labyrinth-sat23-adl/p01.pddl create mode 100644 labyrinth-sat23-adl/p02.pddl create mode 100644 labyrinth-sat23-adl/p03.pddl create mode 100644 labyrinth-sat23-adl/p04.pddl create mode 100644 labyrinth-sat23-adl/p05.pddl create mode 100644 labyrinth-sat23-adl/p06.pddl create mode 100644 labyrinth-sat23-adl/p07.pddl create mode 100644 labyrinth-sat23-adl/p08.pddl create mode 100644 labyrinth-sat23-adl/p09.pddl create mode 100644 labyrinth-sat23-adl/p10.pddl create mode 100644 labyrinth-sat23-adl/p11.pddl create mode 100644 labyrinth-sat23-adl/p12.pddl create mode 100644 labyrinth-sat23-adl/p13.pddl create mode 100644 labyrinth-sat23-adl/p14.pddl create mode 100644 labyrinth-sat23-adl/p15.pddl create mode 100644 labyrinth-sat23-adl/p16.pddl create mode 100644 labyrinth-sat23-adl/p17.pddl create mode 100644 labyrinth-sat23-adl/p18.pddl create mode 100644 labyrinth-sat23-adl/p19.pddl create mode 100644 labyrinth-sat23-adl/p20.pddl create mode 100644 quantum-layout-opt23-strips/domain_p01.pddl create mode 100644 quantum-layout-opt23-strips/domain_p02.pddl create mode 100644 quantum-layout-opt23-strips/domain_p03.pddl create mode 100644 quantum-layout-opt23-strips/domain_p04.pddl create mode 100644 quantum-layout-opt23-strips/domain_p05.pddl create mode 100644 quantum-layout-opt23-strips/domain_p06.pddl create mode 100644 quantum-layout-opt23-strips/domain_p07.pddl create mode 100644 quantum-layout-opt23-strips/domain_p08.pddl create mode 100644 quantum-layout-opt23-strips/domain_p09.pddl create mode 100644 quantum-layout-opt23-strips/domain_p10.pddl create mode 100644 quantum-layout-opt23-strips/domain_p11.pddl create mode 100644 quantum-layout-opt23-strips/domain_p12.pddl create mode 100644 quantum-layout-opt23-strips/domain_p13.pddl create mode 100644 quantum-layout-opt23-strips/domain_p14.pddl create mode 100644 quantum-layout-opt23-strips/domain_p15.pddl create mode 100644 quantum-layout-opt23-strips/domain_p16.pddl create mode 100644 quantum-layout-opt23-strips/domain_p17.pddl create mode 100644 quantum-layout-opt23-strips/domain_p18.pddl create mode 100644 quantum-layout-opt23-strips/domain_p19.pddl create mode 100644 quantum-layout-opt23-strips/domain_p20.pddl create mode 100644 quantum-layout-opt23-strips/p01.pddl create mode 100644 quantum-layout-opt23-strips/p02.pddl create mode 100644 quantum-layout-opt23-strips/p03.pddl create mode 100644 quantum-layout-opt23-strips/p04.pddl create mode 100644 quantum-layout-opt23-strips/p05.pddl create mode 100644 quantum-layout-opt23-strips/p06.pddl create mode 100644 quantum-layout-opt23-strips/p07.pddl create mode 100644 quantum-layout-opt23-strips/p08.pddl create mode 100644 quantum-layout-opt23-strips/p09.pddl create mode 100644 quantum-layout-opt23-strips/p10.pddl create mode 100644 quantum-layout-opt23-strips/p11.pddl create mode 100644 quantum-layout-opt23-strips/p12.pddl create mode 100644 quantum-layout-opt23-strips/p13.pddl create mode 100644 quantum-layout-opt23-strips/p14.pddl create mode 100644 quantum-layout-opt23-strips/p15.pddl create mode 100644 quantum-layout-opt23-strips/p16.pddl create mode 100644 quantum-layout-opt23-strips/p17.pddl create mode 100644 quantum-layout-opt23-strips/p18.pddl create mode 100644 quantum-layout-opt23-strips/p19.pddl create mode 100644 quantum-layout-opt23-strips/p20.pddl create mode 100644 quantum-layout-sat23-strips/domain_p01.pddl create mode 100644 quantum-layout-sat23-strips/domain_p02.pddl create mode 100644 quantum-layout-sat23-strips/domain_p03.pddl create mode 100644 quantum-layout-sat23-strips/domain_p04.pddl create mode 100644 quantum-layout-sat23-strips/domain_p05.pddl create mode 100644 quantum-layout-sat23-strips/domain_p06.pddl create mode 100644 quantum-layout-sat23-strips/domain_p07.pddl create mode 100644 quantum-layout-sat23-strips/domain_p08.pddl create mode 100644 quantum-layout-sat23-strips/domain_p09.pddl create mode 100644 quantum-layout-sat23-strips/domain_p10.pddl create mode 100644 quantum-layout-sat23-strips/domain_p11.pddl create mode 100644 quantum-layout-sat23-strips/domain_p12.pddl create mode 100644 quantum-layout-sat23-strips/domain_p13.pddl create mode 100644 quantum-layout-sat23-strips/domain_p14.pddl create mode 100644 quantum-layout-sat23-strips/domain_p15.pddl create mode 100644 quantum-layout-sat23-strips/domain_p16.pddl create mode 100644 quantum-layout-sat23-strips/domain_p17.pddl create mode 100644 quantum-layout-sat23-strips/domain_p18.pddl create mode 100644 quantum-layout-sat23-strips/domain_p19.pddl create mode 100644 quantum-layout-sat23-strips/domain_p20.pddl create mode 100644 quantum-layout-sat23-strips/p01.pddl create mode 100644 quantum-layout-sat23-strips/p02.pddl create mode 100644 quantum-layout-sat23-strips/p03.pddl create mode 100644 quantum-layout-sat23-strips/p04.pddl create mode 100644 quantum-layout-sat23-strips/p05.pddl create mode 100644 quantum-layout-sat23-strips/p06.pddl create mode 100644 quantum-layout-sat23-strips/p07.pddl create mode 100644 quantum-layout-sat23-strips/p08.pddl create mode 100644 quantum-layout-sat23-strips/p09.pddl create mode 100644 quantum-layout-sat23-strips/p10.pddl create mode 100644 quantum-layout-sat23-strips/p11.pddl create mode 100644 quantum-layout-sat23-strips/p12.pddl create mode 100644 quantum-layout-sat23-strips/p13.pddl create mode 100644 quantum-layout-sat23-strips/p14.pddl create mode 100644 quantum-layout-sat23-strips/p15.pddl create mode 100644 quantum-layout-sat23-strips/p16.pddl create mode 100644 quantum-layout-sat23-strips/p17.pddl create mode 100644 quantum-layout-sat23-strips/p18.pddl create mode 100644 quantum-layout-sat23-strips/p19.pddl create mode 100644 quantum-layout-sat23-strips/p20.pddl create mode 100644 recharging-robots-opt23-adl/domain.pddl create mode 100644 recharging-robots-opt23-adl/p01.pddl create mode 100644 recharging-robots-opt23-adl/p02.pddl create mode 100644 recharging-robots-opt23-adl/p03.pddl create mode 100644 recharging-robots-opt23-adl/p04.pddl create mode 100644 recharging-robots-opt23-adl/p05.pddl create mode 100644 recharging-robots-opt23-adl/p06.pddl create mode 100644 recharging-robots-opt23-adl/p07.pddl create mode 100644 recharging-robots-opt23-adl/p08.pddl create mode 100644 recharging-robots-opt23-adl/p09.pddl create mode 100644 recharging-robots-opt23-adl/p10.pddl create mode 100644 recharging-robots-opt23-adl/p11.pddl create mode 100644 recharging-robots-opt23-adl/p12.pddl create mode 100644 recharging-robots-opt23-adl/p13.pddl create mode 100644 recharging-robots-opt23-adl/p14.pddl create mode 100644 recharging-robots-opt23-adl/p15.pddl create mode 100644 recharging-robots-opt23-adl/p16.pddl create mode 100644 recharging-robots-opt23-adl/p17.pddl create mode 100644 recharging-robots-opt23-adl/p18.pddl create mode 100644 recharging-robots-opt23-adl/p19.pddl create mode 100644 recharging-robots-opt23-adl/p20.pddl create mode 100644 recharging-robots-sat23-adl/domain.pddl create mode 100644 recharging-robots-sat23-adl/p01.pddl create mode 100644 recharging-robots-sat23-adl/p02.pddl create mode 100644 recharging-robots-sat23-adl/p03.pddl create mode 100644 recharging-robots-sat23-adl/p04.pddl create mode 100644 recharging-robots-sat23-adl/p05.pddl create mode 100644 recharging-robots-sat23-adl/p06.pddl create mode 100644 recharging-robots-sat23-adl/p07.pddl create mode 100644 recharging-robots-sat23-adl/p08.pddl create mode 100644 recharging-robots-sat23-adl/p09.pddl create mode 100644 recharging-robots-sat23-adl/p10.pddl create mode 100644 recharging-robots-sat23-adl/p11.pddl create mode 100644 recharging-robots-sat23-adl/p12.pddl create mode 100644 recharging-robots-sat23-adl/p13.pddl create mode 100644 recharging-robots-sat23-adl/p14.pddl create mode 100644 recharging-robots-sat23-adl/p15.pddl create mode 100644 recharging-robots-sat23-adl/p16.pddl create mode 100644 recharging-robots-sat23-adl/p17.pddl create mode 100644 recharging-robots-sat23-adl/p18.pddl create mode 100644 recharging-robots-sat23-adl/p19.pddl create mode 100644 recharging-robots-sat23-adl/p20.pddl create mode 100644 ricochet-robots-opt23-adl/domain.pddl create mode 100644 ricochet-robots-opt23-adl/p01.pddl create mode 100644 ricochet-robots-opt23-adl/p02.pddl create mode 100644 ricochet-robots-opt23-adl/p03.pddl create mode 100644 ricochet-robots-opt23-adl/p04.pddl create mode 100644 ricochet-robots-opt23-adl/p05.pddl create mode 100644 ricochet-robots-opt23-adl/p06.pddl create mode 100644 ricochet-robots-opt23-adl/p07.pddl create mode 100644 ricochet-robots-opt23-adl/p08.pddl create mode 100644 ricochet-robots-opt23-adl/p09.pddl create mode 100644 ricochet-robots-opt23-adl/p10.pddl create mode 100644 ricochet-robots-opt23-adl/p11.pddl create mode 100644 ricochet-robots-opt23-adl/p12.pddl create mode 100644 ricochet-robots-opt23-adl/p13.pddl create mode 100644 ricochet-robots-opt23-adl/p14.pddl create mode 100644 ricochet-robots-opt23-adl/p15.pddl create mode 100644 ricochet-robots-opt23-adl/p16.pddl create mode 100644 ricochet-robots-opt23-adl/p17.pddl create mode 100644 ricochet-robots-opt23-adl/p18.pddl create mode 100644 ricochet-robots-opt23-adl/p19.pddl create mode 100644 ricochet-robots-opt23-adl/p20.pddl create mode 100644 ricochet-robots-sat23-adl/domain.pddl create mode 100644 ricochet-robots-sat23-adl/p01.pddl create mode 100644 ricochet-robots-sat23-adl/p02.pddl create mode 100644 ricochet-robots-sat23-adl/p03.pddl create mode 100644 ricochet-robots-sat23-adl/p04.pddl create mode 100644 ricochet-robots-sat23-adl/p05.pddl create mode 100644 ricochet-robots-sat23-adl/p06.pddl create mode 100644 ricochet-robots-sat23-adl/p07.pddl create mode 100644 ricochet-robots-sat23-adl/p08.pddl create mode 100644 ricochet-robots-sat23-adl/p09.pddl create mode 100644 ricochet-robots-sat23-adl/p10.pddl create mode 100644 ricochet-robots-sat23-adl/p11.pddl create mode 100644 ricochet-robots-sat23-adl/p12.pddl create mode 100644 ricochet-robots-sat23-adl/p13.pddl create mode 100644 ricochet-robots-sat23-adl/p14.pddl create mode 100644 ricochet-robots-sat23-adl/p15.pddl create mode 100644 ricochet-robots-sat23-adl/p16.pddl create mode 100644 ricochet-robots-sat23-adl/p17.pddl create mode 100644 ricochet-robots-sat23-adl/p18.pddl create mode 100644 ricochet-robots-sat23-adl/p19.pddl create mode 100644 ricochet-robots-sat23-adl/p20.pddl create mode 100644 rubiks-cube-opt23-adl/domain.pddl create mode 100644 rubiks-cube-opt23-adl/p01.pddl create mode 100644 rubiks-cube-opt23-adl/p02.pddl create mode 100644 rubiks-cube-opt23-adl/p03.pddl create mode 100644 rubiks-cube-opt23-adl/p04.pddl create mode 100644 rubiks-cube-opt23-adl/p05.pddl create mode 100644 rubiks-cube-opt23-adl/p06.pddl create mode 100644 rubiks-cube-opt23-adl/p07.pddl create mode 100644 rubiks-cube-opt23-adl/p08.pddl create mode 100644 rubiks-cube-opt23-adl/p09.pddl create mode 100644 rubiks-cube-opt23-adl/p10.pddl create mode 100644 rubiks-cube-opt23-adl/p11.pddl create mode 100644 rubiks-cube-opt23-adl/p12.pddl create mode 100644 rubiks-cube-opt23-adl/p13.pddl create mode 100644 rubiks-cube-opt23-adl/p14.pddl create mode 100644 rubiks-cube-opt23-adl/p15.pddl create mode 100644 rubiks-cube-opt23-adl/p16.pddl create mode 100644 rubiks-cube-opt23-adl/p17.pddl create mode 100644 rubiks-cube-opt23-adl/p18.pddl create mode 100644 rubiks-cube-opt23-adl/p19.pddl create mode 100644 rubiks-cube-opt23-adl/p20.pddl create mode 100644 rubiks-cube-sat23-adl/domain.pddl create mode 100644 rubiks-cube-sat23-adl/p01.pddl create mode 100644 rubiks-cube-sat23-adl/p02.pddl create mode 100644 rubiks-cube-sat23-adl/p03.pddl create mode 100644 rubiks-cube-sat23-adl/p04.pddl create mode 100644 rubiks-cube-sat23-adl/p05.pddl create mode 100644 rubiks-cube-sat23-adl/p06.pddl create mode 100644 rubiks-cube-sat23-adl/p07.pddl create mode 100644 rubiks-cube-sat23-adl/p08.pddl create mode 100644 rubiks-cube-sat23-adl/p09.pddl create mode 100644 rubiks-cube-sat23-adl/p10.pddl create mode 100644 rubiks-cube-sat23-adl/p11.pddl create mode 100644 rubiks-cube-sat23-adl/p12.pddl create mode 100644 rubiks-cube-sat23-adl/p13.pddl create mode 100644 rubiks-cube-sat23-adl/p14.pddl create mode 100644 rubiks-cube-sat23-adl/p15.pddl create mode 100644 rubiks-cube-sat23-adl/p16.pddl create mode 100644 rubiks-cube-sat23-adl/p17.pddl create mode 100644 rubiks-cube-sat23-adl/p18.pddl create mode 100644 rubiks-cube-sat23-adl/p19.pddl create mode 100644 rubiks-cube-sat23-adl/p20.pddl create mode 100644 slitherlink-opt23-adl/domain.pddl create mode 100644 slitherlink-opt23-adl/p01.pddl create mode 100644 slitherlink-opt23-adl/p02.pddl create mode 100644 slitherlink-opt23-adl/p03.pddl create mode 100644 slitherlink-opt23-adl/p04.pddl create mode 100644 slitherlink-opt23-adl/p05.pddl create mode 100644 slitherlink-opt23-adl/p06.pddl create mode 100644 slitherlink-opt23-adl/p07.pddl create mode 100644 slitherlink-opt23-adl/p08.pddl create mode 100644 slitherlink-opt23-adl/p09.pddl create mode 100644 slitherlink-opt23-adl/p10.pddl create mode 100644 slitherlink-opt23-adl/p11.pddl create mode 100644 slitherlink-opt23-adl/p12.pddl create mode 100644 slitherlink-opt23-adl/p13.pddl create mode 100644 slitherlink-opt23-adl/p14.pddl create mode 100644 slitherlink-opt23-adl/p15.pddl create mode 100644 slitherlink-opt23-adl/p16.pddl create mode 100644 slitherlink-opt23-adl/p17.pddl create mode 100644 slitherlink-opt23-adl/p18.pddl create mode 100644 slitherlink-opt23-adl/p19.pddl create mode 100644 slitherlink-opt23-adl/p20.pddl create mode 100644 slitherlink-sat23-adl/domain.pddl create mode 100644 slitherlink-sat23-adl/p01.pddl create mode 100644 slitherlink-sat23-adl/p02.pddl create mode 100644 slitherlink-sat23-adl/p03.pddl create mode 100644 slitherlink-sat23-adl/p04.pddl create mode 100644 slitherlink-sat23-adl/p05.pddl create mode 100644 slitherlink-sat23-adl/p06.pddl create mode 100644 slitherlink-sat23-adl/p07.pddl create mode 100644 slitherlink-sat23-adl/p08.pddl create mode 100644 slitherlink-sat23-adl/p09.pddl create mode 100644 slitherlink-sat23-adl/p10.pddl create mode 100644 slitherlink-sat23-adl/p11.pddl create mode 100644 slitherlink-sat23-adl/p12.pddl create mode 100644 slitherlink-sat23-adl/p13.pddl create mode 100644 slitherlink-sat23-adl/p14.pddl create mode 100644 slitherlink-sat23-adl/p15.pddl create mode 100644 slitherlink-sat23-adl/p16.pddl create mode 100644 slitherlink-sat23-adl/p17.pddl create mode 100644 slitherlink-sat23-adl/p18.pddl create mode 100644 slitherlink-sat23-adl/p19.pddl create mode 100644 slitherlink-sat23-adl/p20.pddl diff --git a/folding-opt23-adl/domain.pddl b/folding-opt23-adl/domain.pddl new file mode 100644 index 00000000..4bb08885 --- /dev/null +++ b/folding-opt23-adl/domain.pddl @@ -0,0 +1,195 @@ +;; A rotation (fold) at node n consists of one action rotate and two +;; folllowing passes over to remaining part of string starting at n. +;; In the first pass, all directions are corrected according to the +;; rotation applied, and all (at this point incorrect) (at ...) facts are +;; deleted. In the second pass, the correct (at ...) facts are set. +;; The reason we use two passes instead of one is to avoid the intersection +;; of the string with itself in the part that is currently moving. Consider +;; the following string: +;; 2-3 +;; | | +;; 1 4 +;; and suppose we want to rotate 1 counterclockwise which results in the +;; following configuration: +;; 3-4 +;; | +;; 2-1 +;; Now, note that 2 in the initial and 4 in the final configuration occupy +;; the same point in the plane. So, with one pass, we could end up with two +;; nodes occupying the same point, which we avoid by taking two passes instead +;; of one. +;; +(define (domain folding) +(:requirements :adl :action-costs) + +(:types + node - object + coord - object + direction - object + rotation - object +) + +(:constants + left right up down - direction + clockwise counterclockwise - rotation +) + +(:predicates + ;; ?dfrom rotated by ?r ends up as ?d2to + (NEXT-DIRECTION ?dfrom - direction ?r - rotation ?d2to - direction) + ;; ?cnext = ?c + 1 + (COORD-INC ?c ?cnext - coord) + ;; Last node of the string + (END-NODE ?n - node) + ;; ?n2 follows right after ?n1 in the string + (CONNECTED ?n1 ?n2 - node) + + ;; Position of the node in the grid + (at ?n - node ?x ?y - coord) + ;; Heading of the outgoing edge of this node + (heading ?n - node ?dir - direction) + ;; The coordinates are not occupied by any node + (free ?x ?y - coord) + ;; Flag indicating we are in the process of rotating the string + (rotating) + ;; Cursor storing that ?nstart was rotated by ?r and the next node to + ;; process is ?n + (node-first-pass-next ?nstart - node ?r - rotation ?n - node) + ;; Cursor for the second pass + (node-second-pass-next ?n - node) +) + +(:functions + (total-cost) - number + (rotate-cost) - number + (update-cost) - number +) + + +;; Rotates the string after this node and start the first pass computing +;; absolute directions and coordinates of other nodes +(:action rotate + :parameters (?n - node ?r - rotation ?fromdir ?todir - direction) + :precondition + (and + (not (rotating)) + (NEXT-DIRECTION ?fromdir ?r ?todir) + (heading ?n ?fromdir) + ) + :effect + (and + (not (heading ?n ?fromdir)) + (heading ?n ?todir) + (rotating) + (node-first-pass-next ?n ?r ?n) + (increase (total-cost) (rotate-cost)) + ) +) + +;; The first pass fixes the direction of nodes and removes all (at ...) facts +(:action rotate-first-pass + :parameters (?nstart - node ?r - rotation + ?n1 - node + ?n2 - node ?n2x ?n2y - coord ?n2dir ?n2setdir - direction) + :precondition + (and + (CONNECTED ?n1 ?n2) + (NEXT-DIRECTION ?n2dir ?r ?n2setdir) + (node-first-pass-next ?nstart ?r ?n1) + (at ?n2 ?n2x ?n2y) + (heading ?n2 ?n2dir) + ) + :effect + (and + (not (node-first-pass-next ?nstart ?r ?n1)) + (node-first-pass-next ?nstart ?r ?n2) + (not (at ?n2 ?n2x ?n2y)) + (free ?n2x ?n2y) + (not (heading ?n2 ?n2dir)) + (heading ?n2 ?n2setdir) + (increase (total-cost) (update-cost)) + ) +) + +(:action rotate-first-pass-end + :parameters (?nstart - node ?r - rotation + ?n1 - node + ?n2 - node ?n2x ?n2y - coord) + :precondition + (and + (END-NODE ?n2) + (CONNECTED ?n1 ?n2) + (node-first-pass-next ?nstart ?r ?n1) + (at ?n2 ?n2x ?n2y) + ) + :effect + (and + (not (at ?n2 ?n2x ?n2y)) + (free ?n2x ?n2y) + (not (node-first-pass-next ?nstart ?r ?n1)) + (node-second-pass-next ?nstart) + (increase (total-cost) (update-cost)) + ) +) + +;; The second pass sets the coordinates of all nodes depending on the +;; direction. +(:action rotate-second-pass + :parameters (?n1 - node ?n1x ?n1y - coord ?n1dir - direction + ?n2 - node ?n2x ?n2y - coord) + :precondition + (and + (CONNECTED ?n1 ?n2) + (node-second-pass-next ?n1) + (at ?n1 ?n1x ?n1y) + (heading ?n1 ?n1dir) + (free ?n2x ?n2y) + + (or + (and (= ?n1dir up) + (= ?n1x ?n2x) + (COORD-INC ?n1y ?n2y) + ) + + (and (= ?n1dir down) + (= ?n1x ?n2x) + (COORD-INC ?n2y ?n1y) + ) + + (and (= ?n1dir left) + (= ?n1y ?n2y) + (COORD-INC ?n2x ?n1x) + ) + + (and (= ?n1dir right) + (= ?n1y ?n2y) + (COORD-INC ?n1x ?n2x) + ) + ) + ) + :effect + (and + (not (node-second-pass-next ?n1)) + (node-second-pass-next ?n2) + (not (free ?n2x ?n2y)) + (at ?n2 ?n2x ?n2y) + (increase (total-cost) (update-cost)) + ) +) + +(:action rotate-second-pass-end + :parameters (?n - node) + :precondition + (and + (END-NODE ?n) + (node-second-pass-next ?n) + ) + :effect + (and + (not (node-second-pass-next ?n)) + (not (rotating)) + (increase (total-cost) (update-cost)) + ) +) + +) diff --git a/folding-opt23-adl/p01.pddl b/folding-opt23-adl/p01.pddl new file mode 100644 index 00000000..36b6257f --- /dev/null +++ b/folding-opt23-adl/p01.pddl @@ -0,0 +1,302 @@ +;; Generated with: ./generate.py 1229 zigzag 8 7 p01.pddl p01.plan +;; x-. +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. +;; +(define (problem folding-zigzag-8-7-449788) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (END-NODE n8) + + (at n1 c8 c8) + (at n2 c8 c9) + (at n3 c8 c10) + (at n4 c8 c11) + (at n5 c8 c12) + (at n6 c8 c13) + (at n7 c8 c14) + (at n8 c8 c15) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c8 c8) + (at n2 c9 c8) + (at n3 c9 c7) + (at n4 c8 c7) + (at n5 c8 c6) + (at n6 c9 c6) + (at n7 c9 c5) + (at n8 c10 c5) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p02.pddl b/folding-opt23-adl/p02.pddl new file mode 100644 index 00000000..6bc535ba --- /dev/null +++ b/folding-opt23-adl/p02.pddl @@ -0,0 +1,450 @@ +;; Generated with: ./generate.py 1231 zigzag 10 8 p02.pddl p02.plan +;; x-. +;; | +;; .-. +;; | +;; . +;; | +;; . .-. +;; | | +;; .-. +;; +(define (problem folding-zigzag-10-8-511327) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (END-NODE n10) + + (at n1 c10 c10) + (at n2 c10 c11) + (at n3 c10 c12) + (at n4 c10 c13) + (at n5 c10 c14) + (at n6 c10 c15) + (at n7 c10 c16) + (at n8 c10 c17) + (at n9 c10 c18) + (at n10 c10 c19) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c10 c10) + (at n2 c11 c10) + (at n3 c11 c9) + (at n4 c12 c9) + (at n5 c12 c8) + (at n6 c12 c7) + (at n7 c11 c7) + (at n8 c11 c6) + (at n9 c10 c6) + (at n10 c10 c7) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p03.pddl b/folding-opt23-adl/p03.pddl new file mode 100644 index 00000000..6f8fd350 --- /dev/null +++ b/folding-opt23-adl/p03.pddl @@ -0,0 +1,628 @@ +;; Generated with: ./generate.py 1237 zigzag 12 10 p03.pddl p03.plan +;; . .-. +;; | | | +;; .-. . +;; | +;; .-. +;; | +;; .-. +;; | +;; .-x +;; +(define (problem folding-zigzag-12-10-315176) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (END-NODE n12) + + (at n1 c12 c12) + (at n2 c12 c13) + (at n3 c12 c14) + (at n4 c12 c15) + (at n5 c12 c16) + (at n6 c12 c17) + (at n7 c12 c18) + (at n8 c12 c19) + (at n9 c12 c20) + (at n10 c12 c21) + (at n11 c12 c22) + (at n12 c12 c23) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c12 c12) + (at n2 c11 c12) + (at n3 c11 c13) + (at n4 c10 c13) + (at n5 c10 c14) + (at n6 c9 c14) + (at n7 c9 c15) + (at n8 c9 c16) + (at n9 c8 c16) + (at n10 c8 c15) + (at n11 c7 c15) + (at n12 c7 c16) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p04.pddl b/folding-opt23-adl/p04.pddl new file mode 100644 index 00000000..bedc2098 --- /dev/null +++ b/folding-opt23-adl/p04.pddl @@ -0,0 +1,961 @@ +;; Generated with: ./generate.py 1249 zigzag 15 11 p04.pddl p04.plan +;; .-. +;; | +;; . +;; | +;; .-. +;; | +;; .-. +;; | +;; .-.-. +;; | +;; .-. +;; | +;; . +;; | +;; x-. +;; +(define (problem folding-zigzag-15-11-67792) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (END-NODE n15) + + (at n1 c15 c15) + (at n2 c15 c16) + (at n3 c15 c17) + (at n4 c15 c18) + (at n5 c15 c19) + (at n6 c15 c20) + (at n7 c15 c21) + (at n8 c15 c22) + (at n9 c15 c23) + (at n10 c15 c24) + (at n11 c15 c25) + (at n12 c15 c26) + (at n13 c15 c27) + (at n14 c15 c28) + (at n15 c15 c29) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c15 c15) + (at n2 c16 c15) + (at n3 c16 c16) + (at n4 c16 c17) + (at n5 c15 c17) + (at n6 c15 c18) + (at n7 c14 c18) + (at n8 c13 c18) + (at n9 c13 c19) + (at n10 c12 c19) + (at n11 c12 c20) + (at n12 c11 c20) + (at n13 c11 c21) + (at n14 c11 c22) + (at n15 c12 c22) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p05.pddl b/folding-opt23-adl/p05.pddl new file mode 100644 index 00000000..62fdf759 --- /dev/null +++ b/folding-opt23-adl/p05.pddl @@ -0,0 +1,1358 @@ +;; Generated with: ./generate.py 1259 zigzag 18 14 p05.pddl p05.plan +;; . +;; | +;; . +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. .-. +;; | | | +;; . .-.-. .-x +;; | | +;; .-. +;; +(define (problem folding-zigzag-18-14-849520) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (END-NODE n18) + + (at n1 c18 c18) + (at n2 c18 c19) + (at n3 c18 c20) + (at n4 c18 c21) + (at n5 c18 c22) + (at n6 c18 c23) + (at n7 c18 c24) + (at n8 c18 c25) + (at n9 c18 c26) + (at n10 c18 c27) + (at n11 c18 c28) + (at n12 c18 c29) + (at n13 c18 c30) + (at n14 c18 c31) + (at n15 c18 c32) + (at n16 c18 c33) + (at n17 c18 c34) + (at n18 c18 c35) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c18 c18) + (at n2 c17 c18) + (at n3 c17 c19) + (at n4 c16 c19) + (at n5 c16 c18) + (at n6 c15 c18) + (at n7 c14 c18) + (at n8 c14 c17) + (at n9 c13 c17) + (at n10 c13 c18) + (at n11 c13 c19) + (at n12 c14 c19) + (at n13 c14 c20) + (at n14 c13 c20) + (at n15 c13 c21) + (at n16 c12 c21) + (at n17 c12 c22) + (at n18 c12 c23) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p06.pddl b/folding-opt23-adl/p06.pddl new file mode 100644 index 00000000..c2c4c22b --- /dev/null +++ b/folding-opt23-adl/p06.pddl @@ -0,0 +1,1670 @@ +;; Generated with: ./generate.py 1277 zigzag 20 16 p06.pddl p06.plan +;; x-. +;; | +;; . +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. +;; | +;; . +;; | +;; . +;; | +;; .-. .-. +;; | | | +;; .-. . +;; +(define (problem folding-zigzag-20-16-125902) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (END-NODE n20) + + (at n1 c20 c20) + (at n2 c20 c21) + (at n3 c20 c22) + (at n4 c20 c23) + (at n5 c20 c24) + (at n6 c20 c25) + (at n7 c20 c26) + (at n8 c20 c27) + (at n9 c20 c28) + (at n10 c20 c29) + (at n11 c20 c30) + (at n12 c20 c31) + (at n13 c20 c32) + (at n14 c20 c33) + (at n15 c20 c34) + (at n16 c20 c35) + (at n17 c20 c36) + (at n18 c20 c37) + (at n19 c20 c38) + (at n20 c20 c39) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c20 c20) + (at n2 c21 c20) + (at n3 c21 c19) + (at n4 c21 c18) + (at n5 c22 c18) + (at n6 c22 c17) + (at n7 c21 c17) + (at n8 c21 c16) + (at n9 c22 c16) + (at n10 c22 c15) + (at n11 c21 c15) + (at n12 c21 c14) + (at n13 c21 c13) + (at n14 c21 c12) + (at n15 c22 c12) + (at n16 c22 c11) + (at n17 c23 c11) + (at n18 c23 c12) + (at n19 c24 c12) + (at n20 c24 c11) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p07.pddl b/folding-opt23-adl/p07.pddl new file mode 100644 index 00000000..b54a0e2d --- /dev/null +++ b/folding-opt23-adl/p07.pddl @@ -0,0 +1,1829 @@ +;; Generated with: ./generate.py 1279 zigzag 21 19 p07.pddl p07.plan +;; .-. +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. .-. +;; | | | +;; .-.-. .-. .-x +;; | | +;; .-. +;; +(define (problem folding-zigzag-21-19-460597) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (END-NODE n21) + + (at n1 c21 c21) + (at n2 c21 c22) + (at n3 c21 c23) + (at n4 c21 c24) + (at n5 c21 c25) + (at n6 c21 c26) + (at n7 c21 c27) + (at n8 c21 c28) + (at n9 c21 c29) + (at n10 c21 c30) + (at n11 c21 c31) + (at n12 c21 c32) + (at n13 c21 c33) + (at n14 c21 c34) + (at n15 c21 c35) + (at n16 c21 c36) + (at n17 c21 c37) + (at n18 c21 c38) + (at n19 c21 c39) + (at n20 c21 c40) + (at n21 c21 c41) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c24 c40) + (free c24 c41) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c21 c21) + (at n2 c20 c21) + (at n3 c20 c22) + (at n4 c19 c22) + (at n5 c19 c21) + (at n6 c18 c21) + (at n7 c18 c20) + (at n8 c17 c20) + (at n9 c17 c21) + (at n10 c16 c21) + (at n11 c15 c21) + (at n12 c15 c22) + (at n13 c14 c22) + (at n14 c14 c23) + (at n15 c15 c23) + (at n16 c15 c24) + (at n17 c16 c24) + (at n18 c16 c25) + (at n19 c17 c25) + (at n20 c17 c26) + (at n21 c16 c26) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p08.pddl b/folding-opt23-adl/p08.pddl new file mode 100644 index 00000000..380e5735 --- /dev/null +++ b/folding-opt23-adl/p08.pddl @@ -0,0 +1,628 @@ +;; Generated with: ./generate.py 1283 bias-spiral 12 8 p08.pddl p08.plan +;; .-. +;; | | +;; x .-. +;; | +;; . +;; | +;; . .-. +;; | | | +;; .-. . +;; +(define (problem folding-bias-spiral-12-8-190817) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (END-NODE n12) + + (at n1 c12 c12) + (at n2 c12 c13) + (at n3 c12 c14) + (at n4 c12 c15) + (at n5 c12 c16) + (at n6 c12 c17) + (at n7 c12 c18) + (at n8 c12 c19) + (at n9 c12 c20) + (at n10 c12 c21) + (at n11 c12 c22) + (at n12 c12 c23) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c12 c12) + (at n2 c12 c13) + (at n3 c13 c13) + (at n4 c13 c12) + (at n5 c14 c12) + (at n6 c14 c11) + (at n7 c14 c10) + (at n8 c14 c9) + (at n9 c15 c9) + (at n10 c15 c10) + (at n11 c16 c10) + (at n12 c16 c9) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p09.pddl b/folding-opt23-adl/p09.pddl new file mode 100644 index 00000000..d0da110b --- /dev/null +++ b/folding-opt23-adl/p09.pddl @@ -0,0 +1,729 @@ +;; Generated with: ./generate.py 1289 bias-spiral 13 9 p09.pddl p09.plan +;; .-.-. +;; | | +;; x .-. +;; | +;; . +;; | +;; .-. .-. +;; | | +;; .-. +;; +(define (problem folding-bias-spiral-13-9-302488) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (END-NODE n13) + + (at n1 c13 c13) + (at n2 c13 c14) + (at n3 c13 c15) + (at n4 c13 c16) + (at n5 c13 c17) + (at n6 c13 c18) + (at n7 c13 c19) + (at n8 c13 c20) + (at n9 c13 c21) + (at n10 c13 c22) + (at n11 c13 c23) + (at n12 c13 c24) + (at n13 c13 c25) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c13 c13) + (at n2 c13 c14) + (at n3 c14 c14) + (at n4 c15 c14) + (at n5 c15 c13) + (at n6 c16 c13) + (at n7 c16 c12) + (at n8 c16 c11) + (at n9 c17 c11) + (at n10 c17 c10) + (at n11 c18 c10) + (at n12 c18 c11) + (at n13 c19 c11) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p10.pddl b/folding-opt23-adl/p10.pddl new file mode 100644 index 00000000..3c1772b5 --- /dev/null +++ b/folding-opt23-adl/p10.pddl @@ -0,0 +1,842 @@ +;; Generated with: ./generate.py 1291 bias-spiral 14 10 p10.pddl p10.plan +;; .-. +;; | | +;; . . +;; | | +;; .-. . +;; | +;; . +;; | +;; .-. +;; | +;; .-. +;; | +;; x-. +;; +(define (problem folding-bias-spiral-14-10-160050) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (END-NODE n14) + + (at n1 c14 c14) + (at n2 c14 c15) + (at n3 c14 c16) + (at n4 c14 c17) + (at n5 c14 c18) + (at n6 c14 c19) + (at n7 c14 c20) + (at n8 c14 c21) + (at n9 c14 c22) + (at n10 c14 c23) + (at n11 c14 c24) + (at n12 c14 c25) + (at n13 c14 c26) + (at n14 c14 c27) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c14 c14) + (at n2 c15 c14) + (at n3 c15 c15) + (at n4 c16 c15) + (at n5 c16 c16) + (at n6 c17 c16) + (at n7 c17 c17) + (at n8 c17 c18) + (at n9 c18 c18) + (at n10 c18 c19) + (at n11 c18 c20) + (at n12 c19 c20) + (at n13 c19 c19) + (at n14 c19 c18) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p11.pddl b/folding-opt23-adl/p11.pddl new file mode 100644 index 00000000..99b0cae2 --- /dev/null +++ b/folding-opt23-adl/p11.pddl @@ -0,0 +1,1090 @@ +;; Generated with: ./generate.py 1297 bias-spiral 16 10 p11.pddl p11.plan +;; . +;; | +;; .-. +;; | +;; . +;; | +;; . +;; | +;; .-. +;; | +;; .-.-. +;; | +;; .-. +;; | +;; . +;; | +;; .-. +;; | +;; x +;; +(define (problem folding-bias-spiral-16-10-176743) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (END-NODE n16) + + (at n1 c16 c16) + (at n2 c16 c17) + (at n3 c16 c18) + (at n4 c16 c19) + (at n5 c16 c20) + (at n6 c16 c21) + (at n7 c16 c22) + (at n8 c16 c23) + (at n9 c16 c24) + (at n10 c16 c25) + (at n11 c16 c26) + (at n12 c16 c27) + (at n13 c16 c28) + (at n14 c16 c29) + (at n15 c16 c30) + (at n16 c16 c31) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c16 c16) + (at n2 c16 c17) + (at n3 c17 c17) + (at n4 c17 c18) + (at n5 c17 c19) + (at n6 c18 c19) + (at n7 c18 c20) + (at n8 c17 c20) + (at n9 c16 c20) + (at n10 c16 c21) + (at n11 c15 c21) + (at n12 c15 c22) + (at n13 c15 c23) + (at n14 c15 c24) + (at n15 c16 c24) + (at n16 c16 c25) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p12.pddl b/folding-opt23-adl/p12.pddl new file mode 100644 index 00000000..42a492ac --- /dev/null +++ b/folding-opt23-adl/p12.pddl @@ -0,0 +1,1354 @@ +;; Generated with: ./generate.py 1301 bias-spiral 18 12 p12.pddl p12.plan +;; x-. +;; | +;; .-.-. .-. . +;; | | | | +;; .-.-. . .-. +;; | | +;; . . +;; | | +;; .-. +;; +(define (problem folding-bias-spiral-18-12-263731) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (END-NODE n18) + + (at n1 c18 c18) + (at n2 c18 c19) + (at n3 c18 c20) + (at n4 c18 c21) + (at n5 c18 c22) + (at n6 c18 c23) + (at n7 c18 c24) + (at n8 c18 c25) + (at n9 c18 c26) + (at n10 c18 c27) + (at n11 c18 c28) + (at n12 c18 c29) + (at n13 c18 c30) + (at n14 c18 c31) + (at n15 c18 c32) + (at n16 c18 c33) + (at n17 c18 c34) + (at n18 c18 c35) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c18 c18) + (at n2 c19 c18) + (at n3 c19 c17) + (at n4 c20 c17) + (at n5 c21 c17) + (at n6 c21 c16) + (at n7 c22 c16) + (at n8 c23 c16) + (at n9 c23 c17) + (at n10 c24 c17) + (at n11 c24 c16) + (at n12 c24 c15) + (at n13 c24 c14) + (at n14 c25 c14) + (at n15 c25 c15) + (at n16 c25 c16) + (at n17 c26 c16) + (at n18 c26 c17) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p13.pddl b/folding-opt23-adl/p13.pddl new file mode 100644 index 00000000..5b813898 --- /dev/null +++ b/folding-opt23-adl/p13.pddl @@ -0,0 +1,1668 @@ +;; Generated with: ./generate.py 1303 bias-spiral 20 12 p13.pddl p13.plan +;; .-. +;; | | +;; . .-. +;; | | +;; .-.-. .-. +;; | | +;; x . +;; | +;; .-. +;; | +;; . +;; | +;; . +;; | +;; .-.-. +;; | +;; . +;; +(define (problem folding-bias-spiral-20-12-523600) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (END-NODE n20) + + (at n1 c20 c20) + (at n2 c20 c21) + (at n3 c20 c22) + (at n4 c20 c23) + (at n5 c20 c24) + (at n6 c20 c25) + (at n7 c20 c26) + (at n8 c20 c27) + (at n9 c20 c28) + (at n10 c20 c29) + (at n11 c20 c30) + (at n12 c20 c31) + (at n13 c20 c32) + (at n14 c20 c33) + (at n15 c20 c34) + (at n16 c20 c35) + (at n17 c20 c36) + (at n18 c20 c37) + (at n19 c20 c38) + (at n20 c20 c39) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c20 c20) + (at n2 c20 c21) + (at n3 c21 c21) + (at n4 c22 c21) + (at n5 c22 c22) + (at n6 c22 c23) + (at n7 c23 c23) + (at n8 c23 c22) + (at n9 c24 c22) + (at n10 c24 c21) + (at n11 c25 c21) + (at n12 c25 c20) + (at n13 c25 c19) + (at n14 c24 c19) + (at n15 c24 c18) + (at n16 c24 c17) + (at n17 c24 c16) + (at n18 c25 c16) + (at n19 c26 c16) + (at n20 c26 c15) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p14.pddl b/folding-opt23-adl/p14.pddl new file mode 100644 index 00000000..b21b773e --- /dev/null +++ b/folding-opt23-adl/p14.pddl @@ -0,0 +1,626 @@ +;; Generated with: ./generate.py 1307 spiral 12 7 p14.pddl p14.plan +;; .-.-. +;; | | +;; . .-. +;; | +;; . x-. +;; | | +;; .-.-. +;; +(define (problem folding-spiral-12-7-727241) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (END-NODE n12) + + (at n1 c12 c12) + (at n2 c12 c13) + (at n3 c12 c14) + (at n4 c12 c15) + (at n5 c12 c16) + (at n6 c12 c17) + (at n7 c12 c18) + (at n8 c12 c19) + (at n9 c12 c20) + (at n10 c12 c21) + (at n11 c12 c22) + (at n12 c12 c23) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c12 c12) + (at n2 c13 c12) + (at n3 c13 c11) + (at n4 c12 c11) + (at n5 c11 c11) + (at n6 c11 c12) + (at n7 c11 c13) + (at n8 c11 c14) + (at n9 c12 c14) + (at n10 c13 c14) + (at n11 c13 c13) + (at n12 c12 c13) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p15.pddl b/folding-opt23-adl/p15.pddl new file mode 100644 index 00000000..5a1fa68c --- /dev/null +++ b/folding-opt23-adl/p15.pddl @@ -0,0 +1,834 @@ +;; Generated with: ./generate.py 1319 spiral 14 7 p15.pddl p15.plan +;; .-.-.-.-.-. +;; | | +;; . x-. .-. +;; | | +;; .-.-. +;; +(define (problem folding-spiral-14-7-620019) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (END-NODE n14) + + (at n1 c14 c14) + (at n2 c14 c15) + (at n3 c14 c16) + (at n4 c14 c17) + (at n5 c14 c18) + (at n6 c14 c19) + (at n7 c14 c20) + (at n8 c14 c21) + (at n9 c14 c22) + (at n10 c14 c23) + (at n11 c14 c24) + (at n12 c14 c25) + (at n13 c14 c26) + (at n14 c14 c27) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c14 c14) + (at n2 c15 c14) + (at n3 c15 c13) + (at n4 c14 c13) + (at n5 c13 c13) + (at n6 c13 c14) + (at n7 c13 c15) + (at n8 c14 c15) + (at n9 c15 c15) + (at n10 c16 c15) + (at n11 c17 c15) + (at n12 c18 c15) + (at n13 c18 c14) + (at n14 c17 c14) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p16.pddl b/folding-opt23-adl/p16.pddl new file mode 100644 index 00000000..b16a75d3 --- /dev/null +++ b/folding-opt23-adl/p16.pddl @@ -0,0 +1,951 @@ +;; Generated with: ./generate.py 1321 spiral 15 8 p16.pddl p16.plan +;; .-.-.-.-. +;; | | +;; . x-. . . +;; | | | | +;; .-.-. .-. +;; +(define (problem folding-spiral-15-8-847685) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (END-NODE n15) + + (at n1 c15 c15) + (at n2 c15 c16) + (at n3 c15 c17) + (at n4 c15 c18) + (at n5 c15 c19) + (at n6 c15 c20) + (at n7 c15 c21) + (at n8 c15 c22) + (at n9 c15 c23) + (at n10 c15 c24) + (at n11 c15 c25) + (at n12 c15 c26) + (at n13 c15 c27) + (at n14 c15 c28) + (at n15 c15 c29) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c15 c15) + (at n2 c16 c15) + (at n3 c16 c14) + (at n4 c15 c14) + (at n5 c14 c14) + (at n6 c14 c15) + (at n7 c14 c16) + (at n8 c15 c16) + (at n9 c16 c16) + (at n10 c17 c16) + (at n11 c18 c16) + (at n12 c18 c15) + (at n13 c18 c14) + (at n14 c17 c14) + (at n15 c17 c15) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p17.pddl b/folding-opt23-adl/p17.pddl new file mode 100644 index 00000000..460bfb12 --- /dev/null +++ b/folding-opt23-adl/p17.pddl @@ -0,0 +1,1076 @@ +;; Generated with: ./generate.py 1327 spiral 16 8 p17.pddl p17.plan +;; .-.-.-.-.-. +;; | | +;; . x-. . . +;; | | | | +;; .-.-. .-. +;; +(define (problem folding-spiral-16-8-597408) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (END-NODE n16) + + (at n1 c16 c16) + (at n2 c16 c17) + (at n3 c16 c18) + (at n4 c16 c19) + (at n5 c16 c20) + (at n6 c16 c21) + (at n7 c16 c22) + (at n8 c16 c23) + (at n9 c16 c24) + (at n10 c16 c25) + (at n11 c16 c26) + (at n12 c16 c27) + (at n13 c16 c28) + (at n14 c16 c29) + (at n15 c16 c30) + (at n16 c16 c31) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c16 c16) + (at n2 c17 c16) + (at n3 c17 c15) + (at n4 c16 c15) + (at n5 c15 c15) + (at n6 c15 c16) + (at n7 c15 c17) + (at n8 c16 c17) + (at n9 c17 c17) + (at n10 c18 c17) + (at n11 c19 c17) + (at n12 c20 c17) + (at n13 c20 c16) + (at n14 c20 c15) + (at n15 c19 c15) + (at n16 c19 c16) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p18.pddl b/folding-opt23-adl/p18.pddl new file mode 100644 index 00000000..4a46d26a --- /dev/null +++ b/folding-opt23-adl/p18.pddl @@ -0,0 +1,1352 @@ +;; Generated with: ./generate.py 1361 spiral 18 8 p18.pddl p18.plan +;; .-.-.-.-.-. +;; | | +;; . x-. . +;; | | | +;; .-.-.-. . . +;; | | +;; .-. +;; +(define (problem folding-spiral-18-8-906434) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (END-NODE n18) + + (at n1 c18 c18) + (at n2 c18 c19) + (at n3 c18 c20) + (at n4 c18 c21) + (at n5 c18 c22) + (at n6 c18 c23) + (at n7 c18 c24) + (at n8 c18 c25) + (at n9 c18 c26) + (at n10 c18 c27) + (at n11 c18 c28) + (at n12 c18 c29) + (at n13 c18 c30) + (at n14 c18 c31) + (at n15 c18 c32) + (at n16 c18 c33) + (at n17 c18 c34) + (at n18 c18 c35) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c18 c18) + (at n2 c19 c18) + (at n3 c19 c17) + (at n4 c18 c17) + (at n5 c17 c17) + (at n6 c16 c17) + (at n7 c16 c18) + (at n8 c16 c19) + (at n9 c17 c19) + (at n10 c18 c19) + (at n11 c19 c19) + (at n12 c20 c19) + (at n13 c21 c19) + (at n14 c21 c18) + (at n15 c21 c17) + (at n16 c21 c16) + (at n17 c20 c16) + (at n18 c20 c17) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p19.pddl b/folding-opt23-adl/p19.pddl new file mode 100644 index 00000000..8083a357 --- /dev/null +++ b/folding-opt23-adl/p19.pddl @@ -0,0 +1,1658 @@ +;; Generated with: ./generate.py 1367 spiral 20 9 p19.pddl p19.plan +;; .-.-.-.-.-.-. +;; | | +;; . x-. . +;; | | | +;; .-.-. .-. . +;; | | +;; .-.-. +;; +(define (problem folding-spiral-20-9-860821) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (END-NODE n20) + + (at n1 c20 c20) + (at n2 c20 c21) + (at n3 c20 c22) + (at n4 c20 c23) + (at n5 c20 c24) + (at n6 c20 c25) + (at n7 c20 c26) + (at n8 c20 c27) + (at n9 c20 c28) + (at n10 c20 c29) + (at n11 c20 c30) + (at n12 c20 c31) + (at n13 c20 c32) + (at n14 c20 c33) + (at n15 c20 c34) + (at n16 c20 c35) + (at n17 c20 c36) + (at n18 c20 c37) + (at n19 c20 c38) + (at n20 c20 c39) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c20 c20) + (at n2 c21 c20) + (at n3 c21 c19) + (at n4 c20 c19) + (at n5 c19 c19) + (at n6 c19 c20) + (at n7 c19 c21) + (at n8 c20 c21) + (at n9 c21 c21) + (at n10 c22 c21) + (at n11 c23 c21) + (at n12 c24 c21) + (at n13 c25 c21) + (at n14 c25 c20) + (at n15 c25 c19) + (at n16 c25 c18) + (at n17 c24 c18) + (at n18 c23 c18) + (at n19 c23 c19) + (at n20 c24 c19) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-opt23-adl/p20.pddl b/folding-opt23-adl/p20.pddl new file mode 100644 index 00000000..d2e2c557 --- /dev/null +++ b/folding-opt23-adl/p20.pddl @@ -0,0 +1,2368 @@ +;; Generated with: ./generate.py 1373 spiral 24 9 p20.pddl p20.plan +;; .-. +;; | +;; . .-.-.-.-. +;; | | | +;; . . x-. . +;; | | | | +;; . .-.-. . +;; | | +;; .-.-.-.-.-. +;; +(define (problem folding-spiral-24-9-536650) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (END-NODE n24) + + (at n1 c24 c24) + (at n2 c24 c25) + (at n3 c24 c26) + (at n4 c24 c27) + (at n5 c24 c28) + (at n6 c24 c29) + (at n7 c24 c30) + (at n8 c24 c31) + (at n9 c24 c32) + (at n10 c24 c33) + (at n11 c24 c34) + (at n12 c24 c35) + (at n13 c24 c36) + (at n14 c24 c37) + (at n15 c24 c38) + (at n16 c24 c39) + (at n17 c24 c40) + (at n18 c24 c41) + (at n19 c24 c42) + (at n20 c24 c43) + (at n21 c24 c44) + (at n22 c24 c45) + (at n23 c24 c46) + (at n24 c24 c47) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c26 c42) + (free c26 c43) + (free c26 c44) + (free c26 c45) + (free c26 c46) + (free c26 c47) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c28 c42) + (free c28 c43) + (free c28 c44) + (free c28 c45) + (free c28 c46) + (free c28 c47) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c30 c44) + (free c30 c45) + (free c30 c46) + (free c30 c47) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c24 c24) + (at n2 c25 c24) + (at n3 c25 c23) + (at n4 c24 c23) + (at n5 c23 c23) + (at n6 c23 c24) + (at n7 c23 c25) + (at n8 c24 c25) + (at n9 c25 c25) + (at n10 c26 c25) + (at n11 c27 c25) + (at n12 c27 c24) + (at n13 c27 c23) + (at n14 c27 c22) + (at n15 c26 c22) + (at n16 c25 c22) + (at n17 c24 c22) + (at n18 c23 c22) + (at n19 c22 c22) + (at n20 c22 c23) + (at n21 c22 c24) + (at n22 c22 c25) + (at n23 c22 c26) + (at n24 c23 c26) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/domain.pddl b/folding-sat23-adl/domain.pddl new file mode 100644 index 00000000..4bb08885 --- /dev/null +++ b/folding-sat23-adl/domain.pddl @@ -0,0 +1,195 @@ +;; A rotation (fold) at node n consists of one action rotate and two +;; folllowing passes over to remaining part of string starting at n. +;; In the first pass, all directions are corrected according to the +;; rotation applied, and all (at this point incorrect) (at ...) facts are +;; deleted. In the second pass, the correct (at ...) facts are set. +;; The reason we use two passes instead of one is to avoid the intersection +;; of the string with itself in the part that is currently moving. Consider +;; the following string: +;; 2-3 +;; | | +;; 1 4 +;; and suppose we want to rotate 1 counterclockwise which results in the +;; following configuration: +;; 3-4 +;; | +;; 2-1 +;; Now, note that 2 in the initial and 4 in the final configuration occupy +;; the same point in the plane. So, with one pass, we could end up with two +;; nodes occupying the same point, which we avoid by taking two passes instead +;; of one. +;; +(define (domain folding) +(:requirements :adl :action-costs) + +(:types + node - object + coord - object + direction - object + rotation - object +) + +(:constants + left right up down - direction + clockwise counterclockwise - rotation +) + +(:predicates + ;; ?dfrom rotated by ?r ends up as ?d2to + (NEXT-DIRECTION ?dfrom - direction ?r - rotation ?d2to - direction) + ;; ?cnext = ?c + 1 + (COORD-INC ?c ?cnext - coord) + ;; Last node of the string + (END-NODE ?n - node) + ;; ?n2 follows right after ?n1 in the string + (CONNECTED ?n1 ?n2 - node) + + ;; Position of the node in the grid + (at ?n - node ?x ?y - coord) + ;; Heading of the outgoing edge of this node + (heading ?n - node ?dir - direction) + ;; The coordinates are not occupied by any node + (free ?x ?y - coord) + ;; Flag indicating we are in the process of rotating the string + (rotating) + ;; Cursor storing that ?nstart was rotated by ?r and the next node to + ;; process is ?n + (node-first-pass-next ?nstart - node ?r - rotation ?n - node) + ;; Cursor for the second pass + (node-second-pass-next ?n - node) +) + +(:functions + (total-cost) - number + (rotate-cost) - number + (update-cost) - number +) + + +;; Rotates the string after this node and start the first pass computing +;; absolute directions and coordinates of other nodes +(:action rotate + :parameters (?n - node ?r - rotation ?fromdir ?todir - direction) + :precondition + (and + (not (rotating)) + (NEXT-DIRECTION ?fromdir ?r ?todir) + (heading ?n ?fromdir) + ) + :effect + (and + (not (heading ?n ?fromdir)) + (heading ?n ?todir) + (rotating) + (node-first-pass-next ?n ?r ?n) + (increase (total-cost) (rotate-cost)) + ) +) + +;; The first pass fixes the direction of nodes and removes all (at ...) facts +(:action rotate-first-pass + :parameters (?nstart - node ?r - rotation + ?n1 - node + ?n2 - node ?n2x ?n2y - coord ?n2dir ?n2setdir - direction) + :precondition + (and + (CONNECTED ?n1 ?n2) + (NEXT-DIRECTION ?n2dir ?r ?n2setdir) + (node-first-pass-next ?nstart ?r ?n1) + (at ?n2 ?n2x ?n2y) + (heading ?n2 ?n2dir) + ) + :effect + (and + (not (node-first-pass-next ?nstart ?r ?n1)) + (node-first-pass-next ?nstart ?r ?n2) + (not (at ?n2 ?n2x ?n2y)) + (free ?n2x ?n2y) + (not (heading ?n2 ?n2dir)) + (heading ?n2 ?n2setdir) + (increase (total-cost) (update-cost)) + ) +) + +(:action rotate-first-pass-end + :parameters (?nstart - node ?r - rotation + ?n1 - node + ?n2 - node ?n2x ?n2y - coord) + :precondition + (and + (END-NODE ?n2) + (CONNECTED ?n1 ?n2) + (node-first-pass-next ?nstart ?r ?n1) + (at ?n2 ?n2x ?n2y) + ) + :effect + (and + (not (at ?n2 ?n2x ?n2y)) + (free ?n2x ?n2y) + (not (node-first-pass-next ?nstart ?r ?n1)) + (node-second-pass-next ?nstart) + (increase (total-cost) (update-cost)) + ) +) + +;; The second pass sets the coordinates of all nodes depending on the +;; direction. +(:action rotate-second-pass + :parameters (?n1 - node ?n1x ?n1y - coord ?n1dir - direction + ?n2 - node ?n2x ?n2y - coord) + :precondition + (and + (CONNECTED ?n1 ?n2) + (node-second-pass-next ?n1) + (at ?n1 ?n1x ?n1y) + (heading ?n1 ?n1dir) + (free ?n2x ?n2y) + + (or + (and (= ?n1dir up) + (= ?n1x ?n2x) + (COORD-INC ?n1y ?n2y) + ) + + (and (= ?n1dir down) + (= ?n1x ?n2x) + (COORD-INC ?n2y ?n1y) + ) + + (and (= ?n1dir left) + (= ?n1y ?n2y) + (COORD-INC ?n2x ?n1x) + ) + + (and (= ?n1dir right) + (= ?n1y ?n2y) + (COORD-INC ?n1x ?n2x) + ) + ) + ) + :effect + (and + (not (node-second-pass-next ?n1)) + (node-second-pass-next ?n2) + (not (free ?n2x ?n2y)) + (at ?n2 ?n2x ?n2y) + (increase (total-cost) (update-cost)) + ) +) + +(:action rotate-second-pass-end + :parameters (?n - node) + :precondition + (and + (END-NODE ?n) + (node-second-pass-next ?n) + ) + :effect + (and + (not (node-second-pass-next ?n)) + (not (rotating)) + (increase (total-cost) (update-cost)) + ) +) + +) diff --git a/folding-sat23-adl/p01.pddl b/folding-sat23-adl/p01.pddl new file mode 100644 index 00000000..cfa8cf3f --- /dev/null +++ b/folding-sat23-adl/p01.pddl @@ -0,0 +1,632 @@ +;; Generated with: ./generate.py 1229 zigzag 12 10 p01.pddl p01.plan +;; x-. +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. +;; | +;; . +;; | +;; .-. +;; | +;; . +;; +(define (problem folding-zigzag-12-10-914528) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (END-NODE n12) + + (at n1 c12 c12) + (at n2 c12 c13) + (at n3 c12 c14) + (at n4 c12 c15) + (at n5 c12 c16) + (at n6 c12 c17) + (at n7 c12 c18) + (at n8 c12 c19) + (at n9 c12 c20) + (at n10 c12 c21) + (at n11 c12 c22) + (at n12 c12 c23) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c12 c12) + (at n2 c13 c12) + (at n3 c13 c11) + (at n4 c12 c11) + (at n5 c12 c10) + (at n6 c11 c10) + (at n7 c11 c9) + (at n8 c12 c9) + (at n9 c12 c8) + (at n10 c12 c7) + (at n11 c13 c7) + (at n12 c13 c6) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p02.pddl b/folding-sat23-adl/p02.pddl new file mode 100644 index 00000000..86e4575c --- /dev/null +++ b/folding-sat23-adl/p02.pddl @@ -0,0 +1,1076 @@ +;; Generated with: ./generate.py 1231 zigzag 16 12 p02.pddl p02.plan +;; x-. .-. . +;; | | | | +;; .-. .-. .-.-.-. +;; | | +;; .-.-. +;; +(define (problem folding-zigzag-16-12-91436) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (END-NODE n16) + + (at n1 c16 c16) + (at n2 c16 c17) + (at n3 c16 c18) + (at n4 c16 c19) + (at n5 c16 c20) + (at n6 c16 c21) + (at n7 c16 c22) + (at n8 c16 c23) + (at n9 c16 c24) + (at n10 c16 c25) + (at n11 c16 c26) + (at n12 c16 c27) + (at n13 c16 c28) + (at n14 c16 c29) + (at n15 c16 c30) + (at n16 c16 c31) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c16 c16) + (at n2 c17 c16) + (at n3 c17 c15) + (at n4 c18 c15) + (at n5 c18 c16) + (at n6 c19 c16) + (at n7 c19 c15) + (at n8 c20 c15) + (at n9 c20 c14) + (at n10 c21 c14) + (at n11 c22 c14) + (at n12 c22 c15) + (at n13 c23 c15) + (at n14 c24 c15) + (at n15 c25 c15) + (at n16 c25 c16) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p03.pddl b/folding-sat23-adl/p03.pddl new file mode 100644 index 00000000..0828f390 --- /dev/null +++ b/folding-sat23-adl/p03.pddl @@ -0,0 +1,1666 @@ +;; Generated with: ./generate.py 1237 zigzag 20 12 p03.pddl p03.plan +;; .-. +;; | | +;; . .-. +;; | | +;; .-. .-. +;; | | +;; . . +;; | +;; . +;; | +;; . +;; | +;; .-.-.-.-. +;; | +;; .-x +;; +(define (problem folding-zigzag-20-12-530957) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (END-NODE n20) + + (at n1 c20 c20) + (at n2 c20 c21) + (at n3 c20 c22) + (at n4 c20 c23) + (at n5 c20 c24) + (at n6 c20 c25) + (at n7 c20 c26) + (at n8 c20 c27) + (at n9 c20 c28) + (at n10 c20 c29) + (at n11 c20 c30) + (at n12 c20 c31) + (at n13 c20 c32) + (at n14 c20 c33) + (at n15 c20 c34) + (at n16 c20 c35) + (at n17 c20 c36) + (at n18 c20 c37) + (at n19 c20 c38) + (at n20 c20 c39) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c20 c20) + (at n2 c19 c20) + (at n3 c19 c21) + (at n4 c18 c21) + (at n5 c17 c21) + (at n6 c16 c21) + (at n7 c15 c21) + (at n8 c15 c22) + (at n9 c15 c23) + (at n10 c15 c24) + (at n11 c15 c25) + (at n12 c14 c25) + (at n13 c14 c26) + (at n14 c14 c27) + (at n15 c15 c27) + (at n16 c15 c26) + (at n17 c16 c26) + (at n18 c16 c25) + (at n19 c17 c25) + (at n20 c17 c24) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p04.pddl b/folding-sat23-adl/p04.pddl new file mode 100644 index 00000000..2b30f157 --- /dev/null +++ b/folding-sat23-adl/p04.pddl @@ -0,0 +1,2000 @@ +;; Generated with: ./generate.py 1249 zigzag 22 18 p04.pddl p04.plan +;; . +;; | +;; .-. +;; | +;; .-. . +;; | | | +;; x-. .-. .-. .-. +;; | | | | +;; .-. . .-.-. +;; | | +;; .-. +;; +(define (problem folding-zigzag-22-18-361421) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (END-NODE n22) + + (at n1 c22 c22) + (at n2 c22 c23) + (at n3 c22 c24) + (at n4 c22 c25) + (at n5 c22 c26) + (at n6 c22 c27) + (at n7 c22 c28) + (at n8 c22 c29) + (at n9 c22 c30) + (at n10 c22 c31) + (at n11 c22 c32) + (at n12 c22 c33) + (at n13 c22 c34) + (at n14 c22 c35) + (at n15 c22 c36) + (at n16 c22 c37) + (at n17 c22 c38) + (at n18 c22 c39) + (at n19 c22 c40) + (at n20 c22 c41) + (at n21 c22 c42) + (at n22 c22 c43) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c24 c40) + (free c24 c41) + (free c24 c42) + (free c24 c43) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c26 c42) + (free c26 c43) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c28 c42) + (free c28 c43) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c22 c22) + (at n2 c23 c22) + (at n3 c23 c23) + (at n4 c24 c23) + (at n5 c24 c22) + (at n6 c25 c22) + (at n7 c25 c21) + (at n8 c26 c21) + (at n9 c26 c22) + (at n10 c27 c22) + (at n11 c27 c21) + (at n12 c27 c20) + (at n13 c28 c20) + (at n14 c28 c21) + (at n15 c29 c21) + (at n16 c30 c21) + (at n17 c30 c22) + (at n18 c31 c22) + (at n19 c31 c23) + (at n20 c31 c24) + (at n21 c32 c24) + (at n22 c32 c25) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p05.pddl b/folding-sat23-adl/p05.pddl new file mode 100644 index 00000000..546cd10b --- /dev/null +++ b/folding-sat23-adl/p05.pddl @@ -0,0 +1,2368 @@ +;; Generated with: ./generate.py 1259 zigzag 24 20 p05.pddl p05.plan +;; .-. +;; | | +;; . .-. +;; | | +;; x-. . .-. +;; | | +;; .-. .-.-. .-. . +;; | | | | | | +;; .-. .-. .-. +;; +(define (problem folding-zigzag-24-20-222481) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (END-NODE n24) + + (at n1 c24 c24) + (at n2 c24 c25) + (at n3 c24 c26) + (at n4 c24 c27) + (at n5 c24 c28) + (at n6 c24 c29) + (at n7 c24 c30) + (at n8 c24 c31) + (at n9 c24 c32) + (at n10 c24 c33) + (at n11 c24 c34) + (at n12 c24 c35) + (at n13 c24 c36) + (at n14 c24 c37) + (at n15 c24 c38) + (at n16 c24 c39) + (at n17 c24 c40) + (at n18 c24 c41) + (at n19 c24 c42) + (at n20 c24 c43) + (at n21 c24 c44) + (at n22 c24 c45) + (at n23 c24 c46) + (at n24 c24 c47) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c26 c42) + (free c26 c43) + (free c26 c44) + (free c26 c45) + (free c26 c46) + (free c26 c47) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c28 c42) + (free c28 c43) + (free c28 c44) + (free c28 c45) + (free c28 c46) + (free c28 c47) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c30 c44) + (free c30 c45) + (free c30 c46) + (free c30 c47) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c24 c24) + (at n2 c25 c24) + (at n3 c25 c23) + (at n4 c26 c23) + (at n5 c26 c22) + (at n6 c27 c22) + (at n7 c27 c23) + (at n8 c28 c23) + (at n9 c29 c23) + (at n10 c29 c22) + (at n11 c30 c22) + (at n12 c30 c23) + (at n13 c31 c23) + (at n14 c31 c22) + (at n15 c32 c22) + (at n16 c32 c23) + (at n17 c32 c24) + (at n18 c33 c24) + (at n19 c33 c25) + (at n20 c32 c25) + (at n21 c32 c26) + (at n22 c31 c26) + (at n23 c31 c25) + (at n24 c31 c24) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p06.pddl b/folding-sat23-adl/p06.pddl new file mode 100644 index 00000000..8b3c9626 --- /dev/null +++ b/folding-sat23-adl/p06.pddl @@ -0,0 +1,2780 @@ +;; Generated with: ./generate.py 1277 zigzag 26 22 p06.pddl p06.plan +;; .-x +;; | +;; .-. +;; | +;; .-.-. +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. .-.-. +;; | | | +;; .-.-. .-. +;; | +;; .-. +;; | +;; .-. +;; | +;; . +;; +(define (problem folding-zigzag-26-22-48789) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 n25 n26 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + (COORD-INC c47 c48) + (COORD-INC c48 c49) + (COORD-INC c49 c50) + (COORD-INC c50 c51) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (CONNECTED n24 n25) + (CONNECTED n25 n26) + (END-NODE n26) + + (at n1 c26 c26) + (at n2 c26 c27) + (at n3 c26 c28) + (at n4 c26 c29) + (at n5 c26 c30) + (at n6 c26 c31) + (at n7 c26 c32) + (at n8 c26 c33) + (at n9 c26 c34) + (at n10 c26 c35) + (at n11 c26 c36) + (at n12 c26 c37) + (at n13 c26 c38) + (at n14 c26 c39) + (at n15 c26 c40) + (at n16 c26 c41) + (at n17 c26 c42) + (at n18 c26 c43) + (at n19 c26 c44) + (at n20 c26 c45) + (at n21 c26 c46) + (at n22 c26 c47) + (at n23 c26 c48) + (at n24 c26 c49) + (at n25 c26 c50) + (at n26 c26 c51) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (heading n24 up) + (heading n25 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c1 c48) + (free c1 c49) + (free c1 c50) + (free c1 c51) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c2 c48) + (free c2 c49) + (free c2 c50) + (free c2 c51) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c3 c48) + (free c3 c49) + (free c3 c50) + (free c3 c51) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c4 c48) + (free c4 c49) + (free c4 c50) + (free c4 c51) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c5 c48) + (free c5 c49) + (free c5 c50) + (free c5 c51) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c6 c48) + (free c6 c49) + (free c6 c50) + (free c6 c51) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c7 c48) + (free c7 c49) + (free c7 c50) + (free c7 c51) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c8 c48) + (free c8 c49) + (free c8 c50) + (free c8 c51) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c9 c48) + (free c9 c49) + (free c9 c50) + (free c9 c51) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c10 c48) + (free c10 c49) + (free c10 c50) + (free c10 c51) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c11 c48) + (free c11 c49) + (free c11 c50) + (free c11 c51) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c12 c48) + (free c12 c49) + (free c12 c50) + (free c12 c51) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c13 c48) + (free c13 c49) + (free c13 c50) + (free c13 c51) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c14 c48) + (free c14 c49) + (free c14 c50) + (free c14 c51) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c15 c48) + (free c15 c49) + (free c15 c50) + (free c15 c51) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c16 c48) + (free c16 c49) + (free c16 c50) + (free c16 c51) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c17 c48) + (free c17 c49) + (free c17 c50) + (free c17 c51) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c18 c48) + (free c18 c49) + (free c18 c50) + (free c18 c51) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c19 c48) + (free c19 c49) + (free c19 c50) + (free c19 c51) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c20 c48) + (free c20 c49) + (free c20 c50) + (free c20 c51) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c21 c48) + (free c21 c49) + (free c21 c50) + (free c21 c51) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c22 c48) + (free c22 c49) + (free c22 c50) + (free c22 c51) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c23 c48) + (free c23 c49) + (free c23 c50) + (free c23 c51) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c24 c40) + (free c24 c41) + (free c24 c42) + (free c24 c43) + (free c24 c44) + (free c24 c45) + (free c24 c46) + (free c24 c47) + (free c24 c48) + (free c24 c49) + (free c24 c50) + (free c24 c51) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c25 c48) + (free c25 c49) + (free c25 c50) + (free c25 c51) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c27 c48) + (free c27 c49) + (free c27 c50) + (free c27 c51) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c28 c42) + (free c28 c43) + (free c28 c44) + (free c28 c45) + (free c28 c46) + (free c28 c47) + (free c28 c48) + (free c28 c49) + (free c28 c50) + (free c28 c51) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c29 c48) + (free c29 c49) + (free c29 c50) + (free c29 c51) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c30 c44) + (free c30 c45) + (free c30 c46) + (free c30 c47) + (free c30 c48) + (free c30 c49) + (free c30 c50) + (free c30 c51) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c31 c48) + (free c31 c49) + (free c31 c50) + (free c31 c51) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c32 c48) + (free c32 c49) + (free c32 c50) + (free c32 c51) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c33 c48) + (free c33 c49) + (free c33 c50) + (free c33 c51) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c34 c48) + (free c34 c49) + (free c34 c50) + (free c34 c51) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c35 c48) + (free c35 c49) + (free c35 c50) + (free c35 c51) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c36 c48) + (free c36 c49) + (free c36 c50) + (free c36 c51) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c37 c48) + (free c37 c49) + (free c37 c50) + (free c37 c51) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c38 c48) + (free c38 c49) + (free c38 c50) + (free c38 c51) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c39 c48) + (free c39 c49) + (free c39 c50) + (free c39 c51) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c40 c48) + (free c40 c49) + (free c40 c50) + (free c40 c51) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c41 c48) + (free c41 c49) + (free c41 c50) + (free c41 c51) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c42 c48) + (free c42 c49) + (free c42 c50) + (free c42 c51) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c43 c48) + (free c43 c49) + (free c43 c50) + (free c43 c51) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c44 c48) + (free c44 c49) + (free c44 c50) + (free c44 c51) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c45 c48) + (free c45 c49) + (free c45 c50) + (free c45 c51) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c46 c48) + (free c46 c49) + (free c46 c50) + (free c46 c51) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + (free c47 c48) + (free c47 c49) + (free c47 c50) + (free c47 c51) + (free c48 c1) + (free c48 c2) + (free c48 c3) + (free c48 c4) + (free c48 c5) + (free c48 c6) + (free c48 c7) + (free c48 c8) + (free c48 c9) + (free c48 c10) + (free c48 c11) + (free c48 c12) + (free c48 c13) + (free c48 c14) + (free c48 c15) + (free c48 c16) + (free c48 c17) + (free c48 c18) + (free c48 c19) + (free c48 c20) + (free c48 c21) + (free c48 c22) + (free c48 c23) + (free c48 c24) + (free c48 c25) + (free c48 c26) + (free c48 c27) + (free c48 c28) + (free c48 c29) + (free c48 c30) + (free c48 c31) + (free c48 c32) + (free c48 c33) + (free c48 c34) + (free c48 c35) + (free c48 c36) + (free c48 c37) + (free c48 c38) + (free c48 c39) + (free c48 c40) + (free c48 c41) + (free c48 c42) + (free c48 c43) + (free c48 c44) + (free c48 c45) + (free c48 c46) + (free c48 c47) + (free c48 c48) + (free c48 c49) + (free c48 c50) + (free c48 c51) + (free c49 c1) + (free c49 c2) + (free c49 c3) + (free c49 c4) + (free c49 c5) + (free c49 c6) + (free c49 c7) + (free c49 c8) + (free c49 c9) + (free c49 c10) + (free c49 c11) + (free c49 c12) + (free c49 c13) + (free c49 c14) + (free c49 c15) + (free c49 c16) + (free c49 c17) + (free c49 c18) + (free c49 c19) + (free c49 c20) + (free c49 c21) + (free c49 c22) + (free c49 c23) + (free c49 c24) + (free c49 c25) + (free c49 c26) + (free c49 c27) + (free c49 c28) + (free c49 c29) + (free c49 c30) + (free c49 c31) + (free c49 c32) + (free c49 c33) + (free c49 c34) + (free c49 c35) + (free c49 c36) + (free c49 c37) + (free c49 c38) + (free c49 c39) + (free c49 c40) + (free c49 c41) + (free c49 c42) + (free c49 c43) + (free c49 c44) + (free c49 c45) + (free c49 c46) + (free c49 c47) + (free c49 c48) + (free c49 c49) + (free c49 c50) + (free c49 c51) + (free c50 c1) + (free c50 c2) + (free c50 c3) + (free c50 c4) + (free c50 c5) + (free c50 c6) + (free c50 c7) + (free c50 c8) + (free c50 c9) + (free c50 c10) + (free c50 c11) + (free c50 c12) + (free c50 c13) + (free c50 c14) + (free c50 c15) + (free c50 c16) + (free c50 c17) + (free c50 c18) + (free c50 c19) + (free c50 c20) + (free c50 c21) + (free c50 c22) + (free c50 c23) + (free c50 c24) + (free c50 c25) + (free c50 c26) + (free c50 c27) + (free c50 c28) + (free c50 c29) + (free c50 c30) + (free c50 c31) + (free c50 c32) + (free c50 c33) + (free c50 c34) + (free c50 c35) + (free c50 c36) + (free c50 c37) + (free c50 c38) + (free c50 c39) + (free c50 c40) + (free c50 c41) + (free c50 c42) + (free c50 c43) + (free c50 c44) + (free c50 c45) + (free c50 c46) + (free c50 c47) + (free c50 c48) + (free c50 c49) + (free c50 c50) + (free c50 c51) + (free c51 c1) + (free c51 c2) + (free c51 c3) + (free c51 c4) + (free c51 c5) + (free c51 c6) + (free c51 c7) + (free c51 c8) + (free c51 c9) + (free c51 c10) + (free c51 c11) + (free c51 c12) + (free c51 c13) + (free c51 c14) + (free c51 c15) + (free c51 c16) + (free c51 c17) + (free c51 c18) + (free c51 c19) + (free c51 c20) + (free c51 c21) + (free c51 c22) + (free c51 c23) + (free c51 c24) + (free c51 c25) + (free c51 c26) + (free c51 c27) + (free c51 c28) + (free c51 c29) + (free c51 c30) + (free c51 c31) + (free c51 c32) + (free c51 c33) + (free c51 c34) + (free c51 c35) + (free c51 c36) + (free c51 c37) + (free c51 c38) + (free c51 c39) + (free c51 c40) + (free c51 c41) + (free c51 c42) + (free c51 c43) + (free c51 c44) + (free c51 c45) + (free c51 c46) + (free c51 c47) + (free c51 c48) + (free c51 c49) + (free c51 c50) + (free c51 c51) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c26 c26) + (at n2 c25 c26) + (at n3 c25 c25) + (at n4 c24 c25) + (at n5 c24 c24) + (at n6 c25 c24) + (at n7 c26 c24) + (at n8 c26 c23) + (at n9 c25 c23) + (at n10 c25 c22) + (at n11 c24 c22) + (at n12 c24 c21) + (at n13 c25 c21) + (at n14 c25 c20) + (at n15 c26 c20) + (at n16 c27 c20) + (at n17 c27 c21) + (at n18 c28 c21) + (at n19 c29 c21) + (at n20 c29 c20) + (at n21 c30 c20) + (at n22 c30 c19) + (at n23 c31 c19) + (at n24 c31 c18) + (at n25 c32 c18) + (at n26 c32 c17) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p07.pddl b/folding-sat23-adl/p07.pddl new file mode 100644 index 00000000..4661620d --- /dev/null +++ b/folding-sat23-adl/p07.pddl @@ -0,0 +1,3212 @@ +;; Generated with: ./generate.py 1279 zigzag 28 25 p07.pddl p07.plan +;; .-. +;; | | +;; .-. .-. +;; | +;; .-. +;; | +;; . x-. +;; | | +;; .-. .-. +;; | | +;; .-. .-. +;; | | +;; .-. .-. +;; | | +;; .-. . +;; | | +;; .-. +;; +(define (problem folding-zigzag-28-25-510096) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 n25 n26 n27 n28 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 c52 c53 c54 c55 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + (COORD-INC c47 c48) + (COORD-INC c48 c49) + (COORD-INC c49 c50) + (COORD-INC c50 c51) + (COORD-INC c51 c52) + (COORD-INC c52 c53) + (COORD-INC c53 c54) + (COORD-INC c54 c55) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (CONNECTED n24 n25) + (CONNECTED n25 n26) + (CONNECTED n26 n27) + (CONNECTED n27 n28) + (END-NODE n28) + + (at n1 c28 c28) + (at n2 c28 c29) + (at n3 c28 c30) + (at n4 c28 c31) + (at n5 c28 c32) + (at n6 c28 c33) + (at n7 c28 c34) + (at n8 c28 c35) + (at n9 c28 c36) + (at n10 c28 c37) + (at n11 c28 c38) + (at n12 c28 c39) + (at n13 c28 c40) + (at n14 c28 c41) + (at n15 c28 c42) + (at n16 c28 c43) + (at n17 c28 c44) + (at n18 c28 c45) + (at n19 c28 c46) + (at n20 c28 c47) + (at n21 c28 c48) + (at n22 c28 c49) + (at n23 c28 c50) + (at n24 c28 c51) + (at n25 c28 c52) + (at n26 c28 c53) + (at n27 c28 c54) + (at n28 c28 c55) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (heading n24 up) + (heading n25 up) + (heading n26 up) + (heading n27 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c1 c48) + (free c1 c49) + (free c1 c50) + (free c1 c51) + (free c1 c52) + (free c1 c53) + (free c1 c54) + (free c1 c55) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c2 c48) + (free c2 c49) + (free c2 c50) + (free c2 c51) + (free c2 c52) + (free c2 c53) + (free c2 c54) + (free c2 c55) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c3 c48) + (free c3 c49) + (free c3 c50) + (free c3 c51) + (free c3 c52) + (free c3 c53) + (free c3 c54) + (free c3 c55) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c4 c48) + (free c4 c49) + (free c4 c50) + (free c4 c51) + (free c4 c52) + (free c4 c53) + (free c4 c54) + (free c4 c55) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c5 c48) + (free c5 c49) + (free c5 c50) + (free c5 c51) + (free c5 c52) + (free c5 c53) + (free c5 c54) + (free c5 c55) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c6 c48) + (free c6 c49) + (free c6 c50) + (free c6 c51) + (free c6 c52) + (free c6 c53) + (free c6 c54) + (free c6 c55) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c7 c48) + (free c7 c49) + (free c7 c50) + (free c7 c51) + (free c7 c52) + (free c7 c53) + (free c7 c54) + (free c7 c55) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c8 c48) + (free c8 c49) + (free c8 c50) + (free c8 c51) + (free c8 c52) + (free c8 c53) + (free c8 c54) + (free c8 c55) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c9 c48) + (free c9 c49) + (free c9 c50) + (free c9 c51) + (free c9 c52) + (free c9 c53) + (free c9 c54) + (free c9 c55) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c10 c48) + (free c10 c49) + (free c10 c50) + (free c10 c51) + (free c10 c52) + (free c10 c53) + (free c10 c54) + (free c10 c55) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c11 c48) + (free c11 c49) + (free c11 c50) + (free c11 c51) + (free c11 c52) + (free c11 c53) + (free c11 c54) + (free c11 c55) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c12 c48) + (free c12 c49) + (free c12 c50) + (free c12 c51) + (free c12 c52) + (free c12 c53) + (free c12 c54) + (free c12 c55) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c13 c48) + (free c13 c49) + (free c13 c50) + (free c13 c51) + (free c13 c52) + (free c13 c53) + (free c13 c54) + (free c13 c55) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c14 c48) + (free c14 c49) + (free c14 c50) + (free c14 c51) + (free c14 c52) + (free c14 c53) + (free c14 c54) + (free c14 c55) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c15 c48) + (free c15 c49) + (free c15 c50) + (free c15 c51) + (free c15 c52) + (free c15 c53) + (free c15 c54) + (free c15 c55) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c16 c48) + (free c16 c49) + (free c16 c50) + (free c16 c51) + (free c16 c52) + (free c16 c53) + (free c16 c54) + (free c16 c55) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c17 c48) + (free c17 c49) + (free c17 c50) + (free c17 c51) + (free c17 c52) + (free c17 c53) + (free c17 c54) + (free c17 c55) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c18 c48) + (free c18 c49) + (free c18 c50) + (free c18 c51) + (free c18 c52) + (free c18 c53) + (free c18 c54) + (free c18 c55) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c19 c48) + (free c19 c49) + (free c19 c50) + (free c19 c51) + (free c19 c52) + (free c19 c53) + (free c19 c54) + (free c19 c55) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c20 c48) + (free c20 c49) + (free c20 c50) + (free c20 c51) + (free c20 c52) + (free c20 c53) + (free c20 c54) + (free c20 c55) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c21 c48) + (free c21 c49) + (free c21 c50) + (free c21 c51) + (free c21 c52) + (free c21 c53) + (free c21 c54) + (free c21 c55) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c22 c48) + (free c22 c49) + (free c22 c50) + (free c22 c51) + (free c22 c52) + (free c22 c53) + (free c22 c54) + (free c22 c55) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c23 c48) + (free c23 c49) + (free c23 c50) + (free c23 c51) + (free c23 c52) + (free c23 c53) + (free c23 c54) + (free c23 c55) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c24 c40) + (free c24 c41) + (free c24 c42) + (free c24 c43) + (free c24 c44) + (free c24 c45) + (free c24 c46) + (free c24 c47) + (free c24 c48) + (free c24 c49) + (free c24 c50) + (free c24 c51) + (free c24 c52) + (free c24 c53) + (free c24 c54) + (free c24 c55) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c25 c48) + (free c25 c49) + (free c25 c50) + (free c25 c51) + (free c25 c52) + (free c25 c53) + (free c25 c54) + (free c25 c55) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c26 c42) + (free c26 c43) + (free c26 c44) + (free c26 c45) + (free c26 c46) + (free c26 c47) + (free c26 c48) + (free c26 c49) + (free c26 c50) + (free c26 c51) + (free c26 c52) + (free c26 c53) + (free c26 c54) + (free c26 c55) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c27 c48) + (free c27 c49) + (free c27 c50) + (free c27 c51) + (free c27 c52) + (free c27 c53) + (free c27 c54) + (free c27 c55) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c29 c48) + (free c29 c49) + (free c29 c50) + (free c29 c51) + (free c29 c52) + (free c29 c53) + (free c29 c54) + (free c29 c55) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c30 c44) + (free c30 c45) + (free c30 c46) + (free c30 c47) + (free c30 c48) + (free c30 c49) + (free c30 c50) + (free c30 c51) + (free c30 c52) + (free c30 c53) + (free c30 c54) + (free c30 c55) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c31 c48) + (free c31 c49) + (free c31 c50) + (free c31 c51) + (free c31 c52) + (free c31 c53) + (free c31 c54) + (free c31 c55) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c32 c48) + (free c32 c49) + (free c32 c50) + (free c32 c51) + (free c32 c52) + (free c32 c53) + (free c32 c54) + (free c32 c55) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c33 c48) + (free c33 c49) + (free c33 c50) + (free c33 c51) + (free c33 c52) + (free c33 c53) + (free c33 c54) + (free c33 c55) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c34 c48) + (free c34 c49) + (free c34 c50) + (free c34 c51) + (free c34 c52) + (free c34 c53) + (free c34 c54) + (free c34 c55) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c35 c48) + (free c35 c49) + (free c35 c50) + (free c35 c51) + (free c35 c52) + (free c35 c53) + (free c35 c54) + (free c35 c55) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c36 c48) + (free c36 c49) + (free c36 c50) + (free c36 c51) + (free c36 c52) + (free c36 c53) + (free c36 c54) + (free c36 c55) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c37 c48) + (free c37 c49) + (free c37 c50) + (free c37 c51) + (free c37 c52) + (free c37 c53) + (free c37 c54) + (free c37 c55) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c38 c48) + (free c38 c49) + (free c38 c50) + (free c38 c51) + (free c38 c52) + (free c38 c53) + (free c38 c54) + (free c38 c55) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c39 c48) + (free c39 c49) + (free c39 c50) + (free c39 c51) + (free c39 c52) + (free c39 c53) + (free c39 c54) + (free c39 c55) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c40 c48) + (free c40 c49) + (free c40 c50) + (free c40 c51) + (free c40 c52) + (free c40 c53) + (free c40 c54) + (free c40 c55) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c41 c48) + (free c41 c49) + (free c41 c50) + (free c41 c51) + (free c41 c52) + (free c41 c53) + (free c41 c54) + (free c41 c55) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c42 c48) + (free c42 c49) + (free c42 c50) + (free c42 c51) + (free c42 c52) + (free c42 c53) + (free c42 c54) + (free c42 c55) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c43 c48) + (free c43 c49) + (free c43 c50) + (free c43 c51) + (free c43 c52) + (free c43 c53) + (free c43 c54) + (free c43 c55) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c44 c48) + (free c44 c49) + (free c44 c50) + (free c44 c51) + (free c44 c52) + (free c44 c53) + (free c44 c54) + (free c44 c55) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c45 c48) + (free c45 c49) + (free c45 c50) + (free c45 c51) + (free c45 c52) + (free c45 c53) + (free c45 c54) + (free c45 c55) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c46 c48) + (free c46 c49) + (free c46 c50) + (free c46 c51) + (free c46 c52) + (free c46 c53) + (free c46 c54) + (free c46 c55) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + (free c47 c48) + (free c47 c49) + (free c47 c50) + (free c47 c51) + (free c47 c52) + (free c47 c53) + (free c47 c54) + (free c47 c55) + (free c48 c1) + (free c48 c2) + (free c48 c3) + (free c48 c4) + (free c48 c5) + (free c48 c6) + (free c48 c7) + (free c48 c8) + (free c48 c9) + (free c48 c10) + (free c48 c11) + (free c48 c12) + (free c48 c13) + (free c48 c14) + (free c48 c15) + (free c48 c16) + (free c48 c17) + (free c48 c18) + (free c48 c19) + (free c48 c20) + (free c48 c21) + (free c48 c22) + (free c48 c23) + (free c48 c24) + (free c48 c25) + (free c48 c26) + (free c48 c27) + (free c48 c28) + (free c48 c29) + (free c48 c30) + (free c48 c31) + (free c48 c32) + (free c48 c33) + (free c48 c34) + (free c48 c35) + (free c48 c36) + (free c48 c37) + (free c48 c38) + (free c48 c39) + (free c48 c40) + (free c48 c41) + (free c48 c42) + (free c48 c43) + (free c48 c44) + (free c48 c45) + (free c48 c46) + (free c48 c47) + (free c48 c48) + (free c48 c49) + (free c48 c50) + (free c48 c51) + (free c48 c52) + (free c48 c53) + (free c48 c54) + (free c48 c55) + (free c49 c1) + (free c49 c2) + (free c49 c3) + (free c49 c4) + (free c49 c5) + (free c49 c6) + (free c49 c7) + (free c49 c8) + (free c49 c9) + (free c49 c10) + (free c49 c11) + (free c49 c12) + (free c49 c13) + (free c49 c14) + (free c49 c15) + (free c49 c16) + (free c49 c17) + (free c49 c18) + (free c49 c19) + (free c49 c20) + (free c49 c21) + (free c49 c22) + (free c49 c23) + (free c49 c24) + (free c49 c25) + (free c49 c26) + (free c49 c27) + (free c49 c28) + (free c49 c29) + (free c49 c30) + (free c49 c31) + (free c49 c32) + (free c49 c33) + (free c49 c34) + (free c49 c35) + (free c49 c36) + (free c49 c37) + (free c49 c38) + (free c49 c39) + (free c49 c40) + (free c49 c41) + (free c49 c42) + (free c49 c43) + (free c49 c44) + (free c49 c45) + (free c49 c46) + (free c49 c47) + (free c49 c48) + (free c49 c49) + (free c49 c50) + (free c49 c51) + (free c49 c52) + (free c49 c53) + (free c49 c54) + (free c49 c55) + (free c50 c1) + (free c50 c2) + (free c50 c3) + (free c50 c4) + (free c50 c5) + (free c50 c6) + (free c50 c7) + (free c50 c8) + (free c50 c9) + (free c50 c10) + (free c50 c11) + (free c50 c12) + (free c50 c13) + (free c50 c14) + (free c50 c15) + (free c50 c16) + (free c50 c17) + (free c50 c18) + (free c50 c19) + (free c50 c20) + (free c50 c21) + (free c50 c22) + (free c50 c23) + (free c50 c24) + (free c50 c25) + (free c50 c26) + (free c50 c27) + (free c50 c28) + (free c50 c29) + (free c50 c30) + (free c50 c31) + (free c50 c32) + (free c50 c33) + (free c50 c34) + (free c50 c35) + (free c50 c36) + (free c50 c37) + (free c50 c38) + (free c50 c39) + (free c50 c40) + (free c50 c41) + (free c50 c42) + (free c50 c43) + (free c50 c44) + (free c50 c45) + (free c50 c46) + (free c50 c47) + (free c50 c48) + (free c50 c49) + (free c50 c50) + (free c50 c51) + (free c50 c52) + (free c50 c53) + (free c50 c54) + (free c50 c55) + (free c51 c1) + (free c51 c2) + (free c51 c3) + (free c51 c4) + (free c51 c5) + (free c51 c6) + (free c51 c7) + (free c51 c8) + (free c51 c9) + (free c51 c10) + (free c51 c11) + (free c51 c12) + (free c51 c13) + (free c51 c14) + (free c51 c15) + (free c51 c16) + (free c51 c17) + (free c51 c18) + (free c51 c19) + (free c51 c20) + (free c51 c21) + (free c51 c22) + (free c51 c23) + (free c51 c24) + (free c51 c25) + (free c51 c26) + (free c51 c27) + (free c51 c28) + (free c51 c29) + (free c51 c30) + (free c51 c31) + (free c51 c32) + (free c51 c33) + (free c51 c34) + (free c51 c35) + (free c51 c36) + (free c51 c37) + (free c51 c38) + (free c51 c39) + (free c51 c40) + (free c51 c41) + (free c51 c42) + (free c51 c43) + (free c51 c44) + (free c51 c45) + (free c51 c46) + (free c51 c47) + (free c51 c48) + (free c51 c49) + (free c51 c50) + (free c51 c51) + (free c51 c52) + (free c51 c53) + (free c51 c54) + (free c51 c55) + (free c52 c1) + (free c52 c2) + (free c52 c3) + (free c52 c4) + (free c52 c5) + (free c52 c6) + (free c52 c7) + (free c52 c8) + (free c52 c9) + (free c52 c10) + (free c52 c11) + (free c52 c12) + (free c52 c13) + (free c52 c14) + (free c52 c15) + (free c52 c16) + (free c52 c17) + (free c52 c18) + (free c52 c19) + (free c52 c20) + (free c52 c21) + (free c52 c22) + (free c52 c23) + (free c52 c24) + (free c52 c25) + (free c52 c26) + (free c52 c27) + (free c52 c28) + (free c52 c29) + (free c52 c30) + (free c52 c31) + (free c52 c32) + (free c52 c33) + (free c52 c34) + (free c52 c35) + (free c52 c36) + (free c52 c37) + (free c52 c38) + (free c52 c39) + (free c52 c40) + (free c52 c41) + (free c52 c42) + (free c52 c43) + (free c52 c44) + (free c52 c45) + (free c52 c46) + (free c52 c47) + (free c52 c48) + (free c52 c49) + (free c52 c50) + (free c52 c51) + (free c52 c52) + (free c52 c53) + (free c52 c54) + (free c52 c55) + (free c53 c1) + (free c53 c2) + (free c53 c3) + (free c53 c4) + (free c53 c5) + (free c53 c6) + (free c53 c7) + (free c53 c8) + (free c53 c9) + (free c53 c10) + (free c53 c11) + (free c53 c12) + (free c53 c13) + (free c53 c14) + (free c53 c15) + (free c53 c16) + (free c53 c17) + (free c53 c18) + (free c53 c19) + (free c53 c20) + (free c53 c21) + (free c53 c22) + (free c53 c23) + (free c53 c24) + (free c53 c25) + (free c53 c26) + (free c53 c27) + (free c53 c28) + (free c53 c29) + (free c53 c30) + (free c53 c31) + (free c53 c32) + (free c53 c33) + (free c53 c34) + (free c53 c35) + (free c53 c36) + (free c53 c37) + (free c53 c38) + (free c53 c39) + (free c53 c40) + (free c53 c41) + (free c53 c42) + (free c53 c43) + (free c53 c44) + (free c53 c45) + (free c53 c46) + (free c53 c47) + (free c53 c48) + (free c53 c49) + (free c53 c50) + (free c53 c51) + (free c53 c52) + (free c53 c53) + (free c53 c54) + (free c53 c55) + (free c54 c1) + (free c54 c2) + (free c54 c3) + (free c54 c4) + (free c54 c5) + (free c54 c6) + (free c54 c7) + (free c54 c8) + (free c54 c9) + (free c54 c10) + (free c54 c11) + (free c54 c12) + (free c54 c13) + (free c54 c14) + (free c54 c15) + (free c54 c16) + (free c54 c17) + (free c54 c18) + (free c54 c19) + (free c54 c20) + (free c54 c21) + (free c54 c22) + (free c54 c23) + (free c54 c24) + (free c54 c25) + (free c54 c26) + (free c54 c27) + (free c54 c28) + (free c54 c29) + (free c54 c30) + (free c54 c31) + (free c54 c32) + (free c54 c33) + (free c54 c34) + (free c54 c35) + (free c54 c36) + (free c54 c37) + (free c54 c38) + (free c54 c39) + (free c54 c40) + (free c54 c41) + (free c54 c42) + (free c54 c43) + (free c54 c44) + (free c54 c45) + (free c54 c46) + (free c54 c47) + (free c54 c48) + (free c54 c49) + (free c54 c50) + (free c54 c51) + (free c54 c52) + (free c54 c53) + (free c54 c54) + (free c54 c55) + (free c55 c1) + (free c55 c2) + (free c55 c3) + (free c55 c4) + (free c55 c5) + (free c55 c6) + (free c55 c7) + (free c55 c8) + (free c55 c9) + (free c55 c10) + (free c55 c11) + (free c55 c12) + (free c55 c13) + (free c55 c14) + (free c55 c15) + (free c55 c16) + (free c55 c17) + (free c55 c18) + (free c55 c19) + (free c55 c20) + (free c55 c21) + (free c55 c22) + (free c55 c23) + (free c55 c24) + (free c55 c25) + (free c55 c26) + (free c55 c27) + (free c55 c28) + (free c55 c29) + (free c55 c30) + (free c55 c31) + (free c55 c32) + (free c55 c33) + (free c55 c34) + (free c55 c35) + (free c55 c36) + (free c55 c37) + (free c55 c38) + (free c55 c39) + (free c55 c40) + (free c55 c41) + (free c55 c42) + (free c55 c43) + (free c55 c44) + (free c55 c45) + (free c55 c46) + (free c55 c47) + (free c55 c48) + (free c55 c49) + (free c55 c50) + (free c55 c51) + (free c55 c52) + (free c55 c53) + (free c55 c54) + (free c55 c55) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c28 c28) + (at n2 c29 c28) + (at n3 c29 c27) + (at n4 c28 c27) + (at n5 c28 c26) + (at n6 c27 c26) + (at n7 c27 c25) + (at n8 c26 c25) + (at n9 c26 c24) + (at n10 c26 c23) + (at n11 c25 c23) + (at n12 c25 c24) + (at n13 c24 c24) + (at n14 c24 c25) + (at n15 c23 c25) + (at n16 c23 c26) + (at n17 c24 c26) + (at n18 c24 c27) + (at n19 c23 c27) + (at n20 c23 c28) + (at n21 c23 c29) + (at n22 c24 c29) + (at n23 c24 c30) + (at n24 c23 c30) + (at n25 c23 c31) + (at n26 c22 c31) + (at n27 c22 c30) + (at n28 c21 c30) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p08.pddl b/folding-sat23-adl/p08.pddl new file mode 100644 index 00000000..a5138403 --- /dev/null +++ b/folding-sat23-adl/p08.pddl @@ -0,0 +1,842 @@ +;; Generated with: ./generate.py 1283 bias-spiral 14 10 p08.pddl p08.plan +;; x-.-. +;; | +;; .-. +;; | +;; . +;; | +;; .-.-. +;; | +;; .-. +;; | +;; .-. +;; | +;; . +;; +(define (problem folding-bias-spiral-14-10-738025) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (END-NODE n14) + + (at n1 c14 c14) + (at n2 c14 c15) + (at n3 c14 c16) + (at n4 c14 c17) + (at n5 c14 c18) + (at n6 c14 c19) + (at n7 c14 c20) + (at n8 c14 c21) + (at n9 c14 c22) + (at n10 c14 c23) + (at n11 c14 c24) + (at n12 c14 c25) + (at n13 c14 c26) + (at n14 c14 c27) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c14 c14) + (at n2 c15 c14) + (at n3 c16 c14) + (at n4 c16 c13) + (at n5 c17 c13) + (at n6 c17 c12) + (at n7 c17 c11) + (at n8 c16 c11) + (at n9 c15 c11) + (at n10 c15 c10) + (at n11 c14 c10) + (at n12 c14 c9) + (at n13 c15 c9) + (at n14 c15 c8) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p09.pddl b/folding-sat23-adl/p09.pddl new file mode 100644 index 00000000..7c87e643 --- /dev/null +++ b/folding-sat23-adl/p09.pddl @@ -0,0 +1,1080 @@ +;; Generated with: ./generate.py 1289 bias-spiral 16 10 p09.pddl p09.plan +;; .-.-. +;; | | +;; x-.-. .-.-. +;; | +;; . +;; | +;; . .-. +;; | | +;; .-.-. +;; +(define (problem folding-bias-spiral-16-10-386649) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (END-NODE n16) + + (at n1 c16 c16) + (at n2 c16 c17) + (at n3 c16 c18) + (at n4 c16 c19) + (at n5 c16 c20) + (at n6 c16 c21) + (at n7 c16 c22) + (at n8 c16 c23) + (at n9 c16 c24) + (at n10 c16 c25) + (at n11 c16 c26) + (at n12 c16 c27) + (at n13 c16 c28) + (at n14 c16 c29) + (at n15 c16 c30) + (at n16 c16 c31) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c16 c16) + (at n2 c17 c16) + (at n3 c18 c16) + (at n4 c18 c17) + (at n5 c19 c17) + (at n6 c20 c17) + (at n7 c20 c16) + (at n8 c21 c16) + (at n9 c22 c16) + (at n10 c22 c15) + (at n11 c22 c14) + (at n12 c23 c14) + (at n13 c23 c13) + (at n14 c22 c13) + (at n15 c21 c13) + (at n16 c21 c14) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p10.pddl b/folding-sat23-adl/p10.pddl new file mode 100644 index 00000000..8529a372 --- /dev/null +++ b/folding-sat23-adl/p10.pddl @@ -0,0 +1,1360 @@ +;; Generated with: ./generate.py 1291 bias-spiral 18 12 p10.pddl p10.plan +;; .-.-. +;; | | +;; .-. .-. +;; | | +;; . .-.-. +;; | +;; . +;; | +;; . +;; | +;; . +;; | +;; .-. +;; | +;; x-. +;; +(define (problem folding-bias-spiral-18-12-620713) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (END-NODE n18) + + (at n1 c18 c18) + (at n2 c18 c19) + (at n3 c18 c20) + (at n4 c18 c21) + (at n5 c18 c22) + (at n6 c18 c23) + (at n7 c18 c24) + (at n8 c18 c25) + (at n9 c18 c26) + (at n10 c18 c27) + (at n11 c18 c28) + (at n12 c18 c29) + (at n13 c18 c30) + (at n14 c18 c31) + (at n15 c18 c32) + (at n16 c18 c33) + (at n17 c18 c34) + (at n18 c18 c35) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c18 c18) + (at n2 c19 c18) + (at n3 c19 c19) + (at n4 c20 c19) + (at n5 c20 c20) + (at n6 c20 c21) + (at n7 c20 c22) + (at n8 c20 c23) + (at n9 c19 c23) + (at n10 c18 c23) + (at n11 c18 c24) + (at n12 c19 c24) + (at n13 c19 c25) + (at n14 c18 c25) + (at n15 c17 c25) + (at n16 c17 c24) + (at n17 c16 c24) + (at n18 c16 c23) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p11.pddl b/folding-sat23-adl/p11.pddl new file mode 100644 index 00000000..7663fac3 --- /dev/null +++ b/folding-sat23-adl/p11.pddl @@ -0,0 +1,1662 @@ +;; Generated with: ./generate.py 1297 bias-spiral 20 12 p11.pddl p11.plan +;; . +;; | +;; .-.-. +;; | +;; .-. +;; | +;; .-.-. +;; | +;; .-. .-.-x +;; | | +;; .-.-.-.-.-. +;; +(define (problem folding-bias-spiral-20-12-622110) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (END-NODE n20) + + (at n1 c20 c20) + (at n2 c20 c21) + (at n3 c20 c22) + (at n4 c20 c23) + (at n5 c20 c24) + (at n6 c20 c25) + (at n7 c20 c26) + (at n8 c20 c27) + (at n9 c20 c28) + (at n10 c20 c29) + (at n11 c20 c30) + (at n12 c20 c31) + (at n13 c20 c32) + (at n14 c20 c33) + (at n15 c20 c34) + (at n16 c20 c35) + (at n17 c20 c36) + (at n18 c20 c37) + (at n19 c20 c38) + (at n20 c20 c39) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c20 c20) + (at n2 c19 c20) + (at n3 c18 c20) + (at n4 c18 c19) + (at n5 c17 c19) + (at n6 c16 c19) + (at n7 c15 c19) + (at n8 c14 c19) + (at n9 c13 c19) + (at n10 c13 c20) + (at n11 c12 c20) + (at n12 c12 c21) + (at n13 c11 c21) + (at n14 c10 c21) + (at n15 c10 c22) + (at n16 c11 c22) + (at n17 c11 c23) + (at n18 c10 c23) + (at n19 c9 c23) + (at n20 c9 c24) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p12.pddl b/folding-sat23-adl/p12.pddl new file mode 100644 index 00000000..01e47e14 --- /dev/null +++ b/folding-sat23-adl/p12.pddl @@ -0,0 +1,2368 @@ +;; Generated with: ./generate.py 1301 bias-spiral 24 16 p12.pddl p12.plan +;; .-. .-x +;; | | | +;; .-. . . +;; | | +;; . .-. . +;; | | | | +;; .-. .-.-.-. .-.-. +;; | | +;; .-.-. +;; +(define (problem folding-bias-spiral-24-16-608502) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (END-NODE n24) + + (at n1 c24 c24) + (at n2 c24 c25) + (at n3 c24 c26) + (at n4 c24 c27) + (at n5 c24 c28) + (at n6 c24 c29) + (at n7 c24 c30) + (at n8 c24 c31) + (at n9 c24 c32) + (at n10 c24 c33) + (at n11 c24 c34) + (at n12 c24 c35) + (at n13 c24 c36) + (at n14 c24 c37) + (at n15 c24 c38) + (at n16 c24 c39) + (at n17 c24 c40) + (at n18 c24 c41) + (at n19 c24 c42) + (at n20 c24 c43) + (at n21 c24 c44) + (at n22 c24 c45) + (at n23 c24 c46) + (at n24 c24 c47) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c26 c42) + (free c26 c43) + (free c26 c44) + (free c26 c45) + (free c26 c46) + (free c26 c47) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c28 c42) + (free c28 c43) + (free c28 c44) + (free c28 c45) + (free c28 c46) + (free c28 c47) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c30 c44) + (free c30 c45) + (free c30 c46) + (free c30 c47) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c24 c24) + (at n2 c23 c24) + (at n3 c23 c23) + (at n4 c23 c22) + (at n5 c23 c21) + (at n6 c22 c21) + (at n7 c21 c21) + (at n8 c21 c22) + (at n9 c20 c22) + (at n10 c20 c21) + (at n11 c19 c21) + (at n12 c18 c21) + (at n13 c17 c21) + (at n14 c17 c20) + (at n15 c16 c20) + (at n16 c15 c20) + (at n17 c15 c21) + (at n18 c16 c21) + (at n19 c16 c22) + (at n20 c16 c23) + (at n21 c17 c23) + (at n22 c17 c24) + (at n23 c18 c24) + (at n24 c18 c23) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p13.pddl b/folding-sat23-adl/p13.pddl new file mode 100644 index 00000000..589f2f00 --- /dev/null +++ b/folding-sat23-adl/p13.pddl @@ -0,0 +1,2780 @@ +;; Generated with: ./generate.py 1303 bias-spiral 26 20 p13.pddl p13.plan +;; .-. +;; | | +;; . . +;; | | +;; .-. . +;; | | +;; .-x .-. +;; | +;; .-. +;; | +;; .-. +;; | +;; .-. +;; | +;; .-.-. +;; | +;; .-. . +;; | | | +;; . .-. +;; +(define (problem folding-bias-spiral-26-20-894579) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 n25 n26 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + (COORD-INC c47 c48) + (COORD-INC c48 c49) + (COORD-INC c49 c50) + (COORD-INC c50 c51) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (CONNECTED n24 n25) + (CONNECTED n25 n26) + (END-NODE n26) + + (at n1 c26 c26) + (at n2 c26 c27) + (at n3 c26 c28) + (at n4 c26 c29) + (at n5 c26 c30) + (at n6 c26 c31) + (at n7 c26 c32) + (at n8 c26 c33) + (at n9 c26 c34) + (at n10 c26 c35) + (at n11 c26 c36) + (at n12 c26 c37) + (at n13 c26 c38) + (at n14 c26 c39) + (at n15 c26 c40) + (at n16 c26 c41) + (at n17 c26 c42) + (at n18 c26 c43) + (at n19 c26 c44) + (at n20 c26 c45) + (at n21 c26 c46) + (at n22 c26 c47) + (at n23 c26 c48) + (at n24 c26 c49) + (at n25 c26 c50) + (at n26 c26 c51) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (heading n24 up) + (heading n25 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c1 c48) + (free c1 c49) + (free c1 c50) + (free c1 c51) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c2 c48) + (free c2 c49) + (free c2 c50) + (free c2 c51) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c3 c48) + (free c3 c49) + (free c3 c50) + (free c3 c51) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c4 c48) + (free c4 c49) + (free c4 c50) + (free c4 c51) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c5 c48) + (free c5 c49) + (free c5 c50) + (free c5 c51) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c6 c48) + (free c6 c49) + (free c6 c50) + (free c6 c51) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c7 c48) + (free c7 c49) + (free c7 c50) + (free c7 c51) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c8 c48) + (free c8 c49) + (free c8 c50) + (free c8 c51) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c9 c48) + (free c9 c49) + (free c9 c50) + (free c9 c51) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c10 c48) + (free c10 c49) + (free c10 c50) + (free c10 c51) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c11 c48) + (free c11 c49) + (free c11 c50) + (free c11 c51) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c12 c48) + (free c12 c49) + (free c12 c50) + (free c12 c51) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c13 c48) + (free c13 c49) + (free c13 c50) + (free c13 c51) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c14 c48) + (free c14 c49) + (free c14 c50) + (free c14 c51) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c15 c48) + (free c15 c49) + (free c15 c50) + (free c15 c51) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c16 c48) + (free c16 c49) + (free c16 c50) + (free c16 c51) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c17 c48) + (free c17 c49) + (free c17 c50) + (free c17 c51) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c18 c48) + (free c18 c49) + (free c18 c50) + (free c18 c51) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c19 c48) + (free c19 c49) + (free c19 c50) + (free c19 c51) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c20 c48) + (free c20 c49) + (free c20 c50) + (free c20 c51) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c21 c48) + (free c21 c49) + (free c21 c50) + (free c21 c51) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c22 c48) + (free c22 c49) + (free c22 c50) + (free c22 c51) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c23 c48) + (free c23 c49) + (free c23 c50) + (free c23 c51) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c24 c40) + (free c24 c41) + (free c24 c42) + (free c24 c43) + (free c24 c44) + (free c24 c45) + (free c24 c46) + (free c24 c47) + (free c24 c48) + (free c24 c49) + (free c24 c50) + (free c24 c51) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c25 c48) + (free c25 c49) + (free c25 c50) + (free c25 c51) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c27 c48) + (free c27 c49) + (free c27 c50) + (free c27 c51) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c28 c42) + (free c28 c43) + (free c28 c44) + (free c28 c45) + (free c28 c46) + (free c28 c47) + (free c28 c48) + (free c28 c49) + (free c28 c50) + (free c28 c51) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c29 c48) + (free c29 c49) + (free c29 c50) + (free c29 c51) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c30 c44) + (free c30 c45) + (free c30 c46) + (free c30 c47) + (free c30 c48) + (free c30 c49) + (free c30 c50) + (free c30 c51) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c31 c48) + (free c31 c49) + (free c31 c50) + (free c31 c51) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c32 c48) + (free c32 c49) + (free c32 c50) + (free c32 c51) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c33 c48) + (free c33 c49) + (free c33 c50) + (free c33 c51) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c34 c48) + (free c34 c49) + (free c34 c50) + (free c34 c51) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c35 c48) + (free c35 c49) + (free c35 c50) + (free c35 c51) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c36 c48) + (free c36 c49) + (free c36 c50) + (free c36 c51) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c37 c48) + (free c37 c49) + (free c37 c50) + (free c37 c51) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c38 c48) + (free c38 c49) + (free c38 c50) + (free c38 c51) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c39 c48) + (free c39 c49) + (free c39 c50) + (free c39 c51) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c40 c48) + (free c40 c49) + (free c40 c50) + (free c40 c51) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c41 c48) + (free c41 c49) + (free c41 c50) + (free c41 c51) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c42 c48) + (free c42 c49) + (free c42 c50) + (free c42 c51) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c43 c48) + (free c43 c49) + (free c43 c50) + (free c43 c51) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c44 c48) + (free c44 c49) + (free c44 c50) + (free c44 c51) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c45 c48) + (free c45 c49) + (free c45 c50) + (free c45 c51) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c46 c48) + (free c46 c49) + (free c46 c50) + (free c46 c51) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + (free c47 c48) + (free c47 c49) + (free c47 c50) + (free c47 c51) + (free c48 c1) + (free c48 c2) + (free c48 c3) + (free c48 c4) + (free c48 c5) + (free c48 c6) + (free c48 c7) + (free c48 c8) + (free c48 c9) + (free c48 c10) + (free c48 c11) + (free c48 c12) + (free c48 c13) + (free c48 c14) + (free c48 c15) + (free c48 c16) + (free c48 c17) + (free c48 c18) + (free c48 c19) + (free c48 c20) + (free c48 c21) + (free c48 c22) + (free c48 c23) + (free c48 c24) + (free c48 c25) + (free c48 c26) + (free c48 c27) + (free c48 c28) + (free c48 c29) + (free c48 c30) + (free c48 c31) + (free c48 c32) + (free c48 c33) + (free c48 c34) + (free c48 c35) + (free c48 c36) + (free c48 c37) + (free c48 c38) + (free c48 c39) + (free c48 c40) + (free c48 c41) + (free c48 c42) + (free c48 c43) + (free c48 c44) + (free c48 c45) + (free c48 c46) + (free c48 c47) + (free c48 c48) + (free c48 c49) + (free c48 c50) + (free c48 c51) + (free c49 c1) + (free c49 c2) + (free c49 c3) + (free c49 c4) + (free c49 c5) + (free c49 c6) + (free c49 c7) + (free c49 c8) + (free c49 c9) + (free c49 c10) + (free c49 c11) + (free c49 c12) + (free c49 c13) + (free c49 c14) + (free c49 c15) + (free c49 c16) + (free c49 c17) + (free c49 c18) + (free c49 c19) + (free c49 c20) + (free c49 c21) + (free c49 c22) + (free c49 c23) + (free c49 c24) + (free c49 c25) + (free c49 c26) + (free c49 c27) + (free c49 c28) + (free c49 c29) + (free c49 c30) + (free c49 c31) + (free c49 c32) + (free c49 c33) + (free c49 c34) + (free c49 c35) + (free c49 c36) + (free c49 c37) + (free c49 c38) + (free c49 c39) + (free c49 c40) + (free c49 c41) + (free c49 c42) + (free c49 c43) + (free c49 c44) + (free c49 c45) + (free c49 c46) + (free c49 c47) + (free c49 c48) + (free c49 c49) + (free c49 c50) + (free c49 c51) + (free c50 c1) + (free c50 c2) + (free c50 c3) + (free c50 c4) + (free c50 c5) + (free c50 c6) + (free c50 c7) + (free c50 c8) + (free c50 c9) + (free c50 c10) + (free c50 c11) + (free c50 c12) + (free c50 c13) + (free c50 c14) + (free c50 c15) + (free c50 c16) + (free c50 c17) + (free c50 c18) + (free c50 c19) + (free c50 c20) + (free c50 c21) + (free c50 c22) + (free c50 c23) + (free c50 c24) + (free c50 c25) + (free c50 c26) + (free c50 c27) + (free c50 c28) + (free c50 c29) + (free c50 c30) + (free c50 c31) + (free c50 c32) + (free c50 c33) + (free c50 c34) + (free c50 c35) + (free c50 c36) + (free c50 c37) + (free c50 c38) + (free c50 c39) + (free c50 c40) + (free c50 c41) + (free c50 c42) + (free c50 c43) + (free c50 c44) + (free c50 c45) + (free c50 c46) + (free c50 c47) + (free c50 c48) + (free c50 c49) + (free c50 c50) + (free c50 c51) + (free c51 c1) + (free c51 c2) + (free c51 c3) + (free c51 c4) + (free c51 c5) + (free c51 c6) + (free c51 c7) + (free c51 c8) + (free c51 c9) + (free c51 c10) + (free c51 c11) + (free c51 c12) + (free c51 c13) + (free c51 c14) + (free c51 c15) + (free c51 c16) + (free c51 c17) + (free c51 c18) + (free c51 c19) + (free c51 c20) + (free c51 c21) + (free c51 c22) + (free c51 c23) + (free c51 c24) + (free c51 c25) + (free c51 c26) + (free c51 c27) + (free c51 c28) + (free c51 c29) + (free c51 c30) + (free c51 c31) + (free c51 c32) + (free c51 c33) + (free c51 c34) + (free c51 c35) + (free c51 c36) + (free c51 c37) + (free c51 c38) + (free c51 c39) + (free c51 c40) + (free c51 c41) + (free c51 c42) + (free c51 c43) + (free c51 c44) + (free c51 c45) + (free c51 c46) + (free c51 c47) + (free c51 c48) + (free c51 c49) + (free c51 c50) + (free c51 c51) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c26 c26) + (at n2 c25 c26) + (at n3 c25 c27) + (at n4 c26 c27) + (at n5 c26 c28) + (at n6 c26 c29) + (at n7 c27 c29) + (at n8 c27 c28) + (at n9 c27 c27) + (at n10 c27 c26) + (at n11 c28 c26) + (at n12 c28 c25) + (at n13 c27 c25) + (at n14 c27 c24) + (at n15 c26 c24) + (at n16 c26 c23) + (at n17 c25 c23) + (at n18 c25 c22) + (at n19 c26 c22) + (at n20 c27 c22) + (at n21 c27 c21) + (at n22 c27 c20) + (at n23 c26 c20) + (at n24 c26 c21) + (at n25 c25 c21) + (at n26 c25 c20) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p14.pddl b/folding-sat23-adl/p14.pddl new file mode 100644 index 00000000..d9039b98 --- /dev/null +++ b/folding-sat23-adl/p14.pddl @@ -0,0 +1,836 @@ +;; Generated with: ./generate.py 1307 spiral 14 7 p14.pddl p14.plan +;; .-.-. +;; | | +;; . .-. +;; | +;; . x-. +;; | | +;; .-.-.-.-. +;; +(define (problem folding-spiral-14-7-627359) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (END-NODE n14) + + (at n1 c14 c14) + (at n2 c14 c15) + (at n3 c14 c16) + (at n4 c14 c17) + (at n5 c14 c18) + (at n6 c14 c19) + (at n7 c14 c20) + (at n8 c14 c21) + (at n9 c14 c22) + (at n10 c14 c23) + (at n11 c14 c24) + (at n12 c14 c25) + (at n13 c14 c26) + (at n14 c14 c27) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c14 c14) + (at n2 c15 c14) + (at n3 c15 c13) + (at n4 c14 c13) + (at n5 c13 c13) + (at n6 c12 c13) + (at n7 c11 c13) + (at n8 c11 c14) + (at n9 c11 c15) + (at n10 c11 c16) + (at n11 c12 c16) + (at n12 c13 c16) + (at n13 c13 c15) + (at n14 c12 c15) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p15.pddl b/folding-sat23-adl/p15.pddl new file mode 100644 index 00000000..8dcdf369 --- /dev/null +++ b/folding-sat23-adl/p15.pddl @@ -0,0 +1,1076 @@ +;; Generated with: ./generate.py 1319 spiral 16 8 p15.pddl p15.plan +;; .-.-.-.-.-. +;; | | +;; . x-. . . +;; | | | | +;; .-.-. .-. +;; +(define (problem folding-spiral-16-8-675694) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (END-NODE n16) + + (at n1 c16 c16) + (at n2 c16 c17) + (at n3 c16 c18) + (at n4 c16 c19) + (at n5 c16 c20) + (at n6 c16 c21) + (at n7 c16 c22) + (at n8 c16 c23) + (at n9 c16 c24) + (at n10 c16 c25) + (at n11 c16 c26) + (at n12 c16 c27) + (at n13 c16 c28) + (at n14 c16 c29) + (at n15 c16 c30) + (at n16 c16 c31) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c16 c16) + (at n2 c17 c16) + (at n3 c17 c15) + (at n4 c16 c15) + (at n5 c15 c15) + (at n6 c15 c16) + (at n7 c15 c17) + (at n8 c16 c17) + (at n9 c17 c17) + (at n10 c18 c17) + (at n11 c19 c17) + (at n12 c20 c17) + (at n13 c20 c16) + (at n14 c20 c15) + (at n15 c19 c15) + (at n16 c19 c16) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p16.pddl b/folding-sat23-adl/p16.pddl new file mode 100644 index 00000000..eaecfbfb --- /dev/null +++ b/folding-sat23-adl/p16.pddl @@ -0,0 +1,1354 @@ +;; Generated with: ./generate.py 1321 spiral 18 8 p16.pddl p16.plan +;; .-.-.-.-. +;; | | +;; . x-. . +;; | | | +;; .-.-. . . +;; | | +;; . . +;; | | +;; .-. +;; +(define (problem folding-spiral-18-8-860667) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (END-NODE n18) + + (at n1 c18 c18) + (at n2 c18 c19) + (at n3 c18 c20) + (at n4 c18 c21) + (at n5 c18 c22) + (at n6 c18 c23) + (at n7 c18 c24) + (at n8 c18 c25) + (at n9 c18 c26) + (at n10 c18 c27) + (at n11 c18 c28) + (at n12 c18 c29) + (at n13 c18 c30) + (at n14 c18 c31) + (at n15 c18 c32) + (at n16 c18 c33) + (at n17 c18 c34) + (at n18 c18 c35) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c18 c18) + (at n2 c19 c18) + (at n3 c19 c17) + (at n4 c18 c17) + (at n5 c17 c17) + (at n6 c17 c18) + (at n7 c17 c19) + (at n8 c18 c19) + (at n9 c19 c19) + (at n10 c20 c19) + (at n11 c21 c19) + (at n12 c21 c18) + (at n13 c21 c17) + (at n14 c21 c16) + (at n15 c21 c15) + (at n16 c20 c15) + (at n17 c20 c16) + (at n18 c20 c17) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p17.pddl b/folding-sat23-adl/p17.pddl new file mode 100644 index 00000000..a5d7b3f0 --- /dev/null +++ b/folding-sat23-adl/p17.pddl @@ -0,0 +1,1658 @@ +;; Generated with: ./generate.py 1327 spiral 20 9 p17.pddl p17.plan +;; .-.-.-.-.-. +;; | | +;; . . +;; | | +;; . x-. .-. . +;; | | | | +;; .-.-. .-.-. +;; +(define (problem folding-spiral-20-9-325260) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (END-NODE n20) + + (at n1 c20 c20) + (at n2 c20 c21) + (at n3 c20 c22) + (at n4 c20 c23) + (at n5 c20 c24) + (at n6 c20 c25) + (at n7 c20 c26) + (at n8 c20 c27) + (at n9 c20 c28) + (at n10 c20 c29) + (at n11 c20 c30) + (at n12 c20 c31) + (at n13 c20 c32) + (at n14 c20 c33) + (at n15 c20 c34) + (at n16 c20 c35) + (at n17 c20 c36) + (at n18 c20 c37) + (at n19 c20 c38) + (at n20 c20 c39) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c20 c20) + (at n2 c21 c20) + (at n3 c21 c19) + (at n4 c20 c19) + (at n5 c19 c19) + (at n6 c19 c20) + (at n7 c19 c21) + (at n8 c19 c22) + (at n9 c20 c22) + (at n10 c21 c22) + (at n11 c22 c22) + (at n12 c23 c22) + (at n13 c24 c22) + (at n14 c24 c21) + (at n15 c24 c20) + (at n16 c24 c19) + (at n17 c23 c19) + (at n18 c22 c19) + (at n19 c22 c20) + (at n20 c23 c20) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p18.pddl b/folding-sat23-adl/p18.pddl new file mode 100644 index 00000000..828eda61 --- /dev/null +++ b/folding-sat23-adl/p18.pddl @@ -0,0 +1,2368 @@ +;; Generated with: ./generate.py 1361 spiral 24 9 p18.pddl p18.plan +;; .-.-.-.-.-.-.-. +;; | | +;; . x-. . +;; | | | +;; .-.-. . +;; | +;; .-.-. . +;; | | +;; .-.-.-. +;; +(define (problem folding-spiral-24-9-623756) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (END-NODE n24) + + (at n1 c24 c24) + (at n2 c24 c25) + (at n3 c24 c26) + (at n4 c24 c27) + (at n5 c24 c28) + (at n6 c24 c29) + (at n7 c24 c30) + (at n8 c24 c31) + (at n9 c24 c32) + (at n10 c24 c33) + (at n11 c24 c34) + (at n12 c24 c35) + (at n13 c24 c36) + (at n14 c24 c37) + (at n15 c24 c38) + (at n16 c24 c39) + (at n17 c24 c40) + (at n18 c24 c41) + (at n19 c24 c42) + (at n20 c24 c43) + (at n21 c24 c44) + (at n22 c24 c45) + (at n23 c24 c46) + (at n24 c24 c47) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c26 c42) + (free c26 c43) + (free c26 c44) + (free c26 c45) + (free c26 c46) + (free c26 c47) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c28 c42) + (free c28 c43) + (free c28 c44) + (free c28 c45) + (free c28 c46) + (free c28 c47) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c30 c44) + (free c30 c45) + (free c30 c46) + (free c30 c47) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c24 c24) + (at n2 c25 c24) + (at n3 c25 c23) + (at n4 c24 c23) + (at n5 c23 c23) + (at n6 c23 c24) + (at n7 c23 c25) + (at n8 c24 c25) + (at n9 c25 c25) + (at n10 c26 c25) + (at n11 c27 c25) + (at n12 c28 c25) + (at n13 c29 c25) + (at n14 c30 c25) + (at n15 c30 c24) + (at n16 c30 c23) + (at n17 c30 c22) + (at n18 c30 c21) + (at n19 c29 c21) + (at n20 c28 c21) + (at n21 c27 c21) + (at n22 c27 c22) + (at n23 c28 c22) + (at n24 c29 c22) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p19.pddl b/folding-sat23-adl/p19.pddl new file mode 100644 index 00000000..17ce01d5 --- /dev/null +++ b/folding-sat23-adl/p19.pddl @@ -0,0 +1,3208 @@ +;; Generated with: ./generate.py 1367 spiral 28 9 p19.pddl p19.plan +;; .-.-.-.-.-. +;; | | +;; . .-. . +;; | | | +;; . . . +;; | | | +;; . .-.-.-. +;; | +;; . +;; | +;; . x-.-. +;; | | +;; .-.-.-.-. +;; +(define (problem folding-spiral-28-9-77034) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 n25 n26 n27 n28 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 c52 c53 c54 c55 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + (COORD-INC c47 c48) + (COORD-INC c48 c49) + (COORD-INC c49 c50) + (COORD-INC c50 c51) + (COORD-INC c51 c52) + (COORD-INC c52 c53) + (COORD-INC c53 c54) + (COORD-INC c54 c55) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (CONNECTED n24 n25) + (CONNECTED n25 n26) + (CONNECTED n26 n27) + (CONNECTED n27 n28) + (END-NODE n28) + + (at n1 c28 c28) + (at n2 c28 c29) + (at n3 c28 c30) + (at n4 c28 c31) + (at n5 c28 c32) + (at n6 c28 c33) + (at n7 c28 c34) + (at n8 c28 c35) + (at n9 c28 c36) + (at n10 c28 c37) + (at n11 c28 c38) + (at n12 c28 c39) + (at n13 c28 c40) + (at n14 c28 c41) + (at n15 c28 c42) + (at n16 c28 c43) + (at n17 c28 c44) + (at n18 c28 c45) + (at n19 c28 c46) + (at n20 c28 c47) + (at n21 c28 c48) + (at n22 c28 c49) + (at n23 c28 c50) + (at n24 c28 c51) + (at n25 c28 c52) + (at n26 c28 c53) + (at n27 c28 c54) + (at n28 c28 c55) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (heading n24 up) + (heading n25 up) + (heading n26 up) + (heading n27 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c1 c48) + (free c1 c49) + (free c1 c50) + (free c1 c51) + (free c1 c52) + (free c1 c53) + (free c1 c54) + (free c1 c55) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c2 c48) + (free c2 c49) + (free c2 c50) + (free c2 c51) + (free c2 c52) + (free c2 c53) + (free c2 c54) + (free c2 c55) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c3 c48) + (free c3 c49) + (free c3 c50) + (free c3 c51) + (free c3 c52) + (free c3 c53) + (free c3 c54) + (free c3 c55) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c4 c48) + (free c4 c49) + (free c4 c50) + (free c4 c51) + (free c4 c52) + (free c4 c53) + (free c4 c54) + (free c4 c55) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c5 c48) + (free c5 c49) + (free c5 c50) + (free c5 c51) + (free c5 c52) + (free c5 c53) + (free c5 c54) + (free c5 c55) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c6 c48) + (free c6 c49) + (free c6 c50) + (free c6 c51) + (free c6 c52) + (free c6 c53) + (free c6 c54) + (free c6 c55) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c7 c48) + (free c7 c49) + (free c7 c50) + (free c7 c51) + (free c7 c52) + (free c7 c53) + (free c7 c54) + (free c7 c55) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c8 c48) + (free c8 c49) + (free c8 c50) + (free c8 c51) + (free c8 c52) + (free c8 c53) + (free c8 c54) + (free c8 c55) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c9 c48) + (free c9 c49) + (free c9 c50) + (free c9 c51) + (free c9 c52) + (free c9 c53) + (free c9 c54) + (free c9 c55) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c10 c48) + (free c10 c49) + (free c10 c50) + (free c10 c51) + (free c10 c52) + (free c10 c53) + (free c10 c54) + (free c10 c55) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c11 c48) + (free c11 c49) + (free c11 c50) + (free c11 c51) + (free c11 c52) + (free c11 c53) + (free c11 c54) + (free c11 c55) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c12 c48) + (free c12 c49) + (free c12 c50) + (free c12 c51) + (free c12 c52) + (free c12 c53) + (free c12 c54) + (free c12 c55) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c13 c48) + (free c13 c49) + (free c13 c50) + (free c13 c51) + (free c13 c52) + (free c13 c53) + (free c13 c54) + (free c13 c55) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c14 c48) + (free c14 c49) + (free c14 c50) + (free c14 c51) + (free c14 c52) + (free c14 c53) + (free c14 c54) + (free c14 c55) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c15 c48) + (free c15 c49) + (free c15 c50) + (free c15 c51) + (free c15 c52) + (free c15 c53) + (free c15 c54) + (free c15 c55) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c16 c48) + (free c16 c49) + (free c16 c50) + (free c16 c51) + (free c16 c52) + (free c16 c53) + (free c16 c54) + (free c16 c55) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c17 c48) + (free c17 c49) + (free c17 c50) + (free c17 c51) + (free c17 c52) + (free c17 c53) + (free c17 c54) + (free c17 c55) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c18 c48) + (free c18 c49) + (free c18 c50) + (free c18 c51) + (free c18 c52) + (free c18 c53) + (free c18 c54) + (free c18 c55) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c19 c48) + (free c19 c49) + (free c19 c50) + (free c19 c51) + (free c19 c52) + (free c19 c53) + (free c19 c54) + (free c19 c55) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c20 c48) + (free c20 c49) + (free c20 c50) + (free c20 c51) + (free c20 c52) + (free c20 c53) + (free c20 c54) + (free c20 c55) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c21 c48) + (free c21 c49) + (free c21 c50) + (free c21 c51) + (free c21 c52) + (free c21 c53) + (free c21 c54) + (free c21 c55) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c22 c48) + (free c22 c49) + (free c22 c50) + (free c22 c51) + (free c22 c52) + (free c22 c53) + (free c22 c54) + (free c22 c55) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c23 c48) + (free c23 c49) + (free c23 c50) + (free c23 c51) + (free c23 c52) + (free c23 c53) + (free c23 c54) + (free c23 c55) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c24 c40) + (free c24 c41) + (free c24 c42) + (free c24 c43) + (free c24 c44) + (free c24 c45) + (free c24 c46) + (free c24 c47) + (free c24 c48) + (free c24 c49) + (free c24 c50) + (free c24 c51) + (free c24 c52) + (free c24 c53) + (free c24 c54) + (free c24 c55) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c25 c48) + (free c25 c49) + (free c25 c50) + (free c25 c51) + (free c25 c52) + (free c25 c53) + (free c25 c54) + (free c25 c55) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c26 c42) + (free c26 c43) + (free c26 c44) + (free c26 c45) + (free c26 c46) + (free c26 c47) + (free c26 c48) + (free c26 c49) + (free c26 c50) + (free c26 c51) + (free c26 c52) + (free c26 c53) + (free c26 c54) + (free c26 c55) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c27 c48) + (free c27 c49) + (free c27 c50) + (free c27 c51) + (free c27 c52) + (free c27 c53) + (free c27 c54) + (free c27 c55) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c29 c48) + (free c29 c49) + (free c29 c50) + (free c29 c51) + (free c29 c52) + (free c29 c53) + (free c29 c54) + (free c29 c55) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c30 c30) + (free c30 c31) + (free c30 c32) + (free c30 c33) + (free c30 c34) + (free c30 c35) + (free c30 c36) + (free c30 c37) + (free c30 c38) + (free c30 c39) + (free c30 c40) + (free c30 c41) + (free c30 c42) + (free c30 c43) + (free c30 c44) + (free c30 c45) + (free c30 c46) + (free c30 c47) + (free c30 c48) + (free c30 c49) + (free c30 c50) + (free c30 c51) + (free c30 c52) + (free c30 c53) + (free c30 c54) + (free c30 c55) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c31 c48) + (free c31 c49) + (free c31 c50) + (free c31 c51) + (free c31 c52) + (free c31 c53) + (free c31 c54) + (free c31 c55) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c32 c48) + (free c32 c49) + (free c32 c50) + (free c32 c51) + (free c32 c52) + (free c32 c53) + (free c32 c54) + (free c32 c55) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c33 c48) + (free c33 c49) + (free c33 c50) + (free c33 c51) + (free c33 c52) + (free c33 c53) + (free c33 c54) + (free c33 c55) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c34 c48) + (free c34 c49) + (free c34 c50) + (free c34 c51) + (free c34 c52) + (free c34 c53) + (free c34 c54) + (free c34 c55) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c35 c48) + (free c35 c49) + (free c35 c50) + (free c35 c51) + (free c35 c52) + (free c35 c53) + (free c35 c54) + (free c35 c55) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c36 c48) + (free c36 c49) + (free c36 c50) + (free c36 c51) + (free c36 c52) + (free c36 c53) + (free c36 c54) + (free c36 c55) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c37 c48) + (free c37 c49) + (free c37 c50) + (free c37 c51) + (free c37 c52) + (free c37 c53) + (free c37 c54) + (free c37 c55) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c38 c48) + (free c38 c49) + (free c38 c50) + (free c38 c51) + (free c38 c52) + (free c38 c53) + (free c38 c54) + (free c38 c55) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c39 c48) + (free c39 c49) + (free c39 c50) + (free c39 c51) + (free c39 c52) + (free c39 c53) + (free c39 c54) + (free c39 c55) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c40 c48) + (free c40 c49) + (free c40 c50) + (free c40 c51) + (free c40 c52) + (free c40 c53) + (free c40 c54) + (free c40 c55) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c41 c48) + (free c41 c49) + (free c41 c50) + (free c41 c51) + (free c41 c52) + (free c41 c53) + (free c41 c54) + (free c41 c55) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c42 c48) + (free c42 c49) + (free c42 c50) + (free c42 c51) + (free c42 c52) + (free c42 c53) + (free c42 c54) + (free c42 c55) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c43 c48) + (free c43 c49) + (free c43 c50) + (free c43 c51) + (free c43 c52) + (free c43 c53) + (free c43 c54) + (free c43 c55) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c44 c48) + (free c44 c49) + (free c44 c50) + (free c44 c51) + (free c44 c52) + (free c44 c53) + (free c44 c54) + (free c44 c55) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c45 c48) + (free c45 c49) + (free c45 c50) + (free c45 c51) + (free c45 c52) + (free c45 c53) + (free c45 c54) + (free c45 c55) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c46 c48) + (free c46 c49) + (free c46 c50) + (free c46 c51) + (free c46 c52) + (free c46 c53) + (free c46 c54) + (free c46 c55) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + (free c47 c48) + (free c47 c49) + (free c47 c50) + (free c47 c51) + (free c47 c52) + (free c47 c53) + (free c47 c54) + (free c47 c55) + (free c48 c1) + (free c48 c2) + (free c48 c3) + (free c48 c4) + (free c48 c5) + (free c48 c6) + (free c48 c7) + (free c48 c8) + (free c48 c9) + (free c48 c10) + (free c48 c11) + (free c48 c12) + (free c48 c13) + (free c48 c14) + (free c48 c15) + (free c48 c16) + (free c48 c17) + (free c48 c18) + (free c48 c19) + (free c48 c20) + (free c48 c21) + (free c48 c22) + (free c48 c23) + (free c48 c24) + (free c48 c25) + (free c48 c26) + (free c48 c27) + (free c48 c28) + (free c48 c29) + (free c48 c30) + (free c48 c31) + (free c48 c32) + (free c48 c33) + (free c48 c34) + (free c48 c35) + (free c48 c36) + (free c48 c37) + (free c48 c38) + (free c48 c39) + (free c48 c40) + (free c48 c41) + (free c48 c42) + (free c48 c43) + (free c48 c44) + (free c48 c45) + (free c48 c46) + (free c48 c47) + (free c48 c48) + (free c48 c49) + (free c48 c50) + (free c48 c51) + (free c48 c52) + (free c48 c53) + (free c48 c54) + (free c48 c55) + (free c49 c1) + (free c49 c2) + (free c49 c3) + (free c49 c4) + (free c49 c5) + (free c49 c6) + (free c49 c7) + (free c49 c8) + (free c49 c9) + (free c49 c10) + (free c49 c11) + (free c49 c12) + (free c49 c13) + (free c49 c14) + (free c49 c15) + (free c49 c16) + (free c49 c17) + (free c49 c18) + (free c49 c19) + (free c49 c20) + (free c49 c21) + (free c49 c22) + (free c49 c23) + (free c49 c24) + (free c49 c25) + (free c49 c26) + (free c49 c27) + (free c49 c28) + (free c49 c29) + (free c49 c30) + (free c49 c31) + (free c49 c32) + (free c49 c33) + (free c49 c34) + (free c49 c35) + (free c49 c36) + (free c49 c37) + (free c49 c38) + (free c49 c39) + (free c49 c40) + (free c49 c41) + (free c49 c42) + (free c49 c43) + (free c49 c44) + (free c49 c45) + (free c49 c46) + (free c49 c47) + (free c49 c48) + (free c49 c49) + (free c49 c50) + (free c49 c51) + (free c49 c52) + (free c49 c53) + (free c49 c54) + (free c49 c55) + (free c50 c1) + (free c50 c2) + (free c50 c3) + (free c50 c4) + (free c50 c5) + (free c50 c6) + (free c50 c7) + (free c50 c8) + (free c50 c9) + (free c50 c10) + (free c50 c11) + (free c50 c12) + (free c50 c13) + (free c50 c14) + (free c50 c15) + (free c50 c16) + (free c50 c17) + (free c50 c18) + (free c50 c19) + (free c50 c20) + (free c50 c21) + (free c50 c22) + (free c50 c23) + (free c50 c24) + (free c50 c25) + (free c50 c26) + (free c50 c27) + (free c50 c28) + (free c50 c29) + (free c50 c30) + (free c50 c31) + (free c50 c32) + (free c50 c33) + (free c50 c34) + (free c50 c35) + (free c50 c36) + (free c50 c37) + (free c50 c38) + (free c50 c39) + (free c50 c40) + (free c50 c41) + (free c50 c42) + (free c50 c43) + (free c50 c44) + (free c50 c45) + (free c50 c46) + (free c50 c47) + (free c50 c48) + (free c50 c49) + (free c50 c50) + (free c50 c51) + (free c50 c52) + (free c50 c53) + (free c50 c54) + (free c50 c55) + (free c51 c1) + (free c51 c2) + (free c51 c3) + (free c51 c4) + (free c51 c5) + (free c51 c6) + (free c51 c7) + (free c51 c8) + (free c51 c9) + (free c51 c10) + (free c51 c11) + (free c51 c12) + (free c51 c13) + (free c51 c14) + (free c51 c15) + (free c51 c16) + (free c51 c17) + (free c51 c18) + (free c51 c19) + (free c51 c20) + (free c51 c21) + (free c51 c22) + (free c51 c23) + (free c51 c24) + (free c51 c25) + (free c51 c26) + (free c51 c27) + (free c51 c28) + (free c51 c29) + (free c51 c30) + (free c51 c31) + (free c51 c32) + (free c51 c33) + (free c51 c34) + (free c51 c35) + (free c51 c36) + (free c51 c37) + (free c51 c38) + (free c51 c39) + (free c51 c40) + (free c51 c41) + (free c51 c42) + (free c51 c43) + (free c51 c44) + (free c51 c45) + (free c51 c46) + (free c51 c47) + (free c51 c48) + (free c51 c49) + (free c51 c50) + (free c51 c51) + (free c51 c52) + (free c51 c53) + (free c51 c54) + (free c51 c55) + (free c52 c1) + (free c52 c2) + (free c52 c3) + (free c52 c4) + (free c52 c5) + (free c52 c6) + (free c52 c7) + (free c52 c8) + (free c52 c9) + (free c52 c10) + (free c52 c11) + (free c52 c12) + (free c52 c13) + (free c52 c14) + (free c52 c15) + (free c52 c16) + (free c52 c17) + (free c52 c18) + (free c52 c19) + (free c52 c20) + (free c52 c21) + (free c52 c22) + (free c52 c23) + (free c52 c24) + (free c52 c25) + (free c52 c26) + (free c52 c27) + (free c52 c28) + (free c52 c29) + (free c52 c30) + (free c52 c31) + (free c52 c32) + (free c52 c33) + (free c52 c34) + (free c52 c35) + (free c52 c36) + (free c52 c37) + (free c52 c38) + (free c52 c39) + (free c52 c40) + (free c52 c41) + (free c52 c42) + (free c52 c43) + (free c52 c44) + (free c52 c45) + (free c52 c46) + (free c52 c47) + (free c52 c48) + (free c52 c49) + (free c52 c50) + (free c52 c51) + (free c52 c52) + (free c52 c53) + (free c52 c54) + (free c52 c55) + (free c53 c1) + (free c53 c2) + (free c53 c3) + (free c53 c4) + (free c53 c5) + (free c53 c6) + (free c53 c7) + (free c53 c8) + (free c53 c9) + (free c53 c10) + (free c53 c11) + (free c53 c12) + (free c53 c13) + (free c53 c14) + (free c53 c15) + (free c53 c16) + (free c53 c17) + (free c53 c18) + (free c53 c19) + (free c53 c20) + (free c53 c21) + (free c53 c22) + (free c53 c23) + (free c53 c24) + (free c53 c25) + (free c53 c26) + (free c53 c27) + (free c53 c28) + (free c53 c29) + (free c53 c30) + (free c53 c31) + (free c53 c32) + (free c53 c33) + (free c53 c34) + (free c53 c35) + (free c53 c36) + (free c53 c37) + (free c53 c38) + (free c53 c39) + (free c53 c40) + (free c53 c41) + (free c53 c42) + (free c53 c43) + (free c53 c44) + (free c53 c45) + (free c53 c46) + (free c53 c47) + (free c53 c48) + (free c53 c49) + (free c53 c50) + (free c53 c51) + (free c53 c52) + (free c53 c53) + (free c53 c54) + (free c53 c55) + (free c54 c1) + (free c54 c2) + (free c54 c3) + (free c54 c4) + (free c54 c5) + (free c54 c6) + (free c54 c7) + (free c54 c8) + (free c54 c9) + (free c54 c10) + (free c54 c11) + (free c54 c12) + (free c54 c13) + (free c54 c14) + (free c54 c15) + (free c54 c16) + (free c54 c17) + (free c54 c18) + (free c54 c19) + (free c54 c20) + (free c54 c21) + (free c54 c22) + (free c54 c23) + (free c54 c24) + (free c54 c25) + (free c54 c26) + (free c54 c27) + (free c54 c28) + (free c54 c29) + (free c54 c30) + (free c54 c31) + (free c54 c32) + (free c54 c33) + (free c54 c34) + (free c54 c35) + (free c54 c36) + (free c54 c37) + (free c54 c38) + (free c54 c39) + (free c54 c40) + (free c54 c41) + (free c54 c42) + (free c54 c43) + (free c54 c44) + (free c54 c45) + (free c54 c46) + (free c54 c47) + (free c54 c48) + (free c54 c49) + (free c54 c50) + (free c54 c51) + (free c54 c52) + (free c54 c53) + (free c54 c54) + (free c54 c55) + (free c55 c1) + (free c55 c2) + (free c55 c3) + (free c55 c4) + (free c55 c5) + (free c55 c6) + (free c55 c7) + (free c55 c8) + (free c55 c9) + (free c55 c10) + (free c55 c11) + (free c55 c12) + (free c55 c13) + (free c55 c14) + (free c55 c15) + (free c55 c16) + (free c55 c17) + (free c55 c18) + (free c55 c19) + (free c55 c20) + (free c55 c21) + (free c55 c22) + (free c55 c23) + (free c55 c24) + (free c55 c25) + (free c55 c26) + (free c55 c27) + (free c55 c28) + (free c55 c29) + (free c55 c30) + (free c55 c31) + (free c55 c32) + (free c55 c33) + (free c55 c34) + (free c55 c35) + (free c55 c36) + (free c55 c37) + (free c55 c38) + (free c55 c39) + (free c55 c40) + (free c55 c41) + (free c55 c42) + (free c55 c43) + (free c55 c44) + (free c55 c45) + (free c55 c46) + (free c55 c47) + (free c55 c48) + (free c55 c49) + (free c55 c50) + (free c55 c51) + (free c55 c52) + (free c55 c53) + (free c55 c54) + (free c55 c55) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c28 c28) + (at n2 c29 c28) + (at n3 c30 c28) + (at n4 c30 c27) + (at n5 c29 c27) + (at n6 c28 c27) + (at n7 c27 c27) + (at n8 c26 c27) + (at n9 c26 c28) + (at n10 c26 c29) + (at n11 c26 c30) + (at n12 c26 c31) + (at n13 c26 c32) + (at n14 c26 c33) + (at n15 c27 c33) + (at n16 c28 c33) + (at n17 c29 c33) + (at n18 c30 c33) + (at n19 c31 c33) + (at n20 c31 c32) + (at n21 c31 c31) + (at n22 c31 c30) + (at n23 c30 c30) + (at n24 c29 c30) + (at n25 c28 c30) + (at n26 c28 c31) + (at n27 c28 c32) + (at n28 c29 c32) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/folding-sat23-adl/p20.pddl b/folding-sat23-adl/p20.pddl new file mode 100644 index 00000000..3ab12d2a --- /dev/null +++ b/folding-sat23-adl/p20.pddl @@ -0,0 +1,3670 @@ +;; Generated with: ./generate.py 1373 spiral 30 9 p20.pddl p20.plan +;; .-.-.-.-.-.-. +;; | | +;; . .-. . +;; | | | +;; . . . +;; | | | +;; . .-.-. x-. +;; | | +;; .-.-.-.-.-.-.-.-.-. +;; +(define (problem folding-spiral-30-9-424995) +(:domain folding) + +(:objects + n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20 n21 n22 n23 n24 n25 n26 n27 n28 n29 n30 - node + c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 c32 c33 c34 c35 c36 c37 c38 c39 c40 c41 c42 c43 c44 c45 c46 c47 c48 c49 c50 c51 c52 c53 c54 c55 c56 c57 c58 c59 - coord +) +(:init + (NEXT-DIRECTION up clockwise right) + (NEXT-DIRECTION up counterclockwise left) + (NEXT-DIRECTION down clockwise left) + (NEXT-DIRECTION down counterclockwise right) + (NEXT-DIRECTION left clockwise up) + (NEXT-DIRECTION left counterclockwise down) + (NEXT-DIRECTION right clockwise down) + (NEXT-DIRECTION right counterclockwise up) + + (COORD-INC c1 c2) + (COORD-INC c2 c3) + (COORD-INC c3 c4) + (COORD-INC c4 c5) + (COORD-INC c5 c6) + (COORD-INC c6 c7) + (COORD-INC c7 c8) + (COORD-INC c8 c9) + (COORD-INC c9 c10) + (COORD-INC c10 c11) + (COORD-INC c11 c12) + (COORD-INC c12 c13) + (COORD-INC c13 c14) + (COORD-INC c14 c15) + (COORD-INC c15 c16) + (COORD-INC c16 c17) + (COORD-INC c17 c18) + (COORD-INC c18 c19) + (COORD-INC c19 c20) + (COORD-INC c20 c21) + (COORD-INC c21 c22) + (COORD-INC c22 c23) + (COORD-INC c23 c24) + (COORD-INC c24 c25) + (COORD-INC c25 c26) + (COORD-INC c26 c27) + (COORD-INC c27 c28) + (COORD-INC c28 c29) + (COORD-INC c29 c30) + (COORD-INC c30 c31) + (COORD-INC c31 c32) + (COORD-INC c32 c33) + (COORD-INC c33 c34) + (COORD-INC c34 c35) + (COORD-INC c35 c36) + (COORD-INC c36 c37) + (COORD-INC c37 c38) + (COORD-INC c38 c39) + (COORD-INC c39 c40) + (COORD-INC c40 c41) + (COORD-INC c41 c42) + (COORD-INC c42 c43) + (COORD-INC c43 c44) + (COORD-INC c44 c45) + (COORD-INC c45 c46) + (COORD-INC c46 c47) + (COORD-INC c47 c48) + (COORD-INC c48 c49) + (COORD-INC c49 c50) + (COORD-INC c50 c51) + (COORD-INC c51 c52) + (COORD-INC c52 c53) + (COORD-INC c53 c54) + (COORD-INC c54 c55) + (COORD-INC c55 c56) + (COORD-INC c56 c57) + (COORD-INC c57 c58) + (COORD-INC c58 c59) + + (CONNECTED n1 n2) + (CONNECTED n2 n3) + (CONNECTED n3 n4) + (CONNECTED n4 n5) + (CONNECTED n5 n6) + (CONNECTED n6 n7) + (CONNECTED n7 n8) + (CONNECTED n8 n9) + (CONNECTED n9 n10) + (CONNECTED n10 n11) + (CONNECTED n11 n12) + (CONNECTED n12 n13) + (CONNECTED n13 n14) + (CONNECTED n14 n15) + (CONNECTED n15 n16) + (CONNECTED n16 n17) + (CONNECTED n17 n18) + (CONNECTED n18 n19) + (CONNECTED n19 n20) + (CONNECTED n20 n21) + (CONNECTED n21 n22) + (CONNECTED n22 n23) + (CONNECTED n23 n24) + (CONNECTED n24 n25) + (CONNECTED n25 n26) + (CONNECTED n26 n27) + (CONNECTED n27 n28) + (CONNECTED n28 n29) + (CONNECTED n29 n30) + (END-NODE n30) + + (at n1 c30 c30) + (at n2 c30 c31) + (at n3 c30 c32) + (at n4 c30 c33) + (at n5 c30 c34) + (at n6 c30 c35) + (at n7 c30 c36) + (at n8 c30 c37) + (at n9 c30 c38) + (at n10 c30 c39) + (at n11 c30 c40) + (at n12 c30 c41) + (at n13 c30 c42) + (at n14 c30 c43) + (at n15 c30 c44) + (at n16 c30 c45) + (at n17 c30 c46) + (at n18 c30 c47) + (at n19 c30 c48) + (at n20 c30 c49) + (at n21 c30 c50) + (at n22 c30 c51) + (at n23 c30 c52) + (at n24 c30 c53) + (at n25 c30 c54) + (at n26 c30 c55) + (at n27 c30 c56) + (at n28 c30 c57) + (at n29 c30 c58) + (at n30 c30 c59) + (heading n1 up) + (heading n2 up) + (heading n3 up) + (heading n4 up) + (heading n5 up) + (heading n6 up) + (heading n7 up) + (heading n8 up) + (heading n9 up) + (heading n10 up) + (heading n11 up) + (heading n12 up) + (heading n13 up) + (heading n14 up) + (heading n15 up) + (heading n16 up) + (heading n17 up) + (heading n18 up) + (heading n19 up) + (heading n20 up) + (heading n21 up) + (heading n22 up) + (heading n23 up) + (heading n24 up) + (heading n25 up) + (heading n26 up) + (heading n27 up) + (heading n28 up) + (heading n29 up) + (free c1 c1) + (free c1 c2) + (free c1 c3) + (free c1 c4) + (free c1 c5) + (free c1 c6) + (free c1 c7) + (free c1 c8) + (free c1 c9) + (free c1 c10) + (free c1 c11) + (free c1 c12) + (free c1 c13) + (free c1 c14) + (free c1 c15) + (free c1 c16) + (free c1 c17) + (free c1 c18) + (free c1 c19) + (free c1 c20) + (free c1 c21) + (free c1 c22) + (free c1 c23) + (free c1 c24) + (free c1 c25) + (free c1 c26) + (free c1 c27) + (free c1 c28) + (free c1 c29) + (free c1 c30) + (free c1 c31) + (free c1 c32) + (free c1 c33) + (free c1 c34) + (free c1 c35) + (free c1 c36) + (free c1 c37) + (free c1 c38) + (free c1 c39) + (free c1 c40) + (free c1 c41) + (free c1 c42) + (free c1 c43) + (free c1 c44) + (free c1 c45) + (free c1 c46) + (free c1 c47) + (free c1 c48) + (free c1 c49) + (free c1 c50) + (free c1 c51) + (free c1 c52) + (free c1 c53) + (free c1 c54) + (free c1 c55) + (free c1 c56) + (free c1 c57) + (free c1 c58) + (free c1 c59) + (free c2 c1) + (free c2 c2) + (free c2 c3) + (free c2 c4) + (free c2 c5) + (free c2 c6) + (free c2 c7) + (free c2 c8) + (free c2 c9) + (free c2 c10) + (free c2 c11) + (free c2 c12) + (free c2 c13) + (free c2 c14) + (free c2 c15) + (free c2 c16) + (free c2 c17) + (free c2 c18) + (free c2 c19) + (free c2 c20) + (free c2 c21) + (free c2 c22) + (free c2 c23) + (free c2 c24) + (free c2 c25) + (free c2 c26) + (free c2 c27) + (free c2 c28) + (free c2 c29) + (free c2 c30) + (free c2 c31) + (free c2 c32) + (free c2 c33) + (free c2 c34) + (free c2 c35) + (free c2 c36) + (free c2 c37) + (free c2 c38) + (free c2 c39) + (free c2 c40) + (free c2 c41) + (free c2 c42) + (free c2 c43) + (free c2 c44) + (free c2 c45) + (free c2 c46) + (free c2 c47) + (free c2 c48) + (free c2 c49) + (free c2 c50) + (free c2 c51) + (free c2 c52) + (free c2 c53) + (free c2 c54) + (free c2 c55) + (free c2 c56) + (free c2 c57) + (free c2 c58) + (free c2 c59) + (free c3 c1) + (free c3 c2) + (free c3 c3) + (free c3 c4) + (free c3 c5) + (free c3 c6) + (free c3 c7) + (free c3 c8) + (free c3 c9) + (free c3 c10) + (free c3 c11) + (free c3 c12) + (free c3 c13) + (free c3 c14) + (free c3 c15) + (free c3 c16) + (free c3 c17) + (free c3 c18) + (free c3 c19) + (free c3 c20) + (free c3 c21) + (free c3 c22) + (free c3 c23) + (free c3 c24) + (free c3 c25) + (free c3 c26) + (free c3 c27) + (free c3 c28) + (free c3 c29) + (free c3 c30) + (free c3 c31) + (free c3 c32) + (free c3 c33) + (free c3 c34) + (free c3 c35) + (free c3 c36) + (free c3 c37) + (free c3 c38) + (free c3 c39) + (free c3 c40) + (free c3 c41) + (free c3 c42) + (free c3 c43) + (free c3 c44) + (free c3 c45) + (free c3 c46) + (free c3 c47) + (free c3 c48) + (free c3 c49) + (free c3 c50) + (free c3 c51) + (free c3 c52) + (free c3 c53) + (free c3 c54) + (free c3 c55) + (free c3 c56) + (free c3 c57) + (free c3 c58) + (free c3 c59) + (free c4 c1) + (free c4 c2) + (free c4 c3) + (free c4 c4) + (free c4 c5) + (free c4 c6) + (free c4 c7) + (free c4 c8) + (free c4 c9) + (free c4 c10) + (free c4 c11) + (free c4 c12) + (free c4 c13) + (free c4 c14) + (free c4 c15) + (free c4 c16) + (free c4 c17) + (free c4 c18) + (free c4 c19) + (free c4 c20) + (free c4 c21) + (free c4 c22) + (free c4 c23) + (free c4 c24) + (free c4 c25) + (free c4 c26) + (free c4 c27) + (free c4 c28) + (free c4 c29) + (free c4 c30) + (free c4 c31) + (free c4 c32) + (free c4 c33) + (free c4 c34) + (free c4 c35) + (free c4 c36) + (free c4 c37) + (free c4 c38) + (free c4 c39) + (free c4 c40) + (free c4 c41) + (free c4 c42) + (free c4 c43) + (free c4 c44) + (free c4 c45) + (free c4 c46) + (free c4 c47) + (free c4 c48) + (free c4 c49) + (free c4 c50) + (free c4 c51) + (free c4 c52) + (free c4 c53) + (free c4 c54) + (free c4 c55) + (free c4 c56) + (free c4 c57) + (free c4 c58) + (free c4 c59) + (free c5 c1) + (free c5 c2) + (free c5 c3) + (free c5 c4) + (free c5 c5) + (free c5 c6) + (free c5 c7) + (free c5 c8) + (free c5 c9) + (free c5 c10) + (free c5 c11) + (free c5 c12) + (free c5 c13) + (free c5 c14) + (free c5 c15) + (free c5 c16) + (free c5 c17) + (free c5 c18) + (free c5 c19) + (free c5 c20) + (free c5 c21) + (free c5 c22) + (free c5 c23) + (free c5 c24) + (free c5 c25) + (free c5 c26) + (free c5 c27) + (free c5 c28) + (free c5 c29) + (free c5 c30) + (free c5 c31) + (free c5 c32) + (free c5 c33) + (free c5 c34) + (free c5 c35) + (free c5 c36) + (free c5 c37) + (free c5 c38) + (free c5 c39) + (free c5 c40) + (free c5 c41) + (free c5 c42) + (free c5 c43) + (free c5 c44) + (free c5 c45) + (free c5 c46) + (free c5 c47) + (free c5 c48) + (free c5 c49) + (free c5 c50) + (free c5 c51) + (free c5 c52) + (free c5 c53) + (free c5 c54) + (free c5 c55) + (free c5 c56) + (free c5 c57) + (free c5 c58) + (free c5 c59) + (free c6 c1) + (free c6 c2) + (free c6 c3) + (free c6 c4) + (free c6 c5) + (free c6 c6) + (free c6 c7) + (free c6 c8) + (free c6 c9) + (free c6 c10) + (free c6 c11) + (free c6 c12) + (free c6 c13) + (free c6 c14) + (free c6 c15) + (free c6 c16) + (free c6 c17) + (free c6 c18) + (free c6 c19) + (free c6 c20) + (free c6 c21) + (free c6 c22) + (free c6 c23) + (free c6 c24) + (free c6 c25) + (free c6 c26) + (free c6 c27) + (free c6 c28) + (free c6 c29) + (free c6 c30) + (free c6 c31) + (free c6 c32) + (free c6 c33) + (free c6 c34) + (free c6 c35) + (free c6 c36) + (free c6 c37) + (free c6 c38) + (free c6 c39) + (free c6 c40) + (free c6 c41) + (free c6 c42) + (free c6 c43) + (free c6 c44) + (free c6 c45) + (free c6 c46) + (free c6 c47) + (free c6 c48) + (free c6 c49) + (free c6 c50) + (free c6 c51) + (free c6 c52) + (free c6 c53) + (free c6 c54) + (free c6 c55) + (free c6 c56) + (free c6 c57) + (free c6 c58) + (free c6 c59) + (free c7 c1) + (free c7 c2) + (free c7 c3) + (free c7 c4) + (free c7 c5) + (free c7 c6) + (free c7 c7) + (free c7 c8) + (free c7 c9) + (free c7 c10) + (free c7 c11) + (free c7 c12) + (free c7 c13) + (free c7 c14) + (free c7 c15) + (free c7 c16) + (free c7 c17) + (free c7 c18) + (free c7 c19) + (free c7 c20) + (free c7 c21) + (free c7 c22) + (free c7 c23) + (free c7 c24) + (free c7 c25) + (free c7 c26) + (free c7 c27) + (free c7 c28) + (free c7 c29) + (free c7 c30) + (free c7 c31) + (free c7 c32) + (free c7 c33) + (free c7 c34) + (free c7 c35) + (free c7 c36) + (free c7 c37) + (free c7 c38) + (free c7 c39) + (free c7 c40) + (free c7 c41) + (free c7 c42) + (free c7 c43) + (free c7 c44) + (free c7 c45) + (free c7 c46) + (free c7 c47) + (free c7 c48) + (free c7 c49) + (free c7 c50) + (free c7 c51) + (free c7 c52) + (free c7 c53) + (free c7 c54) + (free c7 c55) + (free c7 c56) + (free c7 c57) + (free c7 c58) + (free c7 c59) + (free c8 c1) + (free c8 c2) + (free c8 c3) + (free c8 c4) + (free c8 c5) + (free c8 c6) + (free c8 c7) + (free c8 c8) + (free c8 c9) + (free c8 c10) + (free c8 c11) + (free c8 c12) + (free c8 c13) + (free c8 c14) + (free c8 c15) + (free c8 c16) + (free c8 c17) + (free c8 c18) + (free c8 c19) + (free c8 c20) + (free c8 c21) + (free c8 c22) + (free c8 c23) + (free c8 c24) + (free c8 c25) + (free c8 c26) + (free c8 c27) + (free c8 c28) + (free c8 c29) + (free c8 c30) + (free c8 c31) + (free c8 c32) + (free c8 c33) + (free c8 c34) + (free c8 c35) + (free c8 c36) + (free c8 c37) + (free c8 c38) + (free c8 c39) + (free c8 c40) + (free c8 c41) + (free c8 c42) + (free c8 c43) + (free c8 c44) + (free c8 c45) + (free c8 c46) + (free c8 c47) + (free c8 c48) + (free c8 c49) + (free c8 c50) + (free c8 c51) + (free c8 c52) + (free c8 c53) + (free c8 c54) + (free c8 c55) + (free c8 c56) + (free c8 c57) + (free c8 c58) + (free c8 c59) + (free c9 c1) + (free c9 c2) + (free c9 c3) + (free c9 c4) + (free c9 c5) + (free c9 c6) + (free c9 c7) + (free c9 c8) + (free c9 c9) + (free c9 c10) + (free c9 c11) + (free c9 c12) + (free c9 c13) + (free c9 c14) + (free c9 c15) + (free c9 c16) + (free c9 c17) + (free c9 c18) + (free c9 c19) + (free c9 c20) + (free c9 c21) + (free c9 c22) + (free c9 c23) + (free c9 c24) + (free c9 c25) + (free c9 c26) + (free c9 c27) + (free c9 c28) + (free c9 c29) + (free c9 c30) + (free c9 c31) + (free c9 c32) + (free c9 c33) + (free c9 c34) + (free c9 c35) + (free c9 c36) + (free c9 c37) + (free c9 c38) + (free c9 c39) + (free c9 c40) + (free c9 c41) + (free c9 c42) + (free c9 c43) + (free c9 c44) + (free c9 c45) + (free c9 c46) + (free c9 c47) + (free c9 c48) + (free c9 c49) + (free c9 c50) + (free c9 c51) + (free c9 c52) + (free c9 c53) + (free c9 c54) + (free c9 c55) + (free c9 c56) + (free c9 c57) + (free c9 c58) + (free c9 c59) + (free c10 c1) + (free c10 c2) + (free c10 c3) + (free c10 c4) + (free c10 c5) + (free c10 c6) + (free c10 c7) + (free c10 c8) + (free c10 c9) + (free c10 c10) + (free c10 c11) + (free c10 c12) + (free c10 c13) + (free c10 c14) + (free c10 c15) + (free c10 c16) + (free c10 c17) + (free c10 c18) + (free c10 c19) + (free c10 c20) + (free c10 c21) + (free c10 c22) + (free c10 c23) + (free c10 c24) + (free c10 c25) + (free c10 c26) + (free c10 c27) + (free c10 c28) + (free c10 c29) + (free c10 c30) + (free c10 c31) + (free c10 c32) + (free c10 c33) + (free c10 c34) + (free c10 c35) + (free c10 c36) + (free c10 c37) + (free c10 c38) + (free c10 c39) + (free c10 c40) + (free c10 c41) + (free c10 c42) + (free c10 c43) + (free c10 c44) + (free c10 c45) + (free c10 c46) + (free c10 c47) + (free c10 c48) + (free c10 c49) + (free c10 c50) + (free c10 c51) + (free c10 c52) + (free c10 c53) + (free c10 c54) + (free c10 c55) + (free c10 c56) + (free c10 c57) + (free c10 c58) + (free c10 c59) + (free c11 c1) + (free c11 c2) + (free c11 c3) + (free c11 c4) + (free c11 c5) + (free c11 c6) + (free c11 c7) + (free c11 c8) + (free c11 c9) + (free c11 c10) + (free c11 c11) + (free c11 c12) + (free c11 c13) + (free c11 c14) + (free c11 c15) + (free c11 c16) + (free c11 c17) + (free c11 c18) + (free c11 c19) + (free c11 c20) + (free c11 c21) + (free c11 c22) + (free c11 c23) + (free c11 c24) + (free c11 c25) + (free c11 c26) + (free c11 c27) + (free c11 c28) + (free c11 c29) + (free c11 c30) + (free c11 c31) + (free c11 c32) + (free c11 c33) + (free c11 c34) + (free c11 c35) + (free c11 c36) + (free c11 c37) + (free c11 c38) + (free c11 c39) + (free c11 c40) + (free c11 c41) + (free c11 c42) + (free c11 c43) + (free c11 c44) + (free c11 c45) + (free c11 c46) + (free c11 c47) + (free c11 c48) + (free c11 c49) + (free c11 c50) + (free c11 c51) + (free c11 c52) + (free c11 c53) + (free c11 c54) + (free c11 c55) + (free c11 c56) + (free c11 c57) + (free c11 c58) + (free c11 c59) + (free c12 c1) + (free c12 c2) + (free c12 c3) + (free c12 c4) + (free c12 c5) + (free c12 c6) + (free c12 c7) + (free c12 c8) + (free c12 c9) + (free c12 c10) + (free c12 c11) + (free c12 c12) + (free c12 c13) + (free c12 c14) + (free c12 c15) + (free c12 c16) + (free c12 c17) + (free c12 c18) + (free c12 c19) + (free c12 c20) + (free c12 c21) + (free c12 c22) + (free c12 c23) + (free c12 c24) + (free c12 c25) + (free c12 c26) + (free c12 c27) + (free c12 c28) + (free c12 c29) + (free c12 c30) + (free c12 c31) + (free c12 c32) + (free c12 c33) + (free c12 c34) + (free c12 c35) + (free c12 c36) + (free c12 c37) + (free c12 c38) + (free c12 c39) + (free c12 c40) + (free c12 c41) + (free c12 c42) + (free c12 c43) + (free c12 c44) + (free c12 c45) + (free c12 c46) + (free c12 c47) + (free c12 c48) + (free c12 c49) + (free c12 c50) + (free c12 c51) + (free c12 c52) + (free c12 c53) + (free c12 c54) + (free c12 c55) + (free c12 c56) + (free c12 c57) + (free c12 c58) + (free c12 c59) + (free c13 c1) + (free c13 c2) + (free c13 c3) + (free c13 c4) + (free c13 c5) + (free c13 c6) + (free c13 c7) + (free c13 c8) + (free c13 c9) + (free c13 c10) + (free c13 c11) + (free c13 c12) + (free c13 c13) + (free c13 c14) + (free c13 c15) + (free c13 c16) + (free c13 c17) + (free c13 c18) + (free c13 c19) + (free c13 c20) + (free c13 c21) + (free c13 c22) + (free c13 c23) + (free c13 c24) + (free c13 c25) + (free c13 c26) + (free c13 c27) + (free c13 c28) + (free c13 c29) + (free c13 c30) + (free c13 c31) + (free c13 c32) + (free c13 c33) + (free c13 c34) + (free c13 c35) + (free c13 c36) + (free c13 c37) + (free c13 c38) + (free c13 c39) + (free c13 c40) + (free c13 c41) + (free c13 c42) + (free c13 c43) + (free c13 c44) + (free c13 c45) + (free c13 c46) + (free c13 c47) + (free c13 c48) + (free c13 c49) + (free c13 c50) + (free c13 c51) + (free c13 c52) + (free c13 c53) + (free c13 c54) + (free c13 c55) + (free c13 c56) + (free c13 c57) + (free c13 c58) + (free c13 c59) + (free c14 c1) + (free c14 c2) + (free c14 c3) + (free c14 c4) + (free c14 c5) + (free c14 c6) + (free c14 c7) + (free c14 c8) + (free c14 c9) + (free c14 c10) + (free c14 c11) + (free c14 c12) + (free c14 c13) + (free c14 c14) + (free c14 c15) + (free c14 c16) + (free c14 c17) + (free c14 c18) + (free c14 c19) + (free c14 c20) + (free c14 c21) + (free c14 c22) + (free c14 c23) + (free c14 c24) + (free c14 c25) + (free c14 c26) + (free c14 c27) + (free c14 c28) + (free c14 c29) + (free c14 c30) + (free c14 c31) + (free c14 c32) + (free c14 c33) + (free c14 c34) + (free c14 c35) + (free c14 c36) + (free c14 c37) + (free c14 c38) + (free c14 c39) + (free c14 c40) + (free c14 c41) + (free c14 c42) + (free c14 c43) + (free c14 c44) + (free c14 c45) + (free c14 c46) + (free c14 c47) + (free c14 c48) + (free c14 c49) + (free c14 c50) + (free c14 c51) + (free c14 c52) + (free c14 c53) + (free c14 c54) + (free c14 c55) + (free c14 c56) + (free c14 c57) + (free c14 c58) + (free c14 c59) + (free c15 c1) + (free c15 c2) + (free c15 c3) + (free c15 c4) + (free c15 c5) + (free c15 c6) + (free c15 c7) + (free c15 c8) + (free c15 c9) + (free c15 c10) + (free c15 c11) + (free c15 c12) + (free c15 c13) + (free c15 c14) + (free c15 c15) + (free c15 c16) + (free c15 c17) + (free c15 c18) + (free c15 c19) + (free c15 c20) + (free c15 c21) + (free c15 c22) + (free c15 c23) + (free c15 c24) + (free c15 c25) + (free c15 c26) + (free c15 c27) + (free c15 c28) + (free c15 c29) + (free c15 c30) + (free c15 c31) + (free c15 c32) + (free c15 c33) + (free c15 c34) + (free c15 c35) + (free c15 c36) + (free c15 c37) + (free c15 c38) + (free c15 c39) + (free c15 c40) + (free c15 c41) + (free c15 c42) + (free c15 c43) + (free c15 c44) + (free c15 c45) + (free c15 c46) + (free c15 c47) + (free c15 c48) + (free c15 c49) + (free c15 c50) + (free c15 c51) + (free c15 c52) + (free c15 c53) + (free c15 c54) + (free c15 c55) + (free c15 c56) + (free c15 c57) + (free c15 c58) + (free c15 c59) + (free c16 c1) + (free c16 c2) + (free c16 c3) + (free c16 c4) + (free c16 c5) + (free c16 c6) + (free c16 c7) + (free c16 c8) + (free c16 c9) + (free c16 c10) + (free c16 c11) + (free c16 c12) + (free c16 c13) + (free c16 c14) + (free c16 c15) + (free c16 c16) + (free c16 c17) + (free c16 c18) + (free c16 c19) + (free c16 c20) + (free c16 c21) + (free c16 c22) + (free c16 c23) + (free c16 c24) + (free c16 c25) + (free c16 c26) + (free c16 c27) + (free c16 c28) + (free c16 c29) + (free c16 c30) + (free c16 c31) + (free c16 c32) + (free c16 c33) + (free c16 c34) + (free c16 c35) + (free c16 c36) + (free c16 c37) + (free c16 c38) + (free c16 c39) + (free c16 c40) + (free c16 c41) + (free c16 c42) + (free c16 c43) + (free c16 c44) + (free c16 c45) + (free c16 c46) + (free c16 c47) + (free c16 c48) + (free c16 c49) + (free c16 c50) + (free c16 c51) + (free c16 c52) + (free c16 c53) + (free c16 c54) + (free c16 c55) + (free c16 c56) + (free c16 c57) + (free c16 c58) + (free c16 c59) + (free c17 c1) + (free c17 c2) + (free c17 c3) + (free c17 c4) + (free c17 c5) + (free c17 c6) + (free c17 c7) + (free c17 c8) + (free c17 c9) + (free c17 c10) + (free c17 c11) + (free c17 c12) + (free c17 c13) + (free c17 c14) + (free c17 c15) + (free c17 c16) + (free c17 c17) + (free c17 c18) + (free c17 c19) + (free c17 c20) + (free c17 c21) + (free c17 c22) + (free c17 c23) + (free c17 c24) + (free c17 c25) + (free c17 c26) + (free c17 c27) + (free c17 c28) + (free c17 c29) + (free c17 c30) + (free c17 c31) + (free c17 c32) + (free c17 c33) + (free c17 c34) + (free c17 c35) + (free c17 c36) + (free c17 c37) + (free c17 c38) + (free c17 c39) + (free c17 c40) + (free c17 c41) + (free c17 c42) + (free c17 c43) + (free c17 c44) + (free c17 c45) + (free c17 c46) + (free c17 c47) + (free c17 c48) + (free c17 c49) + (free c17 c50) + (free c17 c51) + (free c17 c52) + (free c17 c53) + (free c17 c54) + (free c17 c55) + (free c17 c56) + (free c17 c57) + (free c17 c58) + (free c17 c59) + (free c18 c1) + (free c18 c2) + (free c18 c3) + (free c18 c4) + (free c18 c5) + (free c18 c6) + (free c18 c7) + (free c18 c8) + (free c18 c9) + (free c18 c10) + (free c18 c11) + (free c18 c12) + (free c18 c13) + (free c18 c14) + (free c18 c15) + (free c18 c16) + (free c18 c17) + (free c18 c18) + (free c18 c19) + (free c18 c20) + (free c18 c21) + (free c18 c22) + (free c18 c23) + (free c18 c24) + (free c18 c25) + (free c18 c26) + (free c18 c27) + (free c18 c28) + (free c18 c29) + (free c18 c30) + (free c18 c31) + (free c18 c32) + (free c18 c33) + (free c18 c34) + (free c18 c35) + (free c18 c36) + (free c18 c37) + (free c18 c38) + (free c18 c39) + (free c18 c40) + (free c18 c41) + (free c18 c42) + (free c18 c43) + (free c18 c44) + (free c18 c45) + (free c18 c46) + (free c18 c47) + (free c18 c48) + (free c18 c49) + (free c18 c50) + (free c18 c51) + (free c18 c52) + (free c18 c53) + (free c18 c54) + (free c18 c55) + (free c18 c56) + (free c18 c57) + (free c18 c58) + (free c18 c59) + (free c19 c1) + (free c19 c2) + (free c19 c3) + (free c19 c4) + (free c19 c5) + (free c19 c6) + (free c19 c7) + (free c19 c8) + (free c19 c9) + (free c19 c10) + (free c19 c11) + (free c19 c12) + (free c19 c13) + (free c19 c14) + (free c19 c15) + (free c19 c16) + (free c19 c17) + (free c19 c18) + (free c19 c19) + (free c19 c20) + (free c19 c21) + (free c19 c22) + (free c19 c23) + (free c19 c24) + (free c19 c25) + (free c19 c26) + (free c19 c27) + (free c19 c28) + (free c19 c29) + (free c19 c30) + (free c19 c31) + (free c19 c32) + (free c19 c33) + (free c19 c34) + (free c19 c35) + (free c19 c36) + (free c19 c37) + (free c19 c38) + (free c19 c39) + (free c19 c40) + (free c19 c41) + (free c19 c42) + (free c19 c43) + (free c19 c44) + (free c19 c45) + (free c19 c46) + (free c19 c47) + (free c19 c48) + (free c19 c49) + (free c19 c50) + (free c19 c51) + (free c19 c52) + (free c19 c53) + (free c19 c54) + (free c19 c55) + (free c19 c56) + (free c19 c57) + (free c19 c58) + (free c19 c59) + (free c20 c1) + (free c20 c2) + (free c20 c3) + (free c20 c4) + (free c20 c5) + (free c20 c6) + (free c20 c7) + (free c20 c8) + (free c20 c9) + (free c20 c10) + (free c20 c11) + (free c20 c12) + (free c20 c13) + (free c20 c14) + (free c20 c15) + (free c20 c16) + (free c20 c17) + (free c20 c18) + (free c20 c19) + (free c20 c20) + (free c20 c21) + (free c20 c22) + (free c20 c23) + (free c20 c24) + (free c20 c25) + (free c20 c26) + (free c20 c27) + (free c20 c28) + (free c20 c29) + (free c20 c30) + (free c20 c31) + (free c20 c32) + (free c20 c33) + (free c20 c34) + (free c20 c35) + (free c20 c36) + (free c20 c37) + (free c20 c38) + (free c20 c39) + (free c20 c40) + (free c20 c41) + (free c20 c42) + (free c20 c43) + (free c20 c44) + (free c20 c45) + (free c20 c46) + (free c20 c47) + (free c20 c48) + (free c20 c49) + (free c20 c50) + (free c20 c51) + (free c20 c52) + (free c20 c53) + (free c20 c54) + (free c20 c55) + (free c20 c56) + (free c20 c57) + (free c20 c58) + (free c20 c59) + (free c21 c1) + (free c21 c2) + (free c21 c3) + (free c21 c4) + (free c21 c5) + (free c21 c6) + (free c21 c7) + (free c21 c8) + (free c21 c9) + (free c21 c10) + (free c21 c11) + (free c21 c12) + (free c21 c13) + (free c21 c14) + (free c21 c15) + (free c21 c16) + (free c21 c17) + (free c21 c18) + (free c21 c19) + (free c21 c20) + (free c21 c21) + (free c21 c22) + (free c21 c23) + (free c21 c24) + (free c21 c25) + (free c21 c26) + (free c21 c27) + (free c21 c28) + (free c21 c29) + (free c21 c30) + (free c21 c31) + (free c21 c32) + (free c21 c33) + (free c21 c34) + (free c21 c35) + (free c21 c36) + (free c21 c37) + (free c21 c38) + (free c21 c39) + (free c21 c40) + (free c21 c41) + (free c21 c42) + (free c21 c43) + (free c21 c44) + (free c21 c45) + (free c21 c46) + (free c21 c47) + (free c21 c48) + (free c21 c49) + (free c21 c50) + (free c21 c51) + (free c21 c52) + (free c21 c53) + (free c21 c54) + (free c21 c55) + (free c21 c56) + (free c21 c57) + (free c21 c58) + (free c21 c59) + (free c22 c1) + (free c22 c2) + (free c22 c3) + (free c22 c4) + (free c22 c5) + (free c22 c6) + (free c22 c7) + (free c22 c8) + (free c22 c9) + (free c22 c10) + (free c22 c11) + (free c22 c12) + (free c22 c13) + (free c22 c14) + (free c22 c15) + (free c22 c16) + (free c22 c17) + (free c22 c18) + (free c22 c19) + (free c22 c20) + (free c22 c21) + (free c22 c22) + (free c22 c23) + (free c22 c24) + (free c22 c25) + (free c22 c26) + (free c22 c27) + (free c22 c28) + (free c22 c29) + (free c22 c30) + (free c22 c31) + (free c22 c32) + (free c22 c33) + (free c22 c34) + (free c22 c35) + (free c22 c36) + (free c22 c37) + (free c22 c38) + (free c22 c39) + (free c22 c40) + (free c22 c41) + (free c22 c42) + (free c22 c43) + (free c22 c44) + (free c22 c45) + (free c22 c46) + (free c22 c47) + (free c22 c48) + (free c22 c49) + (free c22 c50) + (free c22 c51) + (free c22 c52) + (free c22 c53) + (free c22 c54) + (free c22 c55) + (free c22 c56) + (free c22 c57) + (free c22 c58) + (free c22 c59) + (free c23 c1) + (free c23 c2) + (free c23 c3) + (free c23 c4) + (free c23 c5) + (free c23 c6) + (free c23 c7) + (free c23 c8) + (free c23 c9) + (free c23 c10) + (free c23 c11) + (free c23 c12) + (free c23 c13) + (free c23 c14) + (free c23 c15) + (free c23 c16) + (free c23 c17) + (free c23 c18) + (free c23 c19) + (free c23 c20) + (free c23 c21) + (free c23 c22) + (free c23 c23) + (free c23 c24) + (free c23 c25) + (free c23 c26) + (free c23 c27) + (free c23 c28) + (free c23 c29) + (free c23 c30) + (free c23 c31) + (free c23 c32) + (free c23 c33) + (free c23 c34) + (free c23 c35) + (free c23 c36) + (free c23 c37) + (free c23 c38) + (free c23 c39) + (free c23 c40) + (free c23 c41) + (free c23 c42) + (free c23 c43) + (free c23 c44) + (free c23 c45) + (free c23 c46) + (free c23 c47) + (free c23 c48) + (free c23 c49) + (free c23 c50) + (free c23 c51) + (free c23 c52) + (free c23 c53) + (free c23 c54) + (free c23 c55) + (free c23 c56) + (free c23 c57) + (free c23 c58) + (free c23 c59) + (free c24 c1) + (free c24 c2) + (free c24 c3) + (free c24 c4) + (free c24 c5) + (free c24 c6) + (free c24 c7) + (free c24 c8) + (free c24 c9) + (free c24 c10) + (free c24 c11) + (free c24 c12) + (free c24 c13) + (free c24 c14) + (free c24 c15) + (free c24 c16) + (free c24 c17) + (free c24 c18) + (free c24 c19) + (free c24 c20) + (free c24 c21) + (free c24 c22) + (free c24 c23) + (free c24 c24) + (free c24 c25) + (free c24 c26) + (free c24 c27) + (free c24 c28) + (free c24 c29) + (free c24 c30) + (free c24 c31) + (free c24 c32) + (free c24 c33) + (free c24 c34) + (free c24 c35) + (free c24 c36) + (free c24 c37) + (free c24 c38) + (free c24 c39) + (free c24 c40) + (free c24 c41) + (free c24 c42) + (free c24 c43) + (free c24 c44) + (free c24 c45) + (free c24 c46) + (free c24 c47) + (free c24 c48) + (free c24 c49) + (free c24 c50) + (free c24 c51) + (free c24 c52) + (free c24 c53) + (free c24 c54) + (free c24 c55) + (free c24 c56) + (free c24 c57) + (free c24 c58) + (free c24 c59) + (free c25 c1) + (free c25 c2) + (free c25 c3) + (free c25 c4) + (free c25 c5) + (free c25 c6) + (free c25 c7) + (free c25 c8) + (free c25 c9) + (free c25 c10) + (free c25 c11) + (free c25 c12) + (free c25 c13) + (free c25 c14) + (free c25 c15) + (free c25 c16) + (free c25 c17) + (free c25 c18) + (free c25 c19) + (free c25 c20) + (free c25 c21) + (free c25 c22) + (free c25 c23) + (free c25 c24) + (free c25 c25) + (free c25 c26) + (free c25 c27) + (free c25 c28) + (free c25 c29) + (free c25 c30) + (free c25 c31) + (free c25 c32) + (free c25 c33) + (free c25 c34) + (free c25 c35) + (free c25 c36) + (free c25 c37) + (free c25 c38) + (free c25 c39) + (free c25 c40) + (free c25 c41) + (free c25 c42) + (free c25 c43) + (free c25 c44) + (free c25 c45) + (free c25 c46) + (free c25 c47) + (free c25 c48) + (free c25 c49) + (free c25 c50) + (free c25 c51) + (free c25 c52) + (free c25 c53) + (free c25 c54) + (free c25 c55) + (free c25 c56) + (free c25 c57) + (free c25 c58) + (free c25 c59) + (free c26 c1) + (free c26 c2) + (free c26 c3) + (free c26 c4) + (free c26 c5) + (free c26 c6) + (free c26 c7) + (free c26 c8) + (free c26 c9) + (free c26 c10) + (free c26 c11) + (free c26 c12) + (free c26 c13) + (free c26 c14) + (free c26 c15) + (free c26 c16) + (free c26 c17) + (free c26 c18) + (free c26 c19) + (free c26 c20) + (free c26 c21) + (free c26 c22) + (free c26 c23) + (free c26 c24) + (free c26 c25) + (free c26 c26) + (free c26 c27) + (free c26 c28) + (free c26 c29) + (free c26 c30) + (free c26 c31) + (free c26 c32) + (free c26 c33) + (free c26 c34) + (free c26 c35) + (free c26 c36) + (free c26 c37) + (free c26 c38) + (free c26 c39) + (free c26 c40) + (free c26 c41) + (free c26 c42) + (free c26 c43) + (free c26 c44) + (free c26 c45) + (free c26 c46) + (free c26 c47) + (free c26 c48) + (free c26 c49) + (free c26 c50) + (free c26 c51) + (free c26 c52) + (free c26 c53) + (free c26 c54) + (free c26 c55) + (free c26 c56) + (free c26 c57) + (free c26 c58) + (free c26 c59) + (free c27 c1) + (free c27 c2) + (free c27 c3) + (free c27 c4) + (free c27 c5) + (free c27 c6) + (free c27 c7) + (free c27 c8) + (free c27 c9) + (free c27 c10) + (free c27 c11) + (free c27 c12) + (free c27 c13) + (free c27 c14) + (free c27 c15) + (free c27 c16) + (free c27 c17) + (free c27 c18) + (free c27 c19) + (free c27 c20) + (free c27 c21) + (free c27 c22) + (free c27 c23) + (free c27 c24) + (free c27 c25) + (free c27 c26) + (free c27 c27) + (free c27 c28) + (free c27 c29) + (free c27 c30) + (free c27 c31) + (free c27 c32) + (free c27 c33) + (free c27 c34) + (free c27 c35) + (free c27 c36) + (free c27 c37) + (free c27 c38) + (free c27 c39) + (free c27 c40) + (free c27 c41) + (free c27 c42) + (free c27 c43) + (free c27 c44) + (free c27 c45) + (free c27 c46) + (free c27 c47) + (free c27 c48) + (free c27 c49) + (free c27 c50) + (free c27 c51) + (free c27 c52) + (free c27 c53) + (free c27 c54) + (free c27 c55) + (free c27 c56) + (free c27 c57) + (free c27 c58) + (free c27 c59) + (free c28 c1) + (free c28 c2) + (free c28 c3) + (free c28 c4) + (free c28 c5) + (free c28 c6) + (free c28 c7) + (free c28 c8) + (free c28 c9) + (free c28 c10) + (free c28 c11) + (free c28 c12) + (free c28 c13) + (free c28 c14) + (free c28 c15) + (free c28 c16) + (free c28 c17) + (free c28 c18) + (free c28 c19) + (free c28 c20) + (free c28 c21) + (free c28 c22) + (free c28 c23) + (free c28 c24) + (free c28 c25) + (free c28 c26) + (free c28 c27) + (free c28 c28) + (free c28 c29) + (free c28 c30) + (free c28 c31) + (free c28 c32) + (free c28 c33) + (free c28 c34) + (free c28 c35) + (free c28 c36) + (free c28 c37) + (free c28 c38) + (free c28 c39) + (free c28 c40) + (free c28 c41) + (free c28 c42) + (free c28 c43) + (free c28 c44) + (free c28 c45) + (free c28 c46) + (free c28 c47) + (free c28 c48) + (free c28 c49) + (free c28 c50) + (free c28 c51) + (free c28 c52) + (free c28 c53) + (free c28 c54) + (free c28 c55) + (free c28 c56) + (free c28 c57) + (free c28 c58) + (free c28 c59) + (free c29 c1) + (free c29 c2) + (free c29 c3) + (free c29 c4) + (free c29 c5) + (free c29 c6) + (free c29 c7) + (free c29 c8) + (free c29 c9) + (free c29 c10) + (free c29 c11) + (free c29 c12) + (free c29 c13) + (free c29 c14) + (free c29 c15) + (free c29 c16) + (free c29 c17) + (free c29 c18) + (free c29 c19) + (free c29 c20) + (free c29 c21) + (free c29 c22) + (free c29 c23) + (free c29 c24) + (free c29 c25) + (free c29 c26) + (free c29 c27) + (free c29 c28) + (free c29 c29) + (free c29 c30) + (free c29 c31) + (free c29 c32) + (free c29 c33) + (free c29 c34) + (free c29 c35) + (free c29 c36) + (free c29 c37) + (free c29 c38) + (free c29 c39) + (free c29 c40) + (free c29 c41) + (free c29 c42) + (free c29 c43) + (free c29 c44) + (free c29 c45) + (free c29 c46) + (free c29 c47) + (free c29 c48) + (free c29 c49) + (free c29 c50) + (free c29 c51) + (free c29 c52) + (free c29 c53) + (free c29 c54) + (free c29 c55) + (free c29 c56) + (free c29 c57) + (free c29 c58) + (free c29 c59) + (free c30 c1) + (free c30 c2) + (free c30 c3) + (free c30 c4) + (free c30 c5) + (free c30 c6) + (free c30 c7) + (free c30 c8) + (free c30 c9) + (free c30 c10) + (free c30 c11) + (free c30 c12) + (free c30 c13) + (free c30 c14) + (free c30 c15) + (free c30 c16) + (free c30 c17) + (free c30 c18) + (free c30 c19) + (free c30 c20) + (free c30 c21) + (free c30 c22) + (free c30 c23) + (free c30 c24) + (free c30 c25) + (free c30 c26) + (free c30 c27) + (free c30 c28) + (free c30 c29) + (free c31 c1) + (free c31 c2) + (free c31 c3) + (free c31 c4) + (free c31 c5) + (free c31 c6) + (free c31 c7) + (free c31 c8) + (free c31 c9) + (free c31 c10) + (free c31 c11) + (free c31 c12) + (free c31 c13) + (free c31 c14) + (free c31 c15) + (free c31 c16) + (free c31 c17) + (free c31 c18) + (free c31 c19) + (free c31 c20) + (free c31 c21) + (free c31 c22) + (free c31 c23) + (free c31 c24) + (free c31 c25) + (free c31 c26) + (free c31 c27) + (free c31 c28) + (free c31 c29) + (free c31 c30) + (free c31 c31) + (free c31 c32) + (free c31 c33) + (free c31 c34) + (free c31 c35) + (free c31 c36) + (free c31 c37) + (free c31 c38) + (free c31 c39) + (free c31 c40) + (free c31 c41) + (free c31 c42) + (free c31 c43) + (free c31 c44) + (free c31 c45) + (free c31 c46) + (free c31 c47) + (free c31 c48) + (free c31 c49) + (free c31 c50) + (free c31 c51) + (free c31 c52) + (free c31 c53) + (free c31 c54) + (free c31 c55) + (free c31 c56) + (free c31 c57) + (free c31 c58) + (free c31 c59) + (free c32 c1) + (free c32 c2) + (free c32 c3) + (free c32 c4) + (free c32 c5) + (free c32 c6) + (free c32 c7) + (free c32 c8) + (free c32 c9) + (free c32 c10) + (free c32 c11) + (free c32 c12) + (free c32 c13) + (free c32 c14) + (free c32 c15) + (free c32 c16) + (free c32 c17) + (free c32 c18) + (free c32 c19) + (free c32 c20) + (free c32 c21) + (free c32 c22) + (free c32 c23) + (free c32 c24) + (free c32 c25) + (free c32 c26) + (free c32 c27) + (free c32 c28) + (free c32 c29) + (free c32 c30) + (free c32 c31) + (free c32 c32) + (free c32 c33) + (free c32 c34) + (free c32 c35) + (free c32 c36) + (free c32 c37) + (free c32 c38) + (free c32 c39) + (free c32 c40) + (free c32 c41) + (free c32 c42) + (free c32 c43) + (free c32 c44) + (free c32 c45) + (free c32 c46) + (free c32 c47) + (free c32 c48) + (free c32 c49) + (free c32 c50) + (free c32 c51) + (free c32 c52) + (free c32 c53) + (free c32 c54) + (free c32 c55) + (free c32 c56) + (free c32 c57) + (free c32 c58) + (free c32 c59) + (free c33 c1) + (free c33 c2) + (free c33 c3) + (free c33 c4) + (free c33 c5) + (free c33 c6) + (free c33 c7) + (free c33 c8) + (free c33 c9) + (free c33 c10) + (free c33 c11) + (free c33 c12) + (free c33 c13) + (free c33 c14) + (free c33 c15) + (free c33 c16) + (free c33 c17) + (free c33 c18) + (free c33 c19) + (free c33 c20) + (free c33 c21) + (free c33 c22) + (free c33 c23) + (free c33 c24) + (free c33 c25) + (free c33 c26) + (free c33 c27) + (free c33 c28) + (free c33 c29) + (free c33 c30) + (free c33 c31) + (free c33 c32) + (free c33 c33) + (free c33 c34) + (free c33 c35) + (free c33 c36) + (free c33 c37) + (free c33 c38) + (free c33 c39) + (free c33 c40) + (free c33 c41) + (free c33 c42) + (free c33 c43) + (free c33 c44) + (free c33 c45) + (free c33 c46) + (free c33 c47) + (free c33 c48) + (free c33 c49) + (free c33 c50) + (free c33 c51) + (free c33 c52) + (free c33 c53) + (free c33 c54) + (free c33 c55) + (free c33 c56) + (free c33 c57) + (free c33 c58) + (free c33 c59) + (free c34 c1) + (free c34 c2) + (free c34 c3) + (free c34 c4) + (free c34 c5) + (free c34 c6) + (free c34 c7) + (free c34 c8) + (free c34 c9) + (free c34 c10) + (free c34 c11) + (free c34 c12) + (free c34 c13) + (free c34 c14) + (free c34 c15) + (free c34 c16) + (free c34 c17) + (free c34 c18) + (free c34 c19) + (free c34 c20) + (free c34 c21) + (free c34 c22) + (free c34 c23) + (free c34 c24) + (free c34 c25) + (free c34 c26) + (free c34 c27) + (free c34 c28) + (free c34 c29) + (free c34 c30) + (free c34 c31) + (free c34 c32) + (free c34 c33) + (free c34 c34) + (free c34 c35) + (free c34 c36) + (free c34 c37) + (free c34 c38) + (free c34 c39) + (free c34 c40) + (free c34 c41) + (free c34 c42) + (free c34 c43) + (free c34 c44) + (free c34 c45) + (free c34 c46) + (free c34 c47) + (free c34 c48) + (free c34 c49) + (free c34 c50) + (free c34 c51) + (free c34 c52) + (free c34 c53) + (free c34 c54) + (free c34 c55) + (free c34 c56) + (free c34 c57) + (free c34 c58) + (free c34 c59) + (free c35 c1) + (free c35 c2) + (free c35 c3) + (free c35 c4) + (free c35 c5) + (free c35 c6) + (free c35 c7) + (free c35 c8) + (free c35 c9) + (free c35 c10) + (free c35 c11) + (free c35 c12) + (free c35 c13) + (free c35 c14) + (free c35 c15) + (free c35 c16) + (free c35 c17) + (free c35 c18) + (free c35 c19) + (free c35 c20) + (free c35 c21) + (free c35 c22) + (free c35 c23) + (free c35 c24) + (free c35 c25) + (free c35 c26) + (free c35 c27) + (free c35 c28) + (free c35 c29) + (free c35 c30) + (free c35 c31) + (free c35 c32) + (free c35 c33) + (free c35 c34) + (free c35 c35) + (free c35 c36) + (free c35 c37) + (free c35 c38) + (free c35 c39) + (free c35 c40) + (free c35 c41) + (free c35 c42) + (free c35 c43) + (free c35 c44) + (free c35 c45) + (free c35 c46) + (free c35 c47) + (free c35 c48) + (free c35 c49) + (free c35 c50) + (free c35 c51) + (free c35 c52) + (free c35 c53) + (free c35 c54) + (free c35 c55) + (free c35 c56) + (free c35 c57) + (free c35 c58) + (free c35 c59) + (free c36 c1) + (free c36 c2) + (free c36 c3) + (free c36 c4) + (free c36 c5) + (free c36 c6) + (free c36 c7) + (free c36 c8) + (free c36 c9) + (free c36 c10) + (free c36 c11) + (free c36 c12) + (free c36 c13) + (free c36 c14) + (free c36 c15) + (free c36 c16) + (free c36 c17) + (free c36 c18) + (free c36 c19) + (free c36 c20) + (free c36 c21) + (free c36 c22) + (free c36 c23) + (free c36 c24) + (free c36 c25) + (free c36 c26) + (free c36 c27) + (free c36 c28) + (free c36 c29) + (free c36 c30) + (free c36 c31) + (free c36 c32) + (free c36 c33) + (free c36 c34) + (free c36 c35) + (free c36 c36) + (free c36 c37) + (free c36 c38) + (free c36 c39) + (free c36 c40) + (free c36 c41) + (free c36 c42) + (free c36 c43) + (free c36 c44) + (free c36 c45) + (free c36 c46) + (free c36 c47) + (free c36 c48) + (free c36 c49) + (free c36 c50) + (free c36 c51) + (free c36 c52) + (free c36 c53) + (free c36 c54) + (free c36 c55) + (free c36 c56) + (free c36 c57) + (free c36 c58) + (free c36 c59) + (free c37 c1) + (free c37 c2) + (free c37 c3) + (free c37 c4) + (free c37 c5) + (free c37 c6) + (free c37 c7) + (free c37 c8) + (free c37 c9) + (free c37 c10) + (free c37 c11) + (free c37 c12) + (free c37 c13) + (free c37 c14) + (free c37 c15) + (free c37 c16) + (free c37 c17) + (free c37 c18) + (free c37 c19) + (free c37 c20) + (free c37 c21) + (free c37 c22) + (free c37 c23) + (free c37 c24) + (free c37 c25) + (free c37 c26) + (free c37 c27) + (free c37 c28) + (free c37 c29) + (free c37 c30) + (free c37 c31) + (free c37 c32) + (free c37 c33) + (free c37 c34) + (free c37 c35) + (free c37 c36) + (free c37 c37) + (free c37 c38) + (free c37 c39) + (free c37 c40) + (free c37 c41) + (free c37 c42) + (free c37 c43) + (free c37 c44) + (free c37 c45) + (free c37 c46) + (free c37 c47) + (free c37 c48) + (free c37 c49) + (free c37 c50) + (free c37 c51) + (free c37 c52) + (free c37 c53) + (free c37 c54) + (free c37 c55) + (free c37 c56) + (free c37 c57) + (free c37 c58) + (free c37 c59) + (free c38 c1) + (free c38 c2) + (free c38 c3) + (free c38 c4) + (free c38 c5) + (free c38 c6) + (free c38 c7) + (free c38 c8) + (free c38 c9) + (free c38 c10) + (free c38 c11) + (free c38 c12) + (free c38 c13) + (free c38 c14) + (free c38 c15) + (free c38 c16) + (free c38 c17) + (free c38 c18) + (free c38 c19) + (free c38 c20) + (free c38 c21) + (free c38 c22) + (free c38 c23) + (free c38 c24) + (free c38 c25) + (free c38 c26) + (free c38 c27) + (free c38 c28) + (free c38 c29) + (free c38 c30) + (free c38 c31) + (free c38 c32) + (free c38 c33) + (free c38 c34) + (free c38 c35) + (free c38 c36) + (free c38 c37) + (free c38 c38) + (free c38 c39) + (free c38 c40) + (free c38 c41) + (free c38 c42) + (free c38 c43) + (free c38 c44) + (free c38 c45) + (free c38 c46) + (free c38 c47) + (free c38 c48) + (free c38 c49) + (free c38 c50) + (free c38 c51) + (free c38 c52) + (free c38 c53) + (free c38 c54) + (free c38 c55) + (free c38 c56) + (free c38 c57) + (free c38 c58) + (free c38 c59) + (free c39 c1) + (free c39 c2) + (free c39 c3) + (free c39 c4) + (free c39 c5) + (free c39 c6) + (free c39 c7) + (free c39 c8) + (free c39 c9) + (free c39 c10) + (free c39 c11) + (free c39 c12) + (free c39 c13) + (free c39 c14) + (free c39 c15) + (free c39 c16) + (free c39 c17) + (free c39 c18) + (free c39 c19) + (free c39 c20) + (free c39 c21) + (free c39 c22) + (free c39 c23) + (free c39 c24) + (free c39 c25) + (free c39 c26) + (free c39 c27) + (free c39 c28) + (free c39 c29) + (free c39 c30) + (free c39 c31) + (free c39 c32) + (free c39 c33) + (free c39 c34) + (free c39 c35) + (free c39 c36) + (free c39 c37) + (free c39 c38) + (free c39 c39) + (free c39 c40) + (free c39 c41) + (free c39 c42) + (free c39 c43) + (free c39 c44) + (free c39 c45) + (free c39 c46) + (free c39 c47) + (free c39 c48) + (free c39 c49) + (free c39 c50) + (free c39 c51) + (free c39 c52) + (free c39 c53) + (free c39 c54) + (free c39 c55) + (free c39 c56) + (free c39 c57) + (free c39 c58) + (free c39 c59) + (free c40 c1) + (free c40 c2) + (free c40 c3) + (free c40 c4) + (free c40 c5) + (free c40 c6) + (free c40 c7) + (free c40 c8) + (free c40 c9) + (free c40 c10) + (free c40 c11) + (free c40 c12) + (free c40 c13) + (free c40 c14) + (free c40 c15) + (free c40 c16) + (free c40 c17) + (free c40 c18) + (free c40 c19) + (free c40 c20) + (free c40 c21) + (free c40 c22) + (free c40 c23) + (free c40 c24) + (free c40 c25) + (free c40 c26) + (free c40 c27) + (free c40 c28) + (free c40 c29) + (free c40 c30) + (free c40 c31) + (free c40 c32) + (free c40 c33) + (free c40 c34) + (free c40 c35) + (free c40 c36) + (free c40 c37) + (free c40 c38) + (free c40 c39) + (free c40 c40) + (free c40 c41) + (free c40 c42) + (free c40 c43) + (free c40 c44) + (free c40 c45) + (free c40 c46) + (free c40 c47) + (free c40 c48) + (free c40 c49) + (free c40 c50) + (free c40 c51) + (free c40 c52) + (free c40 c53) + (free c40 c54) + (free c40 c55) + (free c40 c56) + (free c40 c57) + (free c40 c58) + (free c40 c59) + (free c41 c1) + (free c41 c2) + (free c41 c3) + (free c41 c4) + (free c41 c5) + (free c41 c6) + (free c41 c7) + (free c41 c8) + (free c41 c9) + (free c41 c10) + (free c41 c11) + (free c41 c12) + (free c41 c13) + (free c41 c14) + (free c41 c15) + (free c41 c16) + (free c41 c17) + (free c41 c18) + (free c41 c19) + (free c41 c20) + (free c41 c21) + (free c41 c22) + (free c41 c23) + (free c41 c24) + (free c41 c25) + (free c41 c26) + (free c41 c27) + (free c41 c28) + (free c41 c29) + (free c41 c30) + (free c41 c31) + (free c41 c32) + (free c41 c33) + (free c41 c34) + (free c41 c35) + (free c41 c36) + (free c41 c37) + (free c41 c38) + (free c41 c39) + (free c41 c40) + (free c41 c41) + (free c41 c42) + (free c41 c43) + (free c41 c44) + (free c41 c45) + (free c41 c46) + (free c41 c47) + (free c41 c48) + (free c41 c49) + (free c41 c50) + (free c41 c51) + (free c41 c52) + (free c41 c53) + (free c41 c54) + (free c41 c55) + (free c41 c56) + (free c41 c57) + (free c41 c58) + (free c41 c59) + (free c42 c1) + (free c42 c2) + (free c42 c3) + (free c42 c4) + (free c42 c5) + (free c42 c6) + (free c42 c7) + (free c42 c8) + (free c42 c9) + (free c42 c10) + (free c42 c11) + (free c42 c12) + (free c42 c13) + (free c42 c14) + (free c42 c15) + (free c42 c16) + (free c42 c17) + (free c42 c18) + (free c42 c19) + (free c42 c20) + (free c42 c21) + (free c42 c22) + (free c42 c23) + (free c42 c24) + (free c42 c25) + (free c42 c26) + (free c42 c27) + (free c42 c28) + (free c42 c29) + (free c42 c30) + (free c42 c31) + (free c42 c32) + (free c42 c33) + (free c42 c34) + (free c42 c35) + (free c42 c36) + (free c42 c37) + (free c42 c38) + (free c42 c39) + (free c42 c40) + (free c42 c41) + (free c42 c42) + (free c42 c43) + (free c42 c44) + (free c42 c45) + (free c42 c46) + (free c42 c47) + (free c42 c48) + (free c42 c49) + (free c42 c50) + (free c42 c51) + (free c42 c52) + (free c42 c53) + (free c42 c54) + (free c42 c55) + (free c42 c56) + (free c42 c57) + (free c42 c58) + (free c42 c59) + (free c43 c1) + (free c43 c2) + (free c43 c3) + (free c43 c4) + (free c43 c5) + (free c43 c6) + (free c43 c7) + (free c43 c8) + (free c43 c9) + (free c43 c10) + (free c43 c11) + (free c43 c12) + (free c43 c13) + (free c43 c14) + (free c43 c15) + (free c43 c16) + (free c43 c17) + (free c43 c18) + (free c43 c19) + (free c43 c20) + (free c43 c21) + (free c43 c22) + (free c43 c23) + (free c43 c24) + (free c43 c25) + (free c43 c26) + (free c43 c27) + (free c43 c28) + (free c43 c29) + (free c43 c30) + (free c43 c31) + (free c43 c32) + (free c43 c33) + (free c43 c34) + (free c43 c35) + (free c43 c36) + (free c43 c37) + (free c43 c38) + (free c43 c39) + (free c43 c40) + (free c43 c41) + (free c43 c42) + (free c43 c43) + (free c43 c44) + (free c43 c45) + (free c43 c46) + (free c43 c47) + (free c43 c48) + (free c43 c49) + (free c43 c50) + (free c43 c51) + (free c43 c52) + (free c43 c53) + (free c43 c54) + (free c43 c55) + (free c43 c56) + (free c43 c57) + (free c43 c58) + (free c43 c59) + (free c44 c1) + (free c44 c2) + (free c44 c3) + (free c44 c4) + (free c44 c5) + (free c44 c6) + (free c44 c7) + (free c44 c8) + (free c44 c9) + (free c44 c10) + (free c44 c11) + (free c44 c12) + (free c44 c13) + (free c44 c14) + (free c44 c15) + (free c44 c16) + (free c44 c17) + (free c44 c18) + (free c44 c19) + (free c44 c20) + (free c44 c21) + (free c44 c22) + (free c44 c23) + (free c44 c24) + (free c44 c25) + (free c44 c26) + (free c44 c27) + (free c44 c28) + (free c44 c29) + (free c44 c30) + (free c44 c31) + (free c44 c32) + (free c44 c33) + (free c44 c34) + (free c44 c35) + (free c44 c36) + (free c44 c37) + (free c44 c38) + (free c44 c39) + (free c44 c40) + (free c44 c41) + (free c44 c42) + (free c44 c43) + (free c44 c44) + (free c44 c45) + (free c44 c46) + (free c44 c47) + (free c44 c48) + (free c44 c49) + (free c44 c50) + (free c44 c51) + (free c44 c52) + (free c44 c53) + (free c44 c54) + (free c44 c55) + (free c44 c56) + (free c44 c57) + (free c44 c58) + (free c44 c59) + (free c45 c1) + (free c45 c2) + (free c45 c3) + (free c45 c4) + (free c45 c5) + (free c45 c6) + (free c45 c7) + (free c45 c8) + (free c45 c9) + (free c45 c10) + (free c45 c11) + (free c45 c12) + (free c45 c13) + (free c45 c14) + (free c45 c15) + (free c45 c16) + (free c45 c17) + (free c45 c18) + (free c45 c19) + (free c45 c20) + (free c45 c21) + (free c45 c22) + (free c45 c23) + (free c45 c24) + (free c45 c25) + (free c45 c26) + (free c45 c27) + (free c45 c28) + (free c45 c29) + (free c45 c30) + (free c45 c31) + (free c45 c32) + (free c45 c33) + (free c45 c34) + (free c45 c35) + (free c45 c36) + (free c45 c37) + (free c45 c38) + (free c45 c39) + (free c45 c40) + (free c45 c41) + (free c45 c42) + (free c45 c43) + (free c45 c44) + (free c45 c45) + (free c45 c46) + (free c45 c47) + (free c45 c48) + (free c45 c49) + (free c45 c50) + (free c45 c51) + (free c45 c52) + (free c45 c53) + (free c45 c54) + (free c45 c55) + (free c45 c56) + (free c45 c57) + (free c45 c58) + (free c45 c59) + (free c46 c1) + (free c46 c2) + (free c46 c3) + (free c46 c4) + (free c46 c5) + (free c46 c6) + (free c46 c7) + (free c46 c8) + (free c46 c9) + (free c46 c10) + (free c46 c11) + (free c46 c12) + (free c46 c13) + (free c46 c14) + (free c46 c15) + (free c46 c16) + (free c46 c17) + (free c46 c18) + (free c46 c19) + (free c46 c20) + (free c46 c21) + (free c46 c22) + (free c46 c23) + (free c46 c24) + (free c46 c25) + (free c46 c26) + (free c46 c27) + (free c46 c28) + (free c46 c29) + (free c46 c30) + (free c46 c31) + (free c46 c32) + (free c46 c33) + (free c46 c34) + (free c46 c35) + (free c46 c36) + (free c46 c37) + (free c46 c38) + (free c46 c39) + (free c46 c40) + (free c46 c41) + (free c46 c42) + (free c46 c43) + (free c46 c44) + (free c46 c45) + (free c46 c46) + (free c46 c47) + (free c46 c48) + (free c46 c49) + (free c46 c50) + (free c46 c51) + (free c46 c52) + (free c46 c53) + (free c46 c54) + (free c46 c55) + (free c46 c56) + (free c46 c57) + (free c46 c58) + (free c46 c59) + (free c47 c1) + (free c47 c2) + (free c47 c3) + (free c47 c4) + (free c47 c5) + (free c47 c6) + (free c47 c7) + (free c47 c8) + (free c47 c9) + (free c47 c10) + (free c47 c11) + (free c47 c12) + (free c47 c13) + (free c47 c14) + (free c47 c15) + (free c47 c16) + (free c47 c17) + (free c47 c18) + (free c47 c19) + (free c47 c20) + (free c47 c21) + (free c47 c22) + (free c47 c23) + (free c47 c24) + (free c47 c25) + (free c47 c26) + (free c47 c27) + (free c47 c28) + (free c47 c29) + (free c47 c30) + (free c47 c31) + (free c47 c32) + (free c47 c33) + (free c47 c34) + (free c47 c35) + (free c47 c36) + (free c47 c37) + (free c47 c38) + (free c47 c39) + (free c47 c40) + (free c47 c41) + (free c47 c42) + (free c47 c43) + (free c47 c44) + (free c47 c45) + (free c47 c46) + (free c47 c47) + (free c47 c48) + (free c47 c49) + (free c47 c50) + (free c47 c51) + (free c47 c52) + (free c47 c53) + (free c47 c54) + (free c47 c55) + (free c47 c56) + (free c47 c57) + (free c47 c58) + (free c47 c59) + (free c48 c1) + (free c48 c2) + (free c48 c3) + (free c48 c4) + (free c48 c5) + (free c48 c6) + (free c48 c7) + (free c48 c8) + (free c48 c9) + (free c48 c10) + (free c48 c11) + (free c48 c12) + (free c48 c13) + (free c48 c14) + (free c48 c15) + (free c48 c16) + (free c48 c17) + (free c48 c18) + (free c48 c19) + (free c48 c20) + (free c48 c21) + (free c48 c22) + (free c48 c23) + (free c48 c24) + (free c48 c25) + (free c48 c26) + (free c48 c27) + (free c48 c28) + (free c48 c29) + (free c48 c30) + (free c48 c31) + (free c48 c32) + (free c48 c33) + (free c48 c34) + (free c48 c35) + (free c48 c36) + (free c48 c37) + (free c48 c38) + (free c48 c39) + (free c48 c40) + (free c48 c41) + (free c48 c42) + (free c48 c43) + (free c48 c44) + (free c48 c45) + (free c48 c46) + (free c48 c47) + (free c48 c48) + (free c48 c49) + (free c48 c50) + (free c48 c51) + (free c48 c52) + (free c48 c53) + (free c48 c54) + (free c48 c55) + (free c48 c56) + (free c48 c57) + (free c48 c58) + (free c48 c59) + (free c49 c1) + (free c49 c2) + (free c49 c3) + (free c49 c4) + (free c49 c5) + (free c49 c6) + (free c49 c7) + (free c49 c8) + (free c49 c9) + (free c49 c10) + (free c49 c11) + (free c49 c12) + (free c49 c13) + (free c49 c14) + (free c49 c15) + (free c49 c16) + (free c49 c17) + (free c49 c18) + (free c49 c19) + (free c49 c20) + (free c49 c21) + (free c49 c22) + (free c49 c23) + (free c49 c24) + (free c49 c25) + (free c49 c26) + (free c49 c27) + (free c49 c28) + (free c49 c29) + (free c49 c30) + (free c49 c31) + (free c49 c32) + (free c49 c33) + (free c49 c34) + (free c49 c35) + (free c49 c36) + (free c49 c37) + (free c49 c38) + (free c49 c39) + (free c49 c40) + (free c49 c41) + (free c49 c42) + (free c49 c43) + (free c49 c44) + (free c49 c45) + (free c49 c46) + (free c49 c47) + (free c49 c48) + (free c49 c49) + (free c49 c50) + (free c49 c51) + (free c49 c52) + (free c49 c53) + (free c49 c54) + (free c49 c55) + (free c49 c56) + (free c49 c57) + (free c49 c58) + (free c49 c59) + (free c50 c1) + (free c50 c2) + (free c50 c3) + (free c50 c4) + (free c50 c5) + (free c50 c6) + (free c50 c7) + (free c50 c8) + (free c50 c9) + (free c50 c10) + (free c50 c11) + (free c50 c12) + (free c50 c13) + (free c50 c14) + (free c50 c15) + (free c50 c16) + (free c50 c17) + (free c50 c18) + (free c50 c19) + (free c50 c20) + (free c50 c21) + (free c50 c22) + (free c50 c23) + (free c50 c24) + (free c50 c25) + (free c50 c26) + (free c50 c27) + (free c50 c28) + (free c50 c29) + (free c50 c30) + (free c50 c31) + (free c50 c32) + (free c50 c33) + (free c50 c34) + (free c50 c35) + (free c50 c36) + (free c50 c37) + (free c50 c38) + (free c50 c39) + (free c50 c40) + (free c50 c41) + (free c50 c42) + (free c50 c43) + (free c50 c44) + (free c50 c45) + (free c50 c46) + (free c50 c47) + (free c50 c48) + (free c50 c49) + (free c50 c50) + (free c50 c51) + (free c50 c52) + (free c50 c53) + (free c50 c54) + (free c50 c55) + (free c50 c56) + (free c50 c57) + (free c50 c58) + (free c50 c59) + (free c51 c1) + (free c51 c2) + (free c51 c3) + (free c51 c4) + (free c51 c5) + (free c51 c6) + (free c51 c7) + (free c51 c8) + (free c51 c9) + (free c51 c10) + (free c51 c11) + (free c51 c12) + (free c51 c13) + (free c51 c14) + (free c51 c15) + (free c51 c16) + (free c51 c17) + (free c51 c18) + (free c51 c19) + (free c51 c20) + (free c51 c21) + (free c51 c22) + (free c51 c23) + (free c51 c24) + (free c51 c25) + (free c51 c26) + (free c51 c27) + (free c51 c28) + (free c51 c29) + (free c51 c30) + (free c51 c31) + (free c51 c32) + (free c51 c33) + (free c51 c34) + (free c51 c35) + (free c51 c36) + (free c51 c37) + (free c51 c38) + (free c51 c39) + (free c51 c40) + (free c51 c41) + (free c51 c42) + (free c51 c43) + (free c51 c44) + (free c51 c45) + (free c51 c46) + (free c51 c47) + (free c51 c48) + (free c51 c49) + (free c51 c50) + (free c51 c51) + (free c51 c52) + (free c51 c53) + (free c51 c54) + (free c51 c55) + (free c51 c56) + (free c51 c57) + (free c51 c58) + (free c51 c59) + (free c52 c1) + (free c52 c2) + (free c52 c3) + (free c52 c4) + (free c52 c5) + (free c52 c6) + (free c52 c7) + (free c52 c8) + (free c52 c9) + (free c52 c10) + (free c52 c11) + (free c52 c12) + (free c52 c13) + (free c52 c14) + (free c52 c15) + (free c52 c16) + (free c52 c17) + (free c52 c18) + (free c52 c19) + (free c52 c20) + (free c52 c21) + (free c52 c22) + (free c52 c23) + (free c52 c24) + (free c52 c25) + (free c52 c26) + (free c52 c27) + (free c52 c28) + (free c52 c29) + (free c52 c30) + (free c52 c31) + (free c52 c32) + (free c52 c33) + (free c52 c34) + (free c52 c35) + (free c52 c36) + (free c52 c37) + (free c52 c38) + (free c52 c39) + (free c52 c40) + (free c52 c41) + (free c52 c42) + (free c52 c43) + (free c52 c44) + (free c52 c45) + (free c52 c46) + (free c52 c47) + (free c52 c48) + (free c52 c49) + (free c52 c50) + (free c52 c51) + (free c52 c52) + (free c52 c53) + (free c52 c54) + (free c52 c55) + (free c52 c56) + (free c52 c57) + (free c52 c58) + (free c52 c59) + (free c53 c1) + (free c53 c2) + (free c53 c3) + (free c53 c4) + (free c53 c5) + (free c53 c6) + (free c53 c7) + (free c53 c8) + (free c53 c9) + (free c53 c10) + (free c53 c11) + (free c53 c12) + (free c53 c13) + (free c53 c14) + (free c53 c15) + (free c53 c16) + (free c53 c17) + (free c53 c18) + (free c53 c19) + (free c53 c20) + (free c53 c21) + (free c53 c22) + (free c53 c23) + (free c53 c24) + (free c53 c25) + (free c53 c26) + (free c53 c27) + (free c53 c28) + (free c53 c29) + (free c53 c30) + (free c53 c31) + (free c53 c32) + (free c53 c33) + (free c53 c34) + (free c53 c35) + (free c53 c36) + (free c53 c37) + (free c53 c38) + (free c53 c39) + (free c53 c40) + (free c53 c41) + (free c53 c42) + (free c53 c43) + (free c53 c44) + (free c53 c45) + (free c53 c46) + (free c53 c47) + (free c53 c48) + (free c53 c49) + (free c53 c50) + (free c53 c51) + (free c53 c52) + (free c53 c53) + (free c53 c54) + (free c53 c55) + (free c53 c56) + (free c53 c57) + (free c53 c58) + (free c53 c59) + (free c54 c1) + (free c54 c2) + (free c54 c3) + (free c54 c4) + (free c54 c5) + (free c54 c6) + (free c54 c7) + (free c54 c8) + (free c54 c9) + (free c54 c10) + (free c54 c11) + (free c54 c12) + (free c54 c13) + (free c54 c14) + (free c54 c15) + (free c54 c16) + (free c54 c17) + (free c54 c18) + (free c54 c19) + (free c54 c20) + (free c54 c21) + (free c54 c22) + (free c54 c23) + (free c54 c24) + (free c54 c25) + (free c54 c26) + (free c54 c27) + (free c54 c28) + (free c54 c29) + (free c54 c30) + (free c54 c31) + (free c54 c32) + (free c54 c33) + (free c54 c34) + (free c54 c35) + (free c54 c36) + (free c54 c37) + (free c54 c38) + (free c54 c39) + (free c54 c40) + (free c54 c41) + (free c54 c42) + (free c54 c43) + (free c54 c44) + (free c54 c45) + (free c54 c46) + (free c54 c47) + (free c54 c48) + (free c54 c49) + (free c54 c50) + (free c54 c51) + (free c54 c52) + (free c54 c53) + (free c54 c54) + (free c54 c55) + (free c54 c56) + (free c54 c57) + (free c54 c58) + (free c54 c59) + (free c55 c1) + (free c55 c2) + (free c55 c3) + (free c55 c4) + (free c55 c5) + (free c55 c6) + (free c55 c7) + (free c55 c8) + (free c55 c9) + (free c55 c10) + (free c55 c11) + (free c55 c12) + (free c55 c13) + (free c55 c14) + (free c55 c15) + (free c55 c16) + (free c55 c17) + (free c55 c18) + (free c55 c19) + (free c55 c20) + (free c55 c21) + (free c55 c22) + (free c55 c23) + (free c55 c24) + (free c55 c25) + (free c55 c26) + (free c55 c27) + (free c55 c28) + (free c55 c29) + (free c55 c30) + (free c55 c31) + (free c55 c32) + (free c55 c33) + (free c55 c34) + (free c55 c35) + (free c55 c36) + (free c55 c37) + (free c55 c38) + (free c55 c39) + (free c55 c40) + (free c55 c41) + (free c55 c42) + (free c55 c43) + (free c55 c44) + (free c55 c45) + (free c55 c46) + (free c55 c47) + (free c55 c48) + (free c55 c49) + (free c55 c50) + (free c55 c51) + (free c55 c52) + (free c55 c53) + (free c55 c54) + (free c55 c55) + (free c55 c56) + (free c55 c57) + (free c55 c58) + (free c55 c59) + (free c56 c1) + (free c56 c2) + (free c56 c3) + (free c56 c4) + (free c56 c5) + (free c56 c6) + (free c56 c7) + (free c56 c8) + (free c56 c9) + (free c56 c10) + (free c56 c11) + (free c56 c12) + (free c56 c13) + (free c56 c14) + (free c56 c15) + (free c56 c16) + (free c56 c17) + (free c56 c18) + (free c56 c19) + (free c56 c20) + (free c56 c21) + (free c56 c22) + (free c56 c23) + (free c56 c24) + (free c56 c25) + (free c56 c26) + (free c56 c27) + (free c56 c28) + (free c56 c29) + (free c56 c30) + (free c56 c31) + (free c56 c32) + (free c56 c33) + (free c56 c34) + (free c56 c35) + (free c56 c36) + (free c56 c37) + (free c56 c38) + (free c56 c39) + (free c56 c40) + (free c56 c41) + (free c56 c42) + (free c56 c43) + (free c56 c44) + (free c56 c45) + (free c56 c46) + (free c56 c47) + (free c56 c48) + (free c56 c49) + (free c56 c50) + (free c56 c51) + (free c56 c52) + (free c56 c53) + (free c56 c54) + (free c56 c55) + (free c56 c56) + (free c56 c57) + (free c56 c58) + (free c56 c59) + (free c57 c1) + (free c57 c2) + (free c57 c3) + (free c57 c4) + (free c57 c5) + (free c57 c6) + (free c57 c7) + (free c57 c8) + (free c57 c9) + (free c57 c10) + (free c57 c11) + (free c57 c12) + (free c57 c13) + (free c57 c14) + (free c57 c15) + (free c57 c16) + (free c57 c17) + (free c57 c18) + (free c57 c19) + (free c57 c20) + (free c57 c21) + (free c57 c22) + (free c57 c23) + (free c57 c24) + (free c57 c25) + (free c57 c26) + (free c57 c27) + (free c57 c28) + (free c57 c29) + (free c57 c30) + (free c57 c31) + (free c57 c32) + (free c57 c33) + (free c57 c34) + (free c57 c35) + (free c57 c36) + (free c57 c37) + (free c57 c38) + (free c57 c39) + (free c57 c40) + (free c57 c41) + (free c57 c42) + (free c57 c43) + (free c57 c44) + (free c57 c45) + (free c57 c46) + (free c57 c47) + (free c57 c48) + (free c57 c49) + (free c57 c50) + (free c57 c51) + (free c57 c52) + (free c57 c53) + (free c57 c54) + (free c57 c55) + (free c57 c56) + (free c57 c57) + (free c57 c58) + (free c57 c59) + (free c58 c1) + (free c58 c2) + (free c58 c3) + (free c58 c4) + (free c58 c5) + (free c58 c6) + (free c58 c7) + (free c58 c8) + (free c58 c9) + (free c58 c10) + (free c58 c11) + (free c58 c12) + (free c58 c13) + (free c58 c14) + (free c58 c15) + (free c58 c16) + (free c58 c17) + (free c58 c18) + (free c58 c19) + (free c58 c20) + (free c58 c21) + (free c58 c22) + (free c58 c23) + (free c58 c24) + (free c58 c25) + (free c58 c26) + (free c58 c27) + (free c58 c28) + (free c58 c29) + (free c58 c30) + (free c58 c31) + (free c58 c32) + (free c58 c33) + (free c58 c34) + (free c58 c35) + (free c58 c36) + (free c58 c37) + (free c58 c38) + (free c58 c39) + (free c58 c40) + (free c58 c41) + (free c58 c42) + (free c58 c43) + (free c58 c44) + (free c58 c45) + (free c58 c46) + (free c58 c47) + (free c58 c48) + (free c58 c49) + (free c58 c50) + (free c58 c51) + (free c58 c52) + (free c58 c53) + (free c58 c54) + (free c58 c55) + (free c58 c56) + (free c58 c57) + (free c58 c58) + (free c58 c59) + (free c59 c1) + (free c59 c2) + (free c59 c3) + (free c59 c4) + (free c59 c5) + (free c59 c6) + (free c59 c7) + (free c59 c8) + (free c59 c9) + (free c59 c10) + (free c59 c11) + (free c59 c12) + (free c59 c13) + (free c59 c14) + (free c59 c15) + (free c59 c16) + (free c59 c17) + (free c59 c18) + (free c59 c19) + (free c59 c20) + (free c59 c21) + (free c59 c22) + (free c59 c23) + (free c59 c24) + (free c59 c25) + (free c59 c26) + (free c59 c27) + (free c59 c28) + (free c59 c29) + (free c59 c30) + (free c59 c31) + (free c59 c32) + (free c59 c33) + (free c59 c34) + (free c59 c35) + (free c59 c36) + (free c59 c37) + (free c59 c38) + (free c59 c39) + (free c59 c40) + (free c59 c41) + (free c59 c42) + (free c59 c43) + (free c59 c44) + (free c59 c45) + (free c59 c46) + (free c59 c47) + (free c59 c48) + (free c59 c49) + (free c59 c50) + (free c59 c51) + (free c59 c52) + (free c59 c53) + (free c59 c54) + (free c59 c55) + (free c59 c56) + (free c59 c57) + (free c59 c58) + (free c59 c59) + + (= (total-cost) 0) + (= (rotate-cost) 1) + (= (update-cost) 0) +) +(:goal + (and + (at n1 c30 c30) + (at n2 c31 c30) + (at n3 c31 c29) + (at n4 c30 c29) + (at n5 c29 c29) + (at n6 c28 c29) + (at n7 c27 c29) + (at n8 c26 c29) + (at n9 c25 c29) + (at n10 c24 c29) + (at n11 c23 c29) + (at n12 c22 c29) + (at n13 c22 c30) + (at n14 c22 c31) + (at n15 c22 c32) + (at n16 c22 c33) + (at n17 c23 c33) + (at n18 c24 c33) + (at n19 c25 c33) + (at n20 c26 c33) + (at n21 c27 c33) + (at n22 c28 c33) + (at n23 c28 c32) + (at n24 c28 c31) + (at n25 c28 c30) + (at n26 c27 c30) + (at n27 c26 c30) + (at n28 c26 c31) + (at n29 c26 c32) + (at n30 c27 c32) + (not (rotating)) + ) +) +(:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/domain.pddl b/labyrinth-opt23-adl/domain.pddl new file mode 100644 index 00000000..602254b9 --- /dev/null +++ b/labyrinth-opt23-adl/domain.pddl @@ -0,0 +1,478 @@ +(define (domain labyrinth) +(:requirements :adl :action-costs) + +(:types + ;; card with 2 to 4 paths + card - object + direction - object + ;; vertical direction: N S + directionV - direction + ;; horizontal directions: W E + directionH - direction + ;; values for positions of the card in the grid + gridpos - object +) + +(:constants + S N - directionV + W E - directionH +) + +(:predicates + ;; ordering of values for grid positions ?p1 = ?p2 + 1 + (NEXT ?p1 - gridpos ?p2 - gridpos) + ;; maximal grid index + (MAX-POS ?p - gridpos) + ;; minimal grid index + (MIN-POS ?p - gridpos) + ;; moving from ?c in direction ?d is blocked by a wall + (BLOCKED ?c - card ?d - direction) + ;; robot is located on card ?c + (robot-at ?c - card) + ;; card ?c is positioned in the grid at ?x ?y + (card-at ?c - card ?x - gridpos ?y - gridpos) + ;; flag indicating that the robot left the maze e.i. that the goal has been reached + (left) + + ;; flag to indicate that a card is currently moving an the robot cannot move + (cards-moving) + ;; flags to indicate that a row/column is rotating in the corresponding direction + (cards-moving-west) + (cards-moving-east) + (cards-moving-south) + (cards-moving-north) + ;; the card whose position needs to be updated next while rotating + (next-moving-card ?c - card) + ;; the card that was removed to rotate and which needs to be placed at the beginning/end of the row/column + (new-headtail-card ?c - card) + +) + +(:functions + (total-cost) - number + (move-robot-cost) - number + (move-card) - number +) + +;; moves the robot between to cards +(:action move-west + :parameters (?cfrom - card ?xfrom - gridpos ?yfrom - gridpos ?dfrom - directionH ?cto - card ?xto - gridpos ?yto - gridpos ?dto - directionH) + :precondition + (and + (not (cards-moving)) + (= ?dfrom w) + (robot-at ?cfrom) + (card-at ?cfrom ?xfrom ?yfrom) + (card-at ?cto ?xto ?yto) + (next ?xfrom ?xto) + (= ?yfrom ?yto) + (not (= ?dfrom ?dto)) + (not (blocked ?cfrom ?dfrom)) + (not (blocked ?cto ?dto)) + ) + :effect + (and + (not (robot-at ?cfrom)) + (robot-at ?cto) + (increase (total-cost) (move-robot-cost)) + ) +) + +(:action move-east + :parameters (?cfrom - card ?xfrom - gridpos ?yfrom - gridpos ?dfrom - directionH ?cto - card ?xto - gridpos ?yto - gridpos ?dto - directionH) + :precondition + (and + (not (cards-moving)) + (= ?dfrom e) + (robot-at ?cfrom) + (card-at ?cfrom ?xfrom ?yfrom) + (card-at ?cto ?xto ?yto) + (next ?xto ?xfrom) + (= ?yfrom ?yto) + (not (= ?dfrom ?dto)) + (not (blocked ?cfrom ?dfrom)) + (not (blocked ?cto ?dto)) + ) + :effect + (and + (not (robot-at ?cfrom)) + (robot-at ?cto) + (increase (total-cost) (move-robot-cost)) + ) +) + +(:action move-north + :parameters (?cfrom - card ?xfrom - gridpos ?yfrom - gridpos ?dfrom - directionV ?cto - card ?xto - gridpos ?yto - gridpos ?dto - directionV) + :precondition + (and + (not (cards-moving)) + (= ?dfrom n) + (robot-at ?cfrom) + (card-at ?cfrom ?xfrom ?yfrom) + (card-at ?cto ?xto ?yto) + (next ?yfrom ?yto) + (= ?xfrom ?xto) + (not (= ?dfrom ?dto)) + (not (blocked ?cfrom ?dfrom)) + (not (blocked ?cto ?dto)) + ) + :effect + (and + (not (robot-at ?cfrom)) + (robot-at ?cto) + (increase (total-cost) (move-robot-cost)) + ) +) + +(:action move-south + :parameters (?cfrom - card ?xfrom - gridpos ?yfrom - gridpos ?dfrom - directionV ?cto - card ?xto - gridpos ?yto - gridpos ?dto - directionV) + :precondition + (and + (not (cards-moving)) + (= ?dfrom s) + (robot-at ?cfrom) + (card-at ?cfrom ?xfrom ?yfrom) + (card-at ?cto ?xto ?yto) + (next ?yto ?yfrom) + (= ?xfrom ?xto) + (not (= ?dfrom ?dto)) + (not (blocked ?cfrom ?dfrom)) + (not (blocked ?cto ?dto)) + ) + :effect + (and + (not (robot-at ?cfrom)) + (robot-at ?cto) + (increase (total-cost) (move-robot-cost)) + ) +) + + +;; there 3 (start, move, stop) for each direction to rotate the cards +;; rotating ends in a deadend if the card with the robot in the row/column that is rotated +;; ---------------------------------------------------------------------------------------- + +;; starts rotation +;; saves the card with the minimal index +;; determines which card should be updated next the corresponding move action +;; and makes all other actions inapplicable by setting cards-moving and cards-moving-west +(:action start-move-card-west +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nextx - gridpos) +:precondition + (and + (not (cards-moving)) + (not (cards-moving-west)) + (not (robot-at ?cm)) + (card-at ?cm ?x ?y ) + (min-pos ?x) + (card-at ?cnext ?nextx ?y) + (next ?nextx ?x) + ) +:effect + (and + (cards-moving) + (cards-moving-west) + (not (card-at ?cm ?x ?y )) + (new-headtail-card ?cm) + (next-moving-card ?cnext) + (increase (total-cost) (move-card)) + ) +) + +;; updates the grid column index of ?cm which is the next card to update +(:action move-card-west +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nextx - gridpos ?prevx - gridpos) +:precondition + (and + (cards-moving) + (cards-moving-west) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (card-at ?cnext ?nextx ?y) + (next ?x ?prevx) + (next ?nextx ?x) + ) +:effect + (and + (cards-moving) + (cards-moving-west) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?prevx ?y) + (not (next-moving-card ?cm)) + (next-moving-card ?cnext) + ) +) + +;; stops rotation +;; updates the grid index of the card specified by the start move action in new-headtail-card +(:action stop-move-card-west +:parameters(?cm - card ?x - gridpos ?y - gridpos ?prevx - gridpos ?newtc - card) +:precondition + (and + (cards-moving) + (cards-moving-west) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (next ?x ?prevx) + (max-pos ?x) + (new-headtail-card ?newtc) + ) +:effect + (and + (not (cards-moving)) + (not (cards-moving-west)) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?prevx ?y) + (card-at ?newtc ?x ?y) + (not (new-headtail-card ?newtc)) + (not (next-moving-card ?cm)) + ) +) + + +;; ---------------------------------------------------------------------------------------- + +(:action start-move-card-east +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nextx - gridpos) +:precondition + (and + (not (cards-moving)) + (not (cards-moving-east)) + (not (robot-at ?cm)) + (card-at ?cm ?x ?y ) + (max-pos ?x) + (card-at ?cnext ?nextx ?y) + (next ?x ?nextx) + ) +:effect + (and + (cards-moving) + (cards-moving-east) + (not (card-at ?cm ?x ?y )) + (new-headtail-card ?cm) + (next-moving-card ?cnext) + (increase (total-cost) (move-card)) + ) +) + +(:action move-card-east +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nextx - gridpos ?prevx - gridpos) +:precondition + (and + (cards-moving) + (cards-moving-east) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (card-at ?cnext ?nextx ?y) + (next ?prevx ?x) + (next ?x ?nextx) + ) +:effect + (and + (cards-moving) + (cards-moving-east) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?prevx ?y) + (not (next-moving-card ?cm)) + (next-moving-card ?cnext) + ) +) + +(:action stop-move-card-east +:parameters(?cm - card ?x - gridpos ?y - gridpos ?prevx - gridpos ?newtc - card) +:precondition + (and + (cards-moving) + (cards-moving-east) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (next ?prevx ?x) + (min-pos ?x) + (new-headtail-card ?newtc) + ) +:effect + (and + (not (cards-moving)) + (not (cards-moving-east)) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?prevx ?y) + (card-at ?newtc ?x ?y) + (not (new-headtail-card ?newtc)) + (not (next-moving-card ?cm)) + ) +) + +;; ---------------------------------------------------------------------------------------- + +(:action start-move-card-north +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nexty - gridpos) +:precondition + (and + (not (cards-moving)) + (not (cards-moving-north)) + (not (robot-at ?cm)) + (card-at ?cm ?x ?y ) + (min-pos ?y) + (card-at ?cnext ?x ?nexty) + (next ?nexty ?y) + ) +:effect + (and + (cards-moving) + (cards-moving-north) + (not (card-at ?cm ?x ?y )) + (new-headtail-card ?cm) + (next-moving-card ?cnext) + (increase (total-cost) (move-card)) + ) +) + +(:action move-card-north +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nexty - gridpos ?prevy - gridpos) +:precondition + (and + (cards-moving) + (cards-moving-north) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (card-at ?cnext ?x ?nexty) + (next ?y ?prevy) + (next ?nexty ?y) + ) +:effect + (and + (cards-moving) + (cards-moving-north) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?x ?prevy) + (not (next-moving-card ?cm)) + (next-moving-card ?cnext) + ) +) + +(:action stop-move-card-north +:parameters(?cm - card ?x - gridpos ?y - gridpos ?prevy - gridpos ?newtc - card) +:precondition + (and + (cards-moving) + (cards-moving-north) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (next ?y ?prevy) + (max-pos ?y) + (new-headtail-card ?newtc) + ) +:effect + (and + (not (cards-moving)) + (not (cards-moving-north)) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?x ?prevy) + (card-at ?newtc ?x ?y) + (not (new-headtail-card ?newtc)) + (not (next-moving-card ?cm)) + ) +) + +;; ---------------------------------------------------------------------------------------- + +(:action start-move-card-south +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nexty - gridpos) +:precondition + (and + (not (cards-moving)) + (not (cards-moving-south)) + (not (robot-at ?cm)) + (card-at ?cm ?x ?y ) + (max-pos ?y) + (card-at ?cnext ?x ?nexty) + (next ?y ?nexty) + ) +:effect + (and + (cards-moving) + (cards-moving-south) + (not (card-at ?cm ?x ?y )) + (new-headtail-card ?cm) + (next-moving-card ?cnext) + (increase (total-cost) (move-card)) + ) +) + +(:action move-card-south +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nexty - gridpos ?prevy - gridpos) +:precondition + (and + (cards-moving) + (cards-moving-south) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (card-at ?cnext ?x ?nexty) + (next ?prevy ?y) + (next ?y ?nexty) + ) +:effect + (and + (cards-moving) + (cards-moving-south) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?x ?prevy) + (not (next-moving-card ?cm)) + (next-moving-card ?cnext) + ) +) + +(:action stop-move-card-south +:parameters(?cm - card ?x - gridpos ?y - gridpos ?prevy - gridpos ?newtc - card) +:precondition + (and + (cards-moving) + (cards-moving-south) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (next ?prevy ?y) + (min-pos ?y) + (new-headtail-card ?newtc) + ) +:effect + (and + (not (cards-moving)) + (not (cards-moving-south)) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?x ?prevy) + (card-at ?newtc ?x ?y) + (not (new-headtail-card ?newtc)) + (not (next-moving-card ?cm)) + ) +) + + +;; checks whether the robot can leave the labyrinth i.e +;; whether the card the robot is currently on is in the bottom right corner +;; and the rover is in sector SE +(:action leave +:parameters(?c - card ?prow - gridpos ?pcolumn - gridpos) +:precondition + (and + (not (cards-moving)) + (robot-at ?c) + (card-at ?c ?prow ?pcolumn) + (max-pos ?prow) + (max-pos ?pcolumn) + (not (blocked ?c s )) + ) +:effect + (and + (left) + ) +) +) + diff --git a/labyrinth-opt23-adl/p01.pddl b/labyrinth-opt23-adl/p01.pddl new file mode 100644 index 00000000..078403c1 --- /dev/null +++ b/labyrinth-opt23-adl/p01.pddl @@ -0,0 +1,58 @@ +;; Generated with seed: 1229, size: 3, num-rotations: 1 +(define (problem labyrinth-size-3-rotations-1-seed-1229) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 - card +) +(:init + (MAX-POS pos2) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + + (card-at card0 pos0 pos0) + (card-at card4 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos0 pos1) + (card-at card7 pos1 pos1) + (card-at card5 pos2 pos1) + (card-at card6 pos0 pos2) + (card-at card1 pos1 pos2) + (card-at card8 pos2 pos2) + + (BLOCKED card0 N) + + (BLOCKED card4 W) + + (BLOCKED card2 N) + + (BLOCKED card3 N) + + (BLOCKED card7 S) + (BLOCKED card7 W) + + (BLOCKED card5 E) + + (BLOCKED card6 E) + (BLOCKED card6 S) + + (BLOCKED card1 N) + + (BLOCKED card8 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p02.pddl b/labyrinth-opt23-adl/p02.pddl new file mode 100644 index 00000000..da581ecf --- /dev/null +++ b/labyrinth-opt23-adl/p02.pddl @@ -0,0 +1,87 @@ +;; Generated with seed: 1231, size: 4, num-rotations: 2 +(define (problem labyrinth-size-4-rotations-2-seed-1231) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 - card +) +(:init + (MAX-POS pos3) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + + (card-at card0 pos0 pos0) + (card-at card5 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos0 pos1) + (card-at card9 pos1 pos1) + (card-at card6 pos2 pos1) + (card-at card7 pos3 pos1) + (card-at card11 pos0 pos2) + (card-at card8 pos1 pos2) + (card-at card13 pos2 pos2) + (card-at card10 pos3 pos2) + (card-at card12 pos0 pos3) + (card-at card1 pos1 pos3) + (card-at card14 pos2 pos3) + (card-at card15 pos3 pos3) + + (BLOCKED card0 N) + (BLOCKED card0 S) + + (BLOCKED card5 S) + (BLOCKED card5 W) + + (BLOCKED card2 N) + (BLOCKED card2 W) + + (BLOCKED card3 S) + + (BLOCKED card4 S) + + (BLOCKED card9 S) + (BLOCKED card9 W) + + (BLOCKED card6 N) + (BLOCKED card6 E) + + (BLOCKED card7 E) + (BLOCKED card7 W) + + (BLOCKED card11 N) + (BLOCKED card11 E) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card13 E) + + (BLOCKED card10 W) + + (BLOCKED card12 E) + (BLOCKED card12 W) + + (BLOCKED card1 N) + (BLOCKED card1 E) + + + (BLOCKED card15 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p03.pddl b/labyrinth-opt23-adl/p03.pddl new file mode 100644 index 00000000..03ed6c97 --- /dev/null +++ b/labyrinth-opt23-adl/p03.pddl @@ -0,0 +1,91 @@ +;; Generated with seed: 1237, size: 4, num-rotations: 3 +(define (problem labyrinth-size-4-rotations-3-seed-1237) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 - card +) +(:init + (MAX-POS pos3) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + + (card-at card0 pos0 pos0) + (card-at card5 pos1 pos0) + (card-at card14 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos0 pos1) + (card-at card8 pos1 pos1) + (card-at card2 pos2 pos1) + (card-at card7 pos3 pos1) + (card-at card11 pos0 pos2) + (card-at card13 pos1 pos2) + (card-at card6 pos2 pos2) + (card-at card10 pos3 pos2) + (card-at card12 pos0 pos3) + (card-at card1 pos1 pos3) + (card-at card9 pos2 pos3) + (card-at card15 pos3 pos3) + + (BLOCKED card0 S) + (BLOCKED card0 W) + + (BLOCKED card5 N) + (BLOCKED card5 W) + + (BLOCKED card14 N) + (BLOCKED card14 W) + + (BLOCKED card3 E) + + (BLOCKED card4 E) + (BLOCKED card4 S) + + (BLOCKED card8 E) + (BLOCKED card8 W) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card7 E) + (BLOCKED card7 W) + + (BLOCKED card11 W) + + (BLOCKED card13 N) + (BLOCKED card13 S) + + (BLOCKED card6 N) + (BLOCKED card6 S) + + (BLOCKED card10 N) + (BLOCKED card10 S) + + (BLOCKED card12 E) + (BLOCKED card12 W) + + (BLOCKED card1 N) + (BLOCKED card1 S) + + (BLOCKED card9 E) + (BLOCKED card9 W) + + (BLOCKED card15 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p04.pddl b/labyrinth-opt23-adl/p04.pddl new file mode 100644 index 00000000..26ff18cb --- /dev/null +++ b/labyrinth-opt23-adl/p04.pddl @@ -0,0 +1,89 @@ +;; Generated with seed: 1249, size: 4, num-rotations: 4 +(define (problem labyrinth-size-4-rotations-4-seed-1249) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 - card +) +(:init + (MAX-POS pos3) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + + (card-at card0 pos0 pos0) + (card-at card13 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card1 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card7 pos2 pos1) + (card-at card4 pos3 pos1) + (card-at card10 pos0 pos2) + (card-at card11 pos1 pos2) + (card-at card8 pos2 pos2) + (card-at card5 pos3 pos2) + (card-at card12 pos0 pos3) + (card-at card9 pos1 pos3) + (card-at card14 pos2 pos3) + (card-at card15 pos3 pos3) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card13 E) + (BLOCKED card13 S) + + (BLOCKED card2 S) + (BLOCKED card2 W) + + (BLOCKED card3 E) + + (BLOCKED card1 N) + (BLOCKED card1 E) + + (BLOCKED card6 N) + (BLOCKED card6 S) + + (BLOCKED card7 E) + + (BLOCKED card4 E) + (BLOCKED card4 W) + + (BLOCKED card10 N) + (BLOCKED card10 W) + + (BLOCKED card11 E) + (BLOCKED card11 S) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card5 S) + (BLOCKED card5 W) + + (BLOCKED card12 S) + + + (BLOCKED card14 S) + (BLOCKED card14 W) + + (BLOCKED card15 N) + (BLOCKED card15 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p05.pddl b/labyrinth-opt23-adl/p05.pddl new file mode 100644 index 00000000..e4b0fe7e --- /dev/null +++ b/labyrinth-opt23-adl/p05.pddl @@ -0,0 +1,87 @@ +;; Generated with seed: 1259, size: 4, num-rotations: 5 +(define (problem labyrinth-size-4-rotations-5-seed-1259) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 - card +) +(:init + (MAX-POS pos3) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + + (card-at card0 pos0 pos0) + (card-at card4 pos1 pos0) + (card-at card5 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card2 pos0 pos1) + (card-at card7 pos1 pos1) + (card-at card9 pos2 pos1) + (card-at card6 pos3 pos1) + (card-at card8 pos0 pos2) + (card-at card13 pos1 pos2) + (card-at card10 pos2 pos2) + (card-at card11 pos3 pos2) + (card-at card12 pos0 pos3) + (card-at card1 pos1 pos3) + (card-at card14 pos2 pos3) + (card-at card15 pos3 pos3) + + (BLOCKED card0 S) + (BLOCKED card0 W) + + (BLOCKED card4 N) + (BLOCKED card4 S) + + (BLOCKED card5 S) + (BLOCKED card5 W) + + (BLOCKED card3 E) + + (BLOCKED card2 N) + + + (BLOCKED card9 W) + + (BLOCKED card6 N) + (BLOCKED card6 W) + + (BLOCKED card8 E) + + (BLOCKED card13 E) + (BLOCKED card13 S) + + (BLOCKED card10 W) + + (BLOCKED card11 N) + (BLOCKED card11 E) + + (BLOCKED card12 E) + (BLOCKED card12 S) + + (BLOCKED card1 N) + (BLOCKED card1 S) + + (BLOCKED card14 S) + (BLOCKED card14 W) + + (BLOCKED card15 N) + (BLOCKED card15 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p06.pddl b/labyrinth-opt23-adl/p06.pddl new file mode 100644 index 00000000..7fdcc7b1 --- /dev/null +++ b/labyrinth-opt23-adl/p06.pddl @@ -0,0 +1,120 @@ +;; Generated with seed: 1277, size: 5, num-rotations: 1 +(define (problem labyrinth-size-5-rotations-1-seed-1277) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 - card +) +(:init + (MAX-POS pos4) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card8 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card7 pos2 pos1) + (card-at card13 pos3 pos1) + (card-at card9 pos4 pos1) + (card-at card10 pos0 pos2) + (card-at card11 pos1 pos2) + (card-at card12 pos2 pos2) + (card-at card18 pos3 pos2) + (card-at card14 pos4 pos2) + (card-at card15 pos0 pos3) + (card-at card16 pos1 pos3) + (card-at card17 pos2 pos3) + (card-at card23 pos3 pos3) + (card-at card19 pos4 pos3) + (card-at card20 pos0 pos4) + (card-at card21 pos1 pos4) + (card-at card22 pos2 pos4) + (card-at card3 pos3 pos4) + (card-at card24 pos4 pos4) + + (BLOCKED card0 N) + (BLOCKED card0 S) + + (BLOCKED card1 N) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + + (BLOCKED card4 E) + (BLOCKED card4 W) + + (BLOCKED card5 S) + + + (BLOCKED card7 W) + + (BLOCKED card13 E) + + (BLOCKED card9 S) + (BLOCKED card9 W) + + (BLOCKED card10 W) + + (BLOCKED card11 N) + (BLOCKED card11 E) + + (BLOCKED card12 N) + (BLOCKED card12 E) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card14 E) + (BLOCKED card14 S) + + (BLOCKED card15 N) + (BLOCKED card15 S) + + (BLOCKED card16 S) + + (BLOCKED card17 E) + (BLOCKED card17 S) + + (BLOCKED card23 S) + + (BLOCKED card19 E) + (BLOCKED card19 W) + + (BLOCKED card20 N) + (BLOCKED card20 S) + + (BLOCKED card21 N) + (BLOCKED card21 W) + + (BLOCKED card22 N) + (BLOCKED card22 E) + + (BLOCKED card3 S) + (BLOCKED card3 W) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p07.pddl b/labyrinth-opt23-adl/p07.pddl new file mode 100644 index 00000000..e18373a0 --- /dev/null +++ b/labyrinth-opt23-adl/p07.pddl @@ -0,0 +1,117 @@ +;; Generated with seed: 1279, size: 5, num-rotations: 2 +(define (problem labyrinth-size-5-rotations-2-seed-1279) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 - card +) +(:init + (MAX-POS pos4) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card22 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card2 pos2 pos1) + (card-at card8 pos3 pos1) + (card-at card9 pos4 pos1) + (card-at card10 pos0 pos2) + (card-at card11 pos1 pos2) + (card-at card7 pos2 pos2) + (card-at card13 pos3 pos2) + (card-at card14 pos4 pos2) + (card-at card19 pos0 pos3) + (card-at card15 pos1 pos3) + (card-at card16 pos2 pos3) + (card-at card12 pos3 pos3) + (card-at card18 pos4 pos3) + (card-at card20 pos0 pos4) + (card-at card21 pos1 pos4) + (card-at card17 pos2 pos4) + (card-at card23 pos3 pos4) + (card-at card24 pos4 pos4) + + + (BLOCKED card1 N) + + (BLOCKED card22 N) + + (BLOCKED card3 S) + + (BLOCKED card4 N) + (BLOCKED card4 E) + + + (BLOCKED card6 N) + + (BLOCKED card2 E) + (BLOCKED card2 S) + + (BLOCKED card8 N) + + (BLOCKED card9 N) + (BLOCKED card9 W) + + (BLOCKED card10 S) + + (BLOCKED card11 N) + + (BLOCKED card7 S) + (BLOCKED card7 W) + + (BLOCKED card13 W) + + (BLOCKED card14 E) + (BLOCKED card14 S) + + (BLOCKED card19 N) + (BLOCKED card19 S) + + (BLOCKED card15 N) + + (BLOCKED card16 E) + + (BLOCKED card12 E) + (BLOCKED card12 S) + + (BLOCKED card18 N) + (BLOCKED card18 S) + + (BLOCKED card20 S) + (BLOCKED card20 W) + + (BLOCKED card21 N) + (BLOCKED card21 S) + + (BLOCKED card17 S) + (BLOCKED card17 W) + + (BLOCKED card23 N) + (BLOCKED card23 S) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p08.pddl b/labyrinth-opt23-adl/p08.pddl new file mode 100644 index 00000000..4fbbd113 --- /dev/null +++ b/labyrinth-opt23-adl/p08.pddl @@ -0,0 +1,123 @@ +;; Generated with seed: 1283, size: 5, num-rotations: 3 +(define (problem labyrinth-size-5-rotations-3-seed-1283) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 - card +) +(:init + (MAX-POS pos4) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card22 pos2 pos0) + (card-at card23 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card2 pos2 pos1) + (card-at card3 pos3 pos1) + (card-at card9 pos4 pos1) + (card-at card14 pos0 pos2) + (card-at card10 pos1 pos2) + (card-at card11 pos2 pos2) + (card-at card7 pos3 pos2) + (card-at card8 pos4 pos2) + (card-at card15 pos0 pos3) + (card-at card16 pos1 pos3) + (card-at card12 pos2 pos3) + (card-at card13 pos3 pos3) + (card-at card19 pos4 pos3) + (card-at card20 pos0 pos4) + (card-at card21 pos1 pos4) + (card-at card17 pos2 pos4) + (card-at card18 pos3 pos4) + (card-at card24 pos4 pos4) + + (BLOCKED card0 E) + (BLOCKED card0 W) + + (BLOCKED card1 E) + (BLOCKED card1 W) + + (BLOCKED card22 N) + (BLOCKED card22 S) + + (BLOCKED card23 N) + + (BLOCKED card4 E) + (BLOCKED card4 S) + + (BLOCKED card5 W) + + (BLOCKED card6 N) + (BLOCKED card6 E) + + (BLOCKED card2 N) + (BLOCKED card2 W) + + (BLOCKED card3 W) + + (BLOCKED card9 E) + (BLOCKED card9 S) + + (BLOCKED card14 N) + (BLOCKED card14 S) + + (BLOCKED card10 E) + (BLOCKED card10 W) + + (BLOCKED card11 S) + (BLOCKED card11 W) + + (BLOCKED card7 E) + (BLOCKED card7 S) + + (BLOCKED card8 N) + (BLOCKED card8 W) + + (BLOCKED card15 N) + (BLOCKED card15 W) + + (BLOCKED card16 N) + + (BLOCKED card12 E) + + (BLOCKED card13 E) + + (BLOCKED card19 E) + + (BLOCKED card20 N) + (BLOCKED card20 S) + + (BLOCKED card21 S) + (BLOCKED card21 W) + + (BLOCKED card17 S) + + (BLOCKED card18 E) + (BLOCKED card18 S) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p09.pddl b/labyrinth-opt23-adl/p09.pddl new file mode 100644 index 00000000..4a93d505 --- /dev/null +++ b/labyrinth-opt23-adl/p09.pddl @@ -0,0 +1,122 @@ +;; Generated with seed: 1289, size: 5, num-rotations: 4 +(define (problem labyrinth-size-5-rotations-4-seed-1289) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 - card +) +(:init + (MAX-POS pos4) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + + (card-at card0 pos0 pos0) + (card-at card6 pos1 pos0) + (card-at card11 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos0 pos1) + (card-at card10 pos1 pos1) + (card-at card17 pos2 pos1) + (card-at card8 pos3 pos1) + (card-at card9 pos4 pos1) + (card-at card14 pos0 pos2) + (card-at card16 pos1 pos2) + (card-at card22 pos2 pos2) + (card-at card12 pos3 pos2) + (card-at card13 pos4 pos2) + (card-at card15 pos0 pos3) + (card-at card21 pos1 pos3) + (card-at card2 pos2 pos3) + (card-at card18 pos3 pos3) + (card-at card19 pos4 pos3) + (card-at card20 pos0 pos4) + (card-at card1 pos1 pos4) + (card-at card7 pos2 pos4) + (card-at card23 pos3 pos4) + (card-at card24 pos4 pos4) + + (BLOCKED card0 E) + (BLOCKED card0 W) + + (BLOCKED card6 E) + (BLOCKED card6 S) + + + (BLOCKED card3 E) + (BLOCKED card3 W) + + (BLOCKED card4 N) + + (BLOCKED card5 E) + (BLOCKED card5 W) + + (BLOCKED card10 S) + (BLOCKED card10 W) + + (BLOCKED card17 W) + + (BLOCKED card8 N) + (BLOCKED card8 S) + + (BLOCKED card9 N) + (BLOCKED card9 W) + + (BLOCKED card14 N) + (BLOCKED card14 S) + + (BLOCKED card16 N) + (BLOCKED card16 S) + + (BLOCKED card22 E) + (BLOCKED card22 S) + + (BLOCKED card12 N) + (BLOCKED card12 E) + + (BLOCKED card13 W) + + (BLOCKED card15 N) + (BLOCKED card15 E) + + (BLOCKED card21 W) + + (BLOCKED card2 S) + + (BLOCKED card18 N) + (BLOCKED card18 E) + + (BLOCKED card19 S) + (BLOCKED card19 W) + + (BLOCKED card20 N) + (BLOCKED card20 E) + + (BLOCKED card1 N) + + (BLOCKED card7 N) + (BLOCKED card7 E) + + (BLOCKED card23 S) + (BLOCKED card23 W) + + (BLOCKED card24 N) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p10.pddl b/labyrinth-opt23-adl/p10.pddl new file mode 100644 index 00000000..ca467ec7 --- /dev/null +++ b/labyrinth-opt23-adl/p10.pddl @@ -0,0 +1,164 @@ +;; Generated with seed: 1291, size: 6, num-rotations: 1 +(define (problem labyrinth-size-6-rotations-1-seed-1291) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos0 pos1) + (card-at card7 pos1 pos1) + (card-at card8 pos2 pos1) + (card-at card9 pos3 pos1) + (card-at card10 pos4 pos1) + (card-at card11 pos5 pos1) + (card-at card12 pos0 pos2) + (card-at card13 pos1 pos2) + (card-at card14 pos2 pos2) + (card-at card15 pos3 pos2) + (card-at card16 pos4 pos2) + (card-at card17 pos5 pos2) + (card-at card23 pos0 pos3) + (card-at card18 pos1 pos3) + (card-at card19 pos2 pos3) + (card-at card20 pos3 pos3) + (card-at card21 pos4 pos3) + (card-at card22 pos5 pos3) + (card-at card24 pos0 pos4) + (card-at card25 pos1 pos4) + (card-at card26 pos2 pos4) + (card-at card27 pos3 pos4) + (card-at card28 pos4 pos4) + (card-at card29 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card31 pos1 pos5) + (card-at card32 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card34 pos4 pos5) + (card-at card35 pos5 pos5) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 E) + (BLOCKED card1 S) + + (BLOCKED card2 W) + + (BLOCKED card3 E) + (BLOCKED card3 S) + + + (BLOCKED card5 E) + + (BLOCKED card6 W) + + (BLOCKED card7 N) + (BLOCKED card7 E) + + (BLOCKED card8 E) + (BLOCKED card8 S) + + (BLOCKED card9 W) + + (BLOCKED card10 W) + + (BLOCKED card11 N) + (BLOCKED card11 E) + + (BLOCKED card12 S) + (BLOCKED card12 W) + + (BLOCKED card13 N) + (BLOCKED card13 E) + + (BLOCKED card14 N) + (BLOCKED card14 S) + + (BLOCKED card15 N) + (BLOCKED card15 E) + + (BLOCKED card16 E) + (BLOCKED card16 S) + + (BLOCKED card17 N) + (BLOCKED card17 E) + + (BLOCKED card23 E) + (BLOCKED card23 S) + + (BLOCKED card18 N) + (BLOCKED card18 S) + + (BLOCKED card19 W) + + (BLOCKED card20 N) + (BLOCKED card20 E) + + (BLOCKED card21 S) + (BLOCKED card21 W) + + (BLOCKED card22 N) + (BLOCKED card22 E) + + (BLOCKED card24 N) + (BLOCKED card24 W) + + (BLOCKED card25 E) + + (BLOCKED card26 N) + (BLOCKED card26 E) + + (BLOCKED card27 N) + (BLOCKED card27 S) + + (BLOCKED card28 N) + (BLOCKED card28 W) + + (BLOCKED card29 N) + (BLOCKED card29 E) + + (BLOCKED card30 S) + (BLOCKED card30 W) + + (BLOCKED card31 N) + + (BLOCKED card32 N) + (BLOCKED card32 S) + + (BLOCKED card33 S) + + (BLOCKED card34 N) + (BLOCKED card34 S) + + (BLOCKED card35 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p11.pddl b/labyrinth-opt23-adl/p11.pddl new file mode 100644 index 00000000..ef191a10 --- /dev/null +++ b/labyrinth-opt23-adl/p11.pddl @@ -0,0 +1,168 @@ +;; Generated with seed: 1297, size: 6, num-rotations: 2 +(define (problem labyrinth-size-6-rotations-2-seed-1297) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card32 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos0 pos1) + (card-at card7 pos1 pos1) + (card-at card2 pos2 pos1) + (card-at card9 pos3 pos1) + (card-at card10 pos4 pos1) + (card-at card11 pos5 pos1) + (card-at card12 pos0 pos2) + (card-at card13 pos1 pos2) + (card-at card8 pos2 pos2) + (card-at card15 pos3 pos2) + (card-at card16 pos4 pos2) + (card-at card17 pos5 pos2) + (card-at card18 pos0 pos3) + (card-at card19 pos1 pos3) + (card-at card14 pos2 pos3) + (card-at card21 pos3 pos3) + (card-at card22 pos4 pos3) + (card-at card23 pos5 pos3) + (card-at card29 pos0 pos4) + (card-at card24 pos1 pos4) + (card-at card20 pos2 pos4) + (card-at card26 pos3 pos4) + (card-at card27 pos4 pos4) + (card-at card28 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card31 pos1 pos5) + (card-at card25 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card34 pos4 pos5) + (card-at card35 pos5 pos5) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 S) + (BLOCKED card1 W) + + (BLOCKED card32 N) + (BLOCKED card32 W) + + (BLOCKED card3 N) + (BLOCKED card3 W) + + (BLOCKED card4 N) + (BLOCKED card4 W) + + (BLOCKED card5 E) + (BLOCKED card5 W) + + (BLOCKED card6 E) + (BLOCKED card6 W) + + (BLOCKED card7 S) + (BLOCKED card7 W) + + (BLOCKED card2 S) + (BLOCKED card2 W) + + (BLOCKED card9 N) + (BLOCKED card9 W) + + (BLOCKED card10 W) + + (BLOCKED card11 E) + (BLOCKED card11 W) + + (BLOCKED card12 S) + + (BLOCKED card13 N) + + (BLOCKED card8 E) + (BLOCKED card8 S) + + (BLOCKED card15 N) + (BLOCKED card15 S) + + (BLOCKED card16 N) + (BLOCKED card16 E) + + (BLOCKED card17 S) + + (BLOCKED card18 E) + + (BLOCKED card19 S) + (BLOCKED card19 W) + + (BLOCKED card14 W) + + (BLOCKED card21 E) + (BLOCKED card21 S) + + (BLOCKED card22 E) + (BLOCKED card22 W) + + (BLOCKED card23 E) + (BLOCKED card23 W) + + (BLOCKED card29 N) + (BLOCKED card29 E) + + (BLOCKED card24 N) + (BLOCKED card24 W) + + (BLOCKED card20 S) + + (BLOCKED card26 N) + (BLOCKED card26 S) + + (BLOCKED card27 E) + (BLOCKED card27 S) + + (BLOCKED card28 S) + (BLOCKED card28 W) + + (BLOCKED card30 E) + (BLOCKED card30 W) + + (BLOCKED card31 N) + (BLOCKED card31 E) + + (BLOCKED card25 E) + (BLOCKED card25 S) + + (BLOCKED card33 S) + (BLOCKED card33 W) + + (BLOCKED card34 N) + + (BLOCKED card35 E) + (BLOCKED card35 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p12.pddl b/labyrinth-opt23-adl/p12.pddl new file mode 100644 index 00000000..c7f3fb2e --- /dev/null +++ b/labyrinth-opt23-adl/p12.pddl @@ -0,0 +1,165 @@ +;; Generated with seed: 1301, size: 6, num-rotations: 3 +(define (problem labyrinth-size-6-rotations-3-seed-1301) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card16 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos0 pos1) + (card-at card7 pos1 pos1) + (card-at card8 pos2 pos1) + (card-at card9 pos3 pos1) + (card-at card22 pos4 pos1) + (card-at card11 pos5 pos1) + (card-at card12 pos0 pos2) + (card-at card13 pos1 pos2) + (card-at card14 pos2 pos2) + (card-at card15 pos3 pos2) + (card-at card29 pos4 pos2) + (card-at card17 pos5 pos2) + (card-at card18 pos0 pos3) + (card-at card19 pos1 pos3) + (card-at card20 pos2 pos3) + (card-at card21 pos3 pos3) + (card-at card34 pos4 pos3) + (card-at card23 pos5 pos3) + (card-at card25 pos0 pos4) + (card-at card26 pos1 pos4) + (card-at card27 pos2 pos4) + (card-at card28 pos3 pos4) + (card-at card4 pos4 pos4) + (card-at card24 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card31 pos1 pos5) + (card-at card32 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card10 pos4 pos5) + (card-at card35 pos5 pos5) + + (BLOCKED card0 E) + (BLOCKED card0 W) + + (BLOCKED card1 E) + (BLOCKED card1 W) + + (BLOCKED card2 E) + + (BLOCKED card3 S) + (BLOCKED card3 W) + + (BLOCKED card16 N) + (BLOCKED card16 E) + + (BLOCKED card5 E) + (BLOCKED card5 W) + + (BLOCKED card6 E) + (BLOCKED card6 W) + + (BLOCKED card7 N) + (BLOCKED card7 S) + + (BLOCKED card8 E) + (BLOCKED card8 W) + + (BLOCKED card9 N) + (BLOCKED card9 E) + + (BLOCKED card22 N) + (BLOCKED card22 S) + + (BLOCKED card11 N) + (BLOCKED card11 W) + + (BLOCKED card12 S) + (BLOCKED card12 W) + + (BLOCKED card13 N) + (BLOCKED card13 S) + + (BLOCKED card14 N) + + (BLOCKED card15 N) + (BLOCKED card15 E) + + (BLOCKED card29 E) + + (BLOCKED card17 E) + (BLOCKED card17 W) + + (BLOCKED card18 S) + + (BLOCKED card19 E) + (BLOCKED card19 S) + + (BLOCKED card20 W) + + (BLOCKED card21 N) + + (BLOCKED card34 E) + (BLOCKED card34 S) + + (BLOCKED card23 E) + + (BLOCKED card25 E) + (BLOCKED card25 W) + + (BLOCKED card26 S) + + (BLOCKED card27 E) + + (BLOCKED card28 N) + + (BLOCKED card4 N) + (BLOCKED card4 E) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + (BLOCKED card30 E) + (BLOCKED card30 S) + + (BLOCKED card31 E) + (BLOCKED card31 S) + + (BLOCKED card32 E) + (BLOCKED card32 S) + + (BLOCKED card33 S) + + (BLOCKED card10 E) + (BLOCKED card10 S) + + (BLOCKED card35 E) + (BLOCKED card35 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p13.pddl b/labyrinth-opt23-adl/p13.pddl new file mode 100644 index 00000000..d9e093cc --- /dev/null +++ b/labyrinth-opt23-adl/p13.pddl @@ -0,0 +1,160 @@ +;; Generated with seed: 1303, size: 6, num-rotations: 4 +(define (problem labyrinth-size-6-rotations-4-seed-1303) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card8 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos0 pos1) + (card-at card7 pos1 pos1) + (card-at card14 pos2 pos1) + (card-at card9 pos3 pos1) + (card-at card10 pos4 pos1) + (card-at card11 pos5 pos1) + (card-at card12 pos0 pos2) + (card-at card13 pos1 pos2) + (card-at card21 pos2 pos2) + (card-at card15 pos3 pos2) + (card-at card16 pos4 pos2) + (card-at card17 pos5 pos2) + (card-at card20 pos0 pos3) + (card-at card26 pos1 pos3) + (card-at card22 pos2 pos3) + (card-at card23 pos3 pos3) + (card-at card18 pos4 pos3) + (card-at card19 pos5 pos3) + (card-at card29 pos0 pos4) + (card-at card24 pos1 pos4) + (card-at card25 pos2 pos4) + (card-at card32 pos3 pos4) + (card-at card27 pos4 pos4) + (card-at card28 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card31 pos1 pos5) + (card-at card2 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card34 pos4 pos5) + (card-at card35 pos5 pos5) + + + (BLOCKED card1 S) + (BLOCKED card1 W) + + (BLOCKED card8 E) + (BLOCKED card8 S) + + (BLOCKED card3 E) + (BLOCKED card3 S) + + (BLOCKED card4 N) + (BLOCKED card4 S) + + (BLOCKED card5 N) + + (BLOCKED card6 E) + + (BLOCKED card7 N) + (BLOCKED card7 W) + + (BLOCKED card14 N) + (BLOCKED card14 W) + + (BLOCKED card9 S) + (BLOCKED card9 W) + + (BLOCKED card10 S) + (BLOCKED card10 W) + + (BLOCKED card11 S) + (BLOCKED card11 W) + + (BLOCKED card12 W) + + (BLOCKED card13 E) + (BLOCKED card13 S) + + (BLOCKED card21 N) + (BLOCKED card21 E) + + (BLOCKED card15 S) + (BLOCKED card15 W) + + (BLOCKED card16 E) + + (BLOCKED card17 E) + (BLOCKED card17 S) + + (BLOCKED card20 N) + (BLOCKED card20 W) + + (BLOCKED card26 S) + + + (BLOCKED card23 N) + (BLOCKED card23 W) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card19 S) + + (BLOCKED card29 S) + (BLOCKED card29 W) + + (BLOCKED card24 S) + + (BLOCKED card25 N) + + (BLOCKED card32 E) + (BLOCKED card32 W) + + (BLOCKED card27 N) + + (BLOCKED card28 S) + (BLOCKED card28 W) + + (BLOCKED card30 S) + (BLOCKED card30 W) + + (BLOCKED card31 E) + (BLOCKED card31 S) + + (BLOCKED card2 S) + (BLOCKED card2 W) + + (BLOCKED card33 W) + + (BLOCKED card34 N) + + (BLOCKED card35 N) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p14.pddl b/labyrinth-opt23-adl/p14.pddl new file mode 100644 index 00000000..032e88af --- /dev/null +++ b/labyrinth-opt23-adl/p14.pddl @@ -0,0 +1,165 @@ +;; Generated with seed: 1307, size: 6, num-rotations: 6 +(define (problem labyrinth-size-6-rotations-6-seed-1307) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card34 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card11 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card7 pos2 pos1) + (card-at card8 pos3 pos1) + (card-at card4 pos4 pos1) + (card-at card10 pos5 pos1) + (card-at card12 pos0 pos2) + (card-at card13 pos1 pos2) + (card-at card14 pos2 pos2) + (card-at card9 pos3 pos2) + (card-at card16 pos4 pos2) + (card-at card17 pos5 pos2) + (card-at card18 pos0 pos3) + (card-at card19 pos1 pos3) + (card-at card20 pos2 pos3) + (card-at card21 pos3 pos3) + (card-at card15 pos4 pos3) + (card-at card23 pos5 pos3) + (card-at card24 pos0 pos4) + (card-at card25 pos1 pos4) + (card-at card26 pos2 pos4) + (card-at card27 pos3 pos4) + (card-at card22 pos4 pos4) + (card-at card29 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card31 pos1 pos5) + (card-at card32 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card28 pos4 pos5) + (card-at card35 pos5 pos5) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 W) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card3 N) + + (BLOCKED card34 N) + (BLOCKED card34 E) + + (BLOCKED card5 N) + + (BLOCKED card11 W) + + (BLOCKED card6 W) + + (BLOCKED card7 E) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card4 N) + + (BLOCKED card10 N) + (BLOCKED card10 W) + + (BLOCKED card12 N) + (BLOCKED card12 S) + + (BLOCKED card13 E) + (BLOCKED card13 S) + + (BLOCKED card14 E) + (BLOCKED card14 W) + + (BLOCKED card9 S) + (BLOCKED card9 W) + + (BLOCKED card16 E) + (BLOCKED card16 S) + + (BLOCKED card17 E) + (BLOCKED card17 W) + + (BLOCKED card18 E) + (BLOCKED card18 S) + + (BLOCKED card19 E) + (BLOCKED card19 W) + + (BLOCKED card20 E) + (BLOCKED card20 W) + + (BLOCKED card21 S) + (BLOCKED card21 W) + + (BLOCKED card15 N) + (BLOCKED card15 S) + + (BLOCKED card23 W) + + (BLOCKED card24 E) + (BLOCKED card24 S) + + (BLOCKED card25 W) + + (BLOCKED card26 N) + (BLOCKED card26 S) + + (BLOCKED card27 N) + + (BLOCKED card22 N) + (BLOCKED card22 S) + + (BLOCKED card29 E) + (BLOCKED card29 W) + + (BLOCKED card30 E) + (BLOCKED card30 W) + + (BLOCKED card31 N) + (BLOCKED card31 S) + + (BLOCKED card32 N) + (BLOCKED card32 E) + + (BLOCKED card33 N) + + (BLOCKED card28 N) + (BLOCKED card28 W) + + (BLOCKED card35 E) + (BLOCKED card35 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p15.pddl b/labyrinth-opt23-adl/p15.pddl new file mode 100644 index 00000000..d9683912 --- /dev/null +++ b/labyrinth-opt23-adl/p15.pddl @@ -0,0 +1,215 @@ +;; Generated with seed: 1319, size: 7, num-rotations: 1 +(define (problem labyrinth-size-7-rotations-1-seed-1319) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos0 pos1) + (card-at card8 pos1 pos1) + (card-at card9 pos2 pos1) + (card-at card10 pos3 pos1) + (card-at card11 pos4 pos1) + (card-at card12 pos5 pos1) + (card-at card13 pos6 pos1) + (card-at card14 pos0 pos2) + (card-at card15 pos1 pos2) + (card-at card16 pos2 pos2) + (card-at card17 pos3 pos2) + (card-at card18 pos4 pos2) + (card-at card19 pos5 pos2) + (card-at card20 pos6 pos2) + (card-at card21 pos0 pos3) + (card-at card22 pos1 pos3) + (card-at card23 pos2 pos3) + (card-at card24 pos3 pos3) + (card-at card25 pos4 pos3) + (card-at card26 pos5 pos3) + (card-at card27 pos6 pos3) + (card-at card29 pos0 pos4) + (card-at card30 pos1 pos4) + (card-at card31 pos2 pos4) + (card-at card32 pos3 pos4) + (card-at card33 pos4 pos4) + (card-at card34 pos5 pos4) + (card-at card28 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card37 pos2 pos5) + (card-at card38 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card40 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card44 pos2 pos6) + (card-at card45 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card47 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 N) + (BLOCKED card1 E) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + (BLOCKED card3 E) + (BLOCKED card3 W) + + (BLOCKED card4 N) + (BLOCKED card4 S) + + (BLOCKED card5 E) + (BLOCKED card5 S) + + (BLOCKED card6 E) + (BLOCKED card6 S) + + (BLOCKED card7 N) + + (BLOCKED card8 S) + + (BLOCKED card9 N) + + (BLOCKED card10 S) + (BLOCKED card10 W) + + (BLOCKED card11 S) + (BLOCKED card11 W) + + (BLOCKED card12 W) + + (BLOCKED card13 E) + + (BLOCKED card14 W) + + (BLOCKED card15 N) + (BLOCKED card15 W) + + (BLOCKED card16 S) + (BLOCKED card16 W) + + (BLOCKED card17 N) + (BLOCKED card17 S) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card19 N) + (BLOCKED card19 W) + + (BLOCKED card20 N) + (BLOCKED card20 E) + + (BLOCKED card21 E) + (BLOCKED card21 W) + + (BLOCKED card22 E) + (BLOCKED card22 W) + + (BLOCKED card23 S) + (BLOCKED card23 W) + + (BLOCKED card24 N) + (BLOCKED card24 S) + + (BLOCKED card25 E) + (BLOCKED card25 W) + + (BLOCKED card26 E) + + (BLOCKED card27 E) + (BLOCKED card27 W) + + (BLOCKED card29 N) + (BLOCKED card29 S) + + (BLOCKED card30 E) + + (BLOCKED card31 N) + (BLOCKED card31 W) + + (BLOCKED card32 N) + (BLOCKED card32 E) + + (BLOCKED card33 S) + (BLOCKED card33 W) + + + (BLOCKED card28 S) + + (BLOCKED card35 E) + (BLOCKED card35 S) + + (BLOCKED card36 N) + (BLOCKED card36 E) + + (BLOCKED card37 S) + (BLOCKED card37 W) + + (BLOCKED card38 E) + (BLOCKED card38 S) + + (BLOCKED card39 S) + (BLOCKED card39 W) + + (BLOCKED card40 E) + + (BLOCKED card41 S) + (BLOCKED card41 W) + + (BLOCKED card42 S) + (BLOCKED card42 W) + + (BLOCKED card43 E) + (BLOCKED card43 W) + + (BLOCKED card44 W) + + (BLOCKED card45 N) + (BLOCKED card45 S) + + (BLOCKED card46 N) + (BLOCKED card46 W) + + (BLOCKED card47 S) + (BLOCKED card47 W) + + (BLOCKED card48 N) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p16.pddl b/labyrinth-opt23-adl/p16.pddl new file mode 100644 index 00000000..c0d2021b --- /dev/null +++ b/labyrinth-opt23-adl/p16.pddl @@ -0,0 +1,211 @@ +;; Generated with seed: 1321, size: 7, num-rotations: 2 +(define (problem labyrinth-size-7-rotations-2-seed-1321) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card8 pos0 pos1) + (card-at card9 pos1 pos1) + (card-at card10 pos2 pos1) + (card-at card11 pos3 pos1) + (card-at card12 pos4 pos1) + (card-at card13 pos5 pos1) + (card-at card7 pos6 pos1) + (card-at card14 pos0 pos2) + (card-at card15 pos1 pos2) + (card-at card16 pos2 pos2) + (card-at card17 pos3 pos2) + (card-at card18 pos4 pos2) + (card-at card19 pos5 pos2) + (card-at card20 pos6 pos2) + (card-at card22 pos0 pos3) + (card-at card23 pos1 pos3) + (card-at card24 pos2 pos3) + (card-at card25 pos3 pos3) + (card-at card26 pos4 pos3) + (card-at card27 pos5 pos3) + (card-at card21 pos6 pos3) + (card-at card28 pos0 pos4) + (card-at card29 pos1 pos4) + (card-at card30 pos2 pos4) + (card-at card31 pos3 pos4) + (card-at card32 pos4 pos4) + (card-at card33 pos5 pos4) + (card-at card34 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card37 pos2 pos5) + (card-at card38 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card40 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card44 pos2 pos6) + (card-at card45 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card47 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 N) + (BLOCKED card1 S) + + (BLOCKED card2 S) + (BLOCKED card2 W) + + (BLOCKED card3 N) + (BLOCKED card3 S) + + (BLOCKED card4 N) + + (BLOCKED card5 E) + (BLOCKED card5 W) + + (BLOCKED card6 N) + (BLOCKED card6 W) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card9 E) + + (BLOCKED card10 N) + (BLOCKED card10 E) + + (BLOCKED card11 E) + + (BLOCKED card12 N) + (BLOCKED card12 S) + + (BLOCKED card13 E) + (BLOCKED card13 W) + + + (BLOCKED card14 W) + + (BLOCKED card15 N) + (BLOCKED card15 W) + + (BLOCKED card16 E) + (BLOCKED card16 S) + + (BLOCKED card17 S) + (BLOCKED card17 W) + + (BLOCKED card18 N) + (BLOCKED card18 E) + + (BLOCKED card19 E) + + (BLOCKED card20 W) + + (BLOCKED card22 S) + + (BLOCKED card23 E) + (BLOCKED card23 S) + + (BLOCKED card24 E) + (BLOCKED card24 S) + + (BLOCKED card25 N) + (BLOCKED card25 W) + + (BLOCKED card26 S) + (BLOCKED card26 W) + + (BLOCKED card27 S) + (BLOCKED card27 W) + + (BLOCKED card21 E) + (BLOCKED card21 W) + + (BLOCKED card28 E) + (BLOCKED card28 W) + + + (BLOCKED card30 E) + (BLOCKED card30 S) + + (BLOCKED card31 E) + (BLOCKED card31 W) + + (BLOCKED card32 E) + (BLOCKED card32 W) + + (BLOCKED card33 N) + (BLOCKED card33 S) + + (BLOCKED card34 N) + (BLOCKED card34 E) + + (BLOCKED card35 E) + (BLOCKED card35 W) + + (BLOCKED card36 E) + + (BLOCKED card37 N) + (BLOCKED card37 E) + + (BLOCKED card38 N) + (BLOCKED card38 W) + + (BLOCKED card39 S) + + (BLOCKED card40 E) + (BLOCKED card40 W) + + (BLOCKED card41 S) + (BLOCKED card41 W) + + (BLOCKED card42 S) + (BLOCKED card42 W) + + (BLOCKED card43 N) + + (BLOCKED card44 S) + + (BLOCKED card45 N) + + (BLOCKED card46 N) + + (BLOCKED card47 N) + + (BLOCKED card48 N) + (BLOCKED card48 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p17.pddl b/labyrinth-opt23-adl/p17.pddl new file mode 100644 index 00000000..7cf0d5a5 --- /dev/null +++ b/labyrinth-opt23-adl/p17.pddl @@ -0,0 +1,208 @@ +;; Generated with seed: 1327, size: 7, num-rotations: 3 +(define (problem labyrinth-size-7-rotations-3-seed-1327) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card10 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card47 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card13 pos0 pos1) + (card-at card7 pos1 pos1) + (card-at card8 pos2 pos1) + (card-at card9 pos3 pos1) + (card-at card17 pos4 pos1) + (card-at card11 pos5 pos1) + (card-at card5 pos6 pos1) + (card-at card14 pos0 pos2) + (card-at card15 pos1 pos2) + (card-at card16 pos2 pos2) + (card-at card24 pos3 pos2) + (card-at card18 pos4 pos2) + (card-at card12 pos5 pos2) + (card-at card20 pos6 pos2) + (card-at card21 pos0 pos3) + (card-at card22 pos1 pos3) + (card-at card23 pos2 pos3) + (card-at card31 pos3 pos3) + (card-at card25 pos4 pos3) + (card-at card19 pos5 pos3) + (card-at card27 pos6 pos3) + (card-at card28 pos0 pos4) + (card-at card29 pos1 pos4) + (card-at card30 pos2 pos4) + (card-at card38 pos3 pos4) + (card-at card32 pos4 pos4) + (card-at card26 pos5 pos4) + (card-at card34 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card37 pos2 pos5) + (card-at card45 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card33 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card44 pos2 pos6) + (card-at card3 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card40 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 N) + (BLOCKED card0 S) + + (BLOCKED card1 N) + + (BLOCKED card2 N) + + (BLOCKED card10 W) + + (BLOCKED card4 N) + + (BLOCKED card47 S) + + (BLOCKED card6 N) + (BLOCKED card6 S) + + (BLOCKED card13 N) + (BLOCKED card13 S) + + (BLOCKED card7 N) + + (BLOCKED card8 N) + (BLOCKED card8 E) + + (BLOCKED card9 W) + + (BLOCKED card17 S) + (BLOCKED card17 W) + + (BLOCKED card11 N) + + (BLOCKED card5 N) + (BLOCKED card5 E) + + (BLOCKED card14 N) + (BLOCKED card14 E) + + (BLOCKED card15 S) + (BLOCKED card15 W) + + (BLOCKED card16 N) + (BLOCKED card16 E) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + (BLOCKED card18 N) + + (BLOCKED card12 S) + + (BLOCKED card20 N) + + (BLOCKED card21 N) + (BLOCKED card21 E) + + (BLOCKED card22 E) + + (BLOCKED card23 N) + (BLOCKED card23 S) + + (BLOCKED card31 E) + (BLOCKED card31 W) + + (BLOCKED card25 S) + + (BLOCKED card19 N) + (BLOCKED card19 W) + + + (BLOCKED card28 S) + (BLOCKED card28 W) + + (BLOCKED card29 N) + (BLOCKED card29 S) + + (BLOCKED card30 N) + (BLOCKED card30 W) + + (BLOCKED card38 S) + (BLOCKED card38 W) + + (BLOCKED card32 N) + (BLOCKED card32 S) + + (BLOCKED card26 E) + (BLOCKED card26 S) + + (BLOCKED card34 E) + (BLOCKED card34 W) + + (BLOCKED card35 N) + (BLOCKED card35 W) + + (BLOCKED card36 E) + (BLOCKED card36 W) + + (BLOCKED card37 N) + (BLOCKED card37 S) + + (BLOCKED card45 E) + (BLOCKED card45 S) + + (BLOCKED card39 E) + (BLOCKED card39 S) + + (BLOCKED card33 N) + (BLOCKED card33 W) + + + (BLOCKED card42 E) + (BLOCKED card42 W) + + (BLOCKED card43 W) + + (BLOCKED card44 E) + (BLOCKED card44 W) + + (BLOCKED card3 S) + + (BLOCKED card46 N) + (BLOCKED card46 S) + + (BLOCKED card40 E) + (BLOCKED card40 S) + + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p18.pddl b/labyrinth-opt23-adl/p18.pddl new file mode 100644 index 00000000..719d8b71 --- /dev/null +++ b/labyrinth-opt23-adl/p18.pddl @@ -0,0 +1,213 @@ +;; Generated with seed: 1361, size: 7, num-rotations: 4 +(define (problem labyrinth-size-7-rotations-4-seed-1361) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card44 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos0 pos1) + (card-at card8 pos1 pos1) + (card-at card2 pos2 pos1) + (card-at card10 pos3 pos1) + (card-at card11 pos4 pos1) + (card-at card12 pos5 pos1) + (card-at card13 pos6 pos1) + (card-at card20 pos0 pos2) + (card-at card14 pos1 pos2) + (card-at card15 pos2 pos2) + (card-at card9 pos3 pos2) + (card-at card17 pos4 pos2) + (card-at card18 pos5 pos2) + (card-at card19 pos6 pos2) + (card-at card26 pos0 pos3) + (card-at card27 pos1 pos3) + (card-at card21 pos2 pos3) + (card-at card22 pos3 pos3) + (card-at card16 pos4 pos3) + (card-at card24 pos5 pos3) + (card-at card25 pos6 pos3) + (card-at card28 pos0 pos4) + (card-at card29 pos1 pos4) + (card-at card23 pos2 pos4) + (card-at card31 pos3 pos4) + (card-at card32 pos4 pos4) + (card-at card33 pos5 pos4) + (card-at card34 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card30 pos2 pos5) + (card-at card38 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card40 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card37 pos2 pos6) + (card-at card45 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card47 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 N) + (BLOCKED card0 S) + + (BLOCKED card1 N) + (BLOCKED card1 S) + + (BLOCKED card44 E) + (BLOCKED card44 S) + + (BLOCKED card3 S) + + (BLOCKED card4 S) + + (BLOCKED card5 N) + + (BLOCKED card6 E) + (BLOCKED card6 S) + + (BLOCKED card7 N) + (BLOCKED card7 E) + + (BLOCKED card8 E) + (BLOCKED card8 W) + + (BLOCKED card2 S) + + (BLOCKED card10 N) + (BLOCKED card10 E) + + (BLOCKED card11 E) + (BLOCKED card11 W) + + (BLOCKED card12 E) + + (BLOCKED card13 N) + (BLOCKED card13 S) + + (BLOCKED card20 N) + (BLOCKED card20 E) + + (BLOCKED card14 E) + (BLOCKED card14 S) + + + (BLOCKED card9 S) + (BLOCKED card9 W) + + (BLOCKED card17 E) + (BLOCKED card17 W) + + (BLOCKED card18 N) + (BLOCKED card18 S) + + (BLOCKED card19 S) + (BLOCKED card19 W) + + (BLOCKED card26 S) + (BLOCKED card26 W) + + (BLOCKED card27 E) + (BLOCKED card27 W) + + (BLOCKED card21 E) + (BLOCKED card21 W) + + (BLOCKED card22 E) + (BLOCKED card22 S) + + (BLOCKED card16 E) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + (BLOCKED card25 E) + (BLOCKED card25 W) + + (BLOCKED card28 E) + (BLOCKED card28 S) + + (BLOCKED card29 N) + (BLOCKED card29 W) + + (BLOCKED card23 N) + + (BLOCKED card31 E) + (BLOCKED card31 S) + + (BLOCKED card32 E) + (BLOCKED card32 S) + + (BLOCKED card33 E) + + (BLOCKED card34 E) + (BLOCKED card34 W) + + (BLOCKED card35 N) + + (BLOCKED card36 N) + (BLOCKED card36 E) + + (BLOCKED card30 N) + (BLOCKED card30 E) + + (BLOCKED card38 N) + (BLOCKED card38 S) + + (BLOCKED card39 W) + + (BLOCKED card40 E) + (BLOCKED card40 S) + + (BLOCKED card41 E) + (BLOCKED card41 W) + + (BLOCKED card42 S) + (BLOCKED card42 W) + + (BLOCKED card43 N) + + (BLOCKED card37 S) + + (BLOCKED card45 S) + (BLOCKED card45 W) + + (BLOCKED card46 S) + (BLOCKED card46 W) + + (BLOCKED card47 S) + + (BLOCKED card48 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p19.pddl b/labyrinth-opt23-adl/p19.pddl new file mode 100644 index 00000000..8a64b2c8 --- /dev/null +++ b/labyrinth-opt23-adl/p19.pddl @@ -0,0 +1,267 @@ +;; Generated with seed: 1367, size: 8, num-rotations: 1 +(define (problem labyrinth-size-8-rotations-1-seed-1367) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 pos7 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 card49 card50 card51 card52 card53 card54 card55 card56 card57 card58 card59 card60 card61 card62 card63 - card +) +(:init + (MAX-POS pos7) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + (NEXT pos7 pos6) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card13 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos7 pos0) + (card-at card8 pos0 pos1) + (card-at card9 pos1 pos1) + (card-at card10 pos2 pos1) + (card-at card11 pos3 pos1) + (card-at card12 pos4 pos1) + (card-at card21 pos5 pos1) + (card-at card14 pos6 pos1) + (card-at card15 pos7 pos1) + (card-at card16 pos0 pos2) + (card-at card17 pos1 pos2) + (card-at card18 pos2 pos2) + (card-at card19 pos3 pos2) + (card-at card20 pos4 pos2) + (card-at card29 pos5 pos2) + (card-at card22 pos6 pos2) + (card-at card23 pos7 pos2) + (card-at card24 pos0 pos3) + (card-at card25 pos1 pos3) + (card-at card26 pos2 pos3) + (card-at card27 pos3 pos3) + (card-at card28 pos4 pos3) + (card-at card37 pos5 pos3) + (card-at card30 pos6 pos3) + (card-at card31 pos7 pos3) + (card-at card32 pos0 pos4) + (card-at card33 pos1 pos4) + (card-at card34 pos2 pos4) + (card-at card35 pos3 pos4) + (card-at card36 pos4 pos4) + (card-at card45 pos5 pos4) + (card-at card38 pos6 pos4) + (card-at card39 pos7 pos4) + (card-at card40 pos0 pos5) + (card-at card41 pos1 pos5) + (card-at card42 pos2 pos5) + (card-at card43 pos3 pos5) + (card-at card44 pos4 pos5) + (card-at card53 pos5 pos5) + (card-at card46 pos6 pos5) + (card-at card47 pos7 pos5) + (card-at card48 pos0 pos6) + (card-at card49 pos1 pos6) + (card-at card50 pos2 pos6) + (card-at card51 pos3 pos6) + (card-at card52 pos4 pos6) + (card-at card61 pos5 pos6) + (card-at card54 pos6 pos6) + (card-at card55 pos7 pos6) + (card-at card56 pos0 pos7) + (card-at card57 pos1 pos7) + (card-at card58 pos2 pos7) + (card-at card59 pos3 pos7) + (card-at card60 pos4 pos7) + (card-at card5 pos5 pos7) + (card-at card62 pos6 pos7) + (card-at card63 pos7 pos7) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 N) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + (BLOCKED card3 W) + + (BLOCKED card4 E) + (BLOCKED card4 W) + + (BLOCKED card13 E) + (BLOCKED card13 S) + + (BLOCKED card6 N) + + (BLOCKED card7 E) + (BLOCKED card7 W) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card9 N) + + (BLOCKED card10 E) + (BLOCKED card10 W) + + (BLOCKED card11 N) + (BLOCKED card11 S) + + (BLOCKED card12 N) + (BLOCKED card12 E) + + (BLOCKED card21 E) + (BLOCKED card21 S) + + (BLOCKED card14 S) + (BLOCKED card14 W) + + (BLOCKED card15 N) + (BLOCKED card15 E) + + (BLOCKED card16 S) + (BLOCKED card16 W) + + (BLOCKED card17 W) + + + (BLOCKED card19 N) + (BLOCKED card19 E) + + (BLOCKED card20 W) + + (BLOCKED card29 N) + (BLOCKED card29 S) + + (BLOCKED card22 N) + (BLOCKED card22 E) + + (BLOCKED card23 E) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + (BLOCKED card25 E) + (BLOCKED card25 S) + + (BLOCKED card26 E) + (BLOCKED card26 S) + + (BLOCKED card27 E) + (BLOCKED card27 W) + + (BLOCKED card28 S) + (BLOCKED card28 W) + + (BLOCKED card37 E) + (BLOCKED card37 S) + + (BLOCKED card30 N) + (BLOCKED card30 W) + + (BLOCKED card31 N) + + (BLOCKED card32 N) + (BLOCKED card32 S) + + (BLOCKED card33 E) + + (BLOCKED card34 N) + (BLOCKED card34 W) + + (BLOCKED card35 S) + (BLOCKED card35 W) + + (BLOCKED card36 E) + + (BLOCKED card45 N) + (BLOCKED card45 E) + + (BLOCKED card38 E) + (BLOCKED card38 S) + + (BLOCKED card39 E) + (BLOCKED card39 W) + + (BLOCKED card40 E) + (BLOCKED card40 W) + + (BLOCKED card41 N) + (BLOCKED card41 S) + + (BLOCKED card42 W) + + (BLOCKED card43 N) + (BLOCKED card43 E) + + (BLOCKED card44 S) + + (BLOCKED card53 E) + (BLOCKED card53 W) + + (BLOCKED card46 N) + (BLOCKED card46 W) + + (BLOCKED card47 E) + (BLOCKED card47 W) + + (BLOCKED card48 W) + + (BLOCKED card49 E) + + (BLOCKED card50 N) + (BLOCKED card50 W) + + (BLOCKED card51 E) + (BLOCKED card51 W) + + (BLOCKED card52 N) + (BLOCKED card52 S) + + (BLOCKED card61 S) + + + (BLOCKED card55 N) + + (BLOCKED card56 W) + + (BLOCKED card57 N) + (BLOCKED card57 W) + + (BLOCKED card58 W) + + (BLOCKED card59 N) + (BLOCKED card59 W) + + (BLOCKED card60 N) + (BLOCKED card60 S) + + (BLOCKED card5 E) + + (BLOCKED card62 N) + (BLOCKED card62 S) + + (BLOCKED card63 N) + (BLOCKED card63 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-opt23-adl/p20.pddl b/labyrinth-opt23-adl/p20.pddl new file mode 100644 index 00000000..f18a175a --- /dev/null +++ b/labyrinth-opt23-adl/p20.pddl @@ -0,0 +1,274 @@ +;; Generated with seed: 1373, size: 8, num-rotations: 2 +(define (problem labyrinth-size-8-rotations-2-seed-1373) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 pos7 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 card49 card50 card51 card52 card53 card54 card55 card56 card57 card58 card59 card60 card61 card62 card63 - card +) +(:init + (MAX-POS pos7) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + (NEXT pos7 pos6) + + (card-at card0 pos0 pos0) + (card-at card57 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos7 pos0) + (card-at card8 pos0 pos1) + (card-at card1 pos1 pos1) + (card-at card10 pos2 pos1) + (card-at card11 pos3 pos1) + (card-at card12 pos4 pos1) + (card-at card13 pos5 pos1) + (card-at card14 pos6 pos1) + (card-at card15 pos7 pos1) + (card-at card16 pos0 pos2) + (card-at card9 pos1 pos2) + (card-at card18 pos2 pos2) + (card-at card19 pos3 pos2) + (card-at card20 pos4 pos2) + (card-at card21 pos5 pos2) + (card-at card22 pos6 pos2) + (card-at card23 pos7 pos2) + (card-at card24 pos0 pos3) + (card-at card17 pos1 pos3) + (card-at card26 pos2 pos3) + (card-at card27 pos3 pos3) + (card-at card28 pos4 pos3) + (card-at card29 pos5 pos3) + (card-at card30 pos6 pos3) + (card-at card31 pos7 pos3) + (card-at card33 pos0 pos4) + (card-at card25 pos1 pos4) + (card-at card35 pos2 pos4) + (card-at card36 pos3 pos4) + (card-at card37 pos4 pos4) + (card-at card38 pos5 pos4) + (card-at card39 pos6 pos4) + (card-at card32 pos7 pos4) + (card-at card40 pos0 pos5) + (card-at card34 pos1 pos5) + (card-at card42 pos2 pos5) + (card-at card43 pos3 pos5) + (card-at card44 pos4 pos5) + (card-at card45 pos5 pos5) + (card-at card46 pos6 pos5) + (card-at card47 pos7 pos5) + (card-at card48 pos0 pos6) + (card-at card41 pos1 pos6) + (card-at card50 pos2 pos6) + (card-at card51 pos3 pos6) + (card-at card52 pos4 pos6) + (card-at card53 pos5 pos6) + (card-at card54 pos6 pos6) + (card-at card55 pos7 pos6) + (card-at card56 pos0 pos7) + (card-at card49 pos1 pos7) + (card-at card58 pos2 pos7) + (card-at card59 pos3 pos7) + (card-at card60 pos4 pos7) + (card-at card61 pos5 pos7) + (card-at card62 pos6 pos7) + (card-at card63 pos7 pos7) + + (BLOCKED card0 S) + + (BLOCKED card57 E) + (BLOCKED card57 W) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + (BLOCKED card3 N) + (BLOCKED card3 E) + + (BLOCKED card4 S) + (BLOCKED card4 W) + + (BLOCKED card5 S) + (BLOCKED card5 W) + + + (BLOCKED card7 W) + + (BLOCKED card8 N) + (BLOCKED card8 W) + + (BLOCKED card1 N) + (BLOCKED card1 S) + + (BLOCKED card10 E) + (BLOCKED card10 S) + + (BLOCKED card11 E) + (BLOCKED card11 S) + + (BLOCKED card12 E) + (BLOCKED card12 S) + + (BLOCKED card13 N) + (BLOCKED card13 W) + + (BLOCKED card14 N) + (BLOCKED card14 S) + + (BLOCKED card15 N) + + (BLOCKED card16 S) + (BLOCKED card16 W) + + (BLOCKED card9 N) + (BLOCKED card9 S) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card19 E) + (BLOCKED card19 W) + + (BLOCKED card20 N) + (BLOCKED card20 W) + + (BLOCKED card21 N) + (BLOCKED card21 W) + + (BLOCKED card22 S) + + (BLOCKED card23 N) + (BLOCKED card23 W) + + (BLOCKED card24 N) + (BLOCKED card24 S) + + (BLOCKED card17 N) + (BLOCKED card17 E) + + (BLOCKED card26 N) + + (BLOCKED card27 E) + + (BLOCKED card28 N) + (BLOCKED card28 W) + + (BLOCKED card29 N) + (BLOCKED card29 S) + + (BLOCKED card30 E) + + (BLOCKED card31 N) + (BLOCKED card31 E) + + (BLOCKED card33 N) + (BLOCKED card33 W) + + (BLOCKED card25 W) + + (BLOCKED card35 E) + (BLOCKED card35 W) + + (BLOCKED card36 N) + + (BLOCKED card37 S) + (BLOCKED card37 W) + + (BLOCKED card38 N) + (BLOCKED card38 W) + + (BLOCKED card39 S) + (BLOCKED card39 W) + + (BLOCKED card32 N) + (BLOCKED card32 E) + + (BLOCKED card40 N) + (BLOCKED card40 S) + + (BLOCKED card34 N) + (BLOCKED card34 E) + + (BLOCKED card42 N) + (BLOCKED card42 E) + + (BLOCKED card43 S) + (BLOCKED card43 W) + + (BLOCKED card44 N) + + (BLOCKED card45 N) + (BLOCKED card45 E) + + (BLOCKED card46 N) + (BLOCKED card46 W) + + (BLOCKED card47 E) + (BLOCKED card47 W) + + (BLOCKED card48 N) + (BLOCKED card48 E) + + (BLOCKED card41 N) + (BLOCKED card41 S) + + (BLOCKED card50 E) + (BLOCKED card50 S) + + (BLOCKED card51 N) + (BLOCKED card51 E) + + (BLOCKED card52 N) + (BLOCKED card52 W) + + (BLOCKED card53 W) + + (BLOCKED card54 N) + + (BLOCKED card55 N) + (BLOCKED card55 E) + + (BLOCKED card56 N) + + (BLOCKED card49 E) + (BLOCKED card49 W) + + (BLOCKED card58 E) + (BLOCKED card58 W) + + (BLOCKED card59 S) + (BLOCKED card59 W) + + (BLOCKED card60 N) + (BLOCKED card60 S) + + (BLOCKED card61 E) + (BLOCKED card61 S) + + (BLOCKED card62 N) + + (BLOCKED card63 E) + (BLOCKED card63 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/domain.pddl b/labyrinth-sat23-adl/domain.pddl new file mode 100644 index 00000000..602254b9 --- /dev/null +++ b/labyrinth-sat23-adl/domain.pddl @@ -0,0 +1,478 @@ +(define (domain labyrinth) +(:requirements :adl :action-costs) + +(:types + ;; card with 2 to 4 paths + card - object + direction - object + ;; vertical direction: N S + directionV - direction + ;; horizontal directions: W E + directionH - direction + ;; values for positions of the card in the grid + gridpos - object +) + +(:constants + S N - directionV + W E - directionH +) + +(:predicates + ;; ordering of values for grid positions ?p1 = ?p2 + 1 + (NEXT ?p1 - gridpos ?p2 - gridpos) + ;; maximal grid index + (MAX-POS ?p - gridpos) + ;; minimal grid index + (MIN-POS ?p - gridpos) + ;; moving from ?c in direction ?d is blocked by a wall + (BLOCKED ?c - card ?d - direction) + ;; robot is located on card ?c + (robot-at ?c - card) + ;; card ?c is positioned in the grid at ?x ?y + (card-at ?c - card ?x - gridpos ?y - gridpos) + ;; flag indicating that the robot left the maze e.i. that the goal has been reached + (left) + + ;; flag to indicate that a card is currently moving an the robot cannot move + (cards-moving) + ;; flags to indicate that a row/column is rotating in the corresponding direction + (cards-moving-west) + (cards-moving-east) + (cards-moving-south) + (cards-moving-north) + ;; the card whose position needs to be updated next while rotating + (next-moving-card ?c - card) + ;; the card that was removed to rotate and which needs to be placed at the beginning/end of the row/column + (new-headtail-card ?c - card) + +) + +(:functions + (total-cost) - number + (move-robot-cost) - number + (move-card) - number +) + +;; moves the robot between to cards +(:action move-west + :parameters (?cfrom - card ?xfrom - gridpos ?yfrom - gridpos ?dfrom - directionH ?cto - card ?xto - gridpos ?yto - gridpos ?dto - directionH) + :precondition + (and + (not (cards-moving)) + (= ?dfrom w) + (robot-at ?cfrom) + (card-at ?cfrom ?xfrom ?yfrom) + (card-at ?cto ?xto ?yto) + (next ?xfrom ?xto) + (= ?yfrom ?yto) + (not (= ?dfrom ?dto)) + (not (blocked ?cfrom ?dfrom)) + (not (blocked ?cto ?dto)) + ) + :effect + (and + (not (robot-at ?cfrom)) + (robot-at ?cto) + (increase (total-cost) (move-robot-cost)) + ) +) + +(:action move-east + :parameters (?cfrom - card ?xfrom - gridpos ?yfrom - gridpos ?dfrom - directionH ?cto - card ?xto - gridpos ?yto - gridpos ?dto - directionH) + :precondition + (and + (not (cards-moving)) + (= ?dfrom e) + (robot-at ?cfrom) + (card-at ?cfrom ?xfrom ?yfrom) + (card-at ?cto ?xto ?yto) + (next ?xto ?xfrom) + (= ?yfrom ?yto) + (not (= ?dfrom ?dto)) + (not (blocked ?cfrom ?dfrom)) + (not (blocked ?cto ?dto)) + ) + :effect + (and + (not (robot-at ?cfrom)) + (robot-at ?cto) + (increase (total-cost) (move-robot-cost)) + ) +) + +(:action move-north + :parameters (?cfrom - card ?xfrom - gridpos ?yfrom - gridpos ?dfrom - directionV ?cto - card ?xto - gridpos ?yto - gridpos ?dto - directionV) + :precondition + (and + (not (cards-moving)) + (= ?dfrom n) + (robot-at ?cfrom) + (card-at ?cfrom ?xfrom ?yfrom) + (card-at ?cto ?xto ?yto) + (next ?yfrom ?yto) + (= ?xfrom ?xto) + (not (= ?dfrom ?dto)) + (not (blocked ?cfrom ?dfrom)) + (not (blocked ?cto ?dto)) + ) + :effect + (and + (not (robot-at ?cfrom)) + (robot-at ?cto) + (increase (total-cost) (move-robot-cost)) + ) +) + +(:action move-south + :parameters (?cfrom - card ?xfrom - gridpos ?yfrom - gridpos ?dfrom - directionV ?cto - card ?xto - gridpos ?yto - gridpos ?dto - directionV) + :precondition + (and + (not (cards-moving)) + (= ?dfrom s) + (robot-at ?cfrom) + (card-at ?cfrom ?xfrom ?yfrom) + (card-at ?cto ?xto ?yto) + (next ?yto ?yfrom) + (= ?xfrom ?xto) + (not (= ?dfrom ?dto)) + (not (blocked ?cfrom ?dfrom)) + (not (blocked ?cto ?dto)) + ) + :effect + (and + (not (robot-at ?cfrom)) + (robot-at ?cto) + (increase (total-cost) (move-robot-cost)) + ) +) + + +;; there 3 (start, move, stop) for each direction to rotate the cards +;; rotating ends in a deadend if the card with the robot in the row/column that is rotated +;; ---------------------------------------------------------------------------------------- + +;; starts rotation +;; saves the card with the minimal index +;; determines which card should be updated next the corresponding move action +;; and makes all other actions inapplicable by setting cards-moving and cards-moving-west +(:action start-move-card-west +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nextx - gridpos) +:precondition + (and + (not (cards-moving)) + (not (cards-moving-west)) + (not (robot-at ?cm)) + (card-at ?cm ?x ?y ) + (min-pos ?x) + (card-at ?cnext ?nextx ?y) + (next ?nextx ?x) + ) +:effect + (and + (cards-moving) + (cards-moving-west) + (not (card-at ?cm ?x ?y )) + (new-headtail-card ?cm) + (next-moving-card ?cnext) + (increase (total-cost) (move-card)) + ) +) + +;; updates the grid column index of ?cm which is the next card to update +(:action move-card-west +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nextx - gridpos ?prevx - gridpos) +:precondition + (and + (cards-moving) + (cards-moving-west) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (card-at ?cnext ?nextx ?y) + (next ?x ?prevx) + (next ?nextx ?x) + ) +:effect + (and + (cards-moving) + (cards-moving-west) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?prevx ?y) + (not (next-moving-card ?cm)) + (next-moving-card ?cnext) + ) +) + +;; stops rotation +;; updates the grid index of the card specified by the start move action in new-headtail-card +(:action stop-move-card-west +:parameters(?cm - card ?x - gridpos ?y - gridpos ?prevx - gridpos ?newtc - card) +:precondition + (and + (cards-moving) + (cards-moving-west) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (next ?x ?prevx) + (max-pos ?x) + (new-headtail-card ?newtc) + ) +:effect + (and + (not (cards-moving)) + (not (cards-moving-west)) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?prevx ?y) + (card-at ?newtc ?x ?y) + (not (new-headtail-card ?newtc)) + (not (next-moving-card ?cm)) + ) +) + + +;; ---------------------------------------------------------------------------------------- + +(:action start-move-card-east +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nextx - gridpos) +:precondition + (and + (not (cards-moving)) + (not (cards-moving-east)) + (not (robot-at ?cm)) + (card-at ?cm ?x ?y ) + (max-pos ?x) + (card-at ?cnext ?nextx ?y) + (next ?x ?nextx) + ) +:effect + (and + (cards-moving) + (cards-moving-east) + (not (card-at ?cm ?x ?y )) + (new-headtail-card ?cm) + (next-moving-card ?cnext) + (increase (total-cost) (move-card)) + ) +) + +(:action move-card-east +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nextx - gridpos ?prevx - gridpos) +:precondition + (and + (cards-moving) + (cards-moving-east) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (card-at ?cnext ?nextx ?y) + (next ?prevx ?x) + (next ?x ?nextx) + ) +:effect + (and + (cards-moving) + (cards-moving-east) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?prevx ?y) + (not (next-moving-card ?cm)) + (next-moving-card ?cnext) + ) +) + +(:action stop-move-card-east +:parameters(?cm - card ?x - gridpos ?y - gridpos ?prevx - gridpos ?newtc - card) +:precondition + (and + (cards-moving) + (cards-moving-east) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (next ?prevx ?x) + (min-pos ?x) + (new-headtail-card ?newtc) + ) +:effect + (and + (not (cards-moving)) + (not (cards-moving-east)) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?prevx ?y) + (card-at ?newtc ?x ?y) + (not (new-headtail-card ?newtc)) + (not (next-moving-card ?cm)) + ) +) + +;; ---------------------------------------------------------------------------------------- + +(:action start-move-card-north +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nexty - gridpos) +:precondition + (and + (not (cards-moving)) + (not (cards-moving-north)) + (not (robot-at ?cm)) + (card-at ?cm ?x ?y ) + (min-pos ?y) + (card-at ?cnext ?x ?nexty) + (next ?nexty ?y) + ) +:effect + (and + (cards-moving) + (cards-moving-north) + (not (card-at ?cm ?x ?y )) + (new-headtail-card ?cm) + (next-moving-card ?cnext) + (increase (total-cost) (move-card)) + ) +) + +(:action move-card-north +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nexty - gridpos ?prevy - gridpos) +:precondition + (and + (cards-moving) + (cards-moving-north) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (card-at ?cnext ?x ?nexty) + (next ?y ?prevy) + (next ?nexty ?y) + ) +:effect + (and + (cards-moving) + (cards-moving-north) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?x ?prevy) + (not (next-moving-card ?cm)) + (next-moving-card ?cnext) + ) +) + +(:action stop-move-card-north +:parameters(?cm - card ?x - gridpos ?y - gridpos ?prevy - gridpos ?newtc - card) +:precondition + (and + (cards-moving) + (cards-moving-north) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (next ?y ?prevy) + (max-pos ?y) + (new-headtail-card ?newtc) + ) +:effect + (and + (not (cards-moving)) + (not (cards-moving-north)) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?x ?prevy) + (card-at ?newtc ?x ?y) + (not (new-headtail-card ?newtc)) + (not (next-moving-card ?cm)) + ) +) + +;; ---------------------------------------------------------------------------------------- + +(:action start-move-card-south +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nexty - gridpos) +:precondition + (and + (not (cards-moving)) + (not (cards-moving-south)) + (not (robot-at ?cm)) + (card-at ?cm ?x ?y ) + (max-pos ?y) + (card-at ?cnext ?x ?nexty) + (next ?y ?nexty) + ) +:effect + (and + (cards-moving) + (cards-moving-south) + (not (card-at ?cm ?x ?y )) + (new-headtail-card ?cm) + (next-moving-card ?cnext) + (increase (total-cost) (move-card)) + ) +) + +(:action move-card-south +:parameters(?cm - card ?x - gridpos ?y - gridpos ?cnext - card ?nexty - gridpos ?prevy - gridpos) +:precondition + (and + (cards-moving) + (cards-moving-south) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (card-at ?cnext ?x ?nexty) + (next ?prevy ?y) + (next ?y ?nexty) + ) +:effect + (and + (cards-moving) + (cards-moving-south) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?x ?prevy) + (not (next-moving-card ?cm)) + (next-moving-card ?cnext) + ) +) + +(:action stop-move-card-south +:parameters(?cm - card ?x - gridpos ?y - gridpos ?prevy - gridpos ?newtc - card) +:precondition + (and + (cards-moving) + (cards-moving-south) + (not (robot-at ?cm)) + (next-moving-card ?cm) + (card-at ?cm ?x ?y ) + (next ?prevy ?y) + (min-pos ?y) + (new-headtail-card ?newtc) + ) +:effect + (and + (not (cards-moving)) + (not (cards-moving-south)) + (not (card-at ?cm ?x ?y)) + (card-at ?cm ?x ?prevy) + (card-at ?newtc ?x ?y) + (not (new-headtail-card ?newtc)) + (not (next-moving-card ?cm)) + ) +) + + +;; checks whether the robot can leave the labyrinth i.e +;; whether the card the robot is currently on is in the bottom right corner +;; and the rover is in sector SE +(:action leave +:parameters(?c - card ?prow - gridpos ?pcolumn - gridpos) +:precondition + (and + (not (cards-moving)) + (robot-at ?c) + (card-at ?c ?prow ?pcolumn) + (max-pos ?prow) + (max-pos ?pcolumn) + (not (blocked ?c s )) + ) +:effect + (and + (left) + ) +) +) + diff --git a/labyrinth-sat23-adl/p01.pddl b/labyrinth-sat23-adl/p01.pddl new file mode 100644 index 00000000..68d879c5 --- /dev/null +++ b/labyrinth-sat23-adl/p01.pddl @@ -0,0 +1,125 @@ +;; Generated with seed: 1229, size: 5, num-rotations: 1 +(define (problem labyrinth-size-5-rotations-1-seed-1229) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 - card +) +(:init + (MAX-POS pos4) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card7 pos2 pos1) + (card-at card8 pos3 pos1) + (card-at card9 pos4 pos1) + (card-at card11 pos0 pos2) + (card-at card12 pos1 pos2) + (card-at card13 pos2 pos2) + (card-at card14 pos3 pos2) + (card-at card10 pos4 pos2) + (card-at card15 pos0 pos3) + (card-at card16 pos1 pos3) + (card-at card17 pos2 pos3) + (card-at card18 pos3 pos3) + (card-at card19 pos4 pos3) + (card-at card20 pos0 pos4) + (card-at card21 pos1 pos4) + (card-at card22 pos2 pos4) + (card-at card23 pos3 pos4) + (card-at card24 pos4 pos4) + + (BLOCKED card0 S) + (BLOCKED card0 W) + + (BLOCKED card1 N) + (BLOCKED card1 S) + + (BLOCKED card2 N) + + (BLOCKED card3 N) + (BLOCKED card3 S) + + (BLOCKED card4 N) + (BLOCKED card4 E) + + (BLOCKED card5 S) + (BLOCKED card5 W) + + (BLOCKED card6 W) + + (BLOCKED card7 N) + (BLOCKED card7 S) + + (BLOCKED card8 N) + (BLOCKED card8 W) + + (BLOCKED card9 E) + (BLOCKED card9 S) + + (BLOCKED card11 E) + (BLOCKED card11 S) + + (BLOCKED card12 E) + (BLOCKED card12 W) + + (BLOCKED card13 S) + (BLOCKED card13 W) + + (BLOCKED card14 N) + (BLOCKED card14 E) + + (BLOCKED card10 N) + + (BLOCKED card15 E) + (BLOCKED card15 S) + + (BLOCKED card16 N) + (BLOCKED card16 E) + + (BLOCKED card17 N) + (BLOCKED card17 S) + + (BLOCKED card18 S) + (BLOCKED card18 W) + + (BLOCKED card19 W) + + (BLOCKED card20 W) + + (BLOCKED card21 N) + (BLOCKED card21 E) + + (BLOCKED card22 N) + (BLOCKED card22 E) + + (BLOCKED card23 E) + (BLOCKED card23 S) + + (BLOCKED card24 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p02.pddl b/labyrinth-sat23-adl/p02.pddl new file mode 100644 index 00000000..4d91d5bb --- /dev/null +++ b/labyrinth-sat23-adl/p02.pddl @@ -0,0 +1,123 @@ +;; Generated with seed: 1231, size: 5, num-rotations: 2 +(define (problem labyrinth-size-5-rotations-2-seed-1231) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 - card +) +(:init + (MAX-POS pos4) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card7 pos2 pos1) + (card-at card8 pos3 pos1) + (card-at card9 pos4 pos1) + (card-at card14 pos0 pos2) + (card-at card10 pos1 pos2) + (card-at card11 pos2 pos2) + (card-at card12 pos3 pos2) + (card-at card13 pos4 pos2) + (card-at card19 pos0 pos3) + (card-at card15 pos1 pos3) + (card-at card16 pos2 pos3) + (card-at card17 pos3 pos3) + (card-at card18 pos4 pos3) + (card-at card20 pos0 pos4) + (card-at card21 pos1 pos4) + (card-at card22 pos2 pos4) + (card-at card23 pos3 pos4) + (card-at card24 pos4 pos4) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 N) + (BLOCKED card1 S) + + (BLOCKED card2 S) + + (BLOCKED card3 N) + (BLOCKED card3 E) + + (BLOCKED card4 N) + (BLOCKED card4 E) + + (BLOCKED card5 N) + + (BLOCKED card6 N) + (BLOCKED card6 W) + + (BLOCKED card7 N) + (BLOCKED card7 S) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card9 N) + + (BLOCKED card14 W) + + (BLOCKED card10 E) + (BLOCKED card10 W) + + (BLOCKED card11 S) + (BLOCKED card11 W) + + (BLOCKED card12 E) + (BLOCKED card12 W) + + (BLOCKED card13 N) + (BLOCKED card13 S) + + + (BLOCKED card15 N) + (BLOCKED card15 W) + + (BLOCKED card16 N) + (BLOCKED card16 E) + + (BLOCKED card17 N) + + (BLOCKED card18 N) + (BLOCKED card18 S) + + (BLOCKED card20 S) + (BLOCKED card20 W) + + (BLOCKED card21 N) + (BLOCKED card21 W) + + (BLOCKED card22 S) + (BLOCKED card22 W) + + (BLOCKED card23 S) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p03.pddl b/labyrinth-sat23-adl/p03.pddl new file mode 100644 index 00000000..64455509 --- /dev/null +++ b/labyrinth-sat23-adl/p03.pddl @@ -0,0 +1,127 @@ +;; Generated with seed: 1237, size: 5, num-rotations: 3 +(define (problem labyrinth-size-5-rotations-3-seed-1237) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 - card +) +(:init + (MAX-POS pos4) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card23 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card7 pos2 pos1) + (card-at card3 pos3 pos1) + (card-at card9 pos4 pos1) + (card-at card10 pos0 pos2) + (card-at card11 pos1 pos2) + (card-at card12 pos2 pos2) + (card-at card8 pos3 pos2) + (card-at card14 pos4 pos2) + (card-at card18 pos0 pos3) + (card-at card19 pos1 pos3) + (card-at card15 pos2 pos3) + (card-at card13 pos3 pos3) + (card-at card17 pos4 pos3) + (card-at card20 pos0 pos4) + (card-at card21 pos1 pos4) + (card-at card22 pos2 pos4) + (card-at card16 pos3 pos4) + (card-at card24 pos4 pos4) + + (BLOCKED card0 N) + (BLOCKED card0 S) + + (BLOCKED card1 S) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card23 S) + (BLOCKED card23 W) + + (BLOCKED card4 N) + (BLOCKED card4 E) + + (BLOCKED card5 E) + (BLOCKED card5 W) + + (BLOCKED card6 E) + (BLOCKED card6 W) + + (BLOCKED card7 E) + + (BLOCKED card3 N) + (BLOCKED card3 S) + + (BLOCKED card9 E) + + (BLOCKED card10 N) + (BLOCKED card10 S) + + (BLOCKED card11 E) + (BLOCKED card11 S) + + (BLOCKED card12 S) + (BLOCKED card12 W) + + (BLOCKED card8 N) + (BLOCKED card8 W) + + (BLOCKED card14 E) + (BLOCKED card14 W) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card19 N) + (BLOCKED card19 W) + + (BLOCKED card15 E) + (BLOCKED card15 S) + + (BLOCKED card13 E) + (BLOCKED card13 W) + + (BLOCKED card17 N) + (BLOCKED card17 W) + + (BLOCKED card20 S) + (BLOCKED card20 W) + + (BLOCKED card21 E) + (BLOCKED card21 W) + + (BLOCKED card22 E) + (BLOCKED card22 W) + + (BLOCKED card16 S) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p04.pddl b/labyrinth-sat23-adl/p04.pddl new file mode 100644 index 00000000..c7a23ae0 --- /dev/null +++ b/labyrinth-sat23-adl/p04.pddl @@ -0,0 +1,120 @@ +;; Generated with seed: 1249, size: 5, num-rotations: 4 +(define (problem labyrinth-size-5-rotations-4-seed-1249) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 - card +) +(:init + (MAX-POS pos4) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card9 pos0 pos1) + (card-at card5 pos1 pos1) + (card-at card6 pos2 pos1) + (card-at card7 pos3 pos1) + (card-at card8 pos4 pos1) + (card-at card14 pos0 pos2) + (card-at card10 pos1 pos2) + (card-at card11 pos2 pos2) + (card-at card12 pos3 pos2) + (card-at card13 pos4 pos2) + (card-at card15 pos0 pos3) + (card-at card16 pos1 pos3) + (card-at card17 pos2 pos3) + (card-at card18 pos3 pos3) + (card-at card19 pos4 pos3) + (card-at card20 pos0 pos4) + (card-at card21 pos1 pos4) + (card-at card22 pos2 pos4) + (card-at card23 pos3 pos4) + (card-at card24 pos4 pos4) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 N) + (BLOCKED card1 E) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card3 N) + + (BLOCKED card4 E) + (BLOCKED card4 S) + + (BLOCKED card9 S) + (BLOCKED card9 W) + + (BLOCKED card5 W) + + (BLOCKED card6 S) + (BLOCKED card6 W) + + (BLOCKED card7 S) + + (BLOCKED card8 E) + + (BLOCKED card14 N) + (BLOCKED card14 W) + + (BLOCKED card10 E) + (BLOCKED card10 S) + + + (BLOCKED card12 E) + + (BLOCKED card13 E) + (BLOCKED card13 W) + + (BLOCKED card15 S) + (BLOCKED card15 W) + + (BLOCKED card16 E) + (BLOCKED card16 S) + + (BLOCKED card17 N) + (BLOCKED card17 W) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card19 S) + (BLOCKED card19 W) + + (BLOCKED card20 S) + + (BLOCKED card21 S) + (BLOCKED card21 W) + + (BLOCKED card22 N) + (BLOCKED card22 W) + + (BLOCKED card23 S) + + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p05.pddl b/labyrinth-sat23-adl/p05.pddl new file mode 100644 index 00000000..a1b63e8c --- /dev/null +++ b/labyrinth-sat23-adl/p05.pddl @@ -0,0 +1,158 @@ +;; Generated with seed: 1259, size: 6, num-rotations: 1 +(define (problem labyrinth-size-6-rotations-1-seed-1259) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card7 pos0 pos1) + (card-at card8 pos1 pos1) + (card-at card9 pos2 pos1) + (card-at card10 pos3 pos1) + (card-at card11 pos4 pos1) + (card-at card6 pos5 pos1) + (card-at card12 pos0 pos2) + (card-at card13 pos1 pos2) + (card-at card14 pos2 pos2) + (card-at card15 pos3 pos2) + (card-at card16 pos4 pos2) + (card-at card17 pos5 pos2) + (card-at card18 pos0 pos3) + (card-at card19 pos1 pos3) + (card-at card20 pos2 pos3) + (card-at card21 pos3 pos3) + (card-at card22 pos4 pos3) + (card-at card23 pos5 pos3) + (card-at card24 pos0 pos4) + (card-at card25 pos1 pos4) + (card-at card26 pos2 pos4) + (card-at card27 pos3 pos4) + (card-at card28 pos4 pos4) + (card-at card29 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card31 pos1 pos5) + (card-at card32 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card34 pos4 pos5) + (card-at card35 pos5 pos5) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 E) + (BLOCKED card1 S) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card3 N) + (BLOCKED card3 E) + + (BLOCKED card4 S) + (BLOCKED card4 W) + + (BLOCKED card5 N) + (BLOCKED card5 E) + + (BLOCKED card7 N) + (BLOCKED card7 W) + + + (BLOCKED card9 N) + (BLOCKED card9 E) + + (BLOCKED card10 E) + (BLOCKED card10 S) + + (BLOCKED card11 N) + (BLOCKED card11 W) + + (BLOCKED card6 E) + + (BLOCKED card12 S) + (BLOCKED card12 W) + + (BLOCKED card13 E) + (BLOCKED card13 S) + + + (BLOCKED card15 S) + + (BLOCKED card16 E) + + (BLOCKED card17 S) + (BLOCKED card17 W) + + (BLOCKED card18 N) + (BLOCKED card18 E) + + (BLOCKED card19 N) + + (BLOCKED card20 N) + (BLOCKED card20 E) + + (BLOCKED card21 W) + + (BLOCKED card22 E) + + (BLOCKED card23 N) + (BLOCKED card23 E) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + (BLOCKED card25 E) + (BLOCKED card25 S) + + (BLOCKED card26 N) + + (BLOCKED card27 W) + + (BLOCKED card28 S) + + (BLOCKED card29 E) + + (BLOCKED card30 E) + + (BLOCKED card31 E) + + (BLOCKED card32 S) + + (BLOCKED card33 N) + (BLOCKED card33 E) + + (BLOCKED card34 E) + (BLOCKED card34 S) + + (BLOCKED card35 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p06.pddl b/labyrinth-sat23-adl/p06.pddl new file mode 100644 index 00000000..f64176c1 --- /dev/null +++ b/labyrinth-sat23-adl/p06.pddl @@ -0,0 +1,164 @@ +;; Generated with seed: 1277, size: 6, num-rotations: 2 +(define (problem labyrinth-size-6-rotations-2-seed-1277) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card31 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos0 pos1) + (card-at card1 pos1 pos1) + (card-at card8 pos2 pos1) + (card-at card9 pos3 pos1) + (card-at card10 pos4 pos1) + (card-at card11 pos5 pos1) + (card-at card13 pos0 pos2) + (card-at card7 pos1 pos2) + (card-at card15 pos2 pos2) + (card-at card16 pos3 pos2) + (card-at card17 pos4 pos2) + (card-at card12 pos5 pos2) + (card-at card18 pos0 pos3) + (card-at card14 pos1 pos3) + (card-at card20 pos2 pos3) + (card-at card21 pos3 pos3) + (card-at card22 pos4 pos3) + (card-at card23 pos5 pos3) + (card-at card24 pos0 pos4) + (card-at card19 pos1 pos4) + (card-at card26 pos2 pos4) + (card-at card27 pos3 pos4) + (card-at card28 pos4 pos4) + (card-at card29 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card25 pos1 pos5) + (card-at card32 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card34 pos4 pos5) + (card-at card35 pos5 pos5) + + (BLOCKED card0 N) + (BLOCKED card0 S) + + (BLOCKED card31 W) + + (BLOCKED card2 S) + + (BLOCKED card3 N) + (BLOCKED card3 E) + + (BLOCKED card4 S) + + (BLOCKED card5 N) + (BLOCKED card5 E) + + (BLOCKED card6 N) + (BLOCKED card6 S) + + (BLOCKED card1 N) + (BLOCKED card1 E) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card9 N) + (BLOCKED card9 E) + + (BLOCKED card10 N) + + (BLOCKED card11 S) + (BLOCKED card11 W) + + (BLOCKED card13 S) + + (BLOCKED card7 E) + (BLOCKED card7 W) + + (BLOCKED card15 E) + (BLOCKED card15 S) + + (BLOCKED card16 N) + (BLOCKED card16 S) + + (BLOCKED card17 E) + (BLOCKED card17 S) + + (BLOCKED card12 E) + (BLOCKED card12 S) + + (BLOCKED card18 N) + (BLOCKED card18 S) + + (BLOCKED card14 N) + (BLOCKED card14 E) + + (BLOCKED card20 E) + (BLOCKED card20 W) + + (BLOCKED card21 N) + (BLOCKED card21 S) + + (BLOCKED card22 S) + (BLOCKED card22 W) + + (BLOCKED card23 N) + (BLOCKED card23 S) + + (BLOCKED card24 W) + + (BLOCKED card19 N) + (BLOCKED card19 S) + + (BLOCKED card26 E) + + (BLOCKED card27 N) + (BLOCKED card27 S) + + (BLOCKED card28 W) + + (BLOCKED card29 E) + (BLOCKED card29 S) + + (BLOCKED card30 S) + (BLOCKED card30 W) + + (BLOCKED card25 N) + (BLOCKED card25 W) + + (BLOCKED card32 S) + + (BLOCKED card33 S) + + (BLOCKED card34 N) + + (BLOCKED card35 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p07.pddl b/labyrinth-sat23-adl/p07.pddl new file mode 100644 index 00000000..dacf1c26 --- /dev/null +++ b/labyrinth-sat23-adl/p07.pddl @@ -0,0 +1,163 @@ +;; Generated with seed: 1279, size: 6, num-rotations: 3 +(define (problem labyrinth-size-6-rotations-3-seed-1279) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card31 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card10 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos0 pos1) + (card-at card1 pos1 pos1) + (card-at card8 pos2 pos1) + (card-at card9 pos3 pos1) + (card-at card16 pos4 pos1) + (card-at card11 pos5 pos1) + (card-at card17 pos0 pos2) + (card-at card12 pos1 pos2) + (card-at card7 pos2 pos2) + (card-at card14 pos3 pos2) + (card-at card15 pos4 pos2) + (card-at card22 pos5 pos2) + (card-at card18 pos0 pos3) + (card-at card13 pos1 pos3) + (card-at card20 pos2 pos3) + (card-at card21 pos3 pos3) + (card-at card28 pos4 pos3) + (card-at card23 pos5 pos3) + (card-at card24 pos0 pos4) + (card-at card19 pos1 pos4) + (card-at card26 pos2 pos4) + (card-at card27 pos3 pos4) + (card-at card34 pos4 pos4) + (card-at card29 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card25 pos1 pos5) + (card-at card32 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card4 pos4 pos5) + (card-at card35 pos5 pos5) + + (BLOCKED card0 N) + (BLOCKED card0 E) + + (BLOCKED card31 N) + + (BLOCKED card2 S) + (BLOCKED card2 W) + + (BLOCKED card3 E) + (BLOCKED card3 S) + + (BLOCKED card10 N) + (BLOCKED card10 E) + + (BLOCKED card5 N) + (BLOCKED card5 S) + + (BLOCKED card6 E) + + (BLOCKED card1 N) + + (BLOCKED card8 E) + (BLOCKED card8 S) + + (BLOCKED card9 E) + (BLOCKED card9 W) + + (BLOCKED card16 N) + (BLOCKED card16 E) + + (BLOCKED card11 N) + (BLOCKED card11 S) + + (BLOCKED card17 E) + + (BLOCKED card12 W) + + (BLOCKED card7 N) + + (BLOCKED card14 S) + (BLOCKED card14 W) + + (BLOCKED card15 N) + (BLOCKED card15 E) + + (BLOCKED card22 N) + + (BLOCKED card18 N) + (BLOCKED card18 W) + + (BLOCKED card13 N) + + (BLOCKED card20 N) + (BLOCKED card20 W) + + (BLOCKED card21 N) + (BLOCKED card21 W) + + (BLOCKED card28 S) + (BLOCKED card28 W) + + (BLOCKED card23 N) + (BLOCKED card23 W) + + (BLOCKED card24 E) + (BLOCKED card24 W) + + (BLOCKED card19 E) + + (BLOCKED card26 S) + + (BLOCKED card27 E) + (BLOCKED card27 W) + + (BLOCKED card34 E) + (BLOCKED card34 W) + + (BLOCKED card29 N) + (BLOCKED card29 E) + + (BLOCKED card30 S) + (BLOCKED card30 W) + + (BLOCKED card25 N) + + (BLOCKED card32 N) + + (BLOCKED card33 E) + (BLOCKED card33 S) + + (BLOCKED card4 N) + (BLOCKED card4 E) + + (BLOCKED card35 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p08.pddl b/labyrinth-sat23-adl/p08.pddl new file mode 100644 index 00000000..ba6750f9 --- /dev/null +++ b/labyrinth-sat23-adl/p08.pddl @@ -0,0 +1,162 @@ +;; Generated with seed: 1283, size: 6, num-rotations: 4 +(define (problem labyrinth-size-6-rotations-4-seed-1283) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card34 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card11 pos0 pos1) + (card-at card6 pos1 pos1) + (card-at card7 pos2 pos1) + (card-at card8 pos3 pos1) + (card-at card4 pos4 pos1) + (card-at card10 pos5 pos1) + (card-at card17 pos0 pos2) + (card-at card12 pos1 pos2) + (card-at card13 pos2 pos2) + (card-at card14 pos3 pos2) + (card-at card9 pos4 pos2) + (card-at card16 pos5 pos2) + (card-at card19 pos0 pos3) + (card-at card20 pos1 pos3) + (card-at card21 pos2 pos3) + (card-at card22 pos3 pos3) + (card-at card15 pos4 pos3) + (card-at card18 pos5 pos3) + (card-at card24 pos0 pos4) + (card-at card25 pos1 pos4) + (card-at card26 pos2 pos4) + (card-at card27 pos3 pos4) + (card-at card23 pos4 pos4) + (card-at card29 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card31 pos1 pos5) + (card-at card32 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card28 pos4 pos5) + (card-at card35 pos5 pos5) + + + (BLOCKED card1 S) + (BLOCKED card1 W) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + (BLOCKED card3 E) + (BLOCKED card3 S) + + (BLOCKED card34 E) + (BLOCKED card34 S) + + (BLOCKED card5 S) + (BLOCKED card5 W) + + (BLOCKED card11 S) + (BLOCKED card11 W) + + (BLOCKED card6 S) + + (BLOCKED card7 N) + (BLOCKED card7 E) + + (BLOCKED card8 N) + (BLOCKED card8 W) + + (BLOCKED card4 N) + (BLOCKED card4 E) + + (BLOCKED card10 S) + + (BLOCKED card17 S) + + (BLOCKED card12 N) + (BLOCKED card12 S) + + (BLOCKED card13 S) + + (BLOCKED card14 N) + (BLOCKED card14 E) + + (BLOCKED card9 N) + (BLOCKED card9 W) + + (BLOCKED card16 N) + (BLOCKED card16 E) + + (BLOCKED card19 N) + (BLOCKED card19 W) + + (BLOCKED card20 S) + + (BLOCKED card21 E) + (BLOCKED card21 S) + + (BLOCKED card22 N) + (BLOCKED card22 W) + + (BLOCKED card15 S) + + (BLOCKED card18 N) + + (BLOCKED card24 W) + + (BLOCKED card25 E) + (BLOCKED card25 S) + + (BLOCKED card26 E) + (BLOCKED card26 W) + + (BLOCKED card27 N) + + (BLOCKED card23 N) + (BLOCKED card23 E) + + (BLOCKED card29 E) + (BLOCKED card29 W) + + (BLOCKED card30 S) + + (BLOCKED card31 N) + (BLOCKED card31 S) + + (BLOCKED card32 N) + + (BLOCKED card33 S) + + (BLOCKED card28 E) + (BLOCKED card28 W) + + (BLOCKED card35 E) + (BLOCKED card35 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p09.pddl b/labyrinth-sat23-adl/p09.pddl new file mode 100644 index 00000000..055c954f --- /dev/null +++ b/labyrinth-sat23-adl/p09.pddl @@ -0,0 +1,161 @@ +;; Generated with seed: 1289, size: 6, num-rotations: 6 +(define (problem labyrinth-size-6-rotations-6-seed-1289) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 - card +) +(:init + (MAX-POS pos5) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + + (card-at card0 pos0 pos0) + (card-at card14 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card34 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos0 pos1) + (card-at card13 pos1 pos1) + (card-at card8 pos2 pos1) + (card-at card9 pos3 pos1) + (card-at card4 pos4 pos1) + (card-at card11 pos5 pos1) + (card-at card7 pos0 pos2) + (card-at card19 pos1 pos2) + (card-at card15 pos2 pos2) + (card-at card16 pos3 pos2) + (card-at card10 pos4 pos2) + (card-at card12 pos5 pos2) + (card-at card18 pos0 pos3) + (card-at card24 pos1 pos3) + (card-at card20 pos2 pos3) + (card-at card21 pos3 pos3) + (card-at card17 pos4 pos3) + (card-at card23 pos5 pos3) + (card-at card29 pos0 pos4) + (card-at card31 pos1 pos4) + (card-at card25 pos2 pos4) + (card-at card26 pos3 pos4) + (card-at card22 pos4 pos4) + (card-at card28 pos5 pos4) + (card-at card30 pos0 pos5) + (card-at card1 pos1 pos5) + (card-at card32 pos2 pos5) + (card-at card33 pos3 pos5) + (card-at card27 pos4 pos5) + (card-at card35 pos5 pos5) + + (BLOCKED card0 E) + (BLOCKED card0 W) + + (BLOCKED card14 E) + (BLOCKED card14 W) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + (BLOCKED card3 W) + + (BLOCKED card34 N) + + (BLOCKED card5 N) + + (BLOCKED card6 W) + + (BLOCKED card13 E) + + (BLOCKED card8 E) + (BLOCKED card8 W) + + (BLOCKED card9 N) + (BLOCKED card9 W) + + (BLOCKED card4 W) + + (BLOCKED card11 N) + (BLOCKED card11 W) + + (BLOCKED card7 E) + (BLOCKED card7 W) + + + (BLOCKED card15 E) + (BLOCKED card15 W) + + (BLOCKED card16 W) + + (BLOCKED card10 E) + (BLOCKED card10 W) + + (BLOCKED card12 S) + + (BLOCKED card18 S) + (BLOCKED card18 W) + + (BLOCKED card24 N) + + (BLOCKED card20 N) + (BLOCKED card20 S) + + (BLOCKED card21 N) + (BLOCKED card21 E) + + (BLOCKED card17 E) + (BLOCKED card17 S) + + (BLOCKED card23 N) + (BLOCKED card23 S) + + (BLOCKED card29 S) + (BLOCKED card29 W) + + (BLOCKED card31 S) + + (BLOCKED card25 E) + (BLOCKED card25 W) + + (BLOCKED card26 W) + + (BLOCKED card22 N) + (BLOCKED card22 W) + + (BLOCKED card28 N) + (BLOCKED card28 S) + + (BLOCKED card30 E) + (BLOCKED card30 W) + + (BLOCKED card1 N) + + (BLOCKED card32 N) + (BLOCKED card32 S) + + (BLOCKED card33 N) + (BLOCKED card33 S) + + (BLOCKED card27 N) + + (BLOCKED card35 N) + (BLOCKED card35 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p10.pddl b/labyrinth-sat23-adl/p10.pddl new file mode 100644 index 00000000..08c7e640 --- /dev/null +++ b/labyrinth-sat23-adl/p10.pddl @@ -0,0 +1,209 @@ +;; Generated with seed: 1291, size: 7, num-rotations: 1 +(define (problem labyrinth-size-7-rotations-1-seed-1291) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos0 pos1) + (card-at card8 pos1 pos1) + (card-at card9 pos2 pos1) + (card-at card10 pos3 pos1) + (card-at card11 pos4 pos1) + (card-at card12 pos5 pos1) + (card-at card13 pos6 pos1) + (card-at card14 pos0 pos2) + (card-at card15 pos1 pos2) + (card-at card16 pos2 pos2) + (card-at card17 pos3 pos2) + (card-at card18 pos4 pos2) + (card-at card19 pos5 pos2) + (card-at card20 pos6 pos2) + (card-at card27 pos0 pos3) + (card-at card21 pos1 pos3) + (card-at card22 pos2 pos3) + (card-at card23 pos3 pos3) + (card-at card24 pos4 pos3) + (card-at card25 pos5 pos3) + (card-at card26 pos6 pos3) + (card-at card28 pos0 pos4) + (card-at card29 pos1 pos4) + (card-at card30 pos2 pos4) + (card-at card31 pos3 pos4) + (card-at card32 pos4 pos4) + (card-at card33 pos5 pos4) + (card-at card34 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card37 pos2 pos5) + (card-at card38 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card40 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card44 pos2 pos6) + (card-at card45 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card47 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 E) + (BLOCKED card0 W) + + (BLOCKED card1 E) + (BLOCKED card1 S) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card3 W) + + (BLOCKED card4 S) + (BLOCKED card4 W) + + (BLOCKED card5 N) + (BLOCKED card5 E) + + (BLOCKED card6 E) + (BLOCKED card6 W) + + (BLOCKED card7 E) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card9 N) + (BLOCKED card9 S) + + (BLOCKED card10 N) + (BLOCKED card10 W) + + (BLOCKED card11 E) + (BLOCKED card11 S) + + (BLOCKED card12 N) + (BLOCKED card12 S) + + (BLOCKED card13 N) + (BLOCKED card13 E) + + (BLOCKED card14 E) + + (BLOCKED card15 E) + (BLOCKED card15 S) + + (BLOCKED card16 N) + (BLOCKED card16 S) + + (BLOCKED card17 W) + + (BLOCKED card18 N) + (BLOCKED card18 E) + + (BLOCKED card19 N) + + (BLOCKED card20 E) + + (BLOCKED card27 N) + (BLOCKED card27 E) + + (BLOCKED card21 S) + + (BLOCKED card22 N) + (BLOCKED card22 E) + + (BLOCKED card23 N) + (BLOCKED card23 E) + + (BLOCKED card24 E) + + (BLOCKED card25 E) + + (BLOCKED card26 E) + (BLOCKED card26 W) + + (BLOCKED card28 N) + (BLOCKED card28 S) + + (BLOCKED card29 E) + + (BLOCKED card30 E) + (BLOCKED card30 S) + + (BLOCKED card31 N) + (BLOCKED card31 E) + + (BLOCKED card32 E) + (BLOCKED card32 S) + + (BLOCKED card33 E) + (BLOCKED card33 W) + + (BLOCKED card34 N) + (BLOCKED card34 W) + + (BLOCKED card35 N) + (BLOCKED card35 W) + + (BLOCKED card36 E) + (BLOCKED card36 W) + + + (BLOCKED card38 W) + + (BLOCKED card39 N) + (BLOCKED card39 S) + + (BLOCKED card40 N) + + + (BLOCKED card42 W) + + (BLOCKED card43 S) + (BLOCKED card43 W) + + (BLOCKED card44 N) + (BLOCKED card44 S) + + (BLOCKED card45 E) + + (BLOCKED card46 E) + (BLOCKED card46 W) + + (BLOCKED card47 E) + + (BLOCKED card48 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p11.pddl b/labyrinth-sat23-adl/p11.pddl new file mode 100644 index 00000000..8020ea36 --- /dev/null +++ b/labyrinth-sat23-adl/p11.pddl @@ -0,0 +1,213 @@ +;; Generated with seed: 1297, size: 7, num-rotations: 2 +(define (problem labyrinth-size-7-rotations-2-seed-1297) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card47 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos0 pos1) + (card-at card8 pos1 pos1) + (card-at card9 pos2 pos1) + (card-at card10 pos3 pos1) + (card-at card11 pos4 pos1) + (card-at card5 pos5 pos1) + (card-at card13 pos6 pos1) + (card-at card14 pos0 pos2) + (card-at card15 pos1 pos2) + (card-at card16 pos2 pos2) + (card-at card17 pos3 pos2) + (card-at card18 pos4 pos2) + (card-at card12 pos5 pos2) + (card-at card20 pos6 pos2) + (card-at card21 pos0 pos3) + (card-at card22 pos1 pos3) + (card-at card23 pos2 pos3) + (card-at card24 pos3 pos3) + (card-at card25 pos4 pos3) + (card-at card19 pos5 pos3) + (card-at card27 pos6 pos3) + (card-at card34 pos0 pos4) + (card-at card28 pos1 pos4) + (card-at card29 pos2 pos4) + (card-at card30 pos3 pos4) + (card-at card31 pos4 pos4) + (card-at card32 pos5 pos4) + (card-at card26 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card37 pos2 pos5) + (card-at card38 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card33 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card44 pos2 pos6) + (card-at card45 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card40 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 E) + (BLOCKED card0 W) + + (BLOCKED card1 W) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card3 N) + (BLOCKED card3 W) + + (BLOCKED card4 S) + + (BLOCKED card47 S) + (BLOCKED card47 W) + + (BLOCKED card6 N) + (BLOCKED card6 E) + + (BLOCKED card7 E) + (BLOCKED card7 W) + + (BLOCKED card8 S) + + (BLOCKED card9 W) + + (BLOCKED card10 N) + (BLOCKED card10 E) + + (BLOCKED card11 E) + (BLOCKED card11 W) + + (BLOCKED card5 E) + (BLOCKED card5 W) + + (BLOCKED card13 N) + (BLOCKED card13 S) + + (BLOCKED card14 E) + (BLOCKED card14 W) + + (BLOCKED card15 S) + (BLOCKED card15 W) + + (BLOCKED card16 N) + (BLOCKED card16 W) + + (BLOCKED card17 N) + (BLOCKED card17 W) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card12 S) + (BLOCKED card12 W) + + (BLOCKED card20 N) + (BLOCKED card20 W) + + (BLOCKED card21 S) + (BLOCKED card21 W) + + (BLOCKED card22 E) + + (BLOCKED card23 N) + (BLOCKED card23 W) + + (BLOCKED card24 N) + + (BLOCKED card25 N) + (BLOCKED card25 E) + + (BLOCKED card19 W) + + (BLOCKED card27 N) + (BLOCKED card27 E) + + (BLOCKED card34 E) + (BLOCKED card34 S) + + (BLOCKED card28 S) + + (BLOCKED card29 W) + + + (BLOCKED card31 E) + (BLOCKED card31 W) + + (BLOCKED card32 W) + + (BLOCKED card26 N) + (BLOCKED card26 W) + + (BLOCKED card35 E) + (BLOCKED card35 W) + + (BLOCKED card36 N) + (BLOCKED card36 E) + + (BLOCKED card37 N) + (BLOCKED card37 W) + + (BLOCKED card38 N) + (BLOCKED card38 S) + + (BLOCKED card39 S) + (BLOCKED card39 W) + + (BLOCKED card33 W) + + (BLOCKED card41 E) + + (BLOCKED card42 W) + + (BLOCKED card43 N) + (BLOCKED card43 W) + + (BLOCKED card44 N) + (BLOCKED card44 W) + + (BLOCKED card45 N) + (BLOCKED card45 E) + + (BLOCKED card46 N) + (BLOCKED card46 W) + + (BLOCKED card40 S) + + (BLOCKED card48 E) + (BLOCKED card48 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p12.pddl b/labyrinth-sat23-adl/p12.pddl new file mode 100644 index 00000000..7a43772c --- /dev/null +++ b/labyrinth-sat23-adl/p12.pddl @@ -0,0 +1,207 @@ +;; Generated with seed: 1301, size: 7, num-rotations: 3 +(define (problem labyrinth-size-7-rotations-3-seed-1301) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card10 pos3 pos0) + (card-at card46 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos0 pos1) + (card-at card8 pos1 pos1) + (card-at card9 pos2 pos1) + (card-at card18 pos3 pos1) + (card-at card4 pos4 pos1) + (card-at card12 pos5 pos1) + (card-at card13 pos6 pos1) + (card-at card15 pos0 pos2) + (card-at card16 pos1 pos2) + (card-at card17 pos2 pos2) + (card-at card24 pos3 pos2) + (card-at card11 pos4 pos2) + (card-at card20 pos5 pos2) + (card-at card14 pos6 pos2) + (card-at card21 pos0 pos3) + (card-at card22 pos1 pos3) + (card-at card23 pos2 pos3) + (card-at card31 pos3 pos3) + (card-at card19 pos4 pos3) + (card-at card26 pos5 pos3) + (card-at card27 pos6 pos3) + (card-at card28 pos0 pos4) + (card-at card29 pos1 pos4) + (card-at card30 pos2 pos4) + (card-at card38 pos3 pos4) + (card-at card25 pos4 pos4) + (card-at card33 pos5 pos4) + (card-at card34 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card37 pos2 pos5) + (card-at card45 pos3 pos5) + (card-at card32 pos4 pos5) + (card-at card40 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card44 pos2 pos6) + (card-at card3 pos3 pos6) + (card-at card39 pos4 pos6) + (card-at card47 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 N) + (BLOCKED card0 E) + + (BLOCKED card1 S) + + (BLOCKED card2 S) + (BLOCKED card2 W) + + (BLOCKED card10 S) + (BLOCKED card10 W) + + (BLOCKED card46 N) + (BLOCKED card46 S) + + (BLOCKED card5 N) + + (BLOCKED card6 W) + + (BLOCKED card7 W) + + (BLOCKED card8 E) + (BLOCKED card8 S) + + (BLOCKED card9 N) + (BLOCKED card9 W) + + (BLOCKED card18 S) + + (BLOCKED card4 N) + (BLOCKED card4 S) + + (BLOCKED card12 E) + (BLOCKED card12 S) + + (BLOCKED card13 E) + (BLOCKED card13 S) + + (BLOCKED card15 N) + + (BLOCKED card16 E) + (BLOCKED card16 W) + + (BLOCKED card17 N) + (BLOCKED card17 W) + + (BLOCKED card24 E) + (BLOCKED card24 W) + + (BLOCKED card11 E) + + (BLOCKED card20 N) + (BLOCKED card20 S) + + (BLOCKED card14 W) + + (BLOCKED card21 E) + (BLOCKED card21 W) + + (BLOCKED card22 E) + (BLOCKED card22 W) + + (BLOCKED card23 E) + (BLOCKED card23 S) + + (BLOCKED card31 S) + (BLOCKED card31 W) + + (BLOCKED card19 E) + (BLOCKED card19 W) + + (BLOCKED card26 N) + (BLOCKED card26 W) + + (BLOCKED card27 W) + + + + (BLOCKED card30 E) + (BLOCKED card30 S) + + (BLOCKED card38 E) + (BLOCKED card38 W) + + (BLOCKED card25 N) + (BLOCKED card25 E) + + (BLOCKED card33 E) + (BLOCKED card33 W) + + (BLOCKED card34 E) + + (BLOCKED card35 E) + + (BLOCKED card36 E) + (BLOCKED card36 W) + + (BLOCKED card37 N) + (BLOCKED card37 W) + + (BLOCKED card45 N) + (BLOCKED card45 S) + + (BLOCKED card32 E) + (BLOCKED card32 S) + + (BLOCKED card40 S) + + (BLOCKED card41 S) + + (BLOCKED card42 S) + (BLOCKED card42 W) + + (BLOCKED card43 N) + (BLOCKED card43 S) + + + (BLOCKED card3 E) + (BLOCKED card3 W) + + (BLOCKED card39 N) + (BLOCKED card39 E) + + (BLOCKED card47 S) + + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p13.pddl b/labyrinth-sat23-adl/p13.pddl new file mode 100644 index 00000000..e7c937a5 --- /dev/null +++ b/labyrinth-sat23-adl/p13.pddl @@ -0,0 +1,215 @@ +;; Generated with seed: 1303, size: 7, num-rotations: 4 +(define (problem labyrinth-size-7-rotations-4-seed-1303) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card9 pos0 pos1) + (card-at card10 pos1 pos1) + (card-at card11 pos2 pos1) + (card-at card12 pos3 pos1) + (card-at card13 pos4 pos1) + (card-at card7 pos5 pos1) + (card-at card8 pos6 pos1) + (card-at card20 pos0 pos2) + (card-at card14 pos1 pos2) + (card-at card15 pos2 pos2) + (card-at card16 pos3 pos2) + (card-at card17 pos4 pos2) + (card-at card18 pos5 pos2) + (card-at card19 pos6 pos2) + (card-at card22 pos0 pos3) + (card-at card23 pos1 pos3) + (card-at card24 pos2 pos3) + (card-at card25 pos3 pos3) + (card-at card26 pos4 pos3) + (card-at card27 pos5 pos3) + (card-at card21 pos6 pos3) + (card-at card28 pos0 pos4) + (card-at card29 pos1 pos4) + (card-at card30 pos2 pos4) + (card-at card31 pos3 pos4) + (card-at card32 pos4 pos4) + (card-at card33 pos5 pos4) + (card-at card34 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card37 pos2 pos5) + (card-at card38 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card40 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card44 pos2 pos6) + (card-at card45 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card47 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 N) + (BLOCKED card0 E) + + (BLOCKED card1 E) + (BLOCKED card1 W) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card3 N) + (BLOCKED card3 S) + + (BLOCKED card4 E) + (BLOCKED card4 W) + + (BLOCKED card5 N) + (BLOCKED card5 S) + + (BLOCKED card6 N) + + (BLOCKED card9 S) + (BLOCKED card9 W) + + (BLOCKED card10 E) + (BLOCKED card10 S) + + (BLOCKED card11 E) + (BLOCKED card11 W) + + (BLOCKED card12 N) + (BLOCKED card12 W) + + (BLOCKED card13 E) + (BLOCKED card13 W) + + (BLOCKED card7 S) + (BLOCKED card7 W) + + (BLOCKED card8 N) + + (BLOCKED card20 E) + (BLOCKED card20 S) + + (BLOCKED card14 E) + + (BLOCKED card15 W) + + (BLOCKED card16 N) + (BLOCKED card16 S) + + (BLOCKED card17 S) + + (BLOCKED card18 S) + + (BLOCKED card19 N) + (BLOCKED card19 E) + + (BLOCKED card22 N) + (BLOCKED card22 E) + + (BLOCKED card23 N) + (BLOCKED card23 E) + + (BLOCKED card24 N) + (BLOCKED card24 S) + + (BLOCKED card25 S) + + (BLOCKED card26 S) + (BLOCKED card26 W) + + (BLOCKED card27 N) + + (BLOCKED card21 E) + + (BLOCKED card28 E) + (BLOCKED card28 W) + + (BLOCKED card29 W) + + (BLOCKED card30 S) + (BLOCKED card30 W) + + (BLOCKED card31 E) + (BLOCKED card31 S) + + (BLOCKED card32 E) + (BLOCKED card32 W) + + (BLOCKED card33 N) + (BLOCKED card33 W) + + (BLOCKED card34 E) + (BLOCKED card34 S) + + (BLOCKED card35 N) + (BLOCKED card35 W) + + (BLOCKED card36 N) + (BLOCKED card36 S) + + (BLOCKED card37 E) + + (BLOCKED card38 W) + + (BLOCKED card39 S) + + (BLOCKED card40 E) + (BLOCKED card40 S) + + (BLOCKED card41 E) + (BLOCKED card41 W) + + (BLOCKED card42 N) + (BLOCKED card42 S) + + (BLOCKED card43 N) + (BLOCKED card43 W) + + (BLOCKED card44 S) + (BLOCKED card44 W) + + (BLOCKED card45 W) + + (BLOCKED card46 N) + (BLOCKED card46 S) + + (BLOCKED card47 N) + (BLOCKED card47 S) + + (BLOCKED card48 N) + (BLOCKED card48 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p14.pddl b/labyrinth-sat23-adl/p14.pddl new file mode 100644 index 00000000..725c64d1 --- /dev/null +++ b/labyrinth-sat23-adl/p14.pddl @@ -0,0 +1,218 @@ +;; Generated with seed: 1307, size: 7, num-rotations: 6 +(define (problem labyrinth-size-7-rotations-6-seed-1307) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card9 pos2 pos0) + (card-at card45 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card47 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card8 pos0 pos1) + (card-at card16 pos1 pos1) + (card-at card10 pos2 pos1) + (card-at card3 pos3 pos1) + (card-at card12 pos4 pos1) + (card-at card5 pos5 pos1) + (card-at card7 pos6 pos1) + (card-at card15 pos0 pos2) + (card-at card23 pos1 pos2) + (card-at card17 pos2 pos2) + (card-at card11 pos3 pos2) + (card-at card19 pos4 pos2) + (card-at card13 pos5 pos2) + (card-at card14 pos6 pos2) + (card-at card27 pos0 pos3) + (card-at card21 pos1 pos3) + (card-at card22 pos2 pos3) + (card-at card18 pos3 pos3) + (card-at card24 pos4 pos3) + (card-at card20 pos5 pos3) + (card-at card26 pos6 pos3) + (card-at card28 pos0 pos4) + (card-at card29 pos1 pos4) + (card-at card37 pos2 pos4) + (card-at card30 pos3 pos4) + (card-at card32 pos4 pos4) + (card-at card25 pos5 pos4) + (card-at card34 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card36 pos1 pos5) + (card-at card44 pos2 pos5) + (card-at card31 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card33 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card43 pos1 pos6) + (card-at card2 pos2 pos6) + (card-at card38 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card40 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 N) + (BLOCKED card0 E) + + (BLOCKED card1 N) + + (BLOCKED card9 N) + (BLOCKED card9 W) + + (BLOCKED card45 N) + + (BLOCKED card4 N) + + (BLOCKED card47 E) + (BLOCKED card47 W) + + (BLOCKED card6 E) + (BLOCKED card6 W) + + (BLOCKED card8 E) + (BLOCKED card8 S) + + (BLOCKED card16 N) + (BLOCKED card16 W) + + (BLOCKED card10 S) + (BLOCKED card10 W) + + (BLOCKED card3 N) + (BLOCKED card3 S) + + (BLOCKED card12 E) + (BLOCKED card12 S) + + + (BLOCKED card7 S) + (BLOCKED card7 W) + + (BLOCKED card15 S) + (BLOCKED card15 W) + + (BLOCKED card23 E) + (BLOCKED card23 S) + + (BLOCKED card17 E) + (BLOCKED card17 S) + + (BLOCKED card11 E) + (BLOCKED card11 W) + + (BLOCKED card19 N) + (BLOCKED card19 S) + + + (BLOCKED card14 N) + + (BLOCKED card27 E) + (BLOCKED card27 W) + + (BLOCKED card21 S) + (BLOCKED card21 W) + + (BLOCKED card22 N) + (BLOCKED card22 E) + + (BLOCKED card18 S) + (BLOCKED card18 W) + + (BLOCKED card24 S) + (BLOCKED card24 W) + + (BLOCKED card20 N) + (BLOCKED card20 E) + + (BLOCKED card26 E) + (BLOCKED card26 S) + + (BLOCKED card28 E) + (BLOCKED card28 S) + + (BLOCKED card29 E) + (BLOCKED card29 S) + + (BLOCKED card37 S) + (BLOCKED card37 W) + + (BLOCKED card30 S) + (BLOCKED card30 W) + + (BLOCKED card32 E) + (BLOCKED card32 W) + + (BLOCKED card25 N) + (BLOCKED card25 S) + + (BLOCKED card34 E) + (BLOCKED card34 W) + + (BLOCKED card35 E) + (BLOCKED card35 S) + + (BLOCKED card36 S) + (BLOCKED card36 W) + + (BLOCKED card44 N) + (BLOCKED card44 W) + + (BLOCKED card31 N) + (BLOCKED card31 W) + + (BLOCKED card39 E) + (BLOCKED card39 W) + + (BLOCKED card33 S) + + (BLOCKED card41 E) + (BLOCKED card41 W) + + (BLOCKED card42 E) + (BLOCKED card42 W) + + (BLOCKED card43 E) + (BLOCKED card43 W) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card38 N) + + (BLOCKED card46 N) + (BLOCKED card46 E) + + (BLOCKED card40 N) + (BLOCKED card40 W) + + (BLOCKED card48 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p15.pddl b/labyrinth-sat23-adl/p15.pddl new file mode 100644 index 00000000..416b7d13 --- /dev/null +++ b/labyrinth-sat23-adl/p15.pddl @@ -0,0 +1,215 @@ +;; Generated with seed: 1319, size: 7, num-rotations: 8 +(define (problem labyrinth-size-7-rotations-8-seed-1319) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 - card +) +(:init + (MAX-POS pos6) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + + (card-at card0 pos0 pos0) + (card-at card43 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card47 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos0 pos1) + (card-at card1 pos1 pos1) + (card-at card9 pos2 pos1) + (card-at card10 pos3 pos1) + (card-at card11 pos4 pos1) + (card-at card5 pos5 pos1) + (card-at card13 pos6 pos1) + (card-at card20 pos0 pos2) + (card-at card14 pos1 pos2) + (card-at card8 pos2 pos2) + (card-at card16 pos3 pos2) + (card-at card17 pos4 pos2) + (card-at card18 pos5 pos2) + (card-at card12 pos6 pos2) + (card-at card21 pos0 pos3) + (card-at card15 pos1 pos3) + (card-at card23 pos2 pos3) + (card-at card24 pos3 pos3) + (card-at card25 pos4 pos3) + (card-at card19 pos5 pos3) + (card-at card27 pos6 pos3) + (card-at card29 pos0 pos4) + (card-at card22 pos1 pos4) + (card-at card31 pos2 pos4) + (card-at card32 pos3 pos4) + (card-at card33 pos4 pos4) + (card-at card26 pos5 pos4) + (card-at card28 pos6 pos4) + (card-at card35 pos0 pos5) + (card-at card30 pos1 pos5) + (card-at card37 pos2 pos5) + (card-at card38 pos3 pos5) + (card-at card39 pos4 pos5) + (card-at card34 pos5 pos5) + (card-at card41 pos6 pos5) + (card-at card42 pos0 pos6) + (card-at card36 pos1 pos6) + (card-at card44 pos2 pos6) + (card-at card45 pos3 pos6) + (card-at card46 pos4 pos6) + (card-at card40 pos5 pos6) + (card-at card48 pos6 pos6) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card43 E) + (BLOCKED card43 W) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + (BLOCKED card3 E) + (BLOCKED card3 W) + + (BLOCKED card4 N) + (BLOCKED card4 S) + + (BLOCKED card47 S) + (BLOCKED card47 W) + + (BLOCKED card6 E) + (BLOCKED card6 S) + + (BLOCKED card7 N) + + (BLOCKED card1 N) + (BLOCKED card1 E) + + (BLOCKED card9 N) + + (BLOCKED card10 S) + (BLOCKED card10 W) + + (BLOCKED card11 S) + (BLOCKED card11 W) + + (BLOCKED card5 E) + (BLOCKED card5 S) + + (BLOCKED card13 E) + + (BLOCKED card20 N) + (BLOCKED card20 E) + + (BLOCKED card14 W) + + (BLOCKED card8 S) + + (BLOCKED card16 S) + (BLOCKED card16 W) + + (BLOCKED card17 N) + (BLOCKED card17 S) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card12 W) + + (BLOCKED card21 E) + (BLOCKED card21 W) + + (BLOCKED card15 N) + (BLOCKED card15 W) + + (BLOCKED card23 S) + (BLOCKED card23 W) + + (BLOCKED card24 N) + (BLOCKED card24 S) + + (BLOCKED card25 E) + (BLOCKED card25 W) + + (BLOCKED card19 N) + (BLOCKED card19 W) + + (BLOCKED card27 E) + (BLOCKED card27 W) + + (BLOCKED card29 N) + (BLOCKED card29 S) + + (BLOCKED card22 E) + (BLOCKED card22 W) + + (BLOCKED card31 N) + (BLOCKED card31 W) + + (BLOCKED card32 N) + (BLOCKED card32 E) + + (BLOCKED card33 S) + (BLOCKED card33 W) + + (BLOCKED card26 E) + + (BLOCKED card28 S) + + (BLOCKED card35 E) + (BLOCKED card35 S) + + (BLOCKED card30 E) + + (BLOCKED card37 S) + (BLOCKED card37 W) + + (BLOCKED card38 E) + (BLOCKED card38 S) + + (BLOCKED card39 S) + (BLOCKED card39 W) + + + (BLOCKED card41 S) + (BLOCKED card41 W) + + (BLOCKED card42 S) + (BLOCKED card42 W) + + (BLOCKED card36 N) + (BLOCKED card36 E) + + (BLOCKED card44 W) + + (BLOCKED card45 N) + (BLOCKED card45 S) + + (BLOCKED card46 N) + (BLOCKED card46 W) + + (BLOCKED card40 E) + + (BLOCKED card48 N) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p16.pddl b/labyrinth-sat23-adl/p16.pddl new file mode 100644 index 00000000..a54e3027 --- /dev/null +++ b/labyrinth-sat23-adl/p16.pddl @@ -0,0 +1,266 @@ +;; Generated with seed: 1321, size: 8, num-rotations: 1 +(define (problem labyrinth-size-8-rotations-1-seed-1321) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 pos7 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 card49 card50 card51 card52 card53 card54 card55 card56 card57 card58 card59 card60 card61 card62 card63 - card +) +(:init + (MAX-POS pos7) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + (NEXT pos7 pos6) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos7 pos0) + (card-at card8 pos0 pos1) + (card-at card9 pos1 pos1) + (card-at card10 pos2 pos1) + (card-at card11 pos3 pos1) + (card-at card12 pos4 pos1) + (card-at card13 pos5 pos1) + (card-at card14 pos6 pos1) + (card-at card15 pos7 pos1) + (card-at card23 pos0 pos2) + (card-at card16 pos1 pos2) + (card-at card17 pos2 pos2) + (card-at card18 pos3 pos2) + (card-at card19 pos4 pos2) + (card-at card20 pos5 pos2) + (card-at card21 pos6 pos2) + (card-at card22 pos7 pos2) + (card-at card24 pos0 pos3) + (card-at card25 pos1 pos3) + (card-at card26 pos2 pos3) + (card-at card27 pos3 pos3) + (card-at card28 pos4 pos3) + (card-at card29 pos5 pos3) + (card-at card30 pos6 pos3) + (card-at card31 pos7 pos3) + (card-at card32 pos0 pos4) + (card-at card33 pos1 pos4) + (card-at card34 pos2 pos4) + (card-at card35 pos3 pos4) + (card-at card36 pos4 pos4) + (card-at card37 pos5 pos4) + (card-at card38 pos6 pos4) + (card-at card39 pos7 pos4) + (card-at card40 pos0 pos5) + (card-at card41 pos1 pos5) + (card-at card42 pos2 pos5) + (card-at card43 pos3 pos5) + (card-at card44 pos4 pos5) + (card-at card45 pos5 pos5) + (card-at card46 pos6 pos5) + (card-at card47 pos7 pos5) + (card-at card48 pos0 pos6) + (card-at card49 pos1 pos6) + (card-at card50 pos2 pos6) + (card-at card51 pos3 pos6) + (card-at card52 pos4 pos6) + (card-at card53 pos5 pos6) + (card-at card54 pos6 pos6) + (card-at card55 pos7 pos6) + (card-at card56 pos0 pos7) + (card-at card57 pos1 pos7) + (card-at card58 pos2 pos7) + (card-at card59 pos3 pos7) + (card-at card60 pos4 pos7) + (card-at card61 pos5 pos7) + (card-at card62 pos6 pos7) + (card-at card63 pos7 pos7) + + (BLOCKED card0 N) + + (BLOCKED card1 S) + (BLOCKED card1 W) + + (BLOCKED card2 E) + (BLOCKED card2 S) + + (BLOCKED card3 S) + (BLOCKED card3 W) + + (BLOCKED card4 N) + + (BLOCKED card5 E) + (BLOCKED card5 W) + + (BLOCKED card6 S) + (BLOCKED card6 W) + + (BLOCKED card7 N) + + (BLOCKED card8 E) + + (BLOCKED card9 N) + (BLOCKED card9 W) + + (BLOCKED card10 E) + (BLOCKED card10 W) + + (BLOCKED card11 N) + + (BLOCKED card12 N) + (BLOCKED card12 W) + + (BLOCKED card13 N) + (BLOCKED card13 S) + + (BLOCKED card14 N) + (BLOCKED card14 W) + + (BLOCKED card15 S) + + (BLOCKED card23 S) + + (BLOCKED card16 E) + (BLOCKED card16 W) + + (BLOCKED card17 S) + + (BLOCKED card18 N) + + (BLOCKED card19 N) + + (BLOCKED card20 E) + + (BLOCKED card21 N) + (BLOCKED card21 E) + + (BLOCKED card22 N) + (BLOCKED card22 S) + + (BLOCKED card24 E) + (BLOCKED card24 W) + + + (BLOCKED card26 N) + (BLOCKED card26 E) + + (BLOCKED card27 N) + + (BLOCKED card28 S) + (BLOCKED card28 W) + + (BLOCKED card29 E) + + + (BLOCKED card31 E) + (BLOCKED card31 W) + + + (BLOCKED card33 E) + + (BLOCKED card34 E) + (BLOCKED card34 S) + + (BLOCKED card35 E) + + (BLOCKED card36 E) + (BLOCKED card36 W) + + (BLOCKED card37 N) + (BLOCKED card37 W) + + (BLOCKED card38 N) + (BLOCKED card38 E) + + (BLOCKED card39 N) + (BLOCKED card39 S) + + (BLOCKED card40 E) + (BLOCKED card40 W) + + (BLOCKED card41 N) + (BLOCKED card41 E) + + (BLOCKED card42 N) + (BLOCKED card42 S) + + (BLOCKED card43 N) + (BLOCKED card43 E) + + (BLOCKED card44 N) + (BLOCKED card44 W) + + (BLOCKED card45 N) + (BLOCKED card45 W) + + (BLOCKED card46 S) + + (BLOCKED card47 S) + (BLOCKED card47 W) + + (BLOCKED card48 E) + (BLOCKED card48 W) + + (BLOCKED card49 S) + (BLOCKED card49 W) + + (BLOCKED card50 N) + (BLOCKED card50 E) + + (BLOCKED card51 N) + (BLOCKED card51 W) + + (BLOCKED card52 N) + (BLOCKED card52 W) + + (BLOCKED card53 N) + (BLOCKED card53 S) + + (BLOCKED card54 N) + (BLOCKED card54 W) + + (BLOCKED card55 N) + (BLOCKED card55 S) + + (BLOCKED card56 S) + (BLOCKED card56 W) + + (BLOCKED card57 N) + + (BLOCKED card58 N) + (BLOCKED card58 S) + + (BLOCKED card59 N) + (BLOCKED card59 S) + + (BLOCKED card60 S) + + (BLOCKED card61 N) + (BLOCKED card61 S) + + (BLOCKED card62 N) + (BLOCKED card62 S) + + (BLOCKED card63 N) + (BLOCKED card63 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p17.pddl b/labyrinth-sat23-adl/p17.pddl new file mode 100644 index 00000000..77c4f2fa --- /dev/null +++ b/labyrinth-sat23-adl/p17.pddl @@ -0,0 +1,266 @@ +;; Generated with seed: 1327, size: 8, num-rotations: 2 +(define (problem labyrinth-size-8-rotations-2-seed-1327) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 pos7 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 card49 card50 card51 card52 card53 card54 card55 card56 card57 card58 card59 card60 card61 card62 card63 - card +) +(:init + (MAX-POS pos7) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + (NEXT pos7 pos6) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card59 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos7 pos0) + (card-at card8 pos0 pos1) + (card-at card9 pos1 pos1) + (card-at card10 pos2 pos1) + (card-at card3 pos3 pos1) + (card-at card12 pos4 pos1) + (card-at card13 pos5 pos1) + (card-at card14 pos6 pos1) + (card-at card15 pos7 pos1) + (card-at card23 pos0 pos2) + (card-at card16 pos1 pos2) + (card-at card17 pos2 pos2) + (card-at card11 pos3 pos2) + (card-at card19 pos4 pos2) + (card-at card20 pos5 pos2) + (card-at card21 pos6 pos2) + (card-at card22 pos7 pos2) + (card-at card24 pos0 pos3) + (card-at card25 pos1 pos3) + (card-at card26 pos2 pos3) + (card-at card18 pos3 pos3) + (card-at card28 pos4 pos3) + (card-at card29 pos5 pos3) + (card-at card30 pos6 pos3) + (card-at card31 pos7 pos3) + (card-at card32 pos0 pos4) + (card-at card33 pos1 pos4) + (card-at card34 pos2 pos4) + (card-at card27 pos3 pos4) + (card-at card36 pos4 pos4) + (card-at card37 pos5 pos4) + (card-at card38 pos6 pos4) + (card-at card39 pos7 pos4) + (card-at card40 pos0 pos5) + (card-at card41 pos1 pos5) + (card-at card42 pos2 pos5) + (card-at card35 pos3 pos5) + (card-at card44 pos4 pos5) + (card-at card45 pos5 pos5) + (card-at card46 pos6 pos5) + (card-at card47 pos7 pos5) + (card-at card48 pos0 pos6) + (card-at card49 pos1 pos6) + (card-at card50 pos2 pos6) + (card-at card43 pos3 pos6) + (card-at card52 pos4 pos6) + (card-at card53 pos5 pos6) + (card-at card54 pos6 pos6) + (card-at card55 pos7 pos6) + (card-at card56 pos0 pos7) + (card-at card57 pos1 pos7) + (card-at card58 pos2 pos7) + (card-at card51 pos3 pos7) + (card-at card60 pos4 pos7) + (card-at card61 pos5 pos7) + (card-at card62 pos6 pos7) + (card-at card63 pos7 pos7) + + (BLOCKED card0 S) + + (BLOCKED card1 N) + + (BLOCKED card2 N) + + (BLOCKED card59 N) + (BLOCKED card59 E) + + (BLOCKED card4 N) + + (BLOCKED card5 N) + + (BLOCKED card6 N) + (BLOCKED card6 E) + + (BLOCKED card7 E) + + (BLOCKED card8 E) + (BLOCKED card8 W) + + (BLOCKED card9 N) + (BLOCKED card9 E) + + (BLOCKED card10 N) + (BLOCKED card10 E) + + (BLOCKED card3 N) + (BLOCKED card3 S) + + (BLOCKED card12 N) + (BLOCKED card12 E) + + (BLOCKED card13 S) + (BLOCKED card13 W) + + (BLOCKED card14 E) + + (BLOCKED card15 E) + (BLOCKED card15 S) + + (BLOCKED card23 S) + (BLOCKED card23 W) + + (BLOCKED card16 N) + (BLOCKED card16 W) + + (BLOCKED card17 S) + (BLOCKED card17 W) + + (BLOCKED card11 W) + + (BLOCKED card19 S) + (BLOCKED card19 W) + + (BLOCKED card20 E) + (BLOCKED card20 S) + + (BLOCKED card21 N) + (BLOCKED card21 E) + + (BLOCKED card22 W) + + (BLOCKED card24 S) + (BLOCKED card24 W) + + (BLOCKED card25 E) + + (BLOCKED card26 N) + (BLOCKED card26 W) + + (BLOCKED card18 N) + (BLOCKED card18 S) + + (BLOCKED card28 E) + (BLOCKED card28 S) + + (BLOCKED card29 S) + (BLOCKED card29 W) + + (BLOCKED card30 W) + + (BLOCKED card31 E) + (BLOCKED card31 W) + + (BLOCKED card32 N) + (BLOCKED card32 S) + + (BLOCKED card33 N) + (BLOCKED card33 S) + + (BLOCKED card34 N) + (BLOCKED card34 S) + + (BLOCKED card27 S) + + (BLOCKED card36 S) + + (BLOCKED card37 N) + (BLOCKED card37 E) + + (BLOCKED card38 E) + + (BLOCKED card39 N) + (BLOCKED card39 E) + + (BLOCKED card40 N) + (BLOCKED card40 S) + + (BLOCKED card41 E) + (BLOCKED card41 W) + + (BLOCKED card42 E) + (BLOCKED card42 W) + + (BLOCKED card35 N) + (BLOCKED card35 S) + + (BLOCKED card44 N) + (BLOCKED card44 S) + + (BLOCKED card45 S) + (BLOCKED card45 W) + + (BLOCKED card46 S) + + (BLOCKED card47 E) + + (BLOCKED card48 N) + (BLOCKED card48 S) + + (BLOCKED card49 W) + + (BLOCKED card50 S) + (BLOCKED card50 W) + + (BLOCKED card43 W) + + (BLOCKED card52 N) + (BLOCKED card52 S) + + (BLOCKED card53 W) + + + (BLOCKED card55 E) + (BLOCKED card55 W) + + (BLOCKED card56 E) + (BLOCKED card56 W) + + (BLOCKED card57 N) + (BLOCKED card57 W) + + (BLOCKED card58 E) + + (BLOCKED card51 E) + + (BLOCKED card60 S) + + (BLOCKED card61 S) + (BLOCKED card61 W) + + (BLOCKED card62 E) + (BLOCKED card62 S) + + (BLOCKED card63 E) + (BLOCKED card63 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p18.pddl b/labyrinth-sat23-adl/p18.pddl new file mode 100644 index 00000000..07ac69c2 --- /dev/null +++ b/labyrinth-sat23-adl/p18.pddl @@ -0,0 +1,266 @@ +;; Generated with seed: 1361, size: 8, num-rotations: 3 +(define (problem labyrinth-size-8-rotations-3-seed-1361) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 pos7 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 card49 card50 card51 card52 card53 card54 card55 card56 card57 card58 card59 card60 card61 card62 card63 - card +) +(:init + (MAX-POS pos7) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + (NEXT pos7 pos6) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card10 pos2 pos0) + (card-at card59 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card5 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos7 pos0) + (card-at card8 pos0 pos1) + (card-at card9 pos1 pos1) + (card-at card18 pos2 pos1) + (card-at card3 pos3 pos1) + (card-at card12 pos4 pos1) + (card-at card13 pos5 pos1) + (card-at card14 pos6 pos1) + (card-at card15 pos7 pos1) + (card-at card16 pos0 pos2) + (card-at card17 pos1 pos2) + (card-at card26 pos2 pos2) + (card-at card11 pos3 pos2) + (card-at card20 pos4 pos2) + (card-at card21 pos5 pos2) + (card-at card22 pos6 pos2) + (card-at card23 pos7 pos2) + (card-at card24 pos0 pos3) + (card-at card25 pos1 pos3) + (card-at card34 pos2 pos3) + (card-at card19 pos3 pos3) + (card-at card28 pos4 pos3) + (card-at card29 pos5 pos3) + (card-at card30 pos6 pos3) + (card-at card31 pos7 pos3) + (card-at card39 pos0 pos4) + (card-at card32 pos1 pos4) + (card-at card33 pos2 pos4) + (card-at card42 pos3 pos4) + (card-at card27 pos4 pos4) + (card-at card36 pos5 pos4) + (card-at card37 pos6 pos4) + (card-at card38 pos7 pos4) + (card-at card40 pos0 pos5) + (card-at card41 pos1 pos5) + (card-at card50 pos2 pos5) + (card-at card35 pos3 pos5) + (card-at card44 pos4 pos5) + (card-at card45 pos5 pos5) + (card-at card46 pos6 pos5) + (card-at card47 pos7 pos5) + (card-at card48 pos0 pos6) + (card-at card49 pos1 pos6) + (card-at card58 pos2 pos6) + (card-at card43 pos3 pos6) + (card-at card52 pos4 pos6) + (card-at card53 pos5 pos6) + (card-at card54 pos6 pos6) + (card-at card55 pos7 pos6) + (card-at card56 pos0 pos7) + (card-at card57 pos1 pos7) + (card-at card2 pos2 pos7) + (card-at card51 pos3 pos7) + (card-at card60 pos4 pos7) + (card-at card61 pos5 pos7) + (card-at card62 pos6 pos7) + (card-at card63 pos7 pos7) + + (BLOCKED card0 S) + (BLOCKED card0 W) + + (BLOCKED card1 N) + + (BLOCKED card10 W) + + (BLOCKED card59 E) + (BLOCKED card59 W) + + (BLOCKED card4 N) + (BLOCKED card4 S) + + (BLOCKED card5 N) + (BLOCKED card5 E) + + (BLOCKED card6 N) + (BLOCKED card6 W) + + (BLOCKED card7 N) + (BLOCKED card7 S) + + (BLOCKED card8 E) + (BLOCKED card8 W) + + (BLOCKED card9 N) + (BLOCKED card9 S) + + (BLOCKED card18 N) + (BLOCKED card18 E) + + (BLOCKED card3 N) + (BLOCKED card3 S) + + (BLOCKED card12 E) + (BLOCKED card12 W) + + (BLOCKED card13 E) + (BLOCKED card13 W) + + (BLOCKED card14 E) + (BLOCKED card14 S) + + (BLOCKED card15 S) + (BLOCKED card15 W) + + (BLOCKED card16 S) + (BLOCKED card16 W) + + (BLOCKED card17 N) + (BLOCKED card17 E) + + (BLOCKED card26 S) + + (BLOCKED card11 E) + + (BLOCKED card20 N) + (BLOCKED card20 E) + + (BLOCKED card21 S) + (BLOCKED card21 W) + + (BLOCKED card22 E) + + (BLOCKED card23 W) + + (BLOCKED card24 W) + + (BLOCKED card25 N) + (BLOCKED card25 E) + + (BLOCKED card34 E) + (BLOCKED card34 S) + + (BLOCKED card19 S) + + (BLOCKED card28 N) + (BLOCKED card28 W) + + (BLOCKED card29 S) + (BLOCKED card29 W) + + + (BLOCKED card31 S) + + (BLOCKED card39 E) + (BLOCKED card39 S) + + (BLOCKED card32 N) + + (BLOCKED card33 E) + + (BLOCKED card42 W) + + (BLOCKED card27 N) + (BLOCKED card27 E) + + (BLOCKED card36 S) + + (BLOCKED card37 E) + + (BLOCKED card38 E) + (BLOCKED card38 W) + + (BLOCKED card40 S) + (BLOCKED card40 W) + + (BLOCKED card41 E) + (BLOCKED card41 S) + + (BLOCKED card50 E) + (BLOCKED card50 W) + + (BLOCKED card35 S) + (BLOCKED card35 W) + + (BLOCKED card44 N) + (BLOCKED card44 W) + + (BLOCKED card45 E) + (BLOCKED card45 S) + + (BLOCKED card46 S) + (BLOCKED card46 W) + + (BLOCKED card47 N) + + (BLOCKED card48 S) + (BLOCKED card48 W) + + (BLOCKED card49 E) + + (BLOCKED card58 N) + + (BLOCKED card43 N) + (BLOCKED card43 W) + + (BLOCKED card52 S) + (BLOCKED card52 W) + + (BLOCKED card53 N) + (BLOCKED card53 S) + + (BLOCKED card54 S) + + (BLOCKED card55 W) + + (BLOCKED card56 S) + + (BLOCKED card57 E) + (BLOCKED card57 W) + + (BLOCKED card2 N) + (BLOCKED card2 S) + + (BLOCKED card51 S) + (BLOCKED card51 W) + + + (BLOCKED card61 E) + (BLOCKED card61 W) + + (BLOCKED card62 N) + (BLOCKED card62 E) + + (BLOCKED card63 E) + (BLOCKED card63 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p19.pddl b/labyrinth-sat23-adl/p19.pddl new file mode 100644 index 00000000..7ec82ff2 --- /dev/null +++ b/labyrinth-sat23-adl/p19.pddl @@ -0,0 +1,267 @@ +;; Generated with seed: 1367, size: 8, num-rotations: 4 +(define (problem labyrinth-size-8-rotations-4-seed-1367) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 pos7 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 card49 card50 card51 card52 card53 card54 card55 card56 card57 card58 card59 card60 card61 card62 card63 - card +) +(:init + (MAX-POS pos7) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + (NEXT pos7 pos6) + + (card-at card0 pos0 pos0) + (card-at card1 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card11 pos3 pos0) + (card-at card60 pos4 pos0) + (card-at card13 pos5 pos0) + (card-at card62 pos6 pos0) + (card-at card7 pos7 pos0) + (card-at card8 pos0 pos1) + (card-at card9 pos1 pos1) + (card-at card10 pos2 pos1) + (card-at card19 pos3 pos1) + (card-at card4 pos4 pos1) + (card-at card21 pos5 pos1) + (card-at card6 pos6 pos1) + (card-at card15 pos7 pos1) + (card-at card16 pos0 pos2) + (card-at card17 pos1 pos2) + (card-at card18 pos2 pos2) + (card-at card27 pos3 pos2) + (card-at card12 pos4 pos2) + (card-at card29 pos5 pos2) + (card-at card14 pos6 pos2) + (card-at card23 pos7 pos2) + (card-at card24 pos0 pos3) + (card-at card25 pos1 pos3) + (card-at card26 pos2 pos3) + (card-at card35 pos3 pos3) + (card-at card20 pos4 pos3) + (card-at card37 pos5 pos3) + (card-at card22 pos6 pos3) + (card-at card31 pos7 pos3) + (card-at card32 pos0 pos4) + (card-at card33 pos1 pos4) + (card-at card34 pos2 pos4) + (card-at card43 pos3 pos4) + (card-at card28 pos4 pos4) + (card-at card45 pos5 pos4) + (card-at card30 pos6 pos4) + (card-at card39 pos7 pos4) + (card-at card40 pos0 pos5) + (card-at card41 pos1 pos5) + (card-at card42 pos2 pos5) + (card-at card51 pos3 pos5) + (card-at card36 pos4 pos5) + (card-at card53 pos5 pos5) + (card-at card38 pos6 pos5) + (card-at card47 pos7 pos5) + (card-at card48 pos0 pos6) + (card-at card49 pos1 pos6) + (card-at card50 pos2 pos6) + (card-at card59 pos3 pos6) + (card-at card44 pos4 pos6) + (card-at card61 pos5 pos6) + (card-at card46 pos6 pos6) + (card-at card55 pos7 pos6) + (card-at card56 pos0 pos7) + (card-at card57 pos1 pos7) + (card-at card58 pos2 pos7) + (card-at card3 pos3 pos7) + (card-at card52 pos4 pos7) + (card-at card5 pos5 pos7) + (card-at card54 pos6 pos7) + (card-at card63 pos7 pos7) + + (BLOCKED card0 N) + (BLOCKED card0 W) + + (BLOCKED card1 N) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + (BLOCKED card11 N) + (BLOCKED card11 S) + + (BLOCKED card60 N) + (BLOCKED card60 S) + + (BLOCKED card13 E) + (BLOCKED card13 S) + + (BLOCKED card62 N) + (BLOCKED card62 S) + + (BLOCKED card7 E) + (BLOCKED card7 W) + + (BLOCKED card8 S) + (BLOCKED card8 W) + + (BLOCKED card9 N) + + (BLOCKED card10 E) + (BLOCKED card10 W) + + (BLOCKED card19 N) + (BLOCKED card19 E) + + (BLOCKED card4 E) + (BLOCKED card4 W) + + (BLOCKED card21 E) + (BLOCKED card21 S) + + (BLOCKED card6 N) + + (BLOCKED card15 N) + (BLOCKED card15 E) + + (BLOCKED card16 S) + (BLOCKED card16 W) + + (BLOCKED card17 W) + + + (BLOCKED card27 E) + (BLOCKED card27 W) + + (BLOCKED card12 N) + (BLOCKED card12 E) + + (BLOCKED card29 N) + (BLOCKED card29 S) + + (BLOCKED card14 S) + (BLOCKED card14 W) + + (BLOCKED card23 E) + + (BLOCKED card24 N) + (BLOCKED card24 E) + + (BLOCKED card25 E) + (BLOCKED card25 S) + + (BLOCKED card26 E) + (BLOCKED card26 S) + + (BLOCKED card35 S) + (BLOCKED card35 W) + + (BLOCKED card20 W) + + (BLOCKED card37 E) + (BLOCKED card37 S) + + (BLOCKED card22 N) + (BLOCKED card22 E) + + (BLOCKED card31 N) + + (BLOCKED card32 N) + (BLOCKED card32 S) + + (BLOCKED card33 E) + + (BLOCKED card34 N) + (BLOCKED card34 W) + + (BLOCKED card43 N) + (BLOCKED card43 E) + + (BLOCKED card28 S) + (BLOCKED card28 W) + + (BLOCKED card45 N) + (BLOCKED card45 E) + + (BLOCKED card30 N) + (BLOCKED card30 W) + + (BLOCKED card39 E) + (BLOCKED card39 W) + + (BLOCKED card40 E) + (BLOCKED card40 W) + + (BLOCKED card41 N) + (BLOCKED card41 S) + + (BLOCKED card42 W) + + (BLOCKED card51 E) + (BLOCKED card51 W) + + (BLOCKED card36 E) + + (BLOCKED card53 E) + (BLOCKED card53 W) + + (BLOCKED card38 E) + (BLOCKED card38 S) + + (BLOCKED card47 E) + (BLOCKED card47 W) + + (BLOCKED card48 W) + + (BLOCKED card49 E) + + (BLOCKED card50 N) + (BLOCKED card50 W) + + (BLOCKED card59 N) + (BLOCKED card59 W) + + (BLOCKED card44 S) + + (BLOCKED card61 S) + + (BLOCKED card46 N) + (BLOCKED card46 W) + + (BLOCKED card55 N) + + (BLOCKED card56 W) + + (BLOCKED card57 N) + (BLOCKED card57 W) + + (BLOCKED card58 W) + + (BLOCKED card3 W) + + (BLOCKED card52 N) + (BLOCKED card52 S) + + (BLOCKED card5 E) + + + (BLOCKED card63 N) + (BLOCKED card63 E) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/labyrinth-sat23-adl/p20.pddl b/labyrinth-sat23-adl/p20.pddl new file mode 100644 index 00000000..00f364af --- /dev/null +++ b/labyrinth-sat23-adl/p20.pddl @@ -0,0 +1,274 @@ +;; Generated with seed: 1373, size: 8, num-rotations: 6 +(define (problem labyrinth-size-8-rotations-6-seed-1373) +(:domain labyrinth) +(:objects + pos0 pos1 pos2 pos3 pos4 pos5 pos6 pos7 - gridpos + card0 card1 card2 card3 card4 card5 card6 card7 card8 card9 card10 card11 card12 card13 card14 card15 card16 card17 card18 card19 card20 card21 card22 card23 card24 card25 card26 card27 card28 card29 card30 card31 card32 card33 card34 card35 card36 card37 card38 card39 card40 card41 card42 card43 card44 card45 card46 card47 card48 card49 card50 card51 card52 card53 card54 card55 card56 card57 card58 card59 card60 card61 card62 card63 - card +) +(:init + (MAX-POS pos7) + (MIN-POS pos0) + + (NEXT pos1 pos0) + (NEXT pos2 pos1) + (NEXT pos3 pos2) + (NEXT pos4 pos3) + (NEXT pos5 pos4) + (NEXT pos6 pos5) + (NEXT pos7 pos6) + + (card-at card0 pos0 pos0) + (card-at card57 pos1 pos0) + (card-at card2 pos2 pos0) + (card-at card3 pos3 pos0) + (card-at card4 pos4 pos0) + (card-at card12 pos5 pos0) + (card-at card6 pos6 pos0) + (card-at card7 pos7 pos0) + (card-at card15 pos0 pos1) + (card-at card8 pos1 pos1) + (card-at card1 pos2 pos1) + (card-at card10 pos3 pos1) + (card-at card11 pos4 pos1) + (card-at card21 pos5 pos1) + (card-at card13 pos6 pos1) + (card-at card14 pos7 pos1) + (card-at card16 pos0 pos2) + (card-at card9 pos1 pos2) + (card-at card18 pos2 pos2) + (card-at card19 pos3 pos2) + (card-at card20 pos4 pos2) + (card-at card30 pos5 pos2) + (card-at card22 pos6 pos2) + (card-at card23 pos7 pos2) + (card-at card17 pos0 pos3) + (card-at card26 pos1 pos3) + (card-at card27 pos2 pos3) + (card-at card28 pos3 pos3) + (card-at card29 pos4 pos3) + (card-at card38 pos5 pos3) + (card-at card31 pos6 pos3) + (card-at card24 pos7 pos3) + (card-at card33 pos0 pos4) + (card-at card25 pos1 pos4) + (card-at card35 pos2 pos4) + (card-at card36 pos3 pos4) + (card-at card37 pos4 pos4) + (card-at card46 pos5 pos4) + (card-at card39 pos6 pos4) + (card-at card32 pos7 pos4) + (card-at card34 pos0 pos5) + (card-at card42 pos1 pos5) + (card-at card43 pos2 pos5) + (card-at card44 pos3 pos5) + (card-at card45 pos4 pos5) + (card-at card53 pos5 pos5) + (card-at card47 pos6 pos5) + (card-at card40 pos7 pos5) + (card-at card48 pos0 pos6) + (card-at card41 pos1 pos6) + (card-at card50 pos2 pos6) + (card-at card51 pos3 pos6) + (card-at card52 pos4 pos6) + (card-at card61 pos5 pos6) + (card-at card54 pos6 pos6) + (card-at card55 pos7 pos6) + (card-at card56 pos0 pos7) + (card-at card49 pos1 pos7) + (card-at card58 pos2 pos7) + (card-at card59 pos3 pos7) + (card-at card60 pos4 pos7) + (card-at card5 pos5 pos7) + (card-at card62 pos6 pos7) + (card-at card63 pos7 pos7) + + (BLOCKED card0 S) + + (BLOCKED card57 E) + (BLOCKED card57 W) + + (BLOCKED card2 N) + (BLOCKED card2 E) + + (BLOCKED card3 N) + (BLOCKED card3 E) + + (BLOCKED card4 S) + (BLOCKED card4 W) + + (BLOCKED card12 E) + (BLOCKED card12 S) + + + (BLOCKED card7 W) + + (BLOCKED card15 N) + + (BLOCKED card8 N) + (BLOCKED card8 W) + + (BLOCKED card1 N) + (BLOCKED card1 S) + + (BLOCKED card10 E) + (BLOCKED card10 S) + + (BLOCKED card11 E) + (BLOCKED card11 S) + + (BLOCKED card21 N) + (BLOCKED card21 W) + + (BLOCKED card13 N) + (BLOCKED card13 W) + + (BLOCKED card14 N) + (BLOCKED card14 S) + + (BLOCKED card16 S) + (BLOCKED card16 W) + + (BLOCKED card9 N) + (BLOCKED card9 S) + + (BLOCKED card18 E) + (BLOCKED card18 W) + + (BLOCKED card19 E) + (BLOCKED card19 W) + + (BLOCKED card20 N) + (BLOCKED card20 W) + + (BLOCKED card30 E) + + (BLOCKED card22 S) + + (BLOCKED card23 N) + (BLOCKED card23 W) + + (BLOCKED card17 N) + (BLOCKED card17 E) + + (BLOCKED card26 N) + + (BLOCKED card27 E) + + (BLOCKED card28 N) + (BLOCKED card28 W) + + (BLOCKED card29 N) + (BLOCKED card29 S) + + (BLOCKED card38 N) + (BLOCKED card38 W) + + (BLOCKED card31 N) + (BLOCKED card31 E) + + (BLOCKED card24 N) + (BLOCKED card24 S) + + (BLOCKED card33 N) + (BLOCKED card33 W) + + (BLOCKED card25 W) + + (BLOCKED card35 E) + (BLOCKED card35 W) + + (BLOCKED card36 N) + + (BLOCKED card37 S) + (BLOCKED card37 W) + + (BLOCKED card46 N) + (BLOCKED card46 W) + + (BLOCKED card39 S) + (BLOCKED card39 W) + + (BLOCKED card32 N) + (BLOCKED card32 E) + + (BLOCKED card34 N) + (BLOCKED card34 E) + + (BLOCKED card42 N) + (BLOCKED card42 E) + + (BLOCKED card43 S) + (BLOCKED card43 W) + + (BLOCKED card44 N) + + (BLOCKED card45 N) + (BLOCKED card45 E) + + (BLOCKED card53 W) + + (BLOCKED card47 E) + (BLOCKED card47 W) + + (BLOCKED card40 N) + (BLOCKED card40 S) + + (BLOCKED card48 N) + (BLOCKED card48 E) + + (BLOCKED card41 N) + (BLOCKED card41 S) + + (BLOCKED card50 E) + (BLOCKED card50 S) + + (BLOCKED card51 N) + (BLOCKED card51 E) + + (BLOCKED card52 N) + (BLOCKED card52 W) + + (BLOCKED card61 E) + (BLOCKED card61 S) + + (BLOCKED card54 N) + + (BLOCKED card55 N) + (BLOCKED card55 E) + + (BLOCKED card56 N) + + (BLOCKED card49 E) + (BLOCKED card49 W) + + (BLOCKED card58 E) + (BLOCKED card58 W) + + (BLOCKED card59 S) + (BLOCKED card59 W) + + (BLOCKED card60 N) + (BLOCKED card60 S) + + (BLOCKED card5 S) + (BLOCKED card5 W) + + (BLOCKED card62 N) + + (BLOCKED card63 E) + (BLOCKED card63 W) + + + (robot-at card0) + + (= (total-cost) 0) + (= (move-robot-cost) 1) + (= (move-card) 1) +) +(:goal + (and + (left) + ) +) + (:metric minimize (total-cost)) +) diff --git a/quantum-layout-opt23-strips/domain_p01.pddl b/quantum-layout-opt23-strips/domain_p01.pddl new file mode 100644 index 00000000..4794d682 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p01.pddl @@ -0,0 +1,76 @@ +;; Melbourne/Local_compact/domain_2_adder.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l1_i4 l2_l3_i6 l2_l3_i9 l1_l2_i10 l3_l0_i11 l0_l1_i12 l0_l1_i15 l2_l3_i16 l2_l3_i19 l3_l0_i21 - gateid + ;; logical qubits + l0 l1 l2 l3 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l1_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l1_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i4)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l3_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i6)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i6)) (mapped l2 ?p1) (not (rcnot l2_l3_i6)) (mapped l3 ?p2) (rcnot l2_l3_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i9))) +) +(:action apply_cnot_l1_l2_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l1_i4)) (mapped l1 ?p1) (not (rcnot l2_l3_i9)) (mapped l2 ?p2) (rcnot l1_l2_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i10))) +) +(:action apply_cnot_l3_l0_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i9)) (mapped l3 ?p1) (not (rcnot l0_l1_i4)) (mapped l0 ?p2) (rcnot l3_l0_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l0_i11))) +) +(:action apply_cnot_l0_l1_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l0_i11)) (mapped l0 ?p1) (not (rcnot l1_l2_i10)) (mapped l1 ?p2) (rcnot l0_l1_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i12))) +) +(:action apply_cnot_l0_l1_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l1_i12)) (mapped l0 ?p1) (not (rcnot l0_l1_i12)) (mapped l1 ?p2) (rcnot l0_l1_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i15))) +) +(:action apply_cnot_l2_l3_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i10)) (mapped l2 ?p1) (not (rcnot l3_l0_i11)) (mapped l3 ?p2) (rcnot l2_l3_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i16))) +) +(:action apply_cnot_l2_l3_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i16)) (mapped l2 ?p1) (not (rcnot l2_l3_i16)) (mapped l3 ?p2) (rcnot l2_l3_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i19))) +) +(:action apply_cnot_l3_l0_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i19)) (mapped l3 ?p1) (not (rcnot l0_l1_i15)) (mapped l0 ?p2) (rcnot l3_l0_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l0_i21))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p02.pddl b/quantum-layout-opt23-strips/domain_p02.pddl new file mode 100644 index 00000000..2d536fc7 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p02.pddl @@ -0,0 +1,81 @@ +;; Melbourne/Local_compact/domain_4_4mod5-v1_22.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l2_i0 l1_l3_i2 l3_l2_i4 l4_l3_i8 l2_l4_i9 l2_l3_i11 l4_l3_i15 l2_l4_i16 l3_l2_i17 l2_l3_i18 l3_l4_i20 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l2_i0 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l2_i0) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i0)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l2 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l3_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l3_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i2)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l2_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i2)) (mapped l3 ?p1) (not (rcnot l0_l2_i0)) (mapped l2 ?p2) (rcnot l3_l2_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l2_i4))) +) +(:action apply_cnot_l4_l3_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l2_i4)) (mapped l3 ?p2) (rcnot l4_l3_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i8)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l4_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l2_i4)) (mapped l2 ?p1) (not (rcnot l4_l3_i8)) (mapped l4 ?p2) (rcnot l2_l4_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i9))) +) +(:action apply_cnot_l2_l3_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i9)) (mapped l2 ?p1) (not (rcnot l4_l3_i8)) (mapped l3 ?p2) (rcnot l2_l3_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i11))) +) +(:action apply_cnot_l4_l3_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i9)) (mapped l4 ?p1) (not (rcnot l2_l3_i11)) (mapped l3 ?p2) (rcnot l4_l3_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i15))) +) +(:action apply_cnot_l2_l4_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i11)) (mapped l2 ?p1) (not (rcnot l4_l3_i15)) (mapped l4 ?p2) (rcnot l2_l4_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i16))) +) +(:action apply_cnot_l3_l2_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i15)) (mapped l3 ?p1) (not (rcnot l2_l4_i16)) (mapped l2 ?p2) (rcnot l3_l2_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l2_i17))) +) +(:action apply_cnot_l2_l3_i18 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l2_i17)) (mapped l2 ?p1) (not (rcnot l3_l2_i17)) (mapped l3 ?p2) (rcnot l2_l3_i18) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i18))) +) +(:action apply_cnot_l3_l4_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i18)) (mapped l3 ?p1) (not (rcnot l2_l4_i16)) (mapped l4 ?p2) (rcnot l3_l4_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i20))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p03.pddl b/quantum-layout-opt23-strips/domain_p03.pddl new file mode 100644 index 00000000..c712a836 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p03.pddl @@ -0,0 +1,176 @@ +;; Melbourne/Local_compact/domain_6_4gt13_92.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l2_l3_i3 l4_l0_i4 l4_l1_i8 l0_l4_i9 l1_l0_i10 l1_l4_i13 l0_l4_i16 l1_l0_i17 l4_l1_i21 l4_l2_i25 l3_l4_i27 l3_l2_i28 l4_l2_i32 l3_l4_i33 l2_l3_i34 l2_l3_i37 l4_l1_i40 l0_l4_i41 l1_l0_i42 l1_l4_i45 l0_l4_i48 l1_l0_i49 l4_l1_i51 l4_l2_i54 l3_l4_i56 l3_l2_i57 l4_l2_i61 l3_l4_i62 l2_l3_i63 l0_l4_i65 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l3_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i3)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l0_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l4_l0_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l0_i4)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l0 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l1_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l0_i4)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l1_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l1_i8)) (mapped l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l4_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l0_i4)) (mapped l0 ?p1) (not (rcnot l4_l1_i8)) (mapped l4 ?p2) (rcnot l0_l4_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i9))) +) +(:action apply_cnot_l1_l0_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l1_i8)) (mapped l1 ?p1) (not (rcnot l0_l4_i9)) (mapped l0 ?p2) (rcnot l1_l0_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i10))) +) +(:action apply_cnot_l1_l4_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l0_i10)) (mapped l1 ?p1) (not (rcnot l0_l4_i9)) (mapped l4 ?p2) (rcnot l1_l4_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i13))) +) +(:action apply_cnot_l0_l4_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l0_i10)) (mapped l0 ?p1) (not (rcnot l1_l4_i13)) (mapped l4 ?p2) (rcnot l0_l4_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i16))) +) +(:action apply_cnot_l1_l0_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i13)) (mapped l1 ?p1) (not (rcnot l0_l4_i16)) (mapped l0 ?p2) (rcnot l1_l0_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i17))) +) +(:action apply_cnot_l4_l1_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i16)) (mapped l4 ?p1) (not (rcnot l1_l0_i17)) (mapped l1 ?p2) (rcnot l4_l1_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l1_i21))) +) +(:action apply_cnot_l4_l2_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l1_i21)) (mapped l4 ?p1) (not (rcnot l2_l3_i3)) (mapped l2 ?p2) (rcnot l4_l2_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i25))) +) +(:action apply_cnot_l3_l4_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i3)) (mapped l3 ?p1) (not (rcnot l4_l2_i25)) (mapped l4 ?p2) (rcnot l3_l4_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i27))) +) +(:action apply_cnot_l3_l2_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i27)) (mapped l3 ?p1) (not (rcnot l4_l2_i25)) (mapped l2 ?p2) (rcnot l3_l2_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l2_i28))) +) +(:action apply_cnot_l4_l2_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i27)) (mapped l4 ?p1) (not (rcnot l3_l2_i28)) (mapped l2 ?p2) (rcnot l4_l2_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i32))) +) +(:action apply_cnot_l3_l4_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l2_i28)) (mapped l3 ?p1) (not (rcnot l4_l2_i32)) (mapped l4 ?p2) (rcnot l3_l4_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i33))) +) +(:action apply_cnot_l2_l3_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i32)) (mapped l2 ?p1) (not (rcnot l3_l4_i33)) (mapped l3 ?p2) (rcnot l2_l3_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i34))) +) +(:action apply_cnot_l2_l3_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i34)) (mapped l2 ?p1) (not (rcnot l2_l3_i34)) (mapped l3 ?p2) (rcnot l2_l3_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i37))) +) +(:action apply_cnot_l4_l1_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i33)) (mapped l4 ?p1) (not (rcnot l4_l1_i21)) (mapped l1 ?p2) (rcnot l4_l1_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l1_i40))) +) +(:action apply_cnot_l0_l4_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l0_i17)) (mapped l0 ?p1) (not (rcnot l4_l1_i40)) (mapped l4 ?p2) (rcnot l0_l4_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i41))) +) +(:action apply_cnot_l1_l0_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l1_i40)) (mapped l1 ?p1) (not (rcnot l0_l4_i41)) (mapped l0 ?p2) (rcnot l1_l0_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i42))) +) +(:action apply_cnot_l1_l4_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l0_i42)) (mapped l1 ?p1) (not (rcnot l0_l4_i41)) (mapped l4 ?p2) (rcnot l1_l4_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i45))) +) +(:action apply_cnot_l0_l4_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l0_i42)) (mapped l0 ?p1) (not (rcnot l1_l4_i45)) (mapped l4 ?p2) (rcnot l0_l4_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i48))) +) +(:action apply_cnot_l1_l0_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i45)) (mapped l1 ?p1) (not (rcnot l0_l4_i48)) (mapped l0 ?p2) (rcnot l1_l0_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i49))) +) +(:action apply_cnot_l4_l1_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i48)) (mapped l4 ?p1) (not (rcnot l1_l0_i49)) (mapped l1 ?p2) (rcnot l4_l1_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l1_i51))) +) +(:action apply_cnot_l4_l2_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l1_i51)) (mapped l4 ?p1) (not (rcnot l2_l3_i37)) (mapped l2 ?p2) (rcnot l4_l2_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i54))) +) +(:action apply_cnot_l3_l4_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i37)) (mapped l3 ?p1) (not (rcnot l4_l2_i54)) (mapped l4 ?p2) (rcnot l3_l4_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i56))) +) +(:action apply_cnot_l3_l2_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i56)) (mapped l3 ?p1) (not (rcnot l4_l2_i54)) (mapped l2 ?p2) (rcnot l3_l2_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l2_i57))) +) +(:action apply_cnot_l4_l2_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i56)) (mapped l4 ?p1) (not (rcnot l3_l2_i57)) (mapped l2 ?p2) (rcnot l4_l2_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i61))) +) +(:action apply_cnot_l3_l4_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l2_i57)) (mapped l3 ?p1) (not (rcnot l4_l2_i61)) (mapped l4 ?p2) (rcnot l3_l4_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i62))) +) +(:action apply_cnot_l2_l3_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i61)) (mapped l2 ?p1) (not (rcnot l3_l4_i62)) (mapped l3 ?p2) (rcnot l2_l3_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i63))) +) +(:action apply_cnot_l0_l4_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l0_i49)) (mapped l0 ?p1) (not (rcnot l3_l4_i62)) (mapped l4 ?p2) (rcnot l0_l4_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i65))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p04.pddl b/quantum-layout-opt23-strips/domain_p04.pddl new file mode 100644 index 00000000..73162b51 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p04.pddl @@ -0,0 +1,196 @@ +;; Melbourne/Local_compact/domain_8_barenco_tof_4.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l5_l6_i3 l3_l6_i5 l5_l6_i7 l3_l5_i8 l3_l5_i10 l4_l5_i12 l2_l5_i14 l4_l5_i16 l2_l4_i17 l2_l4_i19 l1_l4_i21 l0_l4_i23 l1_l4_i25 l0_l4_i27 l4_l5_i30 l2_l5_i32 l4_l5_i34 l5_l6_i36 l3_l6_i38 l5_l6_i40 l3_l5_i41 l3_l5_i43 l4_l5_i46 l2_l5_i48 l4_l5_i50 l1_l4_i52 l0_l4_i54 l1_l4_i56 l0_l4_i58 l4_l5_i61 l2_l5_i63 l4_l5_i65 l2_l4_i66 l2_l4_i68 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l5_l6_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i3)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l6_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i3)) (mapped l6 ?p2) (rcnot l3_l6_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i5)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i3)) (mapped l5 ?p1) (not (rcnot l3_l6_i5)) (mapped l6 ?p2) (rcnot l5_l6_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i7))) +) +(:action apply_cnot_l3_l5_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i5)) (mapped l3 ?p1) (not (rcnot l5_l6_i7)) (mapped l5 ?p2) (rcnot l3_l5_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i8))) +) +(:action apply_cnot_l3_l5_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i8)) (mapped l3 ?p1) (not (rcnot l3_l5_i8)) (mapped l5 ?p2) (rcnot l3_l5_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i10))) +) +(:action apply_cnot_l4_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l5_i10)) (mapped l5 ?p2) (rcnot l4_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i12)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l5_i14 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l5_i12)) (mapped l5 ?p2) (rcnot l2_l5_i14) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i14)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l5_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i12)) (mapped l4 ?p1) (not (rcnot l2_l5_i14)) (mapped l5 ?p2) (rcnot l4_l5_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i16))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i14)) (mapped l2 ?p1) (not (rcnot l4_l5_i16)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l2_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l2_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i19))) +) +(:action apply_cnot_l1_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l4_i19)) (mapped l4 ?p2) (rcnot l1_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i21)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l4_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l4_i21)) (mapped l4 ?p2) (rcnot l0_l4_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i23)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l4_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i21)) (mapped l1 ?p1) (not (rcnot l0_l4_i23)) (mapped l4 ?p2) (rcnot l1_l4_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i25))) +) +(:action apply_cnot_l0_l4_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i23)) (mapped l0 ?p1) (not (rcnot l1_l4_i25)) (mapped l4 ?p2) (rcnot l0_l4_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i27))) +) +(:action apply_cnot_l4_l5_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i27)) (mapped l4 ?p1) (not (rcnot l4_l5_i16)) (mapped l5 ?p2) (rcnot l4_l5_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i30))) +) +(:action apply_cnot_l2_l5_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i19)) (mapped l2 ?p1) (not (rcnot l4_l5_i30)) (mapped l5 ?p2) (rcnot l2_l5_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i32))) +) +(:action apply_cnot_l4_l5_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i30)) (mapped l4 ?p1) (not (rcnot l2_l5_i32)) (mapped l5 ?p2) (rcnot l4_l5_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i34))) +) +(:action apply_cnot_l5_l6_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l5 ?p1) (not (rcnot l5_l6_i7)) (mapped l6 ?p2) (rcnot l5_l6_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i36))) +) +(:action apply_cnot_l3_l6_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i10)) (mapped l3 ?p1) (not (rcnot l5_l6_i36)) (mapped l6 ?p2) (rcnot l3_l6_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i38))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i36)) (mapped l5 ?p1) (not (rcnot l3_l6_i38)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l3_l5_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i38)) (mapped l3 ?p1) (not (rcnot l5_l6_i40)) (mapped l5 ?p2) (rcnot l3_l5_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i41))) +) +(:action apply_cnot_l3_l5_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i41)) (mapped l3 ?p1) (not (rcnot l3_l5_i41)) (mapped l5 ?p2) (rcnot l3_l5_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i43))) +) +(:action apply_cnot_l4_l5_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l4 ?p1) (not (rcnot l3_l5_i43)) (mapped l5 ?p2) (rcnot l4_l5_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i46))) +) +(:action apply_cnot_l2_l5_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i32)) (mapped l2 ?p1) (not (rcnot l4_l5_i46)) (mapped l5 ?p2) (rcnot l2_l5_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i48))) +) +(:action apply_cnot_l4_l5_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i46)) (mapped l4 ?p1) (not (rcnot l2_l5_i48)) (mapped l5 ?p2) (rcnot l4_l5_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i50))) +) +(:action apply_cnot_l1_l4_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i25)) (mapped l1 ?p1) (not (rcnot l4_l5_i50)) (mapped l4 ?p2) (rcnot l1_l4_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i52))) +) +(:action apply_cnot_l0_l4_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i27)) (mapped l0 ?p1) (not (rcnot l1_l4_i52)) (mapped l4 ?p2) (rcnot l0_l4_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i54))) +) +(:action apply_cnot_l1_l4_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i52)) (mapped l1 ?p1) (not (rcnot l0_l4_i54)) (mapped l4 ?p2) (rcnot l1_l4_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i56))) +) +(:action apply_cnot_l0_l4_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i54)) (mapped l0 ?p1) (not (rcnot l1_l4_i56)) (mapped l4 ?p2) (rcnot l0_l4_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i58))) +) +(:action apply_cnot_l4_l5_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i58)) (mapped l4 ?p1) (not (rcnot l4_l5_i50)) (mapped l5 ?p2) (rcnot l4_l5_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i61))) +) +(:action apply_cnot_l2_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i48)) (mapped l2 ?p1) (not (rcnot l4_l5_i61)) (mapped l5 ?p2) (rcnot l2_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i63))) +) +(:action apply_cnot_l4_l5_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i61)) (mapped l4 ?p1) (not (rcnot l2_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i65))) +) +(:action apply_cnot_l2_l4_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i63)) (mapped l2 ?p1) (not (rcnot l4_l5_i65)) (mapped l4 ?p2) (rcnot l2_l4_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i66))) +) +(:action apply_cnot_l2_l4_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i66)) (mapped l2 ?p1) (not (rcnot l2_l4_i66)) (mapped l4 ?p2) (rcnot l2_l4_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i68))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p05.pddl b/quantum-layout-opt23-strips/domain_p05.pddl new file mode 100644 index 00000000..40602083 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p05.pddl @@ -0,0 +1,226 @@ +;; Melbourne/Local_compact/domain_10_mod_mult_55.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l7_i2 l2_l7_i4 l0_l7_i6 l2_l7_i8 l2_l0_i9 l2_l0_i12 l7_l6_i15 l1_l6_i17 l7_l6_i19 l1_l6_i21 l1_l7_i22 l6_l5_i25 l6_l3_i26 l1_l7_i30 l2_l8_i33 l0_l8_i35 l2_l8_i37 l0_l8_i39 l8_l7_i42 l7_l3_i43 l8_l6_i45 l1_l6_i47 l8_l6_i49 l1_l6_i51 l1_l8_i52 l6_l4_i55 l1_l8_i57 l1_l3_i58 l7_l3_i60 l1_l3_i62 l5_l8_i66 l1_l5_i68 l7_l5_i70 l1_l5_i72 l7_l5_i74 l2_l8_i79 l0_l8_i81 l2_l8_i83 l0_l8_i86 l5_l8_i90 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l7_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l7_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l7_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l7_i2)) (mapped l7 ?p2) (rcnot l2_l7_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l7_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (not (rcnot l2_l7_i4)) (mapped l7 ?p2) (rcnot l0_l7_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i6))) +) +(:action apply_cnot_l2_l7_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l7 ?p2) (rcnot l2_l7_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i8))) +) +(:action apply_cnot_l2_l0_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l0 ?p2) (rcnot l2_l0_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i9))) +) +(:action apply_cnot_l2_l0_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i9)) (mapped l2 ?p1) (not (rcnot l2_l0_i9)) (mapped l0 ?p2) (rcnot l2_l0_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i12))) +) +(:action apply_cnot_l7_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (rcnot l1_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l6_i15)) (mapped l7 ?p1) (not (rcnot l1_l6_i17)) (mapped l6 ?p2) (rcnot l7_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i19))) +) +(:action apply_cnot_l1_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l6 ?p2) (rcnot l1_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i21))) +) +(:action apply_cnot_l1_l7_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l7 ?p2) (rcnot l1_l7_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i22))) +) +(:action apply_cnot_l6_l5_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l5_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i25)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l3_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l3_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l7_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i22)) (mapped l1 ?p1) (not (rcnot l1_l7_i22)) (mapped l7 ?p2) (rcnot l1_l7_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i30))) +) +(:action apply_cnot_l2_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l2 ?p1) (not (initialized ?p2)) (rcnot l2_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l0 ?p1) (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (rcnot l0_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i35))) +) +(:action apply_cnot_l2_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i33)) (mapped l2 ?p1) (not (rcnot l0_l8_i35)) (mapped l8 ?p2) (rcnot l2_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i37))) +) +(:action apply_cnot_l0_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i35)) (mapped l0 ?p1) (not (rcnot l2_l8_i37)) (mapped l8 ?p2) (rcnot l0_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i39))) +) +(:action apply_cnot_l8_l7_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l8 ?p1) (not (rcnot l1_l7_i30)) (mapped l7 ?p2) (rcnot l8_l7_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i42))) +) +(:action apply_cnot_l7_l3_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l7 ?p1) (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (rcnot l7_l3_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i43))) +) +(:action apply_cnot_l8_l6_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l8 ?p1) (not (rcnot l6_l3_i26)) (mapped l6 ?p2) (rcnot l8_l6_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i45))) +) +(:action apply_cnot_l1_l6_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i30)) (mapped l1 ?p1) (not (rcnot l8_l6_i45)) (mapped l6 ?p2) (rcnot l1_l6_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i47))) +) +(:action apply_cnot_l8_l6_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i45)) (mapped l8 ?p1) (not (rcnot l1_l6_i47)) (mapped l6 ?p2) (rcnot l8_l6_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i49))) +) +(:action apply_cnot_l1_l6_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i47)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l6 ?p2) (rcnot l1_l6_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i51))) +) +(:action apply_cnot_l1_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l8 ?p2) (rcnot l1_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i52))) +) +(:action apply_cnot_l6_l4_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l4_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i55)) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l8_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i52)) (mapped l1 ?p1) (not (rcnot l1_l8_i52)) (mapped l8 ?p2) (rcnot l1_l8_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i57))) +) +(:action apply_cnot_l1_l3_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i57)) (mapped l1 ?p1) (not (rcnot l7_l3_i43)) (mapped l3 ?p2) (rcnot l1_l3_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i58))) +) +(:action apply_cnot_l7_l3_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i43)) (mapped l7 ?p1) (not (rcnot l1_l3_i58)) (mapped l3 ?p2) (rcnot l7_l3_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i60))) +) +(:action apply_cnot_l1_l3_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i58)) (mapped l1 ?p1) (not (rcnot l7_l3_i60)) (mapped l3 ?p2) (rcnot l1_l3_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i62))) +) +(:action apply_cnot_l5_l8_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l5 ?p1) (not (rcnot l1_l8_i57)) (mapped l8 ?p2) (rcnot l5_l8_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i66))) +) +(:action apply_cnot_l1_l5_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i62)) (mapped l1 ?p1) (not (rcnot l5_l8_i66)) (mapped l5 ?p2) (rcnot l1_l5_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i68))) +) +(:action apply_cnot_l7_l5_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i60)) (mapped l7 ?p1) (not (rcnot l1_l5_i68)) (mapped l5 ?p2) (rcnot l7_l5_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i70))) +) +(:action apply_cnot_l1_l5_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i68)) (mapped l1 ?p1) (not (rcnot l7_l5_i70)) (mapped l5 ?p2) (rcnot l1_l5_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i72))) +) +(:action apply_cnot_l7_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i70)) (mapped l7 ?p1) (not (rcnot l1_l5_i72)) (mapped l5 ?p2) (rcnot l7_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i74))) +) +(:action apply_cnot_l2_l8_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i37)) (mapped l2 ?p1) (not (rcnot l5_l8_i66)) (mapped l8 ?p2) (rcnot l2_l8_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i79))) +) +(:action apply_cnot_l0_l8_i81 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l0 ?p1) (not (rcnot l2_l8_i79)) (mapped l8 ?p2) (rcnot l0_l8_i81) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i81))) +) +(:action apply_cnot_l2_l8_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i79)) (mapped l2 ?p1) (not (rcnot l0_l8_i81)) (mapped l8 ?p2) (rcnot l2_l8_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i83))) +) +(:action apply_cnot_l0_l8_i86 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i81)) (mapped l0 ?p1) (not (rcnot l2_l8_i83)) (mapped l8 ?p2) (rcnot l0_l8_i86) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i86))) +) +(:action apply_cnot_l5_l8_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i74)) (mapped l5 ?p1) (not (rcnot l0_l8_i86)) (mapped l8 ?p2) (rcnot l5_l8_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i90))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p06.pddl b/quantum-layout-opt23-strips/domain_p06.pddl new file mode 100644 index 00000000..a3fdff19 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p06.pddl @@ -0,0 +1,276 @@ +;; Melbourne/Local_compact/domain_12_vbe_adder_3.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l2_l3_i1 l1_l3_i3 l2_l3_i4 l1_l3_i6 l1_l2_i7 l2_l3_i8 l0_l3_i9 l2_l3_i11 l0_l3_i13 l5_l6_i17 l4_l6_i19 l5_l6_i20 l4_l6_i22 l4_l5_i23 l5_l6_i24 l3_l6_i25 l5_l6_i27 l3_l6_i29 l8_l9_i36 l7_l9_i38 l8_l9_i39 l7_l9_i41 l7_l8_i42 l8_l9_i43 l6_l9_i44 l8_l9_i46 l6_l9_i48 l6_l8_i49 l5_l6_i52 l3_l6_i53 l5_l6_i55 l4_l5_i56 l3_l6_i58 l5_l6_i59 l4_l6_i61 l5_l6_i62 l3_l5_i63 l2_l3_i66 l0_l3_i67 l2_l3_i69 l1_l2_i70 l0_l3_i72 l2_l3_i73 l1_l3_i75 l2_l3_i76 l0_l2_i77 l1_l3_i79 l1_l2_i80 l4_l6_i83 l4_l5_i84 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l3_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l3_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i1)) (mapped l3 ?p2) (rcnot l1_l3_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (not (rcnot l1_l3_i3)) (mapped l3 ?p2) (rcnot l2_l3_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i4))) +) +(:action apply_cnot_l1_l3_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l3 ?p2) (rcnot l1_l3_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i6))) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i6)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l2_l3_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l2 ?p1) (not (rcnot l1_l3_i6)) (mapped l3 ?p2) (rcnot l2_l3_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i8))) +) +(:action apply_cnot_l0_l3_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i8)) (mapped l3 ?p2) (rcnot l0_l3_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i8)) (mapped l2 ?p1) (not (rcnot l0_l3_i9)) (mapped l3 ?p2) (rcnot l2_l3_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i11))) +) +(:action apply_cnot_l0_l3_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (not (rcnot l2_l3_i11)) (mapped l3 ?p2) (rcnot l0_l3_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i13))) +) +(:action apply_cnot_l5_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i17)) (mapped l6 ?p2) (rcnot l4_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (not (rcnot l4_l6_i19)) (mapped l6 ?p2) (rcnot l5_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i20))) +) +(:action apply_cnot_l4_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l6 ?p2) (rcnot l4_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i22))) +) +(:action apply_cnot_l4_l5_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i22)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l5 ?p2) (rcnot l4_l5_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i23))) +) +(:action apply_cnot_l5_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l5 ?p1) (not (rcnot l4_l6_i22)) (mapped l6 ?p2) (rcnot l5_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i24))) +) +(:action apply_cnot_l3_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l3 ?p1) (not (rcnot l5_l6_i24)) (mapped l6 ?p2) (rcnot l3_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i25))) +) +(:action apply_cnot_l5_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i24)) (mapped l5 ?p1) (not (rcnot l3_l6_i25)) (mapped l6 ?p2) (rcnot l5_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i27))) +) +(:action apply_cnot_l3_l6_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i25)) (mapped l3 ?p1) (not (rcnot l5_l6_i27)) (mapped l6 ?p2) (rcnot l3_l6_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i29))) +) +(:action apply_cnot_l8_l9_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l9_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l8_l9_i36)) (mapped l9 ?p2) (rcnot l7_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l8_l9_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (not (rcnot l7_l9_i38)) (mapped l9 ?p2) (rcnot l8_l9_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i39))) +) +(:action apply_cnot_l7_l9_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l9 ?p2) (rcnot l7_l9_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i41))) +) +(:action apply_cnot_l7_l8_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i41)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l8 ?p2) (rcnot l7_l8_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i42))) +) +(:action apply_cnot_l8_l9_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i42)) (mapped l8 ?p1) (not (rcnot l7_l9_i41)) (mapped l9 ?p2) (rcnot l8_l9_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i43))) +) +(:action apply_cnot_l6_l9_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l6 ?p1) (not (rcnot l8_l9_i43)) (mapped l9 ?p2) (rcnot l6_l9_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i44))) +) +(:action apply_cnot_l8_l9_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i43)) (mapped l8 ?p1) (not (rcnot l6_l9_i44)) (mapped l9 ?p2) (rcnot l8_l9_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i46))) +) +(:action apply_cnot_l6_l9_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i44)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l9 ?p2) (rcnot l6_l9_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i48))) +) +(:action apply_cnot_l6_l8_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i48)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l8 ?p2) (rcnot l6_l8_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i49))) +) +(:action apply_cnot_l5_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i27)) (mapped l5 ?p1) (not (rcnot l6_l8_i49)) (mapped l6 ?p2) (rcnot l5_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i52))) +) +(:action apply_cnot_l3_l6_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l3 ?p1) (not (rcnot l5_l6_i52)) (mapped l6 ?p2) (rcnot l3_l6_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i53))) +) +(:action apply_cnot_l5_l6_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i52)) (mapped l5 ?p1) (not (rcnot l3_l6_i53)) (mapped l6 ?p2) (rcnot l5_l6_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i55))) +) +(:action apply_cnot_l4_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l4 ?p1) (not (rcnot l5_l6_i55)) (mapped l5 ?p2) (rcnot l4_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i56))) +) +(:action apply_cnot_l3_l6_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i53)) (mapped l3 ?p1) (not (rcnot l5_l6_i55)) (mapped l6 ?p2) (rcnot l3_l6_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i58))) +) +(:action apply_cnot_l5_l6_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l5 ?p1) (not (rcnot l3_l6_i58)) (mapped l6 ?p2) (rcnot l5_l6_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i59))) +) +(:action apply_cnot_l4_l6_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l4 ?p1) (not (rcnot l5_l6_i59)) (mapped l6 ?p2) (rcnot l4_l6_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i61))) +) +(:action apply_cnot_l5_l6_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i59)) (mapped l5 ?p1) (not (rcnot l4_l6_i61)) (mapped l6 ?p2) (rcnot l5_l6_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i62))) +) +(:action apply_cnot_l3_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i58)) (mapped l3 ?p1) (not (rcnot l5_l6_i62)) (mapped l5 ?p2) (rcnot l3_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i63))) +) +(:action apply_cnot_l2_l3_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i11)) (mapped l2 ?p1) (not (rcnot l3_l5_i63)) (mapped l3 ?p2) (rcnot l2_l3_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i66))) +) +(:action apply_cnot_l0_l3_i67 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l0 ?p1) (not (rcnot l2_l3_i66)) (mapped l3 ?p2) (rcnot l0_l3_i67) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i67))) +) +(:action apply_cnot_l2_l3_i69 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i66)) (mapped l2 ?p1) (not (rcnot l0_l3_i67)) (mapped l3 ?p2) (rcnot l2_l3_i69) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i69))) +) +(:action apply_cnot_l1_l2_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l3_i69)) (mapped l2 ?p2) (rcnot l1_l2_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i70))) +) +(:action apply_cnot_l0_l3_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i67)) (mapped l0 ?p1) (not (rcnot l2_l3_i69)) (mapped l3 ?p2) (rcnot l0_l3_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i72))) +) +(:action apply_cnot_l2_l3_i73 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l2 ?p1) (not (rcnot l0_l3_i72)) (mapped l3 ?p2) (rcnot l2_l3_i73) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i73))) +) +(:action apply_cnot_l1_l3_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l1 ?p1) (not (rcnot l2_l3_i73)) (mapped l3 ?p2) (rcnot l1_l3_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i75))) +) +(:action apply_cnot_l2_l3_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i73)) (mapped l2 ?p1) (not (rcnot l1_l3_i75)) (mapped l3 ?p2) (rcnot l2_l3_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i76))) +) +(:action apply_cnot_l0_l2_i77 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i72)) (mapped l0 ?p1) (not (rcnot l2_l3_i76)) (mapped l2 ?p2) (rcnot l0_l2_i77) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i77))) +) +(:action apply_cnot_l1_l3_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i75)) (mapped l1 ?p1) (not (rcnot l2_l3_i76)) (mapped l3 ?p2) (rcnot l1_l3_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i79))) +) +(:action apply_cnot_l1_l2_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i79)) (mapped l1 ?p1) (not (rcnot l0_l2_i77)) (mapped l2 ?p2) (rcnot l1_l2_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i80))) +) +(:action apply_cnot_l4_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i61)) (mapped l4 ?p1) (not (rcnot l5_l6_i62)) (mapped l6 ?p2) (rcnot l4_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i83))) +) +(:action apply_cnot_l4_l5_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i83)) (mapped l4 ?p1) (not (rcnot l3_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i84))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p07.pddl b/quantum-layout-opt23-strips/domain_p07.pddl new file mode 100644 index 00000000..d840e704 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p07.pddl @@ -0,0 +1,56 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_1_or.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l2_l1_i4 l0_l1_i6 l2_l0_i10 l2_l1_i12 l2_l0_i14 l0_l1_i15 - gateid + ;; logical qubits + l0 l1 l2 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l1_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l1_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l1_i4)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l1_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l1_i4)) (mapped l1 ?p2) (rcnot l0_l1_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i6)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l0_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l1_i4)) (mapped l2 ?p1) (not (rcnot l0_l1_i6)) (mapped l0 ?p2) (rcnot l2_l0_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i10))) +) +(:action apply_cnot_l2_l1_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i10)) (mapped l2 ?p1) (not (rcnot l0_l1_i6)) (mapped l1 ?p2) (rcnot l2_l1_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l1_i12))) +) +(:action apply_cnot_l2_l0_i14 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l1_i12)) (mapped l2 ?p1) (not (rcnot l2_l0_i10)) (mapped l0 ?p2) (rcnot l2_l0_i14) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i14))) +) +(:action apply_cnot_l0_l1_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i14)) (mapped l0 ?p1) (not (rcnot l2_l1_i12)) (mapped l1 ?p2) (rcnot l0_l1_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i15))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p08.pddl b/quantum-layout-opt23-strips/domain_p08.pddl new file mode 100644 index 00000000..0b907a75 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p08.pddl @@ -0,0 +1,66 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_3_qaoa5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l1_i2 l0_l1_i4 l1_l2_i7 l1_l2_i9 l2_l3_i12 l2_l3_i14 l3_l4_i17 l3_l4_i19 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l1_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l1_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i2)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l1_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l1_i2)) (mapped l0 ?p1) (not (rcnot l0_l1_i2)) (mapped l1 ?p2) (rcnot l0_l1_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i4))) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l1_i4)) (mapped l1 ?p1) (not (initialized ?p2)) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7)) (mapped l2 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l2_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l1_l2_i7)) (mapped l2 ?p2) (rcnot l1_l2_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i9))) +) +(:action apply_cnot_l2_l3_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i9)) (mapped l2 ?p1) (not (initialized ?p2)) (rcnot l2_l3_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i12)) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i14 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i12)) (mapped l2 ?p1) (not (rcnot l2_l3_i12)) (mapped l3 ?p2) (rcnot l2_l3_i14) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i14))) +) +(:action apply_cnot_l3_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i14)) (mapped l3 ?p1) (not (initialized ?p2)) (rcnot l3_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i17)) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i17)) (mapped l3 ?p1) (not (rcnot l3_l4_i17)) (mapped l4 ?p2) (rcnot l3_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i19))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p09.pddl b/quantum-layout-opt23-strips/domain_p09.pddl new file mode 100644 index 00000000..06b3059c --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p09.pddl @@ -0,0 +1,106 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_5_mod5mils_65.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l3_i2 l0_l3_i5 l4_l0_i8 l3_l4_i10 l3_l0_i11 l4_l0_i15 l3_l4_i16 l0_l3_i17 l2_l3_i19 l4_l2_i23 l3_l4_i25 l3_l2_i26 l4_l2_i30 l3_l4_i31 l2_l3_i32 l3_l4_i34 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l3_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l3_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i2)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l3_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l3_i2)) (mapped l3 ?p2) (rcnot l0_l3_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i5)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l0_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l3_i5)) (mapped l0 ?p2) (rcnot l4_l0_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l0_i8)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l3_l4_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i5)) (mapped l3 ?p1) (not (rcnot l4_l0_i8)) (mapped l4 ?p2) (rcnot l3_l4_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i10))) +) +(:action apply_cnot_l3_l0_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i10)) (mapped l3 ?p1) (not (rcnot l4_l0_i8)) (mapped l0 ?p2) (rcnot l3_l0_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l0_i11))) +) +(:action apply_cnot_l4_l0_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i10)) (mapped l4 ?p1) (not (rcnot l3_l0_i11)) (mapped l0 ?p2) (rcnot l4_l0_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l0_i15))) +) +(:action apply_cnot_l3_l4_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l0_i11)) (mapped l3 ?p1) (not (rcnot l4_l0_i15)) (mapped l4 ?p2) (rcnot l3_l4_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i16))) +) +(:action apply_cnot_l0_l3_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l0_i15)) (mapped l0 ?p1) (not (rcnot l3_l4_i16)) (mapped l3 ?p2) (rcnot l0_l3_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i17))) +) +(:action apply_cnot_l2_l3_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l3_i17)) (mapped l3 ?p2) (rcnot l2_l3_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i19)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l2_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i16)) (mapped l4 ?p1) (not (rcnot l2_l3_i19)) (mapped l2 ?p2) (rcnot l4_l2_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i23))) +) +(:action apply_cnot_l3_l4_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i19)) (mapped l3 ?p1) (not (rcnot l4_l2_i23)) (mapped l4 ?p2) (rcnot l3_l4_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i25))) +) +(:action apply_cnot_l3_l2_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i25)) (mapped l3 ?p1) (not (rcnot l4_l2_i23)) (mapped l2 ?p2) (rcnot l3_l2_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l2_i26))) +) +(:action apply_cnot_l4_l2_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i25)) (mapped l4 ?p1) (not (rcnot l3_l2_i26)) (mapped l2 ?p2) (rcnot l4_l2_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i30))) +) +(:action apply_cnot_l3_l4_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l2_i26)) (mapped l3 ?p1) (not (rcnot l4_l2_i30)) (mapped l4 ?p2) (rcnot l3_l4_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i31))) +) +(:action apply_cnot_l2_l3_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i30)) (mapped l2 ?p1) (not (rcnot l3_l4_i31)) (mapped l3 ?p2) (rcnot l2_l3_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i32))) +) +(:action apply_cnot_l3_l4_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i32)) (mapped l3 ?p1) (not (rcnot l3_l4_i31)) (mapped l4 ?p2) (rcnot l3_l4_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i34))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p10.pddl b/quantum-layout-opt23-strips/domain_p10.pddl new file mode 100644 index 00000000..f137c643 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p10.pddl @@ -0,0 +1,136 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_7_tof_4.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l4_i1 l0_l4_i3 l1_l4_i5 l0_l4_i7 l4_l5_i11 l2_l5_i13 l4_l5_i15 l2_l5_i17 l5_l6_i21 l3_l6_i23 l5_l6_i25 l3_l6_i27 l3_l5_i28 l3_l5_i30 l4_l5_i34 l2_l5_i36 l4_l5_i38 l1_l4_i40 l0_l4_i42 l1_l4_i44 l0_l4_i46 l2_l5_i50 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l4_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l4_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i1)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l4_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l4_i1)) (mapped l4 ?p2) (rcnot l0_l4_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i3)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l4_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i1)) (mapped l1 ?p1) (not (rcnot l0_l4_i3)) (mapped l4 ?p2) (rcnot l1_l4_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i5))) +) +(:action apply_cnot_l0_l4_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i3)) (mapped l0 ?p1) (not (rcnot l1_l4_i5)) (mapped l4 ?p2) (rcnot l0_l4_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i7))) +) +(:action apply_cnot_l4_l5_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i7)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l5_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i11)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l5_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l5_i11)) (mapped l5 ?p2) (rcnot l2_l5_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i13)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l5_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i11)) (mapped l4 ?p1) (not (rcnot l2_l5_i13)) (mapped l5 ?p2) (rcnot l4_l5_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i15))) +) +(:action apply_cnot_l2_l5_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i13)) (mapped l2 ?p1) (not (rcnot l4_l5_i15)) (mapped l5 ?p2) (rcnot l2_l5_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i17))) +) +(:action apply_cnot_l5_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i17)) (mapped l5 ?p1) (not (initialized ?p2)) (rcnot l5_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i21)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l6_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i21)) (mapped l6 ?p2) (rcnot l3_l6_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i23)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i21)) (mapped l5 ?p1) (not (rcnot l3_l6_i23)) (mapped l6 ?p2) (rcnot l5_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i25))) +) +(:action apply_cnot_l3_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i23)) (mapped l3 ?p1) (not (rcnot l5_l6_i25)) (mapped l6 ?p2) (rcnot l3_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i27))) +) +(:action apply_cnot_l3_l5_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i27)) (mapped l3 ?p1) (not (rcnot l5_l6_i25)) (mapped l5 ?p2) (rcnot l3_l5_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i28))) +) +(:action apply_cnot_l3_l5_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i28)) (mapped l3 ?p1) (not (rcnot l3_l5_i28)) (mapped l5 ?p2) (rcnot l3_l5_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i30))) +) +(:action apply_cnot_l4_l5_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i15)) (mapped l4 ?p1) (not (rcnot l3_l5_i30)) (mapped l5 ?p2) (rcnot l4_l5_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i34))) +) +(:action apply_cnot_l2_l5_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i17)) (mapped l2 ?p1) (not (rcnot l4_l5_i34)) (mapped l5 ?p2) (rcnot l2_l5_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i36))) +) +(:action apply_cnot_l4_l5_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l4 ?p1) (not (rcnot l2_l5_i36)) (mapped l5 ?p2) (rcnot l4_l5_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i38))) +) +(:action apply_cnot_l1_l4_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i5)) (mapped l1 ?p1) (not (rcnot l4_l5_i38)) (mapped l4 ?p2) (rcnot l1_l4_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i40))) +) +(:action apply_cnot_l0_l4_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i7)) (mapped l0 ?p1) (not (rcnot l1_l4_i40)) (mapped l4 ?p2) (rcnot l0_l4_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i42))) +) +(:action apply_cnot_l1_l4_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i40)) (mapped l1 ?p1) (not (rcnot l0_l4_i42)) (mapped l4 ?p2) (rcnot l1_l4_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i44))) +) +(:action apply_cnot_l0_l4_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i42)) (mapped l0 ?p1) (not (rcnot l1_l4_i44)) (mapped l4 ?p2) (rcnot l0_l4_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i46))) +) +(:action apply_cnot_l2_l5_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i36)) (mapped l2 ?p1) (not (rcnot l4_l5_i38)) (mapped l5 ?p2) (rcnot l2_l5_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i50))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p11.pddl b/quantum-layout-opt23-strips/domain_p11.pddl new file mode 100644 index 00000000..cfd0644d --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p11.pddl @@ -0,0 +1,176 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_9_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l5_i1 l0_l5_i3 l1_l5_i5 l0_l5_i7 l5_l6_i11 l2_l6_i13 l5_l6_i15 l2_l6_i17 l6_l7_i21 l3_l7_i23 l6_l7_i25 l3_l7_i27 l7_l8_i31 l4_l8_i33 l7_l8_i35 l4_l8_i37 l4_l7_i38 l4_l7_i40 l6_l7_i44 l3_l7_i46 l6_l7_i48 l5_l6_i50 l2_l6_i52 l5_l6_i54 l1_l5_i56 l0_l5_i58 l1_l5_i60 l0_l5_i62 l2_l6_i66 l3_l7_i70 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l5_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l5_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i1)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l5_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i1)) (mapped l5 ?p2) (rcnot l0_l5_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i3)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i1)) (mapped l1 ?p1) (not (rcnot l0_l5_i3)) (mapped l5 ?p2) (rcnot l1_l5_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i5))) +) +(:action apply_cnot_l0_l5_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i3)) (mapped l0 ?p1) (not (rcnot l1_l5_i5)) (mapped l5 ?p2) (rcnot l0_l5_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i7))) +) +(:action apply_cnot_l5_l6_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i7)) (mapped l5 ?p1) (not (initialized ?p2)) (rcnot l5_l6_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i11)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l6_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i11)) (mapped l6 ?p2) (rcnot l2_l6_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i13)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i11)) (mapped l5 ?p1) (not (rcnot l2_l6_i13)) (mapped l6 ?p2) (rcnot l5_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i15))) +) +(:action apply_cnot_l2_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i13)) (mapped l2 ?p1) (not (rcnot l5_l6_i15)) (mapped l6 ?p2) (rcnot l2_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i17))) +) +(:action apply_cnot_l6_l7_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i17)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l7_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i21)) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l7_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i21)) (mapped l7 ?p2) (rcnot l3_l7_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i23)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i21)) (mapped l6 ?p1) (not (rcnot l3_l7_i23)) (mapped l7 ?p2) (rcnot l6_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i25))) +) +(:action apply_cnot_l3_l7_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i23)) (mapped l3 ?p1) (not (rcnot l6_l7_i25)) (mapped l7 ?p2) (rcnot l3_l7_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i27))) +) +(:action apply_cnot_l7_l8_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i27)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l8_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i31)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i31)) (mapped l8 ?p2) (rcnot l4_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i33)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i31)) (mapped l7 ?p1) (not (rcnot l4_l8_i33)) (mapped l8 ?p2) (rcnot l7_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i35))) +) +(:action apply_cnot_l4_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i33)) (mapped l4 ?p1) (not (rcnot l7_l8_i35)) (mapped l8 ?p2) (rcnot l4_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i37))) +) +(:action apply_cnot_l4_l7_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i37)) (mapped l4 ?p1) (not (rcnot l7_l8_i35)) (mapped l7 ?p2) (rcnot l4_l7_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i38))) +) +(:action apply_cnot_l4_l7_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i38)) (mapped l4 ?p1) (not (rcnot l4_l7_i38)) (mapped l7 ?p2) (rcnot l4_l7_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i40))) +) +(:action apply_cnot_l6_l7_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i25)) (mapped l6 ?p1) (not (rcnot l4_l7_i40)) (mapped l7 ?p2) (rcnot l6_l7_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i44))) +) +(:action apply_cnot_l3_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i27)) (mapped l3 ?p1) (not (rcnot l6_l7_i44)) (mapped l7 ?p2) (rcnot l3_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i46))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i44)) (mapped l6 ?p1) (not (rcnot l3_l7_i46)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l5_l6_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i15)) (mapped l5 ?p1) (not (rcnot l6_l7_i48)) (mapped l6 ?p2) (rcnot l5_l6_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i50))) +) +(:action apply_cnot_l2_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i17)) (mapped l2 ?p1) (not (rcnot l5_l6_i50)) (mapped l6 ?p2) (rcnot l2_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i52))) +) +(:action apply_cnot_l5_l6_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i50)) (mapped l5 ?p1) (not (rcnot l2_l6_i52)) (mapped l6 ?p2) (rcnot l5_l6_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i54))) +) +(:action apply_cnot_l1_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i5)) (mapped l1 ?p1) (not (rcnot l5_l6_i54)) (mapped l5 ?p2) (rcnot l1_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i56))) +) +(:action apply_cnot_l0_l5_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i7)) (mapped l0 ?p1) (not (rcnot l1_l5_i56)) (mapped l5 ?p2) (rcnot l0_l5_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i58))) +) +(:action apply_cnot_l1_l5_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i56)) (mapped l1 ?p1) (not (rcnot l0_l5_i58)) (mapped l5 ?p2) (rcnot l1_l5_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i60))) +) +(:action apply_cnot_l0_l5_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i58)) (mapped l0 ?p1) (not (rcnot l1_l5_i60)) (mapped l5 ?p2) (rcnot l0_l5_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i62))) +) +(:action apply_cnot_l2_l6_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i52)) (mapped l2 ?p1) (not (rcnot l5_l6_i54)) (mapped l6 ?p2) (rcnot l2_l6_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i66))) +) +(:action apply_cnot_l3_l7_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i46)) (mapped l3 ?p1) (not (rcnot l6_l7_i48)) (mapped l7 ?p2) (rcnot l3_l7_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i70))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p12.pddl b/quantum-layout-opt23-strips/domain_p12.pddl new file mode 100644 index 00000000..0e4493c9 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p12.pddl @@ -0,0 +1,276 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_11_barenco_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l7_l8_i4 l4_l8_i6 l7_l8_i8 l4_l7_i9 l4_l7_i11 l6_l7_i13 l3_l7_i15 l6_l7_i17 l3_l6_i18 l3_l6_i20 l5_l6_i22 l2_l6_i24 l5_l6_i26 l2_l5_i27 l2_l5_i29 l1_l5_i31 l0_l5_i33 l1_l5_i35 l0_l5_i37 l5_l6_i40 l2_l6_i42 l5_l6_i44 l6_l7_i46 l3_l7_i48 l6_l7_i50 l7_l8_i52 l4_l8_i54 l7_l8_i56 l4_l7_i57 l4_l7_i59 l6_l7_i62 l3_l7_i64 l6_l7_i66 l5_l6_i68 l2_l6_i70 l5_l6_i72 l1_l5_i74 l0_l5_i76 l1_l5_i78 l0_l5_i80 l5_l6_i83 l2_l6_i85 l5_l6_i87 l2_l5_i88 l2_l5_i90 l6_l7_i93 l3_l7_i95 l6_l7_i97 l3_l6_i98 l3_l6_i100 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l8_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l7_l8_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i4)) (mapped l8 ?p2) (rcnot l4_l8_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (not (rcnot l4_l8_i6)) (mapped l8 ?p2) (rcnot l7_l8_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i8))) +) +(:action apply_cnot_l4_l7_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (not (rcnot l7_l8_i8)) (mapped l7 ?p2) (rcnot l4_l7_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i9))) +) +(:action apply_cnot_l4_l7_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i9)) (mapped l4 ?p1) (not (rcnot l4_l7_i9)) (mapped l7 ?p2) (rcnot l4_l7_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i11))) +) +(:action apply_cnot_l6_l7_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l7_i11)) (mapped l7 ?p2) (rcnot l6_l7_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l3_l7_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i13)) (mapped l7 ?p2) (rcnot l3_l7_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (not (rcnot l3_l7_i15)) (mapped l7 ?p2) (rcnot l6_l7_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i17))) +) +(:action apply_cnot_l3_l6_i18 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (not (rcnot l6_l7_i17)) (mapped l6 ?p2) (rcnot l3_l6_i18) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i18))) +) +(:action apply_cnot_l3_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i18)) (mapped l3 ?p1) (not (rcnot l3_l6_i18)) (mapped l6 ?p2) (rcnot l3_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i20))) +) +(:action apply_cnot_l5_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l6_i20)) (mapped l6 ?p2) (rcnot l5_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i22)) (mapped l6 ?p2) (rcnot l2_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (not (rcnot l2_l6_i24)) (mapped l6 ?p2) (rcnot l5_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i26))) +) +(:action apply_cnot_l2_l5_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (not (rcnot l5_l6_i26)) (mapped l5 ?p2) (rcnot l2_l5_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i27))) +) +(:action apply_cnot_l2_l5_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i27)) (mapped l2 ?p1) (not (rcnot l2_l5_i27)) (mapped l5 ?p2) (rcnot l2_l5_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i29))) +) +(:action apply_cnot_l1_l5_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l5_i29)) (mapped l5 ?p2) (rcnot l1_l5_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l5_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i31)) (mapped l5 ?p2) (rcnot l0_l5_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (not (rcnot l0_l5_i33)) (mapped l5 ?p2) (rcnot l1_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i35))) +) +(:action apply_cnot_l0_l5_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (not (rcnot l1_l5_i35)) (mapped l5 ?p2) (rcnot l0_l5_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i37))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l5 ?p1) (not (rcnot l5_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l2_l6_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i29)) (mapped l2 ?p1) (not (rcnot l5_l6_i40)) (mapped l6 ?p2) (rcnot l2_l6_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i42))) +) +(:action apply_cnot_l5_l6_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i40)) (mapped l5 ?p1) (not (rcnot l2_l6_i42)) (mapped l6 ?p2) (rcnot l5_l6_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i44))) +) +(:action apply_cnot_l6_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l6 ?p1) (not (rcnot l6_l7_i17)) (mapped l7 ?p2) (rcnot l6_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i46))) +) +(:action apply_cnot_l3_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i20)) (mapped l3 ?p1) (not (rcnot l6_l7_i46)) (mapped l7 ?p2) (rcnot l3_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i48))) +) +(:action apply_cnot_l6_l7_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i46)) (mapped l6 ?p1) (not (rcnot l3_l7_i48)) (mapped l7 ?p2) (rcnot l6_l7_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i50))) +) +(:action apply_cnot_l7_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l7 ?p1) (not (rcnot l7_l8_i8)) (mapped l8 ?p2) (rcnot l7_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i52))) +) +(:action apply_cnot_l4_l8_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i11)) (mapped l4 ?p1) (not (rcnot l7_l8_i52)) (mapped l8 ?p2) (rcnot l4_l8_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i54))) +) +(:action apply_cnot_l7_l8_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i52)) (mapped l7 ?p1) (not (rcnot l4_l8_i54)) (mapped l8 ?p2) (rcnot l7_l8_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i56))) +) +(:action apply_cnot_l4_l7_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i54)) (mapped l4 ?p1) (not (rcnot l7_l8_i56)) (mapped l7 ?p2) (rcnot l4_l7_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i57))) +) +(:action apply_cnot_l4_l7_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i57)) (mapped l4 ?p1) (not (rcnot l4_l7_i57)) (mapped l7 ?p2) (rcnot l4_l7_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i59))) +) +(:action apply_cnot_l6_l7_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l6 ?p1) (not (rcnot l4_l7_i59)) (mapped l7 ?p2) (rcnot l6_l7_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i62))) +) +(:action apply_cnot_l3_l7_i64 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i48)) (mapped l3 ?p1) (not (rcnot l6_l7_i62)) (mapped l7 ?p2) (rcnot l3_l7_i64) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i64))) +) +(:action apply_cnot_l6_l7_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i62)) (mapped l6 ?p1) (not (rcnot l3_l7_i64)) (mapped l7 ?p2) (rcnot l6_l7_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i66))) +) +(:action apply_cnot_l5_l6_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l5 ?p1) (not (rcnot l6_l7_i66)) (mapped l6 ?p2) (rcnot l5_l6_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i68))) +) +(:action apply_cnot_l2_l6_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i42)) (mapped l2 ?p1) (not (rcnot l5_l6_i68)) (mapped l6 ?p2) (rcnot l2_l6_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i70))) +) +(:action apply_cnot_l5_l6_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i68)) (mapped l5 ?p1) (not (rcnot l2_l6_i70)) (mapped l6 ?p2) (rcnot l5_l6_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i72))) +) +(:action apply_cnot_l1_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i35)) (mapped l1 ?p1) (not (rcnot l5_l6_i72)) (mapped l5 ?p2) (rcnot l1_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i74))) +) +(:action apply_cnot_l0_l5_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l0 ?p1) (not (rcnot l1_l5_i74)) (mapped l5 ?p2) (rcnot l0_l5_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i76))) +) +(:action apply_cnot_l1_l5_i78 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i74)) (mapped l1 ?p1) (not (rcnot l0_l5_i76)) (mapped l5 ?p2) (rcnot l1_l5_i78) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i78))) +) +(:action apply_cnot_l0_l5_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i76)) (mapped l0 ?p1) (not (rcnot l1_l5_i78)) (mapped l5 ?p2) (rcnot l0_l5_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i80))) +) +(:action apply_cnot_l5_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i80)) (mapped l5 ?p1) (not (rcnot l5_l6_i72)) (mapped l6 ?p2) (rcnot l5_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i83))) +) +(:action apply_cnot_l2_l6_i85 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i70)) (mapped l2 ?p1) (not (rcnot l5_l6_i83)) (mapped l6 ?p2) (rcnot l2_l6_i85) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i85))) +) +(:action apply_cnot_l5_l6_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i83)) (mapped l5 ?p1) (not (rcnot l2_l6_i85)) (mapped l6 ?p2) (rcnot l5_l6_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i87))) +) +(:action apply_cnot_l2_l5_i88 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i85)) (mapped l2 ?p1) (not (rcnot l5_l6_i87)) (mapped l5 ?p2) (rcnot l2_l5_i88) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i88))) +) +(:action apply_cnot_l2_l5_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i88)) (mapped l2 ?p1) (not (rcnot l2_l5_i88)) (mapped l5 ?p2) (rcnot l2_l5_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i90))) +) +(:action apply_cnot_l6_l7_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i87)) (mapped l6 ?p1) (not (rcnot l6_l7_i66)) (mapped l7 ?p2) (rcnot l6_l7_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i93))) +) +(:action apply_cnot_l3_l7_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i64)) (mapped l3 ?p1) (not (rcnot l6_l7_i93)) (mapped l7 ?p2) (rcnot l3_l7_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i95))) +) +(:action apply_cnot_l6_l7_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i93)) (mapped l6 ?p1) (not (rcnot l3_l7_i95)) (mapped l7 ?p2) (rcnot l6_l7_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i97))) +) +(:action apply_cnot_l3_l6_i98 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i95)) (mapped l3 ?p1) (not (rcnot l6_l7_i97)) (mapped l6 ?p2) (rcnot l3_l6_i98) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i98))) +) +(:action apply_cnot_l3_l6_i100 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i98)) (mapped l3 ?p1) (not (rcnot l3_l6_i98)) (mapped l6 ?p2) (rcnot l3_l6_i100) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i100))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p13.pddl b/quantum-layout-opt23-strips/domain_p13.pddl new file mode 100644 index 00000000..fe442fa6 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p13.pddl @@ -0,0 +1,381 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_13_rc_adder_6.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l4_l3_i0 l4_l2_i1 l1_l2_i3 l0_l2_i5 l1_l2_i7 l0_l2_i9 l6_l5_i12 l6_l4_i13 l3_l4_i15 l2_l4_i17 l3_l4_i19 l2_l4_i21 l2_l3_i22 l8_l7_i25 l8_l6_i26 l5_l6_i28 l4_l6_i30 l5_l6_i32 l4_l6_i34 l4_l5_i35 l10_l9_i38 l10_l8_i39 l7_l8_i41 l6_l8_i43 l7_l8_i45 l6_l8_i47 l6_l7_i48 l12_l11_i51 l12_l10_i53 l9_l10_i55 l8_l10_i57 l9_l10_i59 l8_l10_i61 l8_l9_i65 l12_l13_i66 l11_l13_i68 l10_l13_i70 l11_l13_i72 l10_l13_i74 l10_l11_i75 l8_l10_i80 l9_l10_i82 l8_l10_i84 l6_l8_i87 l7_l8_i89 l6_l8_i91 l4_l6_i93 l5_l6_i95 l4_l6_i97 l2_l4_i99 l3_l4_i101 l2_l4_i103 l1_l2_i105 l0_l2_i107 l1_l2_i109 l0_l2_i111 l1_l0_i112 l3_l4_i116 l5_l6_i120 l7_l8_i124 l9_l10_i127 l12_l10_i130 l10_l8_i131 l10_l9_i132 l12_l11_i133 l8_l6_i134 l6_l4_i135 l4_l2_i136 l4_l3_i137 l6_l5_i138 l8_l7_i139 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 l10 l11 l12 l13 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l3_i0 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l4_l3_i0) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l2_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l2_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l2_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (rcnot l1_l2_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l2_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l2_i3)) (mapped l2 ?p2) (rcnot l0_l2_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (not (rcnot l0_l2_i5)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l0_l2_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (not (rcnot l1_l2_i7)) (mapped l2 ?p2) (rcnot l0_l2_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i9))) +) +(:action apply_cnot_l6_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l6_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l4_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (not (rcnot l4_l2_i1)) (mapped l4 ?p2) (rcnot l6_l4_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i13))) +) +(:action apply_cnot_l3_l4_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l3 ?p1) (not (rcnot l6_l4_i13)) (mapped l4 ?p2) (rcnot l3_l4_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i15))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l2 ?p1) (not (rcnot l3_l4_i15)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l3_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i15)) (mapped l3 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l3_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i19))) +) +(:action apply_cnot_l2_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l4 ?p2) (rcnot l2_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i21))) +) +(:action apply_cnot_l2_l3_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l3 ?p2) (rcnot l2_l3_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i22))) +) +(:action apply_cnot_l8_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l8_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (not (rcnot l6_l4_i13)) (mapped l6 ?p2) (rcnot l8_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i26))) +) +(:action apply_cnot_l5_l6_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l5 ?p1) (not (rcnot l8_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i28))) +) +(:action apply_cnot_l4_l6_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l4 ?p1) (not (rcnot l5_l6_i28)) (mapped l6 ?p2) (rcnot l4_l6_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i30))) +) +(:action apply_cnot_l5_l6_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i28)) (mapped l5 ?p1) (not (rcnot l4_l6_i30)) (mapped l6 ?p2) (rcnot l5_l6_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i32))) +) +(:action apply_cnot_l4_l6_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i30)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l6 ?p2) (rcnot l4_l6_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i34))) +) +(:action apply_cnot_l4_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l5 ?p2) (rcnot l4_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i35))) +) +(:action apply_cnot_l10_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l10_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l10_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (not (rcnot l8_l6_i26)) (mapped l8 ?p2) (rcnot l10_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i39))) +) +(:action apply_cnot_l7_l8_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l7 ?p1) (not (rcnot l10_l8_i39)) (mapped l8 ?p2) (rcnot l7_l8_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i41))) +) +(:action apply_cnot_l6_l8_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l6 ?p1) (not (rcnot l7_l8_i41)) (mapped l8 ?p2) (rcnot l6_l8_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i43))) +) +(:action apply_cnot_l7_l8_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i41)) (mapped l7 ?p1) (not (rcnot l6_l8_i43)) (mapped l8 ?p2) (rcnot l7_l8_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i45))) +) +(:action apply_cnot_l6_l8_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i43)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l8 ?p2) (rcnot l6_l8_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i47))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l12_l11_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l12_l11_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l11 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l12_l10_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (not (rcnot l10_l8_i39)) (mapped l10 ?p2) (rcnot l12_l10_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i53))) +) +(:action apply_cnot_l9_l10_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l9 ?p1) (not (rcnot l12_l10_i53)) (mapped l10 ?p2) (rcnot l9_l10_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i55))) +) +(:action apply_cnot_l8_l10_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l8 ?p1) (not (rcnot l9_l10_i55)) (mapped l10 ?p2) (rcnot l8_l10_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i57))) +) +(:action apply_cnot_l9_l10_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i55)) (mapped l9 ?p1) (not (rcnot l8_l10_i57)) (mapped l10 ?p2) (rcnot l9_l10_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i59))) +) +(:action apply_cnot_l8_l10_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i57)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l10 ?p2) (rcnot l8_l10_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i61))) +) +(:action apply_cnot_l8_l9_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l9 ?p2) (rcnot l8_l9_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i65))) +) +(:action apply_cnot_l12_l13_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i53)) (mapped l12 ?p1) (not (initialized ?p2)) (rcnot l12_l13_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l11_l13_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l11 ?p1) (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (rcnot l11_l13_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i68))) +) +(:action apply_cnot_l10_l13_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l10 ?p1) (not (rcnot l11_l13_i68)) (mapped l13 ?p2) (rcnot l10_l13_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i70))) +) +(:action apply_cnot_l11_l13_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l11_l13_i68)) (mapped l11 ?p1) (not (rcnot l10_l13_i70)) (mapped l13 ?p2) (rcnot l11_l13_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i72))) +) +(:action apply_cnot_l10_l13_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i70)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l13 ?p2) (rcnot l10_l13_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i74))) +) +(:action apply_cnot_l10_l11_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i74)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l11 ?p2) (rcnot l10_l11_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l11_i75))) +) +(:action apply_cnot_l8_l10_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l8 ?p1) (not (rcnot l10_l11_i75)) (mapped l10 ?p2) (rcnot l8_l10_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i80))) +) +(:action apply_cnot_l9_l10_i82 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l9 ?p1) (not (rcnot l8_l10_i80)) (mapped l10 ?p2) (rcnot l9_l10_i82) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i82))) +) +(:action apply_cnot_l8_l10_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i80)) (mapped l8 ?p1) (not (rcnot l9_l10_i82)) (mapped l10 ?p2) (rcnot l8_l10_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i84))) +) +(:action apply_cnot_l6_l8_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l6 ?p1) (not (rcnot l8_l10_i84)) (mapped l8 ?p2) (rcnot l6_l8_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i87))) +) +(:action apply_cnot_l7_l8_i89 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l7 ?p1) (not (rcnot l6_l8_i87)) (mapped l8 ?p2) (rcnot l7_l8_i89) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i89))) +) +(:action apply_cnot_l6_l8_i91 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i87)) (mapped l6 ?p1) (not (rcnot l7_l8_i89)) (mapped l8 ?p2) (rcnot l6_l8_i91) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i91))) +) +(:action apply_cnot_l4_l6_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l4 ?p1) (not (rcnot l6_l8_i91)) (mapped l6 ?p2) (rcnot l4_l6_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i93))) +) +(:action apply_cnot_l5_l6_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l5 ?p1) (not (rcnot l4_l6_i93)) (mapped l6 ?p2) (rcnot l5_l6_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i95))) +) +(:action apply_cnot_l4_l6_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i93)) (mapped l4 ?p1) (not (rcnot l5_l6_i95)) (mapped l6 ?p2) (rcnot l4_l6_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i97))) +) +(:action apply_cnot_l2_l4_i99 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l2 ?p1) (not (rcnot l4_l6_i97)) (mapped l4 ?p2) (rcnot l2_l4_i99) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i99))) +) +(:action apply_cnot_l3_l4_i101 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l3 ?p1) (not (rcnot l2_l4_i99)) (mapped l4 ?p2) (rcnot l3_l4_i101) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i101))) +) +(:action apply_cnot_l2_l4_i103 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i99)) (mapped l2 ?p1) (not (rcnot l3_l4_i101)) (mapped l4 ?p2) (rcnot l2_l4_i103) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i103))) +) +(:action apply_cnot_l1_l2_i105 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l4_i103)) (mapped l2 ?p2) (rcnot l1_l2_i105) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i105))) +) +(:action apply_cnot_l0_l2_i107 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l0 ?p1) (not (rcnot l1_l2_i105)) (mapped l2 ?p2) (rcnot l0_l2_i107) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i107))) +) +(:action apply_cnot_l1_l2_i109 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i105)) (mapped l1 ?p1) (not (rcnot l0_l2_i107)) (mapped l2 ?p2) (rcnot l1_l2_i109) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i109))) +) +(:action apply_cnot_l0_l2_i111 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i107)) (mapped l0 ?p1) (not (rcnot l1_l2_i109)) (mapped l2 ?p2) (rcnot l0_l2_i111) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i111))) +) +(:action apply_cnot_l1_l0_i112 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i109)) (mapped l1 ?p1) (not (rcnot l0_l2_i111)) (mapped l0 ?p2) (rcnot l1_l0_i112) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i112))) +) +(:action apply_cnot_l3_l4_i116 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i101)) (mapped l3 ?p1) (not (rcnot l2_l4_i103)) (mapped l4 ?p2) (rcnot l3_l4_i116) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i116))) +) +(:action apply_cnot_l5_l6_i120 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i95)) (mapped l5 ?p1) (not (rcnot l4_l6_i97)) (mapped l6 ?p2) (rcnot l5_l6_i120) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i120))) +) +(:action apply_cnot_l7_l8_i124 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i89)) (mapped l7 ?p1) (not (rcnot l6_l8_i91)) (mapped l8 ?p2) (rcnot l7_l8_i124) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i124))) +) +(:action apply_cnot_l9_l10_i127 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i82)) (mapped l9 ?p1) (not (rcnot l8_l10_i84)) (mapped l10 ?p2) (rcnot l9_l10_i127) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i127))) +) +(:action apply_cnot_l12_l10_i130 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l13_i66)) (mapped l12 ?p1) (not (rcnot l9_l10_i127)) (mapped l10 ?p2) (rcnot l12_l10_i130) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i130))) +) +(:action apply_cnot_l10_l8_i131 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l10 ?p1) (not (rcnot l7_l8_i124)) (mapped l8 ?p2) (rcnot l10_l8_i131) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i131))) +) +(:action apply_cnot_l10_l9_i132 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l10 ?p1) (not (rcnot l9_l10_i127)) (mapped l9 ?p2) (rcnot l10_l9_i132) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i132))) +) +(:action apply_cnot_l12_l11_i133 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l12 ?p1) (not (rcnot l10_l11_i75)) (mapped l11 ?p2) (rcnot l12_l11_i133) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i133))) +) +(:action apply_cnot_l8_l6_i134 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l8 ?p1) (not (rcnot l5_l6_i120)) (mapped l6 ?p2) (rcnot l8_l6_i134) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i134))) +) +(:action apply_cnot_l6_l4_i135 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l6 ?p1) (not (rcnot l3_l4_i116)) (mapped l4 ?p2) (rcnot l6_l4_i135) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i135))) +) +(:action apply_cnot_l4_l2_i136 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l4 ?p1) (not (rcnot l0_l2_i111)) (mapped l2 ?p2) (rcnot l4_l2_i136) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i136))) +) +(:action apply_cnot_l4_l3_i137 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i136)) (mapped l4 ?p1) (not (rcnot l3_l4_i116)) (mapped l3 ?p2) (rcnot l4_l3_i137) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i137))) +) +(:action apply_cnot_l6_l5_i138 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l6 ?p1) (not (rcnot l5_l6_i120)) (mapped l5 ?p2) (rcnot l6_l5_i138) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i138))) +) +(:action apply_cnot_l8_l7_i139 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l8 ?p1) (not (rcnot l7_l8_i124)) (mapped l7 ?p2) (rcnot l8_l7_i139) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i139))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p14.pddl b/quantum-layout-opt23-strips/domain_p14.pddl new file mode 100644 index 00000000..87c38018 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p14.pddl @@ -0,0 +1,76 @@ +;; Tokyo/Local_compact/domain_2_adder.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l1_i4 l2_l3_i6 l2_l3_i9 l1_l2_i10 l3_l0_i11 l0_l1_i12 l0_l1_i15 l2_l3_i16 l2_l3_i19 l3_l0_i21 - gateid + ;; logical qubits + l0 l1 l2 l3 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l1_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l1_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i4)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l3_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i6)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i6)) (mapped l2 ?p1) (not (rcnot l2_l3_i6)) (mapped l3 ?p2) (rcnot l2_l3_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i9))) +) +(:action apply_cnot_l1_l2_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l1_i4)) (mapped l1 ?p1) (not (rcnot l2_l3_i9)) (mapped l2 ?p2) (rcnot l1_l2_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i10))) +) +(:action apply_cnot_l3_l0_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i9)) (mapped l3 ?p1) (not (rcnot l0_l1_i4)) (mapped l0 ?p2) (rcnot l3_l0_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l0_i11))) +) +(:action apply_cnot_l0_l1_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l0_i11)) (mapped l0 ?p1) (not (rcnot l1_l2_i10)) (mapped l1 ?p2) (rcnot l0_l1_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i12))) +) +(:action apply_cnot_l0_l1_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l1_i12)) (mapped l0 ?p1) (not (rcnot l0_l1_i12)) (mapped l1 ?p2) (rcnot l0_l1_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l1_i15))) +) +(:action apply_cnot_l2_l3_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i10)) (mapped l2 ?p1) (not (rcnot l3_l0_i11)) (mapped l3 ?p2) (rcnot l2_l3_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i16))) +) +(:action apply_cnot_l2_l3_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i16)) (mapped l2 ?p1) (not (rcnot l2_l3_i16)) (mapped l3 ?p2) (rcnot l2_l3_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i19))) +) +(:action apply_cnot_l3_l0_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i19)) (mapped l3 ?p1) (not (rcnot l0_l1_i15)) (mapped l0 ?p2) (rcnot l3_l0_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l0_i21))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p15.pddl b/quantum-layout-opt23-strips/domain_p15.pddl new file mode 100644 index 00000000..4ace70a3 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p15.pddl @@ -0,0 +1,106 @@ +;; Tokyo/Local_compact/domain_5_mod5mils_65.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l3_i2 l0_l3_i5 l4_l0_i8 l3_l4_i10 l3_l0_i11 l4_l0_i15 l3_l4_i16 l0_l3_i17 l2_l3_i19 l4_l2_i23 l3_l4_i25 l3_l2_i26 l4_l2_i30 l3_l4_i31 l2_l3_i32 l3_l4_i34 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l3_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l3_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i2)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l3_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l3_i2)) (mapped l3 ?p2) (rcnot l0_l3_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i5)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l0_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l3_i5)) (mapped l0 ?p2) (rcnot l4_l0_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l0_i8)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l3_l4_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i5)) (mapped l3 ?p1) (not (rcnot l4_l0_i8)) (mapped l4 ?p2) (rcnot l3_l4_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i10))) +) +(:action apply_cnot_l3_l0_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i10)) (mapped l3 ?p1) (not (rcnot l4_l0_i8)) (mapped l0 ?p2) (rcnot l3_l0_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l0_i11))) +) +(:action apply_cnot_l4_l0_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i10)) (mapped l4 ?p1) (not (rcnot l3_l0_i11)) (mapped l0 ?p2) (rcnot l4_l0_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l0_i15))) +) +(:action apply_cnot_l3_l4_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l0_i11)) (mapped l3 ?p1) (not (rcnot l4_l0_i15)) (mapped l4 ?p2) (rcnot l3_l4_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i16))) +) +(:action apply_cnot_l0_l3_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l0_i15)) (mapped l0 ?p1) (not (rcnot l3_l4_i16)) (mapped l3 ?p2) (rcnot l0_l3_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i17))) +) +(:action apply_cnot_l2_l3_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l3_i17)) (mapped l3 ?p2) (rcnot l2_l3_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i19)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l2_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i16)) (mapped l4 ?p1) (not (rcnot l2_l3_i19)) (mapped l2 ?p2) (rcnot l4_l2_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i23))) +) +(:action apply_cnot_l3_l4_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i19)) (mapped l3 ?p1) (not (rcnot l4_l2_i23)) (mapped l4 ?p2) (rcnot l3_l4_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i25))) +) +(:action apply_cnot_l3_l2_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i25)) (mapped l3 ?p1) (not (rcnot l4_l2_i23)) (mapped l2 ?p2) (rcnot l3_l2_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l2_i26))) +) +(:action apply_cnot_l4_l2_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i25)) (mapped l4 ?p1) (not (rcnot l3_l2_i26)) (mapped l2 ?p2) (rcnot l4_l2_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i30))) +) +(:action apply_cnot_l3_l4_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l2_i26)) (mapped l3 ?p1) (not (rcnot l4_l2_i30)) (mapped l4 ?p2) (rcnot l3_l4_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i31))) +) +(:action apply_cnot_l2_l3_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i30)) (mapped l2 ?p1) (not (rcnot l3_l4_i31)) (mapped l3 ?p2) (rcnot l2_l3_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i32))) +) +(:action apply_cnot_l3_l4_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i32)) (mapped l3 ?p1) (not (rcnot l3_l4_i31)) (mapped l4 ?p2) (rcnot l3_l4_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i34))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p16.pddl b/quantum-layout-opt23-strips/domain_p16.pddl new file mode 100644 index 00000000..9bd35fc2 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p16.pddl @@ -0,0 +1,136 @@ +;; Tokyo/Local_compact/domain_7_tof_4.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l4_i1 l0_l4_i3 l1_l4_i5 l0_l4_i7 l4_l5_i11 l2_l5_i13 l4_l5_i15 l2_l5_i17 l5_l6_i21 l3_l6_i23 l5_l6_i25 l3_l6_i27 l3_l5_i28 l3_l5_i30 l4_l5_i34 l2_l5_i36 l4_l5_i38 l1_l4_i40 l0_l4_i42 l1_l4_i44 l0_l4_i46 l2_l5_i50 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l4_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l4_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i1)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l4_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l4_i1)) (mapped l4 ?p2) (rcnot l0_l4_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i3)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l4_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i1)) (mapped l1 ?p1) (not (rcnot l0_l4_i3)) (mapped l4 ?p2) (rcnot l1_l4_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i5))) +) +(:action apply_cnot_l0_l4_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i3)) (mapped l0 ?p1) (not (rcnot l1_l4_i5)) (mapped l4 ?p2) (rcnot l0_l4_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i7))) +) +(:action apply_cnot_l4_l5_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i7)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l5_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i11)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l5_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l5_i11)) (mapped l5 ?p2) (rcnot l2_l5_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i13)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l5_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i11)) (mapped l4 ?p1) (not (rcnot l2_l5_i13)) (mapped l5 ?p2) (rcnot l4_l5_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i15))) +) +(:action apply_cnot_l2_l5_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i13)) (mapped l2 ?p1) (not (rcnot l4_l5_i15)) (mapped l5 ?p2) (rcnot l2_l5_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i17))) +) +(:action apply_cnot_l5_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i17)) (mapped l5 ?p1) (not (initialized ?p2)) (rcnot l5_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i21)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l6_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i21)) (mapped l6 ?p2) (rcnot l3_l6_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i23)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i21)) (mapped l5 ?p1) (not (rcnot l3_l6_i23)) (mapped l6 ?p2) (rcnot l5_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i25))) +) +(:action apply_cnot_l3_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i23)) (mapped l3 ?p1) (not (rcnot l5_l6_i25)) (mapped l6 ?p2) (rcnot l3_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i27))) +) +(:action apply_cnot_l3_l5_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i27)) (mapped l3 ?p1) (not (rcnot l5_l6_i25)) (mapped l5 ?p2) (rcnot l3_l5_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i28))) +) +(:action apply_cnot_l3_l5_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i28)) (mapped l3 ?p1) (not (rcnot l3_l5_i28)) (mapped l5 ?p2) (rcnot l3_l5_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i30))) +) +(:action apply_cnot_l4_l5_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i15)) (mapped l4 ?p1) (not (rcnot l3_l5_i30)) (mapped l5 ?p2) (rcnot l4_l5_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i34))) +) +(:action apply_cnot_l2_l5_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i17)) (mapped l2 ?p1) (not (rcnot l4_l5_i34)) (mapped l5 ?p2) (rcnot l2_l5_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i36))) +) +(:action apply_cnot_l4_l5_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l4 ?p1) (not (rcnot l2_l5_i36)) (mapped l5 ?p2) (rcnot l4_l5_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i38))) +) +(:action apply_cnot_l1_l4_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i5)) (mapped l1 ?p1) (not (rcnot l4_l5_i38)) (mapped l4 ?p2) (rcnot l1_l4_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i40))) +) +(:action apply_cnot_l0_l4_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i7)) (mapped l0 ?p1) (not (rcnot l1_l4_i40)) (mapped l4 ?p2) (rcnot l0_l4_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i42))) +) +(:action apply_cnot_l1_l4_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i40)) (mapped l1 ?p1) (not (rcnot l0_l4_i42)) (mapped l4 ?p2) (rcnot l1_l4_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i44))) +) +(:action apply_cnot_l0_l4_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i42)) (mapped l0 ?p1) (not (rcnot l1_l4_i44)) (mapped l4 ?p2) (rcnot l0_l4_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i46))) +) +(:action apply_cnot_l2_l5_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i36)) (mapped l2 ?p1) (not (rcnot l4_l5_i38)) (mapped l5 ?p2) (rcnot l2_l5_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i50))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p17.pddl b/quantum-layout-opt23-strips/domain_p17.pddl new file mode 100644 index 00000000..2db5564e --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p17.pddl @@ -0,0 +1,226 @@ +;; Tokyo/Local_compact/domain_10_mod_mult_55.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l7_i2 l2_l7_i4 l0_l7_i6 l2_l7_i8 l2_l0_i9 l2_l0_i12 l7_l6_i15 l1_l6_i17 l7_l6_i19 l1_l6_i21 l1_l7_i22 l6_l5_i25 l6_l3_i26 l1_l7_i30 l2_l8_i33 l0_l8_i35 l2_l8_i37 l0_l8_i39 l8_l7_i42 l7_l3_i43 l8_l6_i45 l1_l6_i47 l8_l6_i49 l1_l6_i51 l1_l8_i52 l6_l4_i55 l1_l8_i57 l1_l3_i58 l7_l3_i60 l1_l3_i62 l5_l8_i66 l1_l5_i68 l7_l5_i70 l1_l5_i72 l7_l5_i74 l2_l8_i79 l0_l8_i81 l2_l8_i83 l0_l8_i86 l5_l8_i90 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l7_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l7_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l7_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l7_i2)) (mapped l7 ?p2) (rcnot l2_l7_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l7_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (not (rcnot l2_l7_i4)) (mapped l7 ?p2) (rcnot l0_l7_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i6))) +) +(:action apply_cnot_l2_l7_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l7 ?p2) (rcnot l2_l7_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i8))) +) +(:action apply_cnot_l2_l0_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l0 ?p2) (rcnot l2_l0_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i9))) +) +(:action apply_cnot_l2_l0_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i9)) (mapped l2 ?p1) (not (rcnot l2_l0_i9)) (mapped l0 ?p2) (rcnot l2_l0_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i12))) +) +(:action apply_cnot_l7_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (rcnot l1_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l6_i15)) (mapped l7 ?p1) (not (rcnot l1_l6_i17)) (mapped l6 ?p2) (rcnot l7_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i19))) +) +(:action apply_cnot_l1_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l6 ?p2) (rcnot l1_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i21))) +) +(:action apply_cnot_l1_l7_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l7 ?p2) (rcnot l1_l7_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i22))) +) +(:action apply_cnot_l6_l5_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l5_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i25)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l3_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l3_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l7_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i22)) (mapped l1 ?p1) (not (rcnot l1_l7_i22)) (mapped l7 ?p2) (rcnot l1_l7_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i30))) +) +(:action apply_cnot_l2_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l2 ?p1) (not (initialized ?p2)) (rcnot l2_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l0 ?p1) (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (rcnot l0_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i35))) +) +(:action apply_cnot_l2_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i33)) (mapped l2 ?p1) (not (rcnot l0_l8_i35)) (mapped l8 ?p2) (rcnot l2_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i37))) +) +(:action apply_cnot_l0_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i35)) (mapped l0 ?p1) (not (rcnot l2_l8_i37)) (mapped l8 ?p2) (rcnot l0_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i39))) +) +(:action apply_cnot_l8_l7_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l8 ?p1) (not (rcnot l1_l7_i30)) (mapped l7 ?p2) (rcnot l8_l7_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i42))) +) +(:action apply_cnot_l7_l3_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l7 ?p1) (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (rcnot l7_l3_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i43))) +) +(:action apply_cnot_l8_l6_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l8 ?p1) (not (rcnot l6_l3_i26)) (mapped l6 ?p2) (rcnot l8_l6_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i45))) +) +(:action apply_cnot_l1_l6_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i30)) (mapped l1 ?p1) (not (rcnot l8_l6_i45)) (mapped l6 ?p2) (rcnot l1_l6_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i47))) +) +(:action apply_cnot_l8_l6_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i45)) (mapped l8 ?p1) (not (rcnot l1_l6_i47)) (mapped l6 ?p2) (rcnot l8_l6_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i49))) +) +(:action apply_cnot_l1_l6_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i47)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l6 ?p2) (rcnot l1_l6_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i51))) +) +(:action apply_cnot_l1_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l8 ?p2) (rcnot l1_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i52))) +) +(:action apply_cnot_l6_l4_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l4_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i55)) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l8_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i52)) (mapped l1 ?p1) (not (rcnot l1_l8_i52)) (mapped l8 ?p2) (rcnot l1_l8_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i57))) +) +(:action apply_cnot_l1_l3_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i57)) (mapped l1 ?p1) (not (rcnot l7_l3_i43)) (mapped l3 ?p2) (rcnot l1_l3_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i58))) +) +(:action apply_cnot_l7_l3_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i43)) (mapped l7 ?p1) (not (rcnot l1_l3_i58)) (mapped l3 ?p2) (rcnot l7_l3_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i60))) +) +(:action apply_cnot_l1_l3_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i58)) (mapped l1 ?p1) (not (rcnot l7_l3_i60)) (mapped l3 ?p2) (rcnot l1_l3_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i62))) +) +(:action apply_cnot_l5_l8_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l5 ?p1) (not (rcnot l1_l8_i57)) (mapped l8 ?p2) (rcnot l5_l8_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i66))) +) +(:action apply_cnot_l1_l5_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i62)) (mapped l1 ?p1) (not (rcnot l5_l8_i66)) (mapped l5 ?p2) (rcnot l1_l5_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i68))) +) +(:action apply_cnot_l7_l5_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i60)) (mapped l7 ?p1) (not (rcnot l1_l5_i68)) (mapped l5 ?p2) (rcnot l7_l5_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i70))) +) +(:action apply_cnot_l1_l5_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i68)) (mapped l1 ?p1) (not (rcnot l7_l5_i70)) (mapped l5 ?p2) (rcnot l1_l5_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i72))) +) +(:action apply_cnot_l7_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i70)) (mapped l7 ?p1) (not (rcnot l1_l5_i72)) (mapped l5 ?p2) (rcnot l7_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i74))) +) +(:action apply_cnot_l2_l8_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i37)) (mapped l2 ?p1) (not (rcnot l5_l8_i66)) (mapped l8 ?p2) (rcnot l2_l8_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i79))) +) +(:action apply_cnot_l0_l8_i81 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l0 ?p1) (not (rcnot l2_l8_i79)) (mapped l8 ?p2) (rcnot l0_l8_i81) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i81))) +) +(:action apply_cnot_l2_l8_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i79)) (mapped l2 ?p1) (not (rcnot l0_l8_i81)) (mapped l8 ?p2) (rcnot l2_l8_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i83))) +) +(:action apply_cnot_l0_l8_i86 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i81)) (mapped l0 ?p1) (not (rcnot l2_l8_i83)) (mapped l8 ?p2) (rcnot l0_l8_i86) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i86))) +) +(:action apply_cnot_l5_l8_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i74)) (mapped l5 ?p1) (not (rcnot l0_l8_i86)) (mapped l8 ?p2) (rcnot l5_l8_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i90))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p18.pddl b/quantum-layout-opt23-strips/domain_p18.pddl new file mode 100644 index 00000000..1d7aefb5 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p18.pddl @@ -0,0 +1,276 @@ +;; Tokyo/Local_compact/domain_11_barenco_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l7_l8_i4 l4_l8_i6 l7_l8_i8 l4_l7_i9 l4_l7_i11 l6_l7_i13 l3_l7_i15 l6_l7_i17 l3_l6_i18 l3_l6_i20 l5_l6_i22 l2_l6_i24 l5_l6_i26 l2_l5_i27 l2_l5_i29 l1_l5_i31 l0_l5_i33 l1_l5_i35 l0_l5_i37 l5_l6_i40 l2_l6_i42 l5_l6_i44 l6_l7_i46 l3_l7_i48 l6_l7_i50 l7_l8_i52 l4_l8_i54 l7_l8_i56 l4_l7_i57 l4_l7_i59 l6_l7_i62 l3_l7_i64 l6_l7_i66 l5_l6_i68 l2_l6_i70 l5_l6_i72 l1_l5_i74 l0_l5_i76 l1_l5_i78 l0_l5_i80 l5_l6_i83 l2_l6_i85 l5_l6_i87 l2_l5_i88 l2_l5_i90 l6_l7_i93 l3_l7_i95 l6_l7_i97 l3_l6_i98 l3_l6_i100 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l8_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l7_l8_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i4)) (mapped l8 ?p2) (rcnot l4_l8_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (not (rcnot l4_l8_i6)) (mapped l8 ?p2) (rcnot l7_l8_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i8))) +) +(:action apply_cnot_l4_l7_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (not (rcnot l7_l8_i8)) (mapped l7 ?p2) (rcnot l4_l7_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i9))) +) +(:action apply_cnot_l4_l7_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i9)) (mapped l4 ?p1) (not (rcnot l4_l7_i9)) (mapped l7 ?p2) (rcnot l4_l7_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i11))) +) +(:action apply_cnot_l6_l7_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l7_i11)) (mapped l7 ?p2) (rcnot l6_l7_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l3_l7_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i13)) (mapped l7 ?p2) (rcnot l3_l7_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (not (rcnot l3_l7_i15)) (mapped l7 ?p2) (rcnot l6_l7_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i17))) +) +(:action apply_cnot_l3_l6_i18 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (not (rcnot l6_l7_i17)) (mapped l6 ?p2) (rcnot l3_l6_i18) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i18))) +) +(:action apply_cnot_l3_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i18)) (mapped l3 ?p1) (not (rcnot l3_l6_i18)) (mapped l6 ?p2) (rcnot l3_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i20))) +) +(:action apply_cnot_l5_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l6_i20)) (mapped l6 ?p2) (rcnot l5_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i22)) (mapped l6 ?p2) (rcnot l2_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (not (rcnot l2_l6_i24)) (mapped l6 ?p2) (rcnot l5_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i26))) +) +(:action apply_cnot_l2_l5_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (not (rcnot l5_l6_i26)) (mapped l5 ?p2) (rcnot l2_l5_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i27))) +) +(:action apply_cnot_l2_l5_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i27)) (mapped l2 ?p1) (not (rcnot l2_l5_i27)) (mapped l5 ?p2) (rcnot l2_l5_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i29))) +) +(:action apply_cnot_l1_l5_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l5_i29)) (mapped l5 ?p2) (rcnot l1_l5_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l5_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i31)) (mapped l5 ?p2) (rcnot l0_l5_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (not (rcnot l0_l5_i33)) (mapped l5 ?p2) (rcnot l1_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i35))) +) +(:action apply_cnot_l0_l5_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (not (rcnot l1_l5_i35)) (mapped l5 ?p2) (rcnot l0_l5_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i37))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l5 ?p1) (not (rcnot l5_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l2_l6_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i29)) (mapped l2 ?p1) (not (rcnot l5_l6_i40)) (mapped l6 ?p2) (rcnot l2_l6_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i42))) +) +(:action apply_cnot_l5_l6_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i40)) (mapped l5 ?p1) (not (rcnot l2_l6_i42)) (mapped l6 ?p2) (rcnot l5_l6_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i44))) +) +(:action apply_cnot_l6_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l6 ?p1) (not (rcnot l6_l7_i17)) (mapped l7 ?p2) (rcnot l6_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i46))) +) +(:action apply_cnot_l3_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i20)) (mapped l3 ?p1) (not (rcnot l6_l7_i46)) (mapped l7 ?p2) (rcnot l3_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i48))) +) +(:action apply_cnot_l6_l7_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i46)) (mapped l6 ?p1) (not (rcnot l3_l7_i48)) (mapped l7 ?p2) (rcnot l6_l7_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i50))) +) +(:action apply_cnot_l7_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l7 ?p1) (not (rcnot l7_l8_i8)) (mapped l8 ?p2) (rcnot l7_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i52))) +) +(:action apply_cnot_l4_l8_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i11)) (mapped l4 ?p1) (not (rcnot l7_l8_i52)) (mapped l8 ?p2) (rcnot l4_l8_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i54))) +) +(:action apply_cnot_l7_l8_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i52)) (mapped l7 ?p1) (not (rcnot l4_l8_i54)) (mapped l8 ?p2) (rcnot l7_l8_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i56))) +) +(:action apply_cnot_l4_l7_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i54)) (mapped l4 ?p1) (not (rcnot l7_l8_i56)) (mapped l7 ?p2) (rcnot l4_l7_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i57))) +) +(:action apply_cnot_l4_l7_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i57)) (mapped l4 ?p1) (not (rcnot l4_l7_i57)) (mapped l7 ?p2) (rcnot l4_l7_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i59))) +) +(:action apply_cnot_l6_l7_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l6 ?p1) (not (rcnot l4_l7_i59)) (mapped l7 ?p2) (rcnot l6_l7_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i62))) +) +(:action apply_cnot_l3_l7_i64 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i48)) (mapped l3 ?p1) (not (rcnot l6_l7_i62)) (mapped l7 ?p2) (rcnot l3_l7_i64) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i64))) +) +(:action apply_cnot_l6_l7_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i62)) (mapped l6 ?p1) (not (rcnot l3_l7_i64)) (mapped l7 ?p2) (rcnot l6_l7_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i66))) +) +(:action apply_cnot_l5_l6_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l5 ?p1) (not (rcnot l6_l7_i66)) (mapped l6 ?p2) (rcnot l5_l6_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i68))) +) +(:action apply_cnot_l2_l6_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i42)) (mapped l2 ?p1) (not (rcnot l5_l6_i68)) (mapped l6 ?p2) (rcnot l2_l6_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i70))) +) +(:action apply_cnot_l5_l6_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i68)) (mapped l5 ?p1) (not (rcnot l2_l6_i70)) (mapped l6 ?p2) (rcnot l5_l6_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i72))) +) +(:action apply_cnot_l1_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i35)) (mapped l1 ?p1) (not (rcnot l5_l6_i72)) (mapped l5 ?p2) (rcnot l1_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i74))) +) +(:action apply_cnot_l0_l5_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l0 ?p1) (not (rcnot l1_l5_i74)) (mapped l5 ?p2) (rcnot l0_l5_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i76))) +) +(:action apply_cnot_l1_l5_i78 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i74)) (mapped l1 ?p1) (not (rcnot l0_l5_i76)) (mapped l5 ?p2) (rcnot l1_l5_i78) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i78))) +) +(:action apply_cnot_l0_l5_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i76)) (mapped l0 ?p1) (not (rcnot l1_l5_i78)) (mapped l5 ?p2) (rcnot l0_l5_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i80))) +) +(:action apply_cnot_l5_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i80)) (mapped l5 ?p1) (not (rcnot l5_l6_i72)) (mapped l6 ?p2) (rcnot l5_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i83))) +) +(:action apply_cnot_l2_l6_i85 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i70)) (mapped l2 ?p1) (not (rcnot l5_l6_i83)) (mapped l6 ?p2) (rcnot l2_l6_i85) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i85))) +) +(:action apply_cnot_l5_l6_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i83)) (mapped l5 ?p1) (not (rcnot l2_l6_i85)) (mapped l6 ?p2) (rcnot l5_l6_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i87))) +) +(:action apply_cnot_l2_l5_i88 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i85)) (mapped l2 ?p1) (not (rcnot l5_l6_i87)) (mapped l5 ?p2) (rcnot l2_l5_i88) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i88))) +) +(:action apply_cnot_l2_l5_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i88)) (mapped l2 ?p1) (not (rcnot l2_l5_i88)) (mapped l5 ?p2) (rcnot l2_l5_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i90))) +) +(:action apply_cnot_l6_l7_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i87)) (mapped l6 ?p1) (not (rcnot l6_l7_i66)) (mapped l7 ?p2) (rcnot l6_l7_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i93))) +) +(:action apply_cnot_l3_l7_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i64)) (mapped l3 ?p1) (not (rcnot l6_l7_i93)) (mapped l7 ?p2) (rcnot l3_l7_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i95))) +) +(:action apply_cnot_l6_l7_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i93)) (mapped l6 ?p1) (not (rcnot l3_l7_i95)) (mapped l7 ?p2) (rcnot l6_l7_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i97))) +) +(:action apply_cnot_l3_l6_i98 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i95)) (mapped l3 ?p1) (not (rcnot l6_l7_i97)) (mapped l6 ?p2) (rcnot l3_l6_i98) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i98))) +) +(:action apply_cnot_l3_l6_i100 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i98)) (mapped l3 ?p1) (not (rcnot l3_l6_i98)) (mapped l6 ?p2) (rcnot l3_l6_i100) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i100))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p19.pddl b/quantum-layout-opt23-strips/domain_p19.pddl new file mode 100644 index 00000000..68efd45d --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p19.pddl @@ -0,0 +1,276 @@ +;; Tokyo/Local_compact/domain_12_vbe_adder_3.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l2_l3_i1 l1_l3_i3 l2_l3_i4 l1_l3_i6 l1_l2_i7 l2_l3_i8 l0_l3_i9 l2_l3_i11 l0_l3_i13 l5_l6_i17 l4_l6_i19 l5_l6_i20 l4_l6_i22 l4_l5_i23 l5_l6_i24 l3_l6_i25 l5_l6_i27 l3_l6_i29 l8_l9_i36 l7_l9_i38 l8_l9_i39 l7_l9_i41 l7_l8_i42 l8_l9_i43 l6_l9_i44 l8_l9_i46 l6_l9_i48 l6_l8_i49 l5_l6_i52 l3_l6_i53 l5_l6_i55 l4_l5_i56 l3_l6_i58 l5_l6_i59 l4_l6_i61 l5_l6_i62 l3_l5_i63 l2_l3_i66 l0_l3_i67 l2_l3_i69 l1_l2_i70 l0_l3_i72 l2_l3_i73 l1_l3_i75 l2_l3_i76 l0_l2_i77 l1_l3_i79 l1_l2_i80 l4_l6_i83 l4_l5_i84 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l3_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l3_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i1)) (mapped l3 ?p2) (rcnot l1_l3_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (not (rcnot l1_l3_i3)) (mapped l3 ?p2) (rcnot l2_l3_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i4))) +) +(:action apply_cnot_l1_l3_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l3 ?p2) (rcnot l1_l3_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i6))) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i6)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l2_l3_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l2 ?p1) (not (rcnot l1_l3_i6)) (mapped l3 ?p2) (rcnot l2_l3_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i8))) +) +(:action apply_cnot_l0_l3_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i8)) (mapped l3 ?p2) (rcnot l0_l3_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i8)) (mapped l2 ?p1) (not (rcnot l0_l3_i9)) (mapped l3 ?p2) (rcnot l2_l3_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i11))) +) +(:action apply_cnot_l0_l3_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (not (rcnot l2_l3_i11)) (mapped l3 ?p2) (rcnot l0_l3_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i13))) +) +(:action apply_cnot_l5_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i17)) (mapped l6 ?p2) (rcnot l4_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (not (rcnot l4_l6_i19)) (mapped l6 ?p2) (rcnot l5_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i20))) +) +(:action apply_cnot_l4_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l6 ?p2) (rcnot l4_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i22))) +) +(:action apply_cnot_l4_l5_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i22)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l5 ?p2) (rcnot l4_l5_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i23))) +) +(:action apply_cnot_l5_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l5 ?p1) (not (rcnot l4_l6_i22)) (mapped l6 ?p2) (rcnot l5_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i24))) +) +(:action apply_cnot_l3_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l3 ?p1) (not (rcnot l5_l6_i24)) (mapped l6 ?p2) (rcnot l3_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i25))) +) +(:action apply_cnot_l5_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i24)) (mapped l5 ?p1) (not (rcnot l3_l6_i25)) (mapped l6 ?p2) (rcnot l5_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i27))) +) +(:action apply_cnot_l3_l6_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i25)) (mapped l3 ?p1) (not (rcnot l5_l6_i27)) (mapped l6 ?p2) (rcnot l3_l6_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i29))) +) +(:action apply_cnot_l8_l9_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l9_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l8_l9_i36)) (mapped l9 ?p2) (rcnot l7_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l8_l9_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (not (rcnot l7_l9_i38)) (mapped l9 ?p2) (rcnot l8_l9_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i39))) +) +(:action apply_cnot_l7_l9_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l9 ?p2) (rcnot l7_l9_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i41))) +) +(:action apply_cnot_l7_l8_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i41)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l8 ?p2) (rcnot l7_l8_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i42))) +) +(:action apply_cnot_l8_l9_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i42)) (mapped l8 ?p1) (not (rcnot l7_l9_i41)) (mapped l9 ?p2) (rcnot l8_l9_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i43))) +) +(:action apply_cnot_l6_l9_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l6 ?p1) (not (rcnot l8_l9_i43)) (mapped l9 ?p2) (rcnot l6_l9_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i44))) +) +(:action apply_cnot_l8_l9_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i43)) (mapped l8 ?p1) (not (rcnot l6_l9_i44)) (mapped l9 ?p2) (rcnot l8_l9_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i46))) +) +(:action apply_cnot_l6_l9_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i44)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l9 ?p2) (rcnot l6_l9_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i48))) +) +(:action apply_cnot_l6_l8_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i48)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l8 ?p2) (rcnot l6_l8_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i49))) +) +(:action apply_cnot_l5_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i27)) (mapped l5 ?p1) (not (rcnot l6_l8_i49)) (mapped l6 ?p2) (rcnot l5_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i52))) +) +(:action apply_cnot_l3_l6_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l3 ?p1) (not (rcnot l5_l6_i52)) (mapped l6 ?p2) (rcnot l3_l6_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i53))) +) +(:action apply_cnot_l5_l6_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i52)) (mapped l5 ?p1) (not (rcnot l3_l6_i53)) (mapped l6 ?p2) (rcnot l5_l6_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i55))) +) +(:action apply_cnot_l4_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l4 ?p1) (not (rcnot l5_l6_i55)) (mapped l5 ?p2) (rcnot l4_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i56))) +) +(:action apply_cnot_l3_l6_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i53)) (mapped l3 ?p1) (not (rcnot l5_l6_i55)) (mapped l6 ?p2) (rcnot l3_l6_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i58))) +) +(:action apply_cnot_l5_l6_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l5 ?p1) (not (rcnot l3_l6_i58)) (mapped l6 ?p2) (rcnot l5_l6_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i59))) +) +(:action apply_cnot_l4_l6_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l4 ?p1) (not (rcnot l5_l6_i59)) (mapped l6 ?p2) (rcnot l4_l6_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i61))) +) +(:action apply_cnot_l5_l6_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i59)) (mapped l5 ?p1) (not (rcnot l4_l6_i61)) (mapped l6 ?p2) (rcnot l5_l6_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i62))) +) +(:action apply_cnot_l3_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i58)) (mapped l3 ?p1) (not (rcnot l5_l6_i62)) (mapped l5 ?p2) (rcnot l3_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i63))) +) +(:action apply_cnot_l2_l3_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i11)) (mapped l2 ?p1) (not (rcnot l3_l5_i63)) (mapped l3 ?p2) (rcnot l2_l3_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i66))) +) +(:action apply_cnot_l0_l3_i67 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l0 ?p1) (not (rcnot l2_l3_i66)) (mapped l3 ?p2) (rcnot l0_l3_i67) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i67))) +) +(:action apply_cnot_l2_l3_i69 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i66)) (mapped l2 ?p1) (not (rcnot l0_l3_i67)) (mapped l3 ?p2) (rcnot l2_l3_i69) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i69))) +) +(:action apply_cnot_l1_l2_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l3_i69)) (mapped l2 ?p2) (rcnot l1_l2_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i70))) +) +(:action apply_cnot_l0_l3_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i67)) (mapped l0 ?p1) (not (rcnot l2_l3_i69)) (mapped l3 ?p2) (rcnot l0_l3_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i72))) +) +(:action apply_cnot_l2_l3_i73 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l2 ?p1) (not (rcnot l0_l3_i72)) (mapped l3 ?p2) (rcnot l2_l3_i73) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i73))) +) +(:action apply_cnot_l1_l3_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l1 ?p1) (not (rcnot l2_l3_i73)) (mapped l3 ?p2) (rcnot l1_l3_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i75))) +) +(:action apply_cnot_l2_l3_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i73)) (mapped l2 ?p1) (not (rcnot l1_l3_i75)) (mapped l3 ?p2) (rcnot l2_l3_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i76))) +) +(:action apply_cnot_l0_l2_i77 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i72)) (mapped l0 ?p1) (not (rcnot l2_l3_i76)) (mapped l2 ?p2) (rcnot l0_l2_i77) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i77))) +) +(:action apply_cnot_l1_l3_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i75)) (mapped l1 ?p1) (not (rcnot l2_l3_i76)) (mapped l3 ?p2) (rcnot l1_l3_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i79))) +) +(:action apply_cnot_l1_l2_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i79)) (mapped l1 ?p1) (not (rcnot l0_l2_i77)) (mapped l2 ?p2) (rcnot l1_l2_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i80))) +) +(:action apply_cnot_l4_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i61)) (mapped l4 ?p1) (not (rcnot l5_l6_i62)) (mapped l6 ?p2) (rcnot l4_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i83))) +) +(:action apply_cnot_l4_l5_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i83)) (mapped l4 ?p1) (not (rcnot l3_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i84))) +) +) diff --git a/quantum-layout-opt23-strips/domain_p20.pddl b/quantum-layout-opt23-strips/domain_p20.pddl new file mode 100644 index 00000000..bf30d019 --- /dev/null +++ b/quantum-layout-opt23-strips/domain_p20.pddl @@ -0,0 +1,381 @@ +;; Tokyo/Local_compact/domain_13_rc_adder_6.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l4_l3_i0 l4_l2_i1 l1_l2_i3 l0_l2_i5 l1_l2_i7 l0_l2_i9 l6_l5_i12 l6_l4_i13 l3_l4_i15 l2_l4_i17 l3_l4_i19 l2_l4_i21 l2_l3_i22 l8_l7_i25 l8_l6_i26 l5_l6_i28 l4_l6_i30 l5_l6_i32 l4_l6_i34 l4_l5_i35 l10_l9_i38 l10_l8_i39 l7_l8_i41 l6_l8_i43 l7_l8_i45 l6_l8_i47 l6_l7_i48 l12_l11_i51 l12_l10_i53 l9_l10_i55 l8_l10_i57 l9_l10_i59 l8_l10_i61 l8_l9_i65 l12_l13_i66 l11_l13_i68 l10_l13_i70 l11_l13_i72 l10_l13_i74 l10_l11_i75 l8_l10_i80 l9_l10_i82 l8_l10_i84 l6_l8_i87 l7_l8_i89 l6_l8_i91 l4_l6_i93 l5_l6_i95 l4_l6_i97 l2_l4_i99 l3_l4_i101 l2_l4_i103 l1_l2_i105 l0_l2_i107 l1_l2_i109 l0_l2_i111 l1_l0_i112 l3_l4_i116 l5_l6_i120 l7_l8_i124 l9_l10_i127 l12_l10_i130 l10_l8_i131 l10_l9_i132 l12_l11_i133 l8_l6_i134 l6_l4_i135 l4_l2_i136 l4_l3_i137 l6_l5_i138 l8_l7_i139 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 l10 l11 l12 l13 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l3_i0 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l4_l3_i0) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l2_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l2_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l2_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (rcnot l1_l2_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l2_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l2_i3)) (mapped l2 ?p2) (rcnot l0_l2_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (not (rcnot l0_l2_i5)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l0_l2_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (not (rcnot l1_l2_i7)) (mapped l2 ?p2) (rcnot l0_l2_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i9))) +) +(:action apply_cnot_l6_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l6_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l4_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (not (rcnot l4_l2_i1)) (mapped l4 ?p2) (rcnot l6_l4_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i13))) +) +(:action apply_cnot_l3_l4_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l3 ?p1) (not (rcnot l6_l4_i13)) (mapped l4 ?p2) (rcnot l3_l4_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i15))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l2 ?p1) (not (rcnot l3_l4_i15)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l3_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i15)) (mapped l3 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l3_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i19))) +) +(:action apply_cnot_l2_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l4 ?p2) (rcnot l2_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i21))) +) +(:action apply_cnot_l2_l3_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l3 ?p2) (rcnot l2_l3_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i22))) +) +(:action apply_cnot_l8_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l8_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (not (rcnot l6_l4_i13)) (mapped l6 ?p2) (rcnot l8_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i26))) +) +(:action apply_cnot_l5_l6_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l5 ?p1) (not (rcnot l8_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i28))) +) +(:action apply_cnot_l4_l6_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l4 ?p1) (not (rcnot l5_l6_i28)) (mapped l6 ?p2) (rcnot l4_l6_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i30))) +) +(:action apply_cnot_l5_l6_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i28)) (mapped l5 ?p1) (not (rcnot l4_l6_i30)) (mapped l6 ?p2) (rcnot l5_l6_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i32))) +) +(:action apply_cnot_l4_l6_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i30)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l6 ?p2) (rcnot l4_l6_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i34))) +) +(:action apply_cnot_l4_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l5 ?p2) (rcnot l4_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i35))) +) +(:action apply_cnot_l10_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l10_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l10_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (not (rcnot l8_l6_i26)) (mapped l8 ?p2) (rcnot l10_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i39))) +) +(:action apply_cnot_l7_l8_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l7 ?p1) (not (rcnot l10_l8_i39)) (mapped l8 ?p2) (rcnot l7_l8_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i41))) +) +(:action apply_cnot_l6_l8_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l6 ?p1) (not (rcnot l7_l8_i41)) (mapped l8 ?p2) (rcnot l6_l8_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i43))) +) +(:action apply_cnot_l7_l8_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i41)) (mapped l7 ?p1) (not (rcnot l6_l8_i43)) (mapped l8 ?p2) (rcnot l7_l8_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i45))) +) +(:action apply_cnot_l6_l8_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i43)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l8 ?p2) (rcnot l6_l8_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i47))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l12_l11_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l12_l11_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l11 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l12_l10_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (not (rcnot l10_l8_i39)) (mapped l10 ?p2) (rcnot l12_l10_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i53))) +) +(:action apply_cnot_l9_l10_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l9 ?p1) (not (rcnot l12_l10_i53)) (mapped l10 ?p2) (rcnot l9_l10_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i55))) +) +(:action apply_cnot_l8_l10_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l8 ?p1) (not (rcnot l9_l10_i55)) (mapped l10 ?p2) (rcnot l8_l10_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i57))) +) +(:action apply_cnot_l9_l10_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i55)) (mapped l9 ?p1) (not (rcnot l8_l10_i57)) (mapped l10 ?p2) (rcnot l9_l10_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i59))) +) +(:action apply_cnot_l8_l10_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i57)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l10 ?p2) (rcnot l8_l10_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i61))) +) +(:action apply_cnot_l8_l9_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l9 ?p2) (rcnot l8_l9_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i65))) +) +(:action apply_cnot_l12_l13_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i53)) (mapped l12 ?p1) (not (initialized ?p2)) (rcnot l12_l13_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l11_l13_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l11 ?p1) (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (rcnot l11_l13_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i68))) +) +(:action apply_cnot_l10_l13_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l10 ?p1) (not (rcnot l11_l13_i68)) (mapped l13 ?p2) (rcnot l10_l13_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i70))) +) +(:action apply_cnot_l11_l13_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l11_l13_i68)) (mapped l11 ?p1) (not (rcnot l10_l13_i70)) (mapped l13 ?p2) (rcnot l11_l13_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i72))) +) +(:action apply_cnot_l10_l13_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i70)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l13 ?p2) (rcnot l10_l13_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i74))) +) +(:action apply_cnot_l10_l11_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i74)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l11 ?p2) (rcnot l10_l11_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l11_i75))) +) +(:action apply_cnot_l8_l10_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l8 ?p1) (not (rcnot l10_l11_i75)) (mapped l10 ?p2) (rcnot l8_l10_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i80))) +) +(:action apply_cnot_l9_l10_i82 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l9 ?p1) (not (rcnot l8_l10_i80)) (mapped l10 ?p2) (rcnot l9_l10_i82) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i82))) +) +(:action apply_cnot_l8_l10_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i80)) (mapped l8 ?p1) (not (rcnot l9_l10_i82)) (mapped l10 ?p2) (rcnot l8_l10_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i84))) +) +(:action apply_cnot_l6_l8_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l6 ?p1) (not (rcnot l8_l10_i84)) (mapped l8 ?p2) (rcnot l6_l8_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i87))) +) +(:action apply_cnot_l7_l8_i89 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l7 ?p1) (not (rcnot l6_l8_i87)) (mapped l8 ?p2) (rcnot l7_l8_i89) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i89))) +) +(:action apply_cnot_l6_l8_i91 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i87)) (mapped l6 ?p1) (not (rcnot l7_l8_i89)) (mapped l8 ?p2) (rcnot l6_l8_i91) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i91))) +) +(:action apply_cnot_l4_l6_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l4 ?p1) (not (rcnot l6_l8_i91)) (mapped l6 ?p2) (rcnot l4_l6_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i93))) +) +(:action apply_cnot_l5_l6_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l5 ?p1) (not (rcnot l4_l6_i93)) (mapped l6 ?p2) (rcnot l5_l6_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i95))) +) +(:action apply_cnot_l4_l6_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i93)) (mapped l4 ?p1) (not (rcnot l5_l6_i95)) (mapped l6 ?p2) (rcnot l4_l6_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i97))) +) +(:action apply_cnot_l2_l4_i99 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l2 ?p1) (not (rcnot l4_l6_i97)) (mapped l4 ?p2) (rcnot l2_l4_i99) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i99))) +) +(:action apply_cnot_l3_l4_i101 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l3 ?p1) (not (rcnot l2_l4_i99)) (mapped l4 ?p2) (rcnot l3_l4_i101) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i101))) +) +(:action apply_cnot_l2_l4_i103 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i99)) (mapped l2 ?p1) (not (rcnot l3_l4_i101)) (mapped l4 ?p2) (rcnot l2_l4_i103) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i103))) +) +(:action apply_cnot_l1_l2_i105 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l4_i103)) (mapped l2 ?p2) (rcnot l1_l2_i105) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i105))) +) +(:action apply_cnot_l0_l2_i107 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l0 ?p1) (not (rcnot l1_l2_i105)) (mapped l2 ?p2) (rcnot l0_l2_i107) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i107))) +) +(:action apply_cnot_l1_l2_i109 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i105)) (mapped l1 ?p1) (not (rcnot l0_l2_i107)) (mapped l2 ?p2) (rcnot l1_l2_i109) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i109))) +) +(:action apply_cnot_l0_l2_i111 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i107)) (mapped l0 ?p1) (not (rcnot l1_l2_i109)) (mapped l2 ?p2) (rcnot l0_l2_i111) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i111))) +) +(:action apply_cnot_l1_l0_i112 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i109)) (mapped l1 ?p1) (not (rcnot l0_l2_i111)) (mapped l0 ?p2) (rcnot l1_l0_i112) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i112))) +) +(:action apply_cnot_l3_l4_i116 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i101)) (mapped l3 ?p1) (not (rcnot l2_l4_i103)) (mapped l4 ?p2) (rcnot l3_l4_i116) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i116))) +) +(:action apply_cnot_l5_l6_i120 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i95)) (mapped l5 ?p1) (not (rcnot l4_l6_i97)) (mapped l6 ?p2) (rcnot l5_l6_i120) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i120))) +) +(:action apply_cnot_l7_l8_i124 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i89)) (mapped l7 ?p1) (not (rcnot l6_l8_i91)) (mapped l8 ?p2) (rcnot l7_l8_i124) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i124))) +) +(:action apply_cnot_l9_l10_i127 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i82)) (mapped l9 ?p1) (not (rcnot l8_l10_i84)) (mapped l10 ?p2) (rcnot l9_l10_i127) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i127))) +) +(:action apply_cnot_l12_l10_i130 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l13_i66)) (mapped l12 ?p1) (not (rcnot l9_l10_i127)) (mapped l10 ?p2) (rcnot l12_l10_i130) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i130))) +) +(:action apply_cnot_l10_l8_i131 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l10 ?p1) (not (rcnot l7_l8_i124)) (mapped l8 ?p2) (rcnot l10_l8_i131) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i131))) +) +(:action apply_cnot_l10_l9_i132 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l10 ?p1) (not (rcnot l9_l10_i127)) (mapped l9 ?p2) (rcnot l10_l9_i132) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i132))) +) +(:action apply_cnot_l12_l11_i133 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l12 ?p1) (not (rcnot l10_l11_i75)) (mapped l11 ?p2) (rcnot l12_l11_i133) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i133))) +) +(:action apply_cnot_l8_l6_i134 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l8 ?p1) (not (rcnot l5_l6_i120)) (mapped l6 ?p2) (rcnot l8_l6_i134) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i134))) +) +(:action apply_cnot_l6_l4_i135 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l6 ?p1) (not (rcnot l3_l4_i116)) (mapped l4 ?p2) (rcnot l6_l4_i135) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i135))) +) +(:action apply_cnot_l4_l2_i136 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l4 ?p1) (not (rcnot l0_l2_i111)) (mapped l2 ?p2) (rcnot l4_l2_i136) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i136))) +) +(:action apply_cnot_l4_l3_i137 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i136)) (mapped l4 ?p1) (not (rcnot l3_l4_i116)) (mapped l3 ?p2) (rcnot l4_l3_i137) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i137))) +) +(:action apply_cnot_l6_l5_i138 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l6 ?p1) (not (rcnot l5_l6_i120)) (mapped l5 ?p2) (rcnot l6_l5_i138) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i138))) +) +(:action apply_cnot_l8_l7_i139 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l8 ?p1) (not (rcnot l7_l8_i124)) (mapped l7 ?p2) (rcnot l8_l7_i139) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i139))) +) +) diff --git a/quantum-layout-opt23-strips/p01.pddl b/quantum-layout-opt23-strips/p01.pddl new file mode 100644 index 00000000..b5bbaac0 --- /dev/null +++ b/quantum-layout-opt23-strips/p01.pddl @@ -0,0 +1,76 @@ +;; Melbourne/Local_compact/problem_2_adder.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l0_l1_i4) + (rcnot l2_l3_i6) + (rcnot l2_l3_i9) + (rcnot l1_l2_i10) + (rcnot l3_l0_i11) + (rcnot l0_l1_i12) + (rcnot l0_l1_i15) + (rcnot l2_l3_i16) + (rcnot l2_l3_i19) + (rcnot l3_l0_i21) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l1_i4)) + (not (rcnot l2_l3_i6)) + (not (rcnot l2_l3_i9)) + (not (rcnot l1_l2_i10)) + (not (rcnot l3_l0_i11)) + (not (rcnot l0_l1_i12)) + (not (rcnot l0_l1_i15)) + (not (rcnot l2_l3_i16)) + (not (rcnot l2_l3_i19)) + (not (rcnot l3_l0_i21)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p02.pddl b/quantum-layout-opt23-strips/p02.pddl new file mode 100644 index 00000000..76aa4c2a --- /dev/null +++ b/quantum-layout-opt23-strips/p02.pddl @@ -0,0 +1,78 @@ +;; Melbourne/Local_compact/problem_4_4mod5-v1_22.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l0_l2_i0) + (rcnot l1_l3_i2) + (rcnot l3_l2_i4) + (rcnot l4_l3_i8) + (rcnot l2_l4_i9) + (rcnot l2_l3_i11) + (rcnot l4_l3_i15) + (rcnot l2_l4_i16) + (rcnot l3_l2_i17) + (rcnot l2_l3_i18) + (rcnot l3_l4_i20) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l2_i0)) + (not (rcnot l1_l3_i2)) + (not (rcnot l3_l2_i4)) + (not (rcnot l4_l3_i8)) + (not (rcnot l2_l4_i9)) + (not (rcnot l2_l3_i11)) + (not (rcnot l4_l3_i15)) + (not (rcnot l2_l4_i16)) + (not (rcnot l3_l2_i17)) + (not (rcnot l2_l3_i18)) + (not (rcnot l3_l4_i20)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p03.pddl b/quantum-layout-opt23-strips/p03.pddl new file mode 100644 index 00000000..da7bfbdd --- /dev/null +++ b/quantum-layout-opt23-strips/p03.pddl @@ -0,0 +1,116 @@ +;; Melbourne/Local_compact/problem_6_4gt13_92.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l2_l3_i3) + (rcnot l4_l0_i4) + (rcnot l4_l1_i8) + (rcnot l0_l4_i9) + (rcnot l1_l0_i10) + (rcnot l1_l4_i13) + (rcnot l0_l4_i16) + (rcnot l1_l0_i17) + (rcnot l4_l1_i21) + (rcnot l4_l2_i25) + (rcnot l3_l4_i27) + (rcnot l3_l2_i28) + (rcnot l4_l2_i32) + (rcnot l3_l4_i33) + (rcnot l2_l3_i34) + (rcnot l2_l3_i37) + (rcnot l4_l1_i40) + (rcnot l0_l4_i41) + (rcnot l1_l0_i42) + (rcnot l1_l4_i45) + (rcnot l0_l4_i48) + (rcnot l1_l0_i49) + (rcnot l4_l1_i51) + (rcnot l4_l2_i54) + (rcnot l3_l4_i56) + (rcnot l3_l2_i57) + (rcnot l4_l2_i61) + (rcnot l3_l4_i62) + (rcnot l2_l3_i63) + (rcnot l0_l4_i65) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l2_l3_i3)) + (not (rcnot l4_l0_i4)) + (not (rcnot l4_l1_i8)) + (not (rcnot l0_l4_i9)) + (not (rcnot l1_l0_i10)) + (not (rcnot l1_l4_i13)) + (not (rcnot l0_l4_i16)) + (not (rcnot l1_l0_i17)) + (not (rcnot l4_l1_i21)) + (not (rcnot l4_l2_i25)) + (not (rcnot l3_l4_i27)) + (not (rcnot l3_l2_i28)) + (not (rcnot l4_l2_i32)) + (not (rcnot l3_l4_i33)) + (not (rcnot l2_l3_i34)) + (not (rcnot l2_l3_i37)) + (not (rcnot l4_l1_i40)) + (not (rcnot l0_l4_i41)) + (not (rcnot l1_l0_i42)) + (not (rcnot l1_l4_i45)) + (not (rcnot l0_l4_i48)) + (not (rcnot l1_l0_i49)) + (not (rcnot l4_l1_i51)) + (not (rcnot l4_l2_i54)) + (not (rcnot l3_l4_i56)) + (not (rcnot l3_l2_i57)) + (not (rcnot l4_l2_i61)) + (not (rcnot l3_l4_i62)) + (not (rcnot l2_l3_i63)) + (not (rcnot l0_l4_i65)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p04.pddl b/quantum-layout-opt23-strips/p04.pddl new file mode 100644 index 00000000..0329b45d --- /dev/null +++ b/quantum-layout-opt23-strips/p04.pddl @@ -0,0 +1,124 @@ +;; Melbourne/Local_compact/problem_8_barenco_tof_4.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l5_l6_i3) + (rcnot l3_l6_i5) + (rcnot l5_l6_i7) + (rcnot l3_l5_i8) + (rcnot l3_l5_i10) + (rcnot l4_l5_i12) + (rcnot l2_l5_i14) + (rcnot l4_l5_i16) + (rcnot l2_l4_i17) + (rcnot l2_l4_i19) + (rcnot l1_l4_i21) + (rcnot l0_l4_i23) + (rcnot l1_l4_i25) + (rcnot l0_l4_i27) + (rcnot l4_l5_i30) + (rcnot l2_l5_i32) + (rcnot l4_l5_i34) + (rcnot l5_l6_i36) + (rcnot l3_l6_i38) + (rcnot l5_l6_i40) + (rcnot l3_l5_i41) + (rcnot l3_l5_i43) + (rcnot l4_l5_i46) + (rcnot l2_l5_i48) + (rcnot l4_l5_i50) + (rcnot l1_l4_i52) + (rcnot l0_l4_i54) + (rcnot l1_l4_i56) + (rcnot l0_l4_i58) + (rcnot l4_l5_i61) + (rcnot l2_l5_i63) + (rcnot l4_l5_i65) + (rcnot l2_l4_i66) + (rcnot l2_l4_i68) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l5_l6_i3)) + (not (rcnot l3_l6_i5)) + (not (rcnot l5_l6_i7)) + (not (rcnot l3_l5_i8)) + (not (rcnot l3_l5_i10)) + (not (rcnot l4_l5_i12)) + (not (rcnot l2_l5_i14)) + (not (rcnot l4_l5_i16)) + (not (rcnot l2_l4_i17)) + (not (rcnot l2_l4_i19)) + (not (rcnot l1_l4_i21)) + (not (rcnot l0_l4_i23)) + (not (rcnot l1_l4_i25)) + (not (rcnot l0_l4_i27)) + (not (rcnot l4_l5_i30)) + (not (rcnot l2_l5_i32)) + (not (rcnot l4_l5_i34)) + (not (rcnot l5_l6_i36)) + (not (rcnot l3_l6_i38)) + (not (rcnot l5_l6_i40)) + (not (rcnot l3_l5_i41)) + (not (rcnot l3_l5_i43)) + (not (rcnot l4_l5_i46)) + (not (rcnot l2_l5_i48)) + (not (rcnot l4_l5_i50)) + (not (rcnot l1_l4_i52)) + (not (rcnot l0_l4_i54)) + (not (rcnot l1_l4_i56)) + (not (rcnot l0_l4_i58)) + (not (rcnot l4_l5_i61)) + (not (rcnot l2_l5_i63)) + (not (rcnot l4_l5_i65)) + (not (rcnot l2_l4_i66)) + (not (rcnot l2_l4_i68)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p05.pddl b/quantum-layout-opt23-strips/p05.pddl new file mode 100644 index 00000000..311d52a8 --- /dev/null +++ b/quantum-layout-opt23-strips/p05.pddl @@ -0,0 +1,136 @@ +;; Melbourne/Local_compact/problem_10_mod_mult_55.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l0_l7_i2) + (rcnot l2_l7_i4) + (rcnot l0_l7_i6) + (rcnot l2_l7_i8) + (rcnot l2_l0_i9) + (rcnot l2_l0_i12) + (rcnot l7_l6_i15) + (rcnot l1_l6_i17) + (rcnot l7_l6_i19) + (rcnot l1_l6_i21) + (rcnot l1_l7_i22) + (rcnot l6_l5_i25) + (rcnot l6_l3_i26) + (rcnot l1_l7_i30) + (rcnot l2_l8_i33) + (rcnot l0_l8_i35) + (rcnot l2_l8_i37) + (rcnot l0_l8_i39) + (rcnot l8_l7_i42) + (rcnot l7_l3_i43) + (rcnot l8_l6_i45) + (rcnot l1_l6_i47) + (rcnot l8_l6_i49) + (rcnot l1_l6_i51) + (rcnot l1_l8_i52) + (rcnot l6_l4_i55) + (rcnot l1_l8_i57) + (rcnot l1_l3_i58) + (rcnot l7_l3_i60) + (rcnot l1_l3_i62) + (rcnot l5_l8_i66) + (rcnot l1_l5_i68) + (rcnot l7_l5_i70) + (rcnot l1_l5_i72) + (rcnot l7_l5_i74) + (rcnot l2_l8_i79) + (rcnot l0_l8_i81) + (rcnot l2_l8_i83) + (rcnot l0_l8_i86) + (rcnot l5_l8_i90) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l7_i2)) + (not (rcnot l2_l7_i4)) + (not (rcnot l0_l7_i6)) + (not (rcnot l2_l7_i8)) + (not (rcnot l2_l0_i9)) + (not (rcnot l2_l0_i12)) + (not (rcnot l7_l6_i15)) + (not (rcnot l1_l6_i17)) + (not (rcnot l7_l6_i19)) + (not (rcnot l1_l6_i21)) + (not (rcnot l1_l7_i22)) + (not (rcnot l6_l5_i25)) + (not (rcnot l6_l3_i26)) + (not (rcnot l1_l7_i30)) + (not (rcnot l2_l8_i33)) + (not (rcnot l0_l8_i35)) + (not (rcnot l2_l8_i37)) + (not (rcnot l0_l8_i39)) + (not (rcnot l8_l7_i42)) + (not (rcnot l7_l3_i43)) + (not (rcnot l8_l6_i45)) + (not (rcnot l1_l6_i47)) + (not (rcnot l8_l6_i49)) + (not (rcnot l1_l6_i51)) + (not (rcnot l1_l8_i52)) + (not (rcnot l6_l4_i55)) + (not (rcnot l1_l8_i57)) + (not (rcnot l1_l3_i58)) + (not (rcnot l7_l3_i60)) + (not (rcnot l1_l3_i62)) + (not (rcnot l5_l8_i66)) + (not (rcnot l1_l5_i68)) + (not (rcnot l7_l5_i70)) + (not (rcnot l1_l5_i72)) + (not (rcnot l7_l5_i74)) + (not (rcnot l2_l8_i79)) + (not (rcnot l0_l8_i81)) + (not (rcnot l2_l8_i83)) + (not (rcnot l0_l8_i86)) + (not (rcnot l5_l8_i90)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p06.pddl b/quantum-layout-opt23-strips/p06.pddl new file mode 100644 index 00000000..f395a180 --- /dev/null +++ b/quantum-layout-opt23-strips/p06.pddl @@ -0,0 +1,156 @@ +;; Melbourne/Local_compact/problem_12_vbe_adder_3.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l2_l3_i1) + (rcnot l1_l3_i3) + (rcnot l2_l3_i4) + (rcnot l1_l3_i6) + (rcnot l1_l2_i7) + (rcnot l2_l3_i8) + (rcnot l0_l3_i9) + (rcnot l2_l3_i11) + (rcnot l0_l3_i13) + (rcnot l5_l6_i17) + (rcnot l4_l6_i19) + (rcnot l5_l6_i20) + (rcnot l4_l6_i22) + (rcnot l4_l5_i23) + (rcnot l5_l6_i24) + (rcnot l3_l6_i25) + (rcnot l5_l6_i27) + (rcnot l3_l6_i29) + (rcnot l8_l9_i36) + (rcnot l7_l9_i38) + (rcnot l8_l9_i39) + (rcnot l7_l9_i41) + (rcnot l7_l8_i42) + (rcnot l8_l9_i43) + (rcnot l6_l9_i44) + (rcnot l8_l9_i46) + (rcnot l6_l9_i48) + (rcnot l6_l8_i49) + (rcnot l5_l6_i52) + (rcnot l3_l6_i53) + (rcnot l5_l6_i55) + (rcnot l4_l5_i56) + (rcnot l3_l6_i58) + (rcnot l5_l6_i59) + (rcnot l4_l6_i61) + (rcnot l5_l6_i62) + (rcnot l3_l5_i63) + (rcnot l2_l3_i66) + (rcnot l0_l3_i67) + (rcnot l2_l3_i69) + (rcnot l1_l2_i70) + (rcnot l0_l3_i72) + (rcnot l2_l3_i73) + (rcnot l1_l3_i75) + (rcnot l2_l3_i76) + (rcnot l0_l2_i77) + (rcnot l1_l3_i79) + (rcnot l1_l2_i80) + (rcnot l4_l6_i83) + (rcnot l4_l5_i84) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l2_l3_i1)) + (not (rcnot l1_l3_i3)) + (not (rcnot l2_l3_i4)) + (not (rcnot l1_l3_i6)) + (not (rcnot l1_l2_i7)) + (not (rcnot l2_l3_i8)) + (not (rcnot l0_l3_i9)) + (not (rcnot l2_l3_i11)) + (not (rcnot l0_l3_i13)) + (not (rcnot l5_l6_i17)) + (not (rcnot l4_l6_i19)) + (not (rcnot l5_l6_i20)) + (not (rcnot l4_l6_i22)) + (not (rcnot l4_l5_i23)) + (not (rcnot l5_l6_i24)) + (not (rcnot l3_l6_i25)) + (not (rcnot l5_l6_i27)) + (not (rcnot l3_l6_i29)) + (not (rcnot l8_l9_i36)) + (not (rcnot l7_l9_i38)) + (not (rcnot l8_l9_i39)) + (not (rcnot l7_l9_i41)) + (not (rcnot l7_l8_i42)) + (not (rcnot l8_l9_i43)) + (not (rcnot l6_l9_i44)) + (not (rcnot l8_l9_i46)) + (not (rcnot l6_l9_i48)) + (not (rcnot l6_l8_i49)) + (not (rcnot l5_l6_i52)) + (not (rcnot l3_l6_i53)) + (not (rcnot l5_l6_i55)) + (not (rcnot l4_l5_i56)) + (not (rcnot l3_l6_i58)) + (not (rcnot l5_l6_i59)) + (not (rcnot l4_l6_i61)) + (not (rcnot l5_l6_i62)) + (not (rcnot l3_l5_i63)) + (not (rcnot l2_l3_i66)) + (not (rcnot l0_l3_i67)) + (not (rcnot l2_l3_i69)) + (not (rcnot l1_l2_i70)) + (not (rcnot l0_l3_i72)) + (not (rcnot l2_l3_i73)) + (not (rcnot l1_l3_i75)) + (not (rcnot l2_l3_i76)) + (not (rcnot l0_l2_i77)) + (not (rcnot l1_l3_i79)) + (not (rcnot l1_l2_i80)) + (not (rcnot l4_l6_i83)) + (not (rcnot l4_l5_i84)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p07.pddl b/quantum-layout-opt23-strips/p07.pddl new file mode 100644 index 00000000..4da7e58c --- /dev/null +++ b/quantum-layout-opt23-strips/p07.pddl @@ -0,0 +1,50 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_1_or.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l2_l1_i4) + (rcnot l0_l1_i6) + (rcnot l2_l0_i10) + (rcnot l2_l1_i12) + (rcnot l2_l0_i14) + (rcnot l0_l1_i15) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l2_l1_i4)) + (not (rcnot l0_l1_i6)) + (not (rcnot l2_l0_i10)) + (not (rcnot l2_l1_i12)) + (not (rcnot l2_l0_i14)) + (not (rcnot l0_l1_i15)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p08.pddl b/quantum-layout-opt23-strips/p08.pddl new file mode 100644 index 00000000..62d13b27 --- /dev/null +++ b/quantum-layout-opt23-strips/p08.pddl @@ -0,0 +1,54 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_3_qaoa5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l0_l1_i2) + (rcnot l0_l1_i4) + (rcnot l1_l2_i7) + (rcnot l1_l2_i9) + (rcnot l2_l3_i12) + (rcnot l2_l3_i14) + (rcnot l3_l4_i17) + (rcnot l3_l4_i19) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l1_i2)) + (not (rcnot l0_l1_i4)) + (not (rcnot l1_l2_i7)) + (not (rcnot l1_l2_i9)) + (not (rcnot l2_l3_i12)) + (not (rcnot l2_l3_i14)) + (not (rcnot l3_l4_i17)) + (not (rcnot l3_l4_i19)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p09.pddl b/quantum-layout-opt23-strips/p09.pddl new file mode 100644 index 00000000..9d66e607 --- /dev/null +++ b/quantum-layout-opt23-strips/p09.pddl @@ -0,0 +1,70 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_5_mod5mils_65.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l1_l3_i2) + (rcnot l0_l3_i5) + (rcnot l4_l0_i8) + (rcnot l3_l4_i10) + (rcnot l3_l0_i11) + (rcnot l4_l0_i15) + (rcnot l3_l4_i16) + (rcnot l0_l3_i17) + (rcnot l2_l3_i19) + (rcnot l4_l2_i23) + (rcnot l3_l4_i25) + (rcnot l3_l2_i26) + (rcnot l4_l2_i30) + (rcnot l3_l4_i31) + (rcnot l2_l3_i32) + (rcnot l3_l4_i34) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l3_i2)) + (not (rcnot l0_l3_i5)) + (not (rcnot l4_l0_i8)) + (not (rcnot l3_l4_i10)) + (not (rcnot l3_l0_i11)) + (not (rcnot l4_l0_i15)) + (not (rcnot l3_l4_i16)) + (not (rcnot l0_l3_i17)) + (not (rcnot l2_l3_i19)) + (not (rcnot l4_l2_i23)) + (not (rcnot l3_l4_i25)) + (not (rcnot l3_l2_i26)) + (not (rcnot l4_l2_i30)) + (not (rcnot l3_l4_i31)) + (not (rcnot l2_l3_i32)) + (not (rcnot l3_l4_i34)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p10.pddl b/quantum-layout-opt23-strips/p10.pddl new file mode 100644 index 00000000..1254272f --- /dev/null +++ b/quantum-layout-opt23-strips/p10.pddl @@ -0,0 +1,82 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_7_tof_4.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l1_l4_i1) + (rcnot l0_l4_i3) + (rcnot l1_l4_i5) + (rcnot l0_l4_i7) + (rcnot l4_l5_i11) + (rcnot l2_l5_i13) + (rcnot l4_l5_i15) + (rcnot l2_l5_i17) + (rcnot l5_l6_i21) + (rcnot l3_l6_i23) + (rcnot l5_l6_i25) + (rcnot l3_l6_i27) + (rcnot l3_l5_i28) + (rcnot l3_l5_i30) + (rcnot l4_l5_i34) + (rcnot l2_l5_i36) + (rcnot l4_l5_i38) + (rcnot l1_l4_i40) + (rcnot l0_l4_i42) + (rcnot l1_l4_i44) + (rcnot l0_l4_i46) + (rcnot l2_l5_i50) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l4_i1)) + (not (rcnot l0_l4_i3)) + (not (rcnot l1_l4_i5)) + (not (rcnot l0_l4_i7)) + (not (rcnot l4_l5_i11)) + (not (rcnot l2_l5_i13)) + (not (rcnot l4_l5_i15)) + (not (rcnot l2_l5_i17)) + (not (rcnot l5_l6_i21)) + (not (rcnot l3_l6_i23)) + (not (rcnot l5_l6_i25)) + (not (rcnot l3_l6_i27)) + (not (rcnot l3_l5_i28)) + (not (rcnot l3_l5_i30)) + (not (rcnot l4_l5_i34)) + (not (rcnot l2_l5_i36)) + (not (rcnot l4_l5_i38)) + (not (rcnot l1_l4_i40)) + (not (rcnot l0_l4_i42)) + (not (rcnot l1_l4_i44)) + (not (rcnot l0_l4_i46)) + (not (rcnot l2_l5_i50)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p11.pddl b/quantum-layout-opt23-strips/p11.pddl new file mode 100644 index 00000000..06a1b5fc --- /dev/null +++ b/quantum-layout-opt23-strips/p11.pddl @@ -0,0 +1,98 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_9_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l1_l5_i1) + (rcnot l0_l5_i3) + (rcnot l1_l5_i5) + (rcnot l0_l5_i7) + (rcnot l5_l6_i11) + (rcnot l2_l6_i13) + (rcnot l5_l6_i15) + (rcnot l2_l6_i17) + (rcnot l6_l7_i21) + (rcnot l3_l7_i23) + (rcnot l6_l7_i25) + (rcnot l3_l7_i27) + (rcnot l7_l8_i31) + (rcnot l4_l8_i33) + (rcnot l7_l8_i35) + (rcnot l4_l8_i37) + (rcnot l4_l7_i38) + (rcnot l4_l7_i40) + (rcnot l6_l7_i44) + (rcnot l3_l7_i46) + (rcnot l6_l7_i48) + (rcnot l5_l6_i50) + (rcnot l2_l6_i52) + (rcnot l5_l6_i54) + (rcnot l1_l5_i56) + (rcnot l0_l5_i58) + (rcnot l1_l5_i60) + (rcnot l0_l5_i62) + (rcnot l2_l6_i66) + (rcnot l3_l7_i70) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l5_i1)) + (not (rcnot l0_l5_i3)) + (not (rcnot l1_l5_i5)) + (not (rcnot l0_l5_i7)) + (not (rcnot l5_l6_i11)) + (not (rcnot l2_l6_i13)) + (not (rcnot l5_l6_i15)) + (not (rcnot l2_l6_i17)) + (not (rcnot l6_l7_i21)) + (not (rcnot l3_l7_i23)) + (not (rcnot l6_l7_i25)) + (not (rcnot l3_l7_i27)) + (not (rcnot l7_l8_i31)) + (not (rcnot l4_l8_i33)) + (not (rcnot l7_l8_i35)) + (not (rcnot l4_l8_i37)) + (not (rcnot l4_l7_i38)) + (not (rcnot l4_l7_i40)) + (not (rcnot l6_l7_i44)) + (not (rcnot l3_l7_i46)) + (not (rcnot l6_l7_i48)) + (not (rcnot l5_l6_i50)) + (not (rcnot l2_l6_i52)) + (not (rcnot l5_l6_i54)) + (not (rcnot l1_l5_i56)) + (not (rcnot l0_l5_i58)) + (not (rcnot l1_l5_i60)) + (not (rcnot l0_l5_i62)) + (not (rcnot l2_l6_i66)) + (not (rcnot l3_l7_i70)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p12.pddl b/quantum-layout-opt23-strips/p12.pddl new file mode 100644 index 00000000..c8170226 --- /dev/null +++ b/quantum-layout-opt23-strips/p12.pddl @@ -0,0 +1,138 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_11_barenco_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l7_l8_i4) + (rcnot l4_l8_i6) + (rcnot l7_l8_i8) + (rcnot l4_l7_i9) + (rcnot l4_l7_i11) + (rcnot l6_l7_i13) + (rcnot l3_l7_i15) + (rcnot l6_l7_i17) + (rcnot l3_l6_i18) + (rcnot l3_l6_i20) + (rcnot l5_l6_i22) + (rcnot l2_l6_i24) + (rcnot l5_l6_i26) + (rcnot l2_l5_i27) + (rcnot l2_l5_i29) + (rcnot l1_l5_i31) + (rcnot l0_l5_i33) + (rcnot l1_l5_i35) + (rcnot l0_l5_i37) + (rcnot l5_l6_i40) + (rcnot l2_l6_i42) + (rcnot l5_l6_i44) + (rcnot l6_l7_i46) + (rcnot l3_l7_i48) + (rcnot l6_l7_i50) + (rcnot l7_l8_i52) + (rcnot l4_l8_i54) + (rcnot l7_l8_i56) + (rcnot l4_l7_i57) + (rcnot l4_l7_i59) + (rcnot l6_l7_i62) + (rcnot l3_l7_i64) + (rcnot l6_l7_i66) + (rcnot l5_l6_i68) + (rcnot l2_l6_i70) + (rcnot l5_l6_i72) + (rcnot l1_l5_i74) + (rcnot l0_l5_i76) + (rcnot l1_l5_i78) + (rcnot l0_l5_i80) + (rcnot l5_l6_i83) + (rcnot l2_l6_i85) + (rcnot l5_l6_i87) + (rcnot l2_l5_i88) + (rcnot l2_l5_i90) + (rcnot l6_l7_i93) + (rcnot l3_l7_i95) + (rcnot l6_l7_i97) + (rcnot l3_l6_i98) + (rcnot l3_l6_i100) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l7_l8_i4)) + (not (rcnot l4_l8_i6)) + (not (rcnot l7_l8_i8)) + (not (rcnot l4_l7_i9)) + (not (rcnot l4_l7_i11)) + (not (rcnot l6_l7_i13)) + (not (rcnot l3_l7_i15)) + (not (rcnot l6_l7_i17)) + (not (rcnot l3_l6_i18)) + (not (rcnot l3_l6_i20)) + (not (rcnot l5_l6_i22)) + (not (rcnot l2_l6_i24)) + (not (rcnot l5_l6_i26)) + (not (rcnot l2_l5_i27)) + (not (rcnot l2_l5_i29)) + (not (rcnot l1_l5_i31)) + (not (rcnot l0_l5_i33)) + (not (rcnot l1_l5_i35)) + (not (rcnot l0_l5_i37)) + (not (rcnot l5_l6_i40)) + (not (rcnot l2_l6_i42)) + (not (rcnot l5_l6_i44)) + (not (rcnot l6_l7_i46)) + (not (rcnot l3_l7_i48)) + (not (rcnot l6_l7_i50)) + (not (rcnot l7_l8_i52)) + (not (rcnot l4_l8_i54)) + (not (rcnot l7_l8_i56)) + (not (rcnot l4_l7_i57)) + (not (rcnot l4_l7_i59)) + (not (rcnot l6_l7_i62)) + (not (rcnot l3_l7_i64)) + (not (rcnot l6_l7_i66)) + (not (rcnot l5_l6_i68)) + (not (rcnot l2_l6_i70)) + (not (rcnot l5_l6_i72)) + (not (rcnot l1_l5_i74)) + (not (rcnot l0_l5_i76)) + (not (rcnot l1_l5_i78)) + (not (rcnot l0_l5_i80)) + (not (rcnot l5_l6_i83)) + (not (rcnot l2_l6_i85)) + (not (rcnot l5_l6_i87)) + (not (rcnot l2_l5_i88)) + (not (rcnot l2_l5_i90)) + (not (rcnot l6_l7_i93)) + (not (rcnot l3_l7_i95)) + (not (rcnot l6_l7_i97)) + (not (rcnot l3_l6_i98)) + (not (rcnot l3_l6_i100)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p13.pddl b/quantum-layout-opt23-strips/p13.pddl new file mode 100644 index 00000000..c4e67fc8 --- /dev/null +++ b/quantum-layout-opt23-strips/p13.pddl @@ -0,0 +1,180 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_13_rc_adder_6.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l4_l3_i0) + (rcnot l4_l2_i1) + (rcnot l1_l2_i3) + (rcnot l0_l2_i5) + (rcnot l1_l2_i7) + (rcnot l0_l2_i9) + (rcnot l6_l5_i12) + (rcnot l6_l4_i13) + (rcnot l3_l4_i15) + (rcnot l2_l4_i17) + (rcnot l3_l4_i19) + (rcnot l2_l4_i21) + (rcnot l2_l3_i22) + (rcnot l8_l7_i25) + (rcnot l8_l6_i26) + (rcnot l5_l6_i28) + (rcnot l4_l6_i30) + (rcnot l5_l6_i32) + (rcnot l4_l6_i34) + (rcnot l4_l5_i35) + (rcnot l10_l9_i38) + (rcnot l10_l8_i39) + (rcnot l7_l8_i41) + (rcnot l6_l8_i43) + (rcnot l7_l8_i45) + (rcnot l6_l8_i47) + (rcnot l6_l7_i48) + (rcnot l12_l11_i51) + (rcnot l12_l10_i53) + (rcnot l9_l10_i55) + (rcnot l8_l10_i57) + (rcnot l9_l10_i59) + (rcnot l8_l10_i61) + (rcnot l8_l9_i65) + (rcnot l12_l13_i66) + (rcnot l11_l13_i68) + (rcnot l10_l13_i70) + (rcnot l11_l13_i72) + (rcnot l10_l13_i74) + (rcnot l10_l11_i75) + (rcnot l8_l10_i80) + (rcnot l9_l10_i82) + (rcnot l8_l10_i84) + (rcnot l6_l8_i87) + (rcnot l7_l8_i89) + (rcnot l6_l8_i91) + (rcnot l4_l6_i93) + (rcnot l5_l6_i95) + (rcnot l4_l6_i97) + (rcnot l2_l4_i99) + (rcnot l3_l4_i101) + (rcnot l2_l4_i103) + (rcnot l1_l2_i105) + (rcnot l0_l2_i107) + (rcnot l1_l2_i109) + (rcnot l0_l2_i111) + (rcnot l1_l0_i112) + (rcnot l3_l4_i116) + (rcnot l5_l6_i120) + (rcnot l7_l8_i124) + (rcnot l9_l10_i127) + (rcnot l12_l10_i130) + (rcnot l10_l8_i131) + (rcnot l10_l9_i132) + (rcnot l12_l11_i133) + (rcnot l8_l6_i134) + (rcnot l6_l4_i135) + (rcnot l4_l2_i136) + (rcnot l4_l3_i137) + (rcnot l6_l5_i138) + (rcnot l8_l7_i139) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l4_l3_i0)) + (not (rcnot l4_l2_i1)) + (not (rcnot l1_l2_i3)) + (not (rcnot l0_l2_i5)) + (not (rcnot l1_l2_i7)) + (not (rcnot l0_l2_i9)) + (not (rcnot l6_l5_i12)) + (not (rcnot l6_l4_i13)) + (not (rcnot l3_l4_i15)) + (not (rcnot l2_l4_i17)) + (not (rcnot l3_l4_i19)) + (not (rcnot l2_l4_i21)) + (not (rcnot l2_l3_i22)) + (not (rcnot l8_l7_i25)) + (not (rcnot l8_l6_i26)) + (not (rcnot l5_l6_i28)) + (not (rcnot l4_l6_i30)) + (not (rcnot l5_l6_i32)) + (not (rcnot l4_l6_i34)) + (not (rcnot l4_l5_i35)) + (not (rcnot l10_l9_i38)) + (not (rcnot l10_l8_i39)) + (not (rcnot l7_l8_i41)) + (not (rcnot l6_l8_i43)) + (not (rcnot l7_l8_i45)) + (not (rcnot l6_l8_i47)) + (not (rcnot l6_l7_i48)) + (not (rcnot l12_l11_i51)) + (not (rcnot l12_l10_i53)) + (not (rcnot l9_l10_i55)) + (not (rcnot l8_l10_i57)) + (not (rcnot l9_l10_i59)) + (not (rcnot l8_l10_i61)) + (not (rcnot l8_l9_i65)) + (not (rcnot l12_l13_i66)) + (not (rcnot l11_l13_i68)) + (not (rcnot l10_l13_i70)) + (not (rcnot l11_l13_i72)) + (not (rcnot l10_l13_i74)) + (not (rcnot l10_l11_i75)) + (not (rcnot l8_l10_i80)) + (not (rcnot l9_l10_i82)) + (not (rcnot l8_l10_i84)) + (not (rcnot l6_l8_i87)) + (not (rcnot l7_l8_i89)) + (not (rcnot l6_l8_i91)) + (not (rcnot l4_l6_i93)) + (not (rcnot l5_l6_i95)) + (not (rcnot l4_l6_i97)) + (not (rcnot l2_l4_i99)) + (not (rcnot l3_l4_i101)) + (not (rcnot l2_l4_i103)) + (not (rcnot l1_l2_i105)) + (not (rcnot l0_l2_i107)) + (not (rcnot l1_l2_i109)) + (not (rcnot l0_l2_i111)) + (not (rcnot l1_l0_i112)) + (not (rcnot l3_l4_i116)) + (not (rcnot l5_l6_i120)) + (not (rcnot l7_l8_i124)) + (not (rcnot l9_l10_i127)) + (not (rcnot l12_l10_i130)) + (not (rcnot l10_l8_i131)) + (not (rcnot l10_l9_i132)) + (not (rcnot l12_l11_i133)) + (not (rcnot l8_l6_i134)) + (not (rcnot l6_l4_i135)) + (not (rcnot l4_l2_i136)) + (not (rcnot l4_l3_i137)) + (not (rcnot l6_l5_i138)) + (not (rcnot l8_l7_i139)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p14.pddl b/quantum-layout-opt23-strips/p14.pddl new file mode 100644 index 00000000..473ceff4 --- /dev/null +++ b/quantum-layout-opt23-strips/p14.pddl @@ -0,0 +1,110 @@ +;; Tokyo/Local_compact/problem_2_adder.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l0_l1_i4) + (rcnot l2_l3_i6) + (rcnot l2_l3_i9) + (rcnot l1_l2_i10) + (rcnot l3_l0_i11) + (rcnot l0_l1_i12) + (rcnot l0_l1_i15) + (rcnot l2_l3_i16) + (rcnot l2_l3_i19) + (rcnot l3_l0_i21) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l1_i4)) + (not (rcnot l2_l3_i6)) + (not (rcnot l2_l3_i9)) + (not (rcnot l1_l2_i10)) + (not (rcnot l3_l0_i11)) + (not (rcnot l0_l1_i12)) + (not (rcnot l0_l1_i15)) + (not (rcnot l2_l3_i16)) + (not (rcnot l2_l3_i19)) + (not (rcnot l3_l0_i21)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p15.pddl b/quantum-layout-opt23-strips/p15.pddl new file mode 100644 index 00000000..b99380ab --- /dev/null +++ b/quantum-layout-opt23-strips/p15.pddl @@ -0,0 +1,122 @@ +;; Tokyo/Local_compact/problem_5_mod5mils_65.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l1_l3_i2) + (rcnot l0_l3_i5) + (rcnot l4_l0_i8) + (rcnot l3_l4_i10) + (rcnot l3_l0_i11) + (rcnot l4_l0_i15) + (rcnot l3_l4_i16) + (rcnot l0_l3_i17) + (rcnot l2_l3_i19) + (rcnot l4_l2_i23) + (rcnot l3_l4_i25) + (rcnot l3_l2_i26) + (rcnot l4_l2_i30) + (rcnot l3_l4_i31) + (rcnot l2_l3_i32) + (rcnot l3_l4_i34) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l3_i2)) + (not (rcnot l0_l3_i5)) + (not (rcnot l4_l0_i8)) + (not (rcnot l3_l4_i10)) + (not (rcnot l3_l0_i11)) + (not (rcnot l4_l0_i15)) + (not (rcnot l3_l4_i16)) + (not (rcnot l0_l3_i17)) + (not (rcnot l2_l3_i19)) + (not (rcnot l4_l2_i23)) + (not (rcnot l3_l4_i25)) + (not (rcnot l3_l2_i26)) + (not (rcnot l4_l2_i30)) + (not (rcnot l3_l4_i31)) + (not (rcnot l2_l3_i32)) + (not (rcnot l3_l4_i34)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p16.pddl b/quantum-layout-opt23-strips/p16.pddl new file mode 100644 index 00000000..166dbee7 --- /dev/null +++ b/quantum-layout-opt23-strips/p16.pddl @@ -0,0 +1,134 @@ +;; Tokyo/Local_compact/problem_7_tof_4.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l1_l4_i1) + (rcnot l0_l4_i3) + (rcnot l1_l4_i5) + (rcnot l0_l4_i7) + (rcnot l4_l5_i11) + (rcnot l2_l5_i13) + (rcnot l4_l5_i15) + (rcnot l2_l5_i17) + (rcnot l5_l6_i21) + (rcnot l3_l6_i23) + (rcnot l5_l6_i25) + (rcnot l3_l6_i27) + (rcnot l3_l5_i28) + (rcnot l3_l5_i30) + (rcnot l4_l5_i34) + (rcnot l2_l5_i36) + (rcnot l4_l5_i38) + (rcnot l1_l4_i40) + (rcnot l0_l4_i42) + (rcnot l1_l4_i44) + (rcnot l0_l4_i46) + (rcnot l2_l5_i50) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l4_i1)) + (not (rcnot l0_l4_i3)) + (not (rcnot l1_l4_i5)) + (not (rcnot l0_l4_i7)) + (not (rcnot l4_l5_i11)) + (not (rcnot l2_l5_i13)) + (not (rcnot l4_l5_i15)) + (not (rcnot l2_l5_i17)) + (not (rcnot l5_l6_i21)) + (not (rcnot l3_l6_i23)) + (not (rcnot l5_l6_i25)) + (not (rcnot l3_l6_i27)) + (not (rcnot l3_l5_i28)) + (not (rcnot l3_l5_i30)) + (not (rcnot l4_l5_i34)) + (not (rcnot l2_l5_i36)) + (not (rcnot l4_l5_i38)) + (not (rcnot l1_l4_i40)) + (not (rcnot l0_l4_i42)) + (not (rcnot l1_l4_i44)) + (not (rcnot l0_l4_i46)) + (not (rcnot l2_l5_i50)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p17.pddl b/quantum-layout-opt23-strips/p17.pddl new file mode 100644 index 00000000..4d41e361 --- /dev/null +++ b/quantum-layout-opt23-strips/p17.pddl @@ -0,0 +1,170 @@ +;; Tokyo/Local_compact/problem_10_mod_mult_55.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l0_l7_i2) + (rcnot l2_l7_i4) + (rcnot l0_l7_i6) + (rcnot l2_l7_i8) + (rcnot l2_l0_i9) + (rcnot l2_l0_i12) + (rcnot l7_l6_i15) + (rcnot l1_l6_i17) + (rcnot l7_l6_i19) + (rcnot l1_l6_i21) + (rcnot l1_l7_i22) + (rcnot l6_l5_i25) + (rcnot l6_l3_i26) + (rcnot l1_l7_i30) + (rcnot l2_l8_i33) + (rcnot l0_l8_i35) + (rcnot l2_l8_i37) + (rcnot l0_l8_i39) + (rcnot l8_l7_i42) + (rcnot l7_l3_i43) + (rcnot l8_l6_i45) + (rcnot l1_l6_i47) + (rcnot l8_l6_i49) + (rcnot l1_l6_i51) + (rcnot l1_l8_i52) + (rcnot l6_l4_i55) + (rcnot l1_l8_i57) + (rcnot l1_l3_i58) + (rcnot l7_l3_i60) + (rcnot l1_l3_i62) + (rcnot l5_l8_i66) + (rcnot l1_l5_i68) + (rcnot l7_l5_i70) + (rcnot l1_l5_i72) + (rcnot l7_l5_i74) + (rcnot l2_l8_i79) + (rcnot l0_l8_i81) + (rcnot l2_l8_i83) + (rcnot l0_l8_i86) + (rcnot l5_l8_i90) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l7_i2)) + (not (rcnot l2_l7_i4)) + (not (rcnot l0_l7_i6)) + (not (rcnot l2_l7_i8)) + (not (rcnot l2_l0_i9)) + (not (rcnot l2_l0_i12)) + (not (rcnot l7_l6_i15)) + (not (rcnot l1_l6_i17)) + (not (rcnot l7_l6_i19)) + (not (rcnot l1_l6_i21)) + (not (rcnot l1_l7_i22)) + (not (rcnot l6_l5_i25)) + (not (rcnot l6_l3_i26)) + (not (rcnot l1_l7_i30)) + (not (rcnot l2_l8_i33)) + (not (rcnot l0_l8_i35)) + (not (rcnot l2_l8_i37)) + (not (rcnot l0_l8_i39)) + (not (rcnot l8_l7_i42)) + (not (rcnot l7_l3_i43)) + (not (rcnot l8_l6_i45)) + (not (rcnot l1_l6_i47)) + (not (rcnot l8_l6_i49)) + (not (rcnot l1_l6_i51)) + (not (rcnot l1_l8_i52)) + (not (rcnot l6_l4_i55)) + (not (rcnot l1_l8_i57)) + (not (rcnot l1_l3_i58)) + (not (rcnot l7_l3_i60)) + (not (rcnot l1_l3_i62)) + (not (rcnot l5_l8_i66)) + (not (rcnot l1_l5_i68)) + (not (rcnot l7_l5_i70)) + (not (rcnot l1_l5_i72)) + (not (rcnot l7_l5_i74)) + (not (rcnot l2_l8_i79)) + (not (rcnot l0_l8_i81)) + (not (rcnot l2_l8_i83)) + (not (rcnot l0_l8_i86)) + (not (rcnot l5_l8_i90)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p18.pddl b/quantum-layout-opt23-strips/p18.pddl new file mode 100644 index 00000000..f6168023 --- /dev/null +++ b/quantum-layout-opt23-strips/p18.pddl @@ -0,0 +1,190 @@ +;; Tokyo/Local_compact/problem_11_barenco_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l7_l8_i4) + (rcnot l4_l8_i6) + (rcnot l7_l8_i8) + (rcnot l4_l7_i9) + (rcnot l4_l7_i11) + (rcnot l6_l7_i13) + (rcnot l3_l7_i15) + (rcnot l6_l7_i17) + (rcnot l3_l6_i18) + (rcnot l3_l6_i20) + (rcnot l5_l6_i22) + (rcnot l2_l6_i24) + (rcnot l5_l6_i26) + (rcnot l2_l5_i27) + (rcnot l2_l5_i29) + (rcnot l1_l5_i31) + (rcnot l0_l5_i33) + (rcnot l1_l5_i35) + (rcnot l0_l5_i37) + (rcnot l5_l6_i40) + (rcnot l2_l6_i42) + (rcnot l5_l6_i44) + (rcnot l6_l7_i46) + (rcnot l3_l7_i48) + (rcnot l6_l7_i50) + (rcnot l7_l8_i52) + (rcnot l4_l8_i54) + (rcnot l7_l8_i56) + (rcnot l4_l7_i57) + (rcnot l4_l7_i59) + (rcnot l6_l7_i62) + (rcnot l3_l7_i64) + (rcnot l6_l7_i66) + (rcnot l5_l6_i68) + (rcnot l2_l6_i70) + (rcnot l5_l6_i72) + (rcnot l1_l5_i74) + (rcnot l0_l5_i76) + (rcnot l1_l5_i78) + (rcnot l0_l5_i80) + (rcnot l5_l6_i83) + (rcnot l2_l6_i85) + (rcnot l5_l6_i87) + (rcnot l2_l5_i88) + (rcnot l2_l5_i90) + (rcnot l6_l7_i93) + (rcnot l3_l7_i95) + (rcnot l6_l7_i97) + (rcnot l3_l6_i98) + (rcnot l3_l6_i100) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l7_l8_i4)) + (not (rcnot l4_l8_i6)) + (not (rcnot l7_l8_i8)) + (not (rcnot l4_l7_i9)) + (not (rcnot l4_l7_i11)) + (not (rcnot l6_l7_i13)) + (not (rcnot l3_l7_i15)) + (not (rcnot l6_l7_i17)) + (not (rcnot l3_l6_i18)) + (not (rcnot l3_l6_i20)) + (not (rcnot l5_l6_i22)) + (not (rcnot l2_l6_i24)) + (not (rcnot l5_l6_i26)) + (not (rcnot l2_l5_i27)) + (not (rcnot l2_l5_i29)) + (not (rcnot l1_l5_i31)) + (not (rcnot l0_l5_i33)) + (not (rcnot l1_l5_i35)) + (not (rcnot l0_l5_i37)) + (not (rcnot l5_l6_i40)) + (not (rcnot l2_l6_i42)) + (not (rcnot l5_l6_i44)) + (not (rcnot l6_l7_i46)) + (not (rcnot l3_l7_i48)) + (not (rcnot l6_l7_i50)) + (not (rcnot l7_l8_i52)) + (not (rcnot l4_l8_i54)) + (not (rcnot l7_l8_i56)) + (not (rcnot l4_l7_i57)) + (not (rcnot l4_l7_i59)) + (not (rcnot l6_l7_i62)) + (not (rcnot l3_l7_i64)) + (not (rcnot l6_l7_i66)) + (not (rcnot l5_l6_i68)) + (not (rcnot l2_l6_i70)) + (not (rcnot l5_l6_i72)) + (not (rcnot l1_l5_i74)) + (not (rcnot l0_l5_i76)) + (not (rcnot l1_l5_i78)) + (not (rcnot l0_l5_i80)) + (not (rcnot l5_l6_i83)) + (not (rcnot l2_l6_i85)) + (not (rcnot l5_l6_i87)) + (not (rcnot l2_l5_i88)) + (not (rcnot l2_l5_i90)) + (not (rcnot l6_l7_i93)) + (not (rcnot l3_l7_i95)) + (not (rcnot l6_l7_i97)) + (not (rcnot l3_l6_i98)) + (not (rcnot l3_l6_i100)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p19.pddl b/quantum-layout-opt23-strips/p19.pddl new file mode 100644 index 00000000..1cc81dc2 --- /dev/null +++ b/quantum-layout-opt23-strips/p19.pddl @@ -0,0 +1,190 @@ +;; Tokyo/Local_compact/problem_12_vbe_adder_3.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l2_l3_i1) + (rcnot l1_l3_i3) + (rcnot l2_l3_i4) + (rcnot l1_l3_i6) + (rcnot l1_l2_i7) + (rcnot l2_l3_i8) + (rcnot l0_l3_i9) + (rcnot l2_l3_i11) + (rcnot l0_l3_i13) + (rcnot l5_l6_i17) + (rcnot l4_l6_i19) + (rcnot l5_l6_i20) + (rcnot l4_l6_i22) + (rcnot l4_l5_i23) + (rcnot l5_l6_i24) + (rcnot l3_l6_i25) + (rcnot l5_l6_i27) + (rcnot l3_l6_i29) + (rcnot l8_l9_i36) + (rcnot l7_l9_i38) + (rcnot l8_l9_i39) + (rcnot l7_l9_i41) + (rcnot l7_l8_i42) + (rcnot l8_l9_i43) + (rcnot l6_l9_i44) + (rcnot l8_l9_i46) + (rcnot l6_l9_i48) + (rcnot l6_l8_i49) + (rcnot l5_l6_i52) + (rcnot l3_l6_i53) + (rcnot l5_l6_i55) + (rcnot l4_l5_i56) + (rcnot l3_l6_i58) + (rcnot l5_l6_i59) + (rcnot l4_l6_i61) + (rcnot l5_l6_i62) + (rcnot l3_l5_i63) + (rcnot l2_l3_i66) + (rcnot l0_l3_i67) + (rcnot l2_l3_i69) + (rcnot l1_l2_i70) + (rcnot l0_l3_i72) + (rcnot l2_l3_i73) + (rcnot l1_l3_i75) + (rcnot l2_l3_i76) + (rcnot l0_l2_i77) + (rcnot l1_l3_i79) + (rcnot l1_l2_i80) + (rcnot l4_l6_i83) + (rcnot l4_l5_i84) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l2_l3_i1)) + (not (rcnot l1_l3_i3)) + (not (rcnot l2_l3_i4)) + (not (rcnot l1_l3_i6)) + (not (rcnot l1_l2_i7)) + (not (rcnot l2_l3_i8)) + (not (rcnot l0_l3_i9)) + (not (rcnot l2_l3_i11)) + (not (rcnot l0_l3_i13)) + (not (rcnot l5_l6_i17)) + (not (rcnot l4_l6_i19)) + (not (rcnot l5_l6_i20)) + (not (rcnot l4_l6_i22)) + (not (rcnot l4_l5_i23)) + (not (rcnot l5_l6_i24)) + (not (rcnot l3_l6_i25)) + (not (rcnot l5_l6_i27)) + (not (rcnot l3_l6_i29)) + (not (rcnot l8_l9_i36)) + (not (rcnot l7_l9_i38)) + (not (rcnot l8_l9_i39)) + (not (rcnot l7_l9_i41)) + (not (rcnot l7_l8_i42)) + (not (rcnot l8_l9_i43)) + (not (rcnot l6_l9_i44)) + (not (rcnot l8_l9_i46)) + (not (rcnot l6_l9_i48)) + (not (rcnot l6_l8_i49)) + (not (rcnot l5_l6_i52)) + (not (rcnot l3_l6_i53)) + (not (rcnot l5_l6_i55)) + (not (rcnot l4_l5_i56)) + (not (rcnot l3_l6_i58)) + (not (rcnot l5_l6_i59)) + (not (rcnot l4_l6_i61)) + (not (rcnot l5_l6_i62)) + (not (rcnot l3_l5_i63)) + (not (rcnot l2_l3_i66)) + (not (rcnot l0_l3_i67)) + (not (rcnot l2_l3_i69)) + (not (rcnot l1_l2_i70)) + (not (rcnot l0_l3_i72)) + (not (rcnot l2_l3_i73)) + (not (rcnot l1_l3_i75)) + (not (rcnot l2_l3_i76)) + (not (rcnot l0_l2_i77)) + (not (rcnot l1_l3_i79)) + (not (rcnot l1_l2_i80)) + (not (rcnot l4_l6_i83)) + (not (rcnot l4_l5_i84)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-opt23-strips/p20.pddl b/quantum-layout-opt23-strips/p20.pddl new file mode 100644 index 00000000..ee55f557 --- /dev/null +++ b/quantum-layout-opt23-strips/p20.pddl @@ -0,0 +1,232 @@ +;; Tokyo/Local_compact/problem_13_rc_adder_6.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l4_l3_i0) + (rcnot l4_l2_i1) + (rcnot l1_l2_i3) + (rcnot l0_l2_i5) + (rcnot l1_l2_i7) + (rcnot l0_l2_i9) + (rcnot l6_l5_i12) + (rcnot l6_l4_i13) + (rcnot l3_l4_i15) + (rcnot l2_l4_i17) + (rcnot l3_l4_i19) + (rcnot l2_l4_i21) + (rcnot l2_l3_i22) + (rcnot l8_l7_i25) + (rcnot l8_l6_i26) + (rcnot l5_l6_i28) + (rcnot l4_l6_i30) + (rcnot l5_l6_i32) + (rcnot l4_l6_i34) + (rcnot l4_l5_i35) + (rcnot l10_l9_i38) + (rcnot l10_l8_i39) + (rcnot l7_l8_i41) + (rcnot l6_l8_i43) + (rcnot l7_l8_i45) + (rcnot l6_l8_i47) + (rcnot l6_l7_i48) + (rcnot l12_l11_i51) + (rcnot l12_l10_i53) + (rcnot l9_l10_i55) + (rcnot l8_l10_i57) + (rcnot l9_l10_i59) + (rcnot l8_l10_i61) + (rcnot l8_l9_i65) + (rcnot l12_l13_i66) + (rcnot l11_l13_i68) + (rcnot l10_l13_i70) + (rcnot l11_l13_i72) + (rcnot l10_l13_i74) + (rcnot l10_l11_i75) + (rcnot l8_l10_i80) + (rcnot l9_l10_i82) + (rcnot l8_l10_i84) + (rcnot l6_l8_i87) + (rcnot l7_l8_i89) + (rcnot l6_l8_i91) + (rcnot l4_l6_i93) + (rcnot l5_l6_i95) + (rcnot l4_l6_i97) + (rcnot l2_l4_i99) + (rcnot l3_l4_i101) + (rcnot l2_l4_i103) + (rcnot l1_l2_i105) + (rcnot l0_l2_i107) + (rcnot l1_l2_i109) + (rcnot l0_l2_i111) + (rcnot l1_l0_i112) + (rcnot l3_l4_i116) + (rcnot l5_l6_i120) + (rcnot l7_l8_i124) + (rcnot l9_l10_i127) + (rcnot l12_l10_i130) + (rcnot l10_l8_i131) + (rcnot l10_l9_i132) + (rcnot l12_l11_i133) + (rcnot l8_l6_i134) + (rcnot l6_l4_i135) + (rcnot l4_l2_i136) + (rcnot l4_l3_i137) + (rcnot l6_l5_i138) + (rcnot l8_l7_i139) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l4_l3_i0)) + (not (rcnot l4_l2_i1)) + (not (rcnot l1_l2_i3)) + (not (rcnot l0_l2_i5)) + (not (rcnot l1_l2_i7)) + (not (rcnot l0_l2_i9)) + (not (rcnot l6_l5_i12)) + (not (rcnot l6_l4_i13)) + (not (rcnot l3_l4_i15)) + (not (rcnot l2_l4_i17)) + (not (rcnot l3_l4_i19)) + (not (rcnot l2_l4_i21)) + (not (rcnot l2_l3_i22)) + (not (rcnot l8_l7_i25)) + (not (rcnot l8_l6_i26)) + (not (rcnot l5_l6_i28)) + (not (rcnot l4_l6_i30)) + (not (rcnot l5_l6_i32)) + (not (rcnot l4_l6_i34)) + (not (rcnot l4_l5_i35)) + (not (rcnot l10_l9_i38)) + (not (rcnot l10_l8_i39)) + (not (rcnot l7_l8_i41)) + (not (rcnot l6_l8_i43)) + (not (rcnot l7_l8_i45)) + (not (rcnot l6_l8_i47)) + (not (rcnot l6_l7_i48)) + (not (rcnot l12_l11_i51)) + (not (rcnot l12_l10_i53)) + (not (rcnot l9_l10_i55)) + (not (rcnot l8_l10_i57)) + (not (rcnot l9_l10_i59)) + (not (rcnot l8_l10_i61)) + (not (rcnot l8_l9_i65)) + (not (rcnot l12_l13_i66)) + (not (rcnot l11_l13_i68)) + (not (rcnot l10_l13_i70)) + (not (rcnot l11_l13_i72)) + (not (rcnot l10_l13_i74)) + (not (rcnot l10_l11_i75)) + (not (rcnot l8_l10_i80)) + (not (rcnot l9_l10_i82)) + (not (rcnot l8_l10_i84)) + (not (rcnot l6_l8_i87)) + (not (rcnot l7_l8_i89)) + (not (rcnot l6_l8_i91)) + (not (rcnot l4_l6_i93)) + (not (rcnot l5_l6_i95)) + (not (rcnot l4_l6_i97)) + (not (rcnot l2_l4_i99)) + (not (rcnot l3_l4_i101)) + (not (rcnot l2_l4_i103)) + (not (rcnot l1_l2_i105)) + (not (rcnot l0_l2_i107)) + (not (rcnot l1_l2_i109)) + (not (rcnot l0_l2_i111)) + (not (rcnot l1_l0_i112)) + (not (rcnot l3_l4_i116)) + (not (rcnot l5_l6_i120)) + (not (rcnot l7_l8_i124)) + (not (rcnot l9_l10_i127)) + (not (rcnot l12_l10_i130)) + (not (rcnot l10_l8_i131)) + (not (rcnot l10_l9_i132)) + (not (rcnot l12_l11_i133)) + (not (rcnot l8_l6_i134)) + (not (rcnot l6_l4_i135)) + (not (rcnot l4_l2_i136)) + (not (rcnot l4_l3_i137)) + (not (rcnot l6_l5_i138)) + (not (rcnot l8_l7_i139)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/domain_p01.pddl b/quantum-layout-sat23-strips/domain_p01.pddl new file mode 100644 index 00000000..73162b51 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p01.pddl @@ -0,0 +1,196 @@ +;; Melbourne/Local_compact/domain_8_barenco_tof_4.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l5_l6_i3 l3_l6_i5 l5_l6_i7 l3_l5_i8 l3_l5_i10 l4_l5_i12 l2_l5_i14 l4_l5_i16 l2_l4_i17 l2_l4_i19 l1_l4_i21 l0_l4_i23 l1_l4_i25 l0_l4_i27 l4_l5_i30 l2_l5_i32 l4_l5_i34 l5_l6_i36 l3_l6_i38 l5_l6_i40 l3_l5_i41 l3_l5_i43 l4_l5_i46 l2_l5_i48 l4_l5_i50 l1_l4_i52 l0_l4_i54 l1_l4_i56 l0_l4_i58 l4_l5_i61 l2_l5_i63 l4_l5_i65 l2_l4_i66 l2_l4_i68 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l5_l6_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i3)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l6_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i3)) (mapped l6 ?p2) (rcnot l3_l6_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i5)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i3)) (mapped l5 ?p1) (not (rcnot l3_l6_i5)) (mapped l6 ?p2) (rcnot l5_l6_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i7))) +) +(:action apply_cnot_l3_l5_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i5)) (mapped l3 ?p1) (not (rcnot l5_l6_i7)) (mapped l5 ?p2) (rcnot l3_l5_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i8))) +) +(:action apply_cnot_l3_l5_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i8)) (mapped l3 ?p1) (not (rcnot l3_l5_i8)) (mapped l5 ?p2) (rcnot l3_l5_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i10))) +) +(:action apply_cnot_l4_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l5_i10)) (mapped l5 ?p2) (rcnot l4_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i12)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l5_i14 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l5_i12)) (mapped l5 ?p2) (rcnot l2_l5_i14) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i14)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l5_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i12)) (mapped l4 ?p1) (not (rcnot l2_l5_i14)) (mapped l5 ?p2) (rcnot l4_l5_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i16))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i14)) (mapped l2 ?p1) (not (rcnot l4_l5_i16)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l2_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l2_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i19))) +) +(:action apply_cnot_l1_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l4_i19)) (mapped l4 ?p2) (rcnot l1_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i21)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l4_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l4_i21)) (mapped l4 ?p2) (rcnot l0_l4_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i23)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l4_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i21)) (mapped l1 ?p1) (not (rcnot l0_l4_i23)) (mapped l4 ?p2) (rcnot l1_l4_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i25))) +) +(:action apply_cnot_l0_l4_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i23)) (mapped l0 ?p1) (not (rcnot l1_l4_i25)) (mapped l4 ?p2) (rcnot l0_l4_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i27))) +) +(:action apply_cnot_l4_l5_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i27)) (mapped l4 ?p1) (not (rcnot l4_l5_i16)) (mapped l5 ?p2) (rcnot l4_l5_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i30))) +) +(:action apply_cnot_l2_l5_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i19)) (mapped l2 ?p1) (not (rcnot l4_l5_i30)) (mapped l5 ?p2) (rcnot l2_l5_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i32))) +) +(:action apply_cnot_l4_l5_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i30)) (mapped l4 ?p1) (not (rcnot l2_l5_i32)) (mapped l5 ?p2) (rcnot l4_l5_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i34))) +) +(:action apply_cnot_l5_l6_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l5 ?p1) (not (rcnot l5_l6_i7)) (mapped l6 ?p2) (rcnot l5_l6_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i36))) +) +(:action apply_cnot_l3_l6_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i10)) (mapped l3 ?p1) (not (rcnot l5_l6_i36)) (mapped l6 ?p2) (rcnot l3_l6_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i38))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i36)) (mapped l5 ?p1) (not (rcnot l3_l6_i38)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l3_l5_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i38)) (mapped l3 ?p1) (not (rcnot l5_l6_i40)) (mapped l5 ?p2) (rcnot l3_l5_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i41))) +) +(:action apply_cnot_l3_l5_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i41)) (mapped l3 ?p1) (not (rcnot l3_l5_i41)) (mapped l5 ?p2) (rcnot l3_l5_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i43))) +) +(:action apply_cnot_l4_l5_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l4 ?p1) (not (rcnot l3_l5_i43)) (mapped l5 ?p2) (rcnot l4_l5_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i46))) +) +(:action apply_cnot_l2_l5_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i32)) (mapped l2 ?p1) (not (rcnot l4_l5_i46)) (mapped l5 ?p2) (rcnot l2_l5_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i48))) +) +(:action apply_cnot_l4_l5_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i46)) (mapped l4 ?p1) (not (rcnot l2_l5_i48)) (mapped l5 ?p2) (rcnot l4_l5_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i50))) +) +(:action apply_cnot_l1_l4_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i25)) (mapped l1 ?p1) (not (rcnot l4_l5_i50)) (mapped l4 ?p2) (rcnot l1_l4_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i52))) +) +(:action apply_cnot_l0_l4_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i27)) (mapped l0 ?p1) (not (rcnot l1_l4_i52)) (mapped l4 ?p2) (rcnot l0_l4_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i54))) +) +(:action apply_cnot_l1_l4_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i52)) (mapped l1 ?p1) (not (rcnot l0_l4_i54)) (mapped l4 ?p2) (rcnot l1_l4_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i56))) +) +(:action apply_cnot_l0_l4_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i54)) (mapped l0 ?p1) (not (rcnot l1_l4_i56)) (mapped l4 ?p2) (rcnot l0_l4_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i58))) +) +(:action apply_cnot_l4_l5_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i58)) (mapped l4 ?p1) (not (rcnot l4_l5_i50)) (mapped l5 ?p2) (rcnot l4_l5_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i61))) +) +(:action apply_cnot_l2_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i48)) (mapped l2 ?p1) (not (rcnot l4_l5_i61)) (mapped l5 ?p2) (rcnot l2_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i63))) +) +(:action apply_cnot_l4_l5_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i61)) (mapped l4 ?p1) (not (rcnot l2_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i65))) +) +(:action apply_cnot_l2_l4_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i63)) (mapped l2 ?p1) (not (rcnot l4_l5_i65)) (mapped l4 ?p2) (rcnot l2_l4_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i66))) +) +(:action apply_cnot_l2_l4_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i66)) (mapped l2 ?p1) (not (rcnot l2_l4_i66)) (mapped l4 ?p2) (rcnot l2_l4_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i68))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p02.pddl b/quantum-layout-sat23-strips/domain_p02.pddl new file mode 100644 index 00000000..00def923 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p02.pddl @@ -0,0 +1,176 @@ +;; Melbourne/Local_compact/domain_9_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l5_i1 l0_l5_i3 l1_l5_i5 l0_l5_i7 l5_l6_i11 l2_l6_i13 l5_l6_i15 l2_l6_i17 l6_l7_i21 l3_l7_i23 l6_l7_i25 l3_l7_i27 l7_l8_i31 l4_l8_i33 l7_l8_i35 l4_l8_i37 l4_l7_i38 l4_l7_i40 l6_l7_i44 l3_l7_i46 l6_l7_i48 l5_l6_i50 l2_l6_i52 l5_l6_i54 l1_l5_i56 l0_l5_i58 l1_l5_i60 l0_l5_i62 l2_l6_i66 l3_l7_i70 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l5_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l5_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i1)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l5_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i1)) (mapped l5 ?p2) (rcnot l0_l5_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i3)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i1)) (mapped l1 ?p1) (not (rcnot l0_l5_i3)) (mapped l5 ?p2) (rcnot l1_l5_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i5))) +) +(:action apply_cnot_l0_l5_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i3)) (mapped l0 ?p1) (not (rcnot l1_l5_i5)) (mapped l5 ?p2) (rcnot l0_l5_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i7))) +) +(:action apply_cnot_l5_l6_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i7)) (mapped l5 ?p1) (not (initialized ?p2)) (rcnot l5_l6_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i11)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l6_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i11)) (mapped l6 ?p2) (rcnot l2_l6_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i13)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i11)) (mapped l5 ?p1) (not (rcnot l2_l6_i13)) (mapped l6 ?p2) (rcnot l5_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i15))) +) +(:action apply_cnot_l2_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i13)) (mapped l2 ?p1) (not (rcnot l5_l6_i15)) (mapped l6 ?p2) (rcnot l2_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i17))) +) +(:action apply_cnot_l6_l7_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i17)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l7_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i21)) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l7_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i21)) (mapped l7 ?p2) (rcnot l3_l7_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i23)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i21)) (mapped l6 ?p1) (not (rcnot l3_l7_i23)) (mapped l7 ?p2) (rcnot l6_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i25))) +) +(:action apply_cnot_l3_l7_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i23)) (mapped l3 ?p1) (not (rcnot l6_l7_i25)) (mapped l7 ?p2) (rcnot l3_l7_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i27))) +) +(:action apply_cnot_l7_l8_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i27)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l8_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i31)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i31)) (mapped l8 ?p2) (rcnot l4_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i33)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i31)) (mapped l7 ?p1) (not (rcnot l4_l8_i33)) (mapped l8 ?p2) (rcnot l7_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i35))) +) +(:action apply_cnot_l4_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i33)) (mapped l4 ?p1) (not (rcnot l7_l8_i35)) (mapped l8 ?p2) (rcnot l4_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i37))) +) +(:action apply_cnot_l4_l7_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i37)) (mapped l4 ?p1) (not (rcnot l7_l8_i35)) (mapped l7 ?p2) (rcnot l4_l7_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i38))) +) +(:action apply_cnot_l4_l7_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i38)) (mapped l4 ?p1) (not (rcnot l4_l7_i38)) (mapped l7 ?p2) (rcnot l4_l7_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i40))) +) +(:action apply_cnot_l6_l7_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i25)) (mapped l6 ?p1) (not (rcnot l4_l7_i40)) (mapped l7 ?p2) (rcnot l6_l7_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i44))) +) +(:action apply_cnot_l3_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i27)) (mapped l3 ?p1) (not (rcnot l6_l7_i44)) (mapped l7 ?p2) (rcnot l3_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i46))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i44)) (mapped l6 ?p1) (not (rcnot l3_l7_i46)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l5_l6_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i15)) (mapped l5 ?p1) (not (rcnot l6_l7_i48)) (mapped l6 ?p2) (rcnot l5_l6_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i50))) +) +(:action apply_cnot_l2_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i17)) (mapped l2 ?p1) (not (rcnot l5_l6_i50)) (mapped l6 ?p2) (rcnot l2_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i52))) +) +(:action apply_cnot_l5_l6_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i50)) (mapped l5 ?p1) (not (rcnot l2_l6_i52)) (mapped l6 ?p2) (rcnot l5_l6_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i54))) +) +(:action apply_cnot_l1_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i5)) (mapped l1 ?p1) (not (rcnot l5_l6_i54)) (mapped l5 ?p2) (rcnot l1_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i56))) +) +(:action apply_cnot_l0_l5_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i7)) (mapped l0 ?p1) (not (rcnot l1_l5_i56)) (mapped l5 ?p2) (rcnot l0_l5_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i58))) +) +(:action apply_cnot_l1_l5_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i56)) (mapped l1 ?p1) (not (rcnot l0_l5_i58)) (mapped l5 ?p2) (rcnot l1_l5_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i60))) +) +(:action apply_cnot_l0_l5_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i58)) (mapped l0 ?p1) (not (rcnot l1_l5_i60)) (mapped l5 ?p2) (rcnot l0_l5_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i62))) +) +(:action apply_cnot_l2_l6_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i52)) (mapped l2 ?p1) (not (rcnot l5_l6_i54)) (mapped l6 ?p2) (rcnot l2_l6_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i66))) +) +(:action apply_cnot_l3_l7_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i46)) (mapped l3 ?p1) (not (rcnot l6_l7_i48)) (mapped l7 ?p2) (rcnot l3_l7_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i70))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p03.pddl b/quantum-layout-sat23-strips/domain_p03.pddl new file mode 100644 index 00000000..40602083 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p03.pddl @@ -0,0 +1,226 @@ +;; Melbourne/Local_compact/domain_10_mod_mult_55.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l7_i2 l2_l7_i4 l0_l7_i6 l2_l7_i8 l2_l0_i9 l2_l0_i12 l7_l6_i15 l1_l6_i17 l7_l6_i19 l1_l6_i21 l1_l7_i22 l6_l5_i25 l6_l3_i26 l1_l7_i30 l2_l8_i33 l0_l8_i35 l2_l8_i37 l0_l8_i39 l8_l7_i42 l7_l3_i43 l8_l6_i45 l1_l6_i47 l8_l6_i49 l1_l6_i51 l1_l8_i52 l6_l4_i55 l1_l8_i57 l1_l3_i58 l7_l3_i60 l1_l3_i62 l5_l8_i66 l1_l5_i68 l7_l5_i70 l1_l5_i72 l7_l5_i74 l2_l8_i79 l0_l8_i81 l2_l8_i83 l0_l8_i86 l5_l8_i90 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l7_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l7_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l7_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l7_i2)) (mapped l7 ?p2) (rcnot l2_l7_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l7_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (not (rcnot l2_l7_i4)) (mapped l7 ?p2) (rcnot l0_l7_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i6))) +) +(:action apply_cnot_l2_l7_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l7 ?p2) (rcnot l2_l7_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i8))) +) +(:action apply_cnot_l2_l0_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l0 ?p2) (rcnot l2_l0_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i9))) +) +(:action apply_cnot_l2_l0_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i9)) (mapped l2 ?p1) (not (rcnot l2_l0_i9)) (mapped l0 ?p2) (rcnot l2_l0_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i12))) +) +(:action apply_cnot_l7_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (rcnot l1_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l6_i15)) (mapped l7 ?p1) (not (rcnot l1_l6_i17)) (mapped l6 ?p2) (rcnot l7_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i19))) +) +(:action apply_cnot_l1_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l6 ?p2) (rcnot l1_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i21))) +) +(:action apply_cnot_l1_l7_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l7 ?p2) (rcnot l1_l7_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i22))) +) +(:action apply_cnot_l6_l5_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l5_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i25)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l3_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l3_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l7_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i22)) (mapped l1 ?p1) (not (rcnot l1_l7_i22)) (mapped l7 ?p2) (rcnot l1_l7_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i30))) +) +(:action apply_cnot_l2_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l2 ?p1) (not (initialized ?p2)) (rcnot l2_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l0 ?p1) (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (rcnot l0_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i35))) +) +(:action apply_cnot_l2_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i33)) (mapped l2 ?p1) (not (rcnot l0_l8_i35)) (mapped l8 ?p2) (rcnot l2_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i37))) +) +(:action apply_cnot_l0_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i35)) (mapped l0 ?p1) (not (rcnot l2_l8_i37)) (mapped l8 ?p2) (rcnot l0_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i39))) +) +(:action apply_cnot_l8_l7_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l8 ?p1) (not (rcnot l1_l7_i30)) (mapped l7 ?p2) (rcnot l8_l7_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i42))) +) +(:action apply_cnot_l7_l3_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l7 ?p1) (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (rcnot l7_l3_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i43))) +) +(:action apply_cnot_l8_l6_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l8 ?p1) (not (rcnot l6_l3_i26)) (mapped l6 ?p2) (rcnot l8_l6_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i45))) +) +(:action apply_cnot_l1_l6_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i30)) (mapped l1 ?p1) (not (rcnot l8_l6_i45)) (mapped l6 ?p2) (rcnot l1_l6_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i47))) +) +(:action apply_cnot_l8_l6_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i45)) (mapped l8 ?p1) (not (rcnot l1_l6_i47)) (mapped l6 ?p2) (rcnot l8_l6_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i49))) +) +(:action apply_cnot_l1_l6_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i47)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l6 ?p2) (rcnot l1_l6_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i51))) +) +(:action apply_cnot_l1_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l8 ?p2) (rcnot l1_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i52))) +) +(:action apply_cnot_l6_l4_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l4_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i55)) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l8_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i52)) (mapped l1 ?p1) (not (rcnot l1_l8_i52)) (mapped l8 ?p2) (rcnot l1_l8_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i57))) +) +(:action apply_cnot_l1_l3_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i57)) (mapped l1 ?p1) (not (rcnot l7_l3_i43)) (mapped l3 ?p2) (rcnot l1_l3_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i58))) +) +(:action apply_cnot_l7_l3_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i43)) (mapped l7 ?p1) (not (rcnot l1_l3_i58)) (mapped l3 ?p2) (rcnot l7_l3_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i60))) +) +(:action apply_cnot_l1_l3_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i58)) (mapped l1 ?p1) (not (rcnot l7_l3_i60)) (mapped l3 ?p2) (rcnot l1_l3_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i62))) +) +(:action apply_cnot_l5_l8_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l5 ?p1) (not (rcnot l1_l8_i57)) (mapped l8 ?p2) (rcnot l5_l8_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i66))) +) +(:action apply_cnot_l1_l5_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i62)) (mapped l1 ?p1) (not (rcnot l5_l8_i66)) (mapped l5 ?p2) (rcnot l1_l5_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i68))) +) +(:action apply_cnot_l7_l5_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i60)) (mapped l7 ?p1) (not (rcnot l1_l5_i68)) (mapped l5 ?p2) (rcnot l7_l5_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i70))) +) +(:action apply_cnot_l1_l5_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i68)) (mapped l1 ?p1) (not (rcnot l7_l5_i70)) (mapped l5 ?p2) (rcnot l1_l5_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i72))) +) +(:action apply_cnot_l7_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i70)) (mapped l7 ?p1) (not (rcnot l1_l5_i72)) (mapped l5 ?p2) (rcnot l7_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i74))) +) +(:action apply_cnot_l2_l8_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i37)) (mapped l2 ?p1) (not (rcnot l5_l8_i66)) (mapped l8 ?p2) (rcnot l2_l8_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i79))) +) +(:action apply_cnot_l0_l8_i81 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l0 ?p1) (not (rcnot l2_l8_i79)) (mapped l8 ?p2) (rcnot l0_l8_i81) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i81))) +) +(:action apply_cnot_l2_l8_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i79)) (mapped l2 ?p1) (not (rcnot l0_l8_i81)) (mapped l8 ?p2) (rcnot l2_l8_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i83))) +) +(:action apply_cnot_l0_l8_i86 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i81)) (mapped l0 ?p1) (not (rcnot l2_l8_i83)) (mapped l8 ?p2) (rcnot l0_l8_i86) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i86))) +) +(:action apply_cnot_l5_l8_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i74)) (mapped l5 ?p1) (not (rcnot l0_l8_i86)) (mapped l8 ?p2) (rcnot l5_l8_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i90))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p04.pddl b/quantum-layout-sat23-strips/domain_p04.pddl new file mode 100644 index 00000000..496f586b --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p04.pddl @@ -0,0 +1,276 @@ +;; Melbourne/Local_compact/domain_11_barenco_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l7_l8_i4 l4_l8_i6 l7_l8_i8 l4_l7_i9 l4_l7_i11 l6_l7_i13 l3_l7_i15 l6_l7_i17 l3_l6_i18 l3_l6_i20 l5_l6_i22 l2_l6_i24 l5_l6_i26 l2_l5_i27 l2_l5_i29 l1_l5_i31 l0_l5_i33 l1_l5_i35 l0_l5_i37 l5_l6_i40 l2_l6_i42 l5_l6_i44 l6_l7_i46 l3_l7_i48 l6_l7_i50 l7_l8_i52 l4_l8_i54 l7_l8_i56 l4_l7_i57 l4_l7_i59 l6_l7_i62 l3_l7_i64 l6_l7_i66 l5_l6_i68 l2_l6_i70 l5_l6_i72 l1_l5_i74 l0_l5_i76 l1_l5_i78 l0_l5_i80 l5_l6_i83 l2_l6_i85 l5_l6_i87 l2_l5_i88 l2_l5_i90 l6_l7_i93 l3_l7_i95 l6_l7_i97 l3_l6_i98 l3_l6_i100 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l8_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l7_l8_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i4)) (mapped l8 ?p2) (rcnot l4_l8_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (not (rcnot l4_l8_i6)) (mapped l8 ?p2) (rcnot l7_l8_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i8))) +) +(:action apply_cnot_l4_l7_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (not (rcnot l7_l8_i8)) (mapped l7 ?p2) (rcnot l4_l7_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i9))) +) +(:action apply_cnot_l4_l7_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i9)) (mapped l4 ?p1) (not (rcnot l4_l7_i9)) (mapped l7 ?p2) (rcnot l4_l7_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i11))) +) +(:action apply_cnot_l6_l7_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l7_i11)) (mapped l7 ?p2) (rcnot l6_l7_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l3_l7_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i13)) (mapped l7 ?p2) (rcnot l3_l7_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (not (rcnot l3_l7_i15)) (mapped l7 ?p2) (rcnot l6_l7_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i17))) +) +(:action apply_cnot_l3_l6_i18 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (not (rcnot l6_l7_i17)) (mapped l6 ?p2) (rcnot l3_l6_i18) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i18))) +) +(:action apply_cnot_l3_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i18)) (mapped l3 ?p1) (not (rcnot l3_l6_i18)) (mapped l6 ?p2) (rcnot l3_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i20))) +) +(:action apply_cnot_l5_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l6_i20)) (mapped l6 ?p2) (rcnot l5_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i22)) (mapped l6 ?p2) (rcnot l2_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (not (rcnot l2_l6_i24)) (mapped l6 ?p2) (rcnot l5_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i26))) +) +(:action apply_cnot_l2_l5_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (not (rcnot l5_l6_i26)) (mapped l5 ?p2) (rcnot l2_l5_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i27))) +) +(:action apply_cnot_l2_l5_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i27)) (mapped l2 ?p1) (not (rcnot l2_l5_i27)) (mapped l5 ?p2) (rcnot l2_l5_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i29))) +) +(:action apply_cnot_l1_l5_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l5_i29)) (mapped l5 ?p2) (rcnot l1_l5_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l5_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i31)) (mapped l5 ?p2) (rcnot l0_l5_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (not (rcnot l0_l5_i33)) (mapped l5 ?p2) (rcnot l1_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i35))) +) +(:action apply_cnot_l0_l5_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (not (rcnot l1_l5_i35)) (mapped l5 ?p2) (rcnot l0_l5_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i37))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l5 ?p1) (not (rcnot l5_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l2_l6_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i29)) (mapped l2 ?p1) (not (rcnot l5_l6_i40)) (mapped l6 ?p2) (rcnot l2_l6_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i42))) +) +(:action apply_cnot_l5_l6_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i40)) (mapped l5 ?p1) (not (rcnot l2_l6_i42)) (mapped l6 ?p2) (rcnot l5_l6_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i44))) +) +(:action apply_cnot_l6_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l6 ?p1) (not (rcnot l6_l7_i17)) (mapped l7 ?p2) (rcnot l6_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i46))) +) +(:action apply_cnot_l3_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i20)) (mapped l3 ?p1) (not (rcnot l6_l7_i46)) (mapped l7 ?p2) (rcnot l3_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i48))) +) +(:action apply_cnot_l6_l7_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i46)) (mapped l6 ?p1) (not (rcnot l3_l7_i48)) (mapped l7 ?p2) (rcnot l6_l7_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i50))) +) +(:action apply_cnot_l7_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l7 ?p1) (not (rcnot l7_l8_i8)) (mapped l8 ?p2) (rcnot l7_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i52))) +) +(:action apply_cnot_l4_l8_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i11)) (mapped l4 ?p1) (not (rcnot l7_l8_i52)) (mapped l8 ?p2) (rcnot l4_l8_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i54))) +) +(:action apply_cnot_l7_l8_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i52)) (mapped l7 ?p1) (not (rcnot l4_l8_i54)) (mapped l8 ?p2) (rcnot l7_l8_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i56))) +) +(:action apply_cnot_l4_l7_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i54)) (mapped l4 ?p1) (not (rcnot l7_l8_i56)) (mapped l7 ?p2) (rcnot l4_l7_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i57))) +) +(:action apply_cnot_l4_l7_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i57)) (mapped l4 ?p1) (not (rcnot l4_l7_i57)) (mapped l7 ?p2) (rcnot l4_l7_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i59))) +) +(:action apply_cnot_l6_l7_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l6 ?p1) (not (rcnot l4_l7_i59)) (mapped l7 ?p2) (rcnot l6_l7_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i62))) +) +(:action apply_cnot_l3_l7_i64 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i48)) (mapped l3 ?p1) (not (rcnot l6_l7_i62)) (mapped l7 ?p2) (rcnot l3_l7_i64) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i64))) +) +(:action apply_cnot_l6_l7_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i62)) (mapped l6 ?p1) (not (rcnot l3_l7_i64)) (mapped l7 ?p2) (rcnot l6_l7_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i66))) +) +(:action apply_cnot_l5_l6_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l5 ?p1) (not (rcnot l6_l7_i66)) (mapped l6 ?p2) (rcnot l5_l6_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i68))) +) +(:action apply_cnot_l2_l6_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i42)) (mapped l2 ?p1) (not (rcnot l5_l6_i68)) (mapped l6 ?p2) (rcnot l2_l6_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i70))) +) +(:action apply_cnot_l5_l6_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i68)) (mapped l5 ?p1) (not (rcnot l2_l6_i70)) (mapped l6 ?p2) (rcnot l5_l6_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i72))) +) +(:action apply_cnot_l1_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i35)) (mapped l1 ?p1) (not (rcnot l5_l6_i72)) (mapped l5 ?p2) (rcnot l1_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i74))) +) +(:action apply_cnot_l0_l5_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l0 ?p1) (not (rcnot l1_l5_i74)) (mapped l5 ?p2) (rcnot l0_l5_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i76))) +) +(:action apply_cnot_l1_l5_i78 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i74)) (mapped l1 ?p1) (not (rcnot l0_l5_i76)) (mapped l5 ?p2) (rcnot l1_l5_i78) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i78))) +) +(:action apply_cnot_l0_l5_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i76)) (mapped l0 ?p1) (not (rcnot l1_l5_i78)) (mapped l5 ?p2) (rcnot l0_l5_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i80))) +) +(:action apply_cnot_l5_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i80)) (mapped l5 ?p1) (not (rcnot l5_l6_i72)) (mapped l6 ?p2) (rcnot l5_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i83))) +) +(:action apply_cnot_l2_l6_i85 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i70)) (mapped l2 ?p1) (not (rcnot l5_l6_i83)) (mapped l6 ?p2) (rcnot l2_l6_i85) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i85))) +) +(:action apply_cnot_l5_l6_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i83)) (mapped l5 ?p1) (not (rcnot l2_l6_i85)) (mapped l6 ?p2) (rcnot l5_l6_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i87))) +) +(:action apply_cnot_l2_l5_i88 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i85)) (mapped l2 ?p1) (not (rcnot l5_l6_i87)) (mapped l5 ?p2) (rcnot l2_l5_i88) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i88))) +) +(:action apply_cnot_l2_l5_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i88)) (mapped l2 ?p1) (not (rcnot l2_l5_i88)) (mapped l5 ?p2) (rcnot l2_l5_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i90))) +) +(:action apply_cnot_l6_l7_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i87)) (mapped l6 ?p1) (not (rcnot l6_l7_i66)) (mapped l7 ?p2) (rcnot l6_l7_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i93))) +) +(:action apply_cnot_l3_l7_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i64)) (mapped l3 ?p1) (not (rcnot l6_l7_i93)) (mapped l7 ?p2) (rcnot l3_l7_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i95))) +) +(:action apply_cnot_l6_l7_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i93)) (mapped l6 ?p1) (not (rcnot l3_l7_i95)) (mapped l7 ?p2) (rcnot l6_l7_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i97))) +) +(:action apply_cnot_l3_l6_i98 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i95)) (mapped l3 ?p1) (not (rcnot l6_l7_i97)) (mapped l6 ?p2) (rcnot l3_l6_i98) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i98))) +) +(:action apply_cnot_l3_l6_i100 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i98)) (mapped l3 ?p1) (not (rcnot l3_l6_i98)) (mapped l6 ?p2) (rcnot l3_l6_i100) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i100))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p05.pddl b/quantum-layout-sat23-strips/domain_p05.pddl new file mode 100644 index 00000000..a3fdff19 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p05.pddl @@ -0,0 +1,276 @@ +;; Melbourne/Local_compact/domain_12_vbe_adder_3.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l2_l3_i1 l1_l3_i3 l2_l3_i4 l1_l3_i6 l1_l2_i7 l2_l3_i8 l0_l3_i9 l2_l3_i11 l0_l3_i13 l5_l6_i17 l4_l6_i19 l5_l6_i20 l4_l6_i22 l4_l5_i23 l5_l6_i24 l3_l6_i25 l5_l6_i27 l3_l6_i29 l8_l9_i36 l7_l9_i38 l8_l9_i39 l7_l9_i41 l7_l8_i42 l8_l9_i43 l6_l9_i44 l8_l9_i46 l6_l9_i48 l6_l8_i49 l5_l6_i52 l3_l6_i53 l5_l6_i55 l4_l5_i56 l3_l6_i58 l5_l6_i59 l4_l6_i61 l5_l6_i62 l3_l5_i63 l2_l3_i66 l0_l3_i67 l2_l3_i69 l1_l2_i70 l0_l3_i72 l2_l3_i73 l1_l3_i75 l2_l3_i76 l0_l2_i77 l1_l3_i79 l1_l2_i80 l4_l6_i83 l4_l5_i84 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l3_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l3_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i1)) (mapped l3 ?p2) (rcnot l1_l3_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (not (rcnot l1_l3_i3)) (mapped l3 ?p2) (rcnot l2_l3_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i4))) +) +(:action apply_cnot_l1_l3_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l3 ?p2) (rcnot l1_l3_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i6))) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i6)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l2_l3_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l2 ?p1) (not (rcnot l1_l3_i6)) (mapped l3 ?p2) (rcnot l2_l3_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i8))) +) +(:action apply_cnot_l0_l3_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i8)) (mapped l3 ?p2) (rcnot l0_l3_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i8)) (mapped l2 ?p1) (not (rcnot l0_l3_i9)) (mapped l3 ?p2) (rcnot l2_l3_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i11))) +) +(:action apply_cnot_l0_l3_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (not (rcnot l2_l3_i11)) (mapped l3 ?p2) (rcnot l0_l3_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i13))) +) +(:action apply_cnot_l5_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i17)) (mapped l6 ?p2) (rcnot l4_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (not (rcnot l4_l6_i19)) (mapped l6 ?p2) (rcnot l5_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i20))) +) +(:action apply_cnot_l4_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l6 ?p2) (rcnot l4_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i22))) +) +(:action apply_cnot_l4_l5_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i22)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l5 ?p2) (rcnot l4_l5_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i23))) +) +(:action apply_cnot_l5_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l5 ?p1) (not (rcnot l4_l6_i22)) (mapped l6 ?p2) (rcnot l5_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i24))) +) +(:action apply_cnot_l3_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l3 ?p1) (not (rcnot l5_l6_i24)) (mapped l6 ?p2) (rcnot l3_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i25))) +) +(:action apply_cnot_l5_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i24)) (mapped l5 ?p1) (not (rcnot l3_l6_i25)) (mapped l6 ?p2) (rcnot l5_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i27))) +) +(:action apply_cnot_l3_l6_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i25)) (mapped l3 ?p1) (not (rcnot l5_l6_i27)) (mapped l6 ?p2) (rcnot l3_l6_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i29))) +) +(:action apply_cnot_l8_l9_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l9_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l8_l9_i36)) (mapped l9 ?p2) (rcnot l7_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l8_l9_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (not (rcnot l7_l9_i38)) (mapped l9 ?p2) (rcnot l8_l9_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i39))) +) +(:action apply_cnot_l7_l9_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l9 ?p2) (rcnot l7_l9_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i41))) +) +(:action apply_cnot_l7_l8_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i41)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l8 ?p2) (rcnot l7_l8_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i42))) +) +(:action apply_cnot_l8_l9_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i42)) (mapped l8 ?p1) (not (rcnot l7_l9_i41)) (mapped l9 ?p2) (rcnot l8_l9_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i43))) +) +(:action apply_cnot_l6_l9_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l6 ?p1) (not (rcnot l8_l9_i43)) (mapped l9 ?p2) (rcnot l6_l9_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i44))) +) +(:action apply_cnot_l8_l9_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i43)) (mapped l8 ?p1) (not (rcnot l6_l9_i44)) (mapped l9 ?p2) (rcnot l8_l9_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i46))) +) +(:action apply_cnot_l6_l9_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i44)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l9 ?p2) (rcnot l6_l9_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i48))) +) +(:action apply_cnot_l6_l8_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i48)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l8 ?p2) (rcnot l6_l8_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i49))) +) +(:action apply_cnot_l5_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i27)) (mapped l5 ?p1) (not (rcnot l6_l8_i49)) (mapped l6 ?p2) (rcnot l5_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i52))) +) +(:action apply_cnot_l3_l6_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l3 ?p1) (not (rcnot l5_l6_i52)) (mapped l6 ?p2) (rcnot l3_l6_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i53))) +) +(:action apply_cnot_l5_l6_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i52)) (mapped l5 ?p1) (not (rcnot l3_l6_i53)) (mapped l6 ?p2) (rcnot l5_l6_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i55))) +) +(:action apply_cnot_l4_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l4 ?p1) (not (rcnot l5_l6_i55)) (mapped l5 ?p2) (rcnot l4_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i56))) +) +(:action apply_cnot_l3_l6_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i53)) (mapped l3 ?p1) (not (rcnot l5_l6_i55)) (mapped l6 ?p2) (rcnot l3_l6_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i58))) +) +(:action apply_cnot_l5_l6_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l5 ?p1) (not (rcnot l3_l6_i58)) (mapped l6 ?p2) (rcnot l5_l6_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i59))) +) +(:action apply_cnot_l4_l6_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l4 ?p1) (not (rcnot l5_l6_i59)) (mapped l6 ?p2) (rcnot l4_l6_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i61))) +) +(:action apply_cnot_l5_l6_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i59)) (mapped l5 ?p1) (not (rcnot l4_l6_i61)) (mapped l6 ?p2) (rcnot l5_l6_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i62))) +) +(:action apply_cnot_l3_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i58)) (mapped l3 ?p1) (not (rcnot l5_l6_i62)) (mapped l5 ?p2) (rcnot l3_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i63))) +) +(:action apply_cnot_l2_l3_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i11)) (mapped l2 ?p1) (not (rcnot l3_l5_i63)) (mapped l3 ?p2) (rcnot l2_l3_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i66))) +) +(:action apply_cnot_l0_l3_i67 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l0 ?p1) (not (rcnot l2_l3_i66)) (mapped l3 ?p2) (rcnot l0_l3_i67) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i67))) +) +(:action apply_cnot_l2_l3_i69 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i66)) (mapped l2 ?p1) (not (rcnot l0_l3_i67)) (mapped l3 ?p2) (rcnot l2_l3_i69) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i69))) +) +(:action apply_cnot_l1_l2_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l3_i69)) (mapped l2 ?p2) (rcnot l1_l2_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i70))) +) +(:action apply_cnot_l0_l3_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i67)) (mapped l0 ?p1) (not (rcnot l2_l3_i69)) (mapped l3 ?p2) (rcnot l0_l3_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i72))) +) +(:action apply_cnot_l2_l3_i73 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l2 ?p1) (not (rcnot l0_l3_i72)) (mapped l3 ?p2) (rcnot l2_l3_i73) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i73))) +) +(:action apply_cnot_l1_l3_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l1 ?p1) (not (rcnot l2_l3_i73)) (mapped l3 ?p2) (rcnot l1_l3_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i75))) +) +(:action apply_cnot_l2_l3_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i73)) (mapped l2 ?p1) (not (rcnot l1_l3_i75)) (mapped l3 ?p2) (rcnot l2_l3_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i76))) +) +(:action apply_cnot_l0_l2_i77 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i72)) (mapped l0 ?p1) (not (rcnot l2_l3_i76)) (mapped l2 ?p2) (rcnot l0_l2_i77) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i77))) +) +(:action apply_cnot_l1_l3_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i75)) (mapped l1 ?p1) (not (rcnot l2_l3_i76)) (mapped l3 ?p2) (rcnot l1_l3_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i79))) +) +(:action apply_cnot_l1_l2_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i79)) (mapped l1 ?p1) (not (rcnot l0_l2_i77)) (mapped l2 ?p2) (rcnot l1_l2_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i80))) +) +(:action apply_cnot_l4_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i61)) (mapped l4 ?p1) (not (rcnot l5_l6_i62)) (mapped l6 ?p2) (rcnot l4_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i83))) +) +(:action apply_cnot_l4_l5_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i83)) (mapped l4 ?p1) (not (rcnot l3_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i84))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p06.pddl b/quantum-layout-sat23-strips/domain_p06.pddl new file mode 100644 index 00000000..ba428e74 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p06.pddl @@ -0,0 +1,381 @@ +;; Melbourne/Local_compact/domain_13_rc_adder_6.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l4_l3_i0 l4_l2_i1 l1_l2_i3 l0_l2_i5 l1_l2_i7 l0_l2_i9 l6_l5_i12 l6_l4_i13 l3_l4_i15 l2_l4_i17 l3_l4_i19 l2_l4_i21 l2_l3_i22 l8_l7_i25 l8_l6_i26 l5_l6_i28 l4_l6_i30 l5_l6_i32 l4_l6_i34 l4_l5_i35 l10_l9_i38 l10_l8_i39 l7_l8_i41 l6_l8_i43 l7_l8_i45 l6_l8_i47 l6_l7_i48 l12_l11_i51 l12_l10_i53 l9_l10_i55 l8_l10_i57 l9_l10_i59 l8_l10_i61 l8_l9_i65 l12_l13_i66 l11_l13_i68 l10_l13_i70 l11_l13_i72 l10_l13_i74 l10_l11_i75 l8_l10_i80 l9_l10_i82 l8_l10_i84 l6_l8_i87 l7_l8_i89 l6_l8_i91 l4_l6_i93 l5_l6_i95 l4_l6_i97 l2_l4_i99 l3_l4_i101 l2_l4_i103 l1_l2_i105 l0_l2_i107 l1_l2_i109 l0_l2_i111 l1_l0_i112 l3_l4_i116 l5_l6_i120 l7_l8_i124 l9_l10_i127 l12_l10_i130 l10_l8_i131 l10_l9_i132 l12_l11_i133 l8_l6_i134 l6_l4_i135 l4_l2_i136 l4_l3_i137 l6_l5_i138 l8_l7_i139 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 l10 l11 l12 l13 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l3_i0 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l4_l3_i0) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l2_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l2_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l2_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (rcnot l1_l2_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l2_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l2_i3)) (mapped l2 ?p2) (rcnot l0_l2_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (not (rcnot l0_l2_i5)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l0_l2_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (not (rcnot l1_l2_i7)) (mapped l2 ?p2) (rcnot l0_l2_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i9))) +) +(:action apply_cnot_l6_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l6_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l4_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (not (rcnot l4_l2_i1)) (mapped l4 ?p2) (rcnot l6_l4_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i13))) +) +(:action apply_cnot_l3_l4_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l3 ?p1) (not (rcnot l6_l4_i13)) (mapped l4 ?p2) (rcnot l3_l4_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i15))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l2 ?p1) (not (rcnot l3_l4_i15)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l3_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i15)) (mapped l3 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l3_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i19))) +) +(:action apply_cnot_l2_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l4 ?p2) (rcnot l2_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i21))) +) +(:action apply_cnot_l2_l3_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l3 ?p2) (rcnot l2_l3_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i22))) +) +(:action apply_cnot_l8_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l8_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (not (rcnot l6_l4_i13)) (mapped l6 ?p2) (rcnot l8_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i26))) +) +(:action apply_cnot_l5_l6_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l5 ?p1) (not (rcnot l8_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i28))) +) +(:action apply_cnot_l4_l6_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l4 ?p1) (not (rcnot l5_l6_i28)) (mapped l6 ?p2) (rcnot l4_l6_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i30))) +) +(:action apply_cnot_l5_l6_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i28)) (mapped l5 ?p1) (not (rcnot l4_l6_i30)) (mapped l6 ?p2) (rcnot l5_l6_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i32))) +) +(:action apply_cnot_l4_l6_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i30)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l6 ?p2) (rcnot l4_l6_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i34))) +) +(:action apply_cnot_l4_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l5 ?p2) (rcnot l4_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i35))) +) +(:action apply_cnot_l10_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l10_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l10_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (not (rcnot l8_l6_i26)) (mapped l8 ?p2) (rcnot l10_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i39))) +) +(:action apply_cnot_l7_l8_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l7 ?p1) (not (rcnot l10_l8_i39)) (mapped l8 ?p2) (rcnot l7_l8_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i41))) +) +(:action apply_cnot_l6_l8_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l6 ?p1) (not (rcnot l7_l8_i41)) (mapped l8 ?p2) (rcnot l6_l8_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i43))) +) +(:action apply_cnot_l7_l8_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i41)) (mapped l7 ?p1) (not (rcnot l6_l8_i43)) (mapped l8 ?p2) (rcnot l7_l8_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i45))) +) +(:action apply_cnot_l6_l8_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i43)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l8 ?p2) (rcnot l6_l8_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i47))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l12_l11_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l12_l11_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l11 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l12_l10_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (not (rcnot l10_l8_i39)) (mapped l10 ?p2) (rcnot l12_l10_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i53))) +) +(:action apply_cnot_l9_l10_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l9 ?p1) (not (rcnot l12_l10_i53)) (mapped l10 ?p2) (rcnot l9_l10_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i55))) +) +(:action apply_cnot_l8_l10_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l8 ?p1) (not (rcnot l9_l10_i55)) (mapped l10 ?p2) (rcnot l8_l10_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i57))) +) +(:action apply_cnot_l9_l10_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i55)) (mapped l9 ?p1) (not (rcnot l8_l10_i57)) (mapped l10 ?p2) (rcnot l9_l10_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i59))) +) +(:action apply_cnot_l8_l10_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i57)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l10 ?p2) (rcnot l8_l10_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i61))) +) +(:action apply_cnot_l8_l9_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l9 ?p2) (rcnot l8_l9_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i65))) +) +(:action apply_cnot_l12_l13_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i53)) (mapped l12 ?p1) (not (initialized ?p2)) (rcnot l12_l13_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l11_l13_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l11 ?p1) (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (rcnot l11_l13_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i68))) +) +(:action apply_cnot_l10_l13_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l10 ?p1) (not (rcnot l11_l13_i68)) (mapped l13 ?p2) (rcnot l10_l13_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i70))) +) +(:action apply_cnot_l11_l13_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l11_l13_i68)) (mapped l11 ?p1) (not (rcnot l10_l13_i70)) (mapped l13 ?p2) (rcnot l11_l13_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i72))) +) +(:action apply_cnot_l10_l13_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i70)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l13 ?p2) (rcnot l10_l13_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i74))) +) +(:action apply_cnot_l10_l11_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i74)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l11 ?p2) (rcnot l10_l11_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l11_i75))) +) +(:action apply_cnot_l8_l10_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l8 ?p1) (not (rcnot l10_l11_i75)) (mapped l10 ?p2) (rcnot l8_l10_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i80))) +) +(:action apply_cnot_l9_l10_i82 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l9 ?p1) (not (rcnot l8_l10_i80)) (mapped l10 ?p2) (rcnot l9_l10_i82) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i82))) +) +(:action apply_cnot_l8_l10_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i80)) (mapped l8 ?p1) (not (rcnot l9_l10_i82)) (mapped l10 ?p2) (rcnot l8_l10_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i84))) +) +(:action apply_cnot_l6_l8_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l6 ?p1) (not (rcnot l8_l10_i84)) (mapped l8 ?p2) (rcnot l6_l8_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i87))) +) +(:action apply_cnot_l7_l8_i89 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l7 ?p1) (not (rcnot l6_l8_i87)) (mapped l8 ?p2) (rcnot l7_l8_i89) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i89))) +) +(:action apply_cnot_l6_l8_i91 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i87)) (mapped l6 ?p1) (not (rcnot l7_l8_i89)) (mapped l8 ?p2) (rcnot l6_l8_i91) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i91))) +) +(:action apply_cnot_l4_l6_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l4 ?p1) (not (rcnot l6_l8_i91)) (mapped l6 ?p2) (rcnot l4_l6_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i93))) +) +(:action apply_cnot_l5_l6_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l5 ?p1) (not (rcnot l4_l6_i93)) (mapped l6 ?p2) (rcnot l5_l6_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i95))) +) +(:action apply_cnot_l4_l6_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i93)) (mapped l4 ?p1) (not (rcnot l5_l6_i95)) (mapped l6 ?p2) (rcnot l4_l6_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i97))) +) +(:action apply_cnot_l2_l4_i99 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l2 ?p1) (not (rcnot l4_l6_i97)) (mapped l4 ?p2) (rcnot l2_l4_i99) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i99))) +) +(:action apply_cnot_l3_l4_i101 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l3 ?p1) (not (rcnot l2_l4_i99)) (mapped l4 ?p2) (rcnot l3_l4_i101) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i101))) +) +(:action apply_cnot_l2_l4_i103 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i99)) (mapped l2 ?p1) (not (rcnot l3_l4_i101)) (mapped l4 ?p2) (rcnot l2_l4_i103) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i103))) +) +(:action apply_cnot_l1_l2_i105 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l4_i103)) (mapped l2 ?p2) (rcnot l1_l2_i105) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i105))) +) +(:action apply_cnot_l0_l2_i107 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l0 ?p1) (not (rcnot l1_l2_i105)) (mapped l2 ?p2) (rcnot l0_l2_i107) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i107))) +) +(:action apply_cnot_l1_l2_i109 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i105)) (mapped l1 ?p1) (not (rcnot l0_l2_i107)) (mapped l2 ?p2) (rcnot l1_l2_i109) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i109))) +) +(:action apply_cnot_l0_l2_i111 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i107)) (mapped l0 ?p1) (not (rcnot l1_l2_i109)) (mapped l2 ?p2) (rcnot l0_l2_i111) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i111))) +) +(:action apply_cnot_l1_l0_i112 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i109)) (mapped l1 ?p1) (not (rcnot l0_l2_i111)) (mapped l0 ?p2) (rcnot l1_l0_i112) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i112))) +) +(:action apply_cnot_l3_l4_i116 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i101)) (mapped l3 ?p1) (not (rcnot l2_l4_i103)) (mapped l4 ?p2) (rcnot l3_l4_i116) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i116))) +) +(:action apply_cnot_l5_l6_i120 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i95)) (mapped l5 ?p1) (not (rcnot l4_l6_i97)) (mapped l6 ?p2) (rcnot l5_l6_i120) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i120))) +) +(:action apply_cnot_l7_l8_i124 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i89)) (mapped l7 ?p1) (not (rcnot l6_l8_i91)) (mapped l8 ?p2) (rcnot l7_l8_i124) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i124))) +) +(:action apply_cnot_l9_l10_i127 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i82)) (mapped l9 ?p1) (not (rcnot l8_l10_i84)) (mapped l10 ?p2) (rcnot l9_l10_i127) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i127))) +) +(:action apply_cnot_l12_l10_i130 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l13_i66)) (mapped l12 ?p1) (not (rcnot l9_l10_i127)) (mapped l10 ?p2) (rcnot l12_l10_i130) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i130))) +) +(:action apply_cnot_l10_l8_i131 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l10 ?p1) (not (rcnot l7_l8_i124)) (mapped l8 ?p2) (rcnot l10_l8_i131) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i131))) +) +(:action apply_cnot_l10_l9_i132 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l10 ?p1) (not (rcnot l9_l10_i127)) (mapped l9 ?p2) (rcnot l10_l9_i132) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i132))) +) +(:action apply_cnot_l12_l11_i133 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l12 ?p1) (not (rcnot l10_l11_i75)) (mapped l11 ?p2) (rcnot l12_l11_i133) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i133))) +) +(:action apply_cnot_l8_l6_i134 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l8 ?p1) (not (rcnot l5_l6_i120)) (mapped l6 ?p2) (rcnot l8_l6_i134) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i134))) +) +(:action apply_cnot_l6_l4_i135 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l6 ?p1) (not (rcnot l3_l4_i116)) (mapped l4 ?p2) (rcnot l6_l4_i135) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i135))) +) +(:action apply_cnot_l4_l2_i136 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l4 ?p1) (not (rcnot l0_l2_i111)) (mapped l2 ?p2) (rcnot l4_l2_i136) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i136))) +) +(:action apply_cnot_l4_l3_i137 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i136)) (mapped l4 ?p1) (not (rcnot l3_l4_i116)) (mapped l3 ?p2) (rcnot l4_l3_i137) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i137))) +) +(:action apply_cnot_l6_l5_i138 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l6 ?p1) (not (rcnot l5_l6_i120)) (mapped l5 ?p2) (rcnot l6_l5_i138) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i138))) +) +(:action apply_cnot_l8_l7_i139 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l8 ?p1) (not (rcnot l7_l8_i124)) (mapped l7 ?p2) (rcnot l8_l7_i139) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i139))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p07.pddl b/quantum-layout-sat23-strips/domain_p07.pddl new file mode 100644 index 00000000..f137c643 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p07.pddl @@ -0,0 +1,136 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_7_tof_4.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l4_i1 l0_l4_i3 l1_l4_i5 l0_l4_i7 l4_l5_i11 l2_l5_i13 l4_l5_i15 l2_l5_i17 l5_l6_i21 l3_l6_i23 l5_l6_i25 l3_l6_i27 l3_l5_i28 l3_l5_i30 l4_l5_i34 l2_l5_i36 l4_l5_i38 l1_l4_i40 l0_l4_i42 l1_l4_i44 l0_l4_i46 l2_l5_i50 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l4_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l4_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i1)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l4_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l4_i1)) (mapped l4 ?p2) (rcnot l0_l4_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i3)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l4_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i1)) (mapped l1 ?p1) (not (rcnot l0_l4_i3)) (mapped l4 ?p2) (rcnot l1_l4_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i5))) +) +(:action apply_cnot_l0_l4_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i3)) (mapped l0 ?p1) (not (rcnot l1_l4_i5)) (mapped l4 ?p2) (rcnot l0_l4_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i7))) +) +(:action apply_cnot_l4_l5_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i7)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l5_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i11)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l5_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l5_i11)) (mapped l5 ?p2) (rcnot l2_l5_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i13)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l5_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i11)) (mapped l4 ?p1) (not (rcnot l2_l5_i13)) (mapped l5 ?p2) (rcnot l4_l5_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i15))) +) +(:action apply_cnot_l2_l5_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i13)) (mapped l2 ?p1) (not (rcnot l4_l5_i15)) (mapped l5 ?p2) (rcnot l2_l5_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i17))) +) +(:action apply_cnot_l5_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i17)) (mapped l5 ?p1) (not (initialized ?p2)) (rcnot l5_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i21)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l6_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i21)) (mapped l6 ?p2) (rcnot l3_l6_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i23)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i21)) (mapped l5 ?p1) (not (rcnot l3_l6_i23)) (mapped l6 ?p2) (rcnot l5_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i25))) +) +(:action apply_cnot_l3_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i23)) (mapped l3 ?p1) (not (rcnot l5_l6_i25)) (mapped l6 ?p2) (rcnot l3_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i27))) +) +(:action apply_cnot_l3_l5_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i27)) (mapped l3 ?p1) (not (rcnot l5_l6_i25)) (mapped l5 ?p2) (rcnot l3_l5_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i28))) +) +(:action apply_cnot_l3_l5_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i28)) (mapped l3 ?p1) (not (rcnot l3_l5_i28)) (mapped l5 ?p2) (rcnot l3_l5_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i30))) +) +(:action apply_cnot_l4_l5_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i15)) (mapped l4 ?p1) (not (rcnot l3_l5_i30)) (mapped l5 ?p2) (rcnot l4_l5_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i34))) +) +(:action apply_cnot_l2_l5_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i17)) (mapped l2 ?p1) (not (rcnot l4_l5_i34)) (mapped l5 ?p2) (rcnot l2_l5_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i36))) +) +(:action apply_cnot_l4_l5_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l4 ?p1) (not (rcnot l2_l5_i36)) (mapped l5 ?p2) (rcnot l4_l5_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i38))) +) +(:action apply_cnot_l1_l4_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i5)) (mapped l1 ?p1) (not (rcnot l4_l5_i38)) (mapped l4 ?p2) (rcnot l1_l4_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i40))) +) +(:action apply_cnot_l0_l4_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i7)) (mapped l0 ?p1) (not (rcnot l1_l4_i40)) (mapped l4 ?p2) (rcnot l0_l4_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i42))) +) +(:action apply_cnot_l1_l4_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i40)) (mapped l1 ?p1) (not (rcnot l0_l4_i42)) (mapped l4 ?p2) (rcnot l1_l4_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i44))) +) +(:action apply_cnot_l0_l4_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i42)) (mapped l0 ?p1) (not (rcnot l1_l4_i44)) (mapped l4 ?p2) (rcnot l0_l4_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i46))) +) +(:action apply_cnot_l2_l5_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i36)) (mapped l2 ?p1) (not (rcnot l4_l5_i38)) (mapped l5 ?p2) (rcnot l2_l5_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i50))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p08.pddl b/quantum-layout-sat23-strips/domain_p08.pddl new file mode 100644 index 00000000..28bf3b5b --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p08.pddl @@ -0,0 +1,196 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_8_barenco_tof_4.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l5_l6_i3 l3_l6_i5 l5_l6_i7 l3_l5_i8 l3_l5_i10 l4_l5_i12 l2_l5_i14 l4_l5_i16 l2_l4_i17 l2_l4_i19 l1_l4_i21 l0_l4_i23 l1_l4_i25 l0_l4_i27 l4_l5_i30 l2_l5_i32 l4_l5_i34 l5_l6_i36 l3_l6_i38 l5_l6_i40 l3_l5_i41 l3_l5_i43 l4_l5_i46 l2_l5_i48 l4_l5_i50 l1_l4_i52 l0_l4_i54 l1_l4_i56 l0_l4_i58 l4_l5_i61 l2_l5_i63 l4_l5_i65 l2_l4_i66 l2_l4_i68 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l5_l6_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i3)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l6_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i3)) (mapped l6 ?p2) (rcnot l3_l6_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i5)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i3)) (mapped l5 ?p1) (not (rcnot l3_l6_i5)) (mapped l6 ?p2) (rcnot l5_l6_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i7))) +) +(:action apply_cnot_l3_l5_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i5)) (mapped l3 ?p1) (not (rcnot l5_l6_i7)) (mapped l5 ?p2) (rcnot l3_l5_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i8))) +) +(:action apply_cnot_l3_l5_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i8)) (mapped l3 ?p1) (not (rcnot l3_l5_i8)) (mapped l5 ?p2) (rcnot l3_l5_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i10))) +) +(:action apply_cnot_l4_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l5_i10)) (mapped l5 ?p2) (rcnot l4_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i12)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l5_i14 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l5_i12)) (mapped l5 ?p2) (rcnot l2_l5_i14) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i14)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l5_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i12)) (mapped l4 ?p1) (not (rcnot l2_l5_i14)) (mapped l5 ?p2) (rcnot l4_l5_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i16))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i14)) (mapped l2 ?p1) (not (rcnot l4_l5_i16)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l2_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l2_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i19))) +) +(:action apply_cnot_l1_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l4_i19)) (mapped l4 ?p2) (rcnot l1_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i21)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l4_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l4_i21)) (mapped l4 ?p2) (rcnot l0_l4_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i23)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l4_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i21)) (mapped l1 ?p1) (not (rcnot l0_l4_i23)) (mapped l4 ?p2) (rcnot l1_l4_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i25))) +) +(:action apply_cnot_l0_l4_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i23)) (mapped l0 ?p1) (not (rcnot l1_l4_i25)) (mapped l4 ?p2) (rcnot l0_l4_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i27))) +) +(:action apply_cnot_l4_l5_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i27)) (mapped l4 ?p1) (not (rcnot l4_l5_i16)) (mapped l5 ?p2) (rcnot l4_l5_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i30))) +) +(:action apply_cnot_l2_l5_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i19)) (mapped l2 ?p1) (not (rcnot l4_l5_i30)) (mapped l5 ?p2) (rcnot l2_l5_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i32))) +) +(:action apply_cnot_l4_l5_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i30)) (mapped l4 ?p1) (not (rcnot l2_l5_i32)) (mapped l5 ?p2) (rcnot l4_l5_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i34))) +) +(:action apply_cnot_l5_l6_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l5 ?p1) (not (rcnot l5_l6_i7)) (mapped l6 ?p2) (rcnot l5_l6_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i36))) +) +(:action apply_cnot_l3_l6_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i10)) (mapped l3 ?p1) (not (rcnot l5_l6_i36)) (mapped l6 ?p2) (rcnot l3_l6_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i38))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i36)) (mapped l5 ?p1) (not (rcnot l3_l6_i38)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l3_l5_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i38)) (mapped l3 ?p1) (not (rcnot l5_l6_i40)) (mapped l5 ?p2) (rcnot l3_l5_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i41))) +) +(:action apply_cnot_l3_l5_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i41)) (mapped l3 ?p1) (not (rcnot l3_l5_i41)) (mapped l5 ?p2) (rcnot l3_l5_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i43))) +) +(:action apply_cnot_l4_l5_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l4 ?p1) (not (rcnot l3_l5_i43)) (mapped l5 ?p2) (rcnot l4_l5_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i46))) +) +(:action apply_cnot_l2_l5_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i32)) (mapped l2 ?p1) (not (rcnot l4_l5_i46)) (mapped l5 ?p2) (rcnot l2_l5_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i48))) +) +(:action apply_cnot_l4_l5_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i46)) (mapped l4 ?p1) (not (rcnot l2_l5_i48)) (mapped l5 ?p2) (rcnot l4_l5_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i50))) +) +(:action apply_cnot_l1_l4_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i25)) (mapped l1 ?p1) (not (rcnot l4_l5_i50)) (mapped l4 ?p2) (rcnot l1_l4_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i52))) +) +(:action apply_cnot_l0_l4_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i27)) (mapped l0 ?p1) (not (rcnot l1_l4_i52)) (mapped l4 ?p2) (rcnot l0_l4_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i54))) +) +(:action apply_cnot_l1_l4_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i52)) (mapped l1 ?p1) (not (rcnot l0_l4_i54)) (mapped l4 ?p2) (rcnot l1_l4_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i56))) +) +(:action apply_cnot_l0_l4_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i54)) (mapped l0 ?p1) (not (rcnot l1_l4_i56)) (mapped l4 ?p2) (rcnot l0_l4_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i58))) +) +(:action apply_cnot_l4_l5_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i58)) (mapped l4 ?p1) (not (rcnot l4_l5_i50)) (mapped l5 ?p2) (rcnot l4_l5_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i61))) +) +(:action apply_cnot_l2_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i48)) (mapped l2 ?p1) (not (rcnot l4_l5_i61)) (mapped l5 ?p2) (rcnot l2_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i63))) +) +(:action apply_cnot_l4_l5_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i61)) (mapped l4 ?p1) (not (rcnot l2_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i65))) +) +(:action apply_cnot_l2_l4_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i63)) (mapped l2 ?p1) (not (rcnot l4_l5_i65)) (mapped l4 ?p2) (rcnot l2_l4_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i66))) +) +(:action apply_cnot_l2_l4_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i66)) (mapped l2 ?p1) (not (rcnot l2_l4_i66)) (mapped l4 ?p2) (rcnot l2_l4_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i68))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p09.pddl b/quantum-layout-sat23-strips/domain_p09.pddl new file mode 100644 index 00000000..cfd0644d --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p09.pddl @@ -0,0 +1,176 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_9_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l5_i1 l0_l5_i3 l1_l5_i5 l0_l5_i7 l5_l6_i11 l2_l6_i13 l5_l6_i15 l2_l6_i17 l6_l7_i21 l3_l7_i23 l6_l7_i25 l3_l7_i27 l7_l8_i31 l4_l8_i33 l7_l8_i35 l4_l8_i37 l4_l7_i38 l4_l7_i40 l6_l7_i44 l3_l7_i46 l6_l7_i48 l5_l6_i50 l2_l6_i52 l5_l6_i54 l1_l5_i56 l0_l5_i58 l1_l5_i60 l0_l5_i62 l2_l6_i66 l3_l7_i70 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l5_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l5_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i1)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l5_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i1)) (mapped l5 ?p2) (rcnot l0_l5_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i3)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i1)) (mapped l1 ?p1) (not (rcnot l0_l5_i3)) (mapped l5 ?p2) (rcnot l1_l5_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i5))) +) +(:action apply_cnot_l0_l5_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i3)) (mapped l0 ?p1) (not (rcnot l1_l5_i5)) (mapped l5 ?p2) (rcnot l0_l5_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i7))) +) +(:action apply_cnot_l5_l6_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i7)) (mapped l5 ?p1) (not (initialized ?p2)) (rcnot l5_l6_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i11)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l6_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i11)) (mapped l6 ?p2) (rcnot l2_l6_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i13)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i11)) (mapped l5 ?p1) (not (rcnot l2_l6_i13)) (mapped l6 ?p2) (rcnot l5_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i15))) +) +(:action apply_cnot_l2_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i13)) (mapped l2 ?p1) (not (rcnot l5_l6_i15)) (mapped l6 ?p2) (rcnot l2_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i17))) +) +(:action apply_cnot_l6_l7_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i17)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l7_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i21)) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l7_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i21)) (mapped l7 ?p2) (rcnot l3_l7_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i23)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i21)) (mapped l6 ?p1) (not (rcnot l3_l7_i23)) (mapped l7 ?p2) (rcnot l6_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i25))) +) +(:action apply_cnot_l3_l7_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i23)) (mapped l3 ?p1) (not (rcnot l6_l7_i25)) (mapped l7 ?p2) (rcnot l3_l7_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i27))) +) +(:action apply_cnot_l7_l8_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i27)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l8_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i31)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i31)) (mapped l8 ?p2) (rcnot l4_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i33)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i31)) (mapped l7 ?p1) (not (rcnot l4_l8_i33)) (mapped l8 ?p2) (rcnot l7_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i35))) +) +(:action apply_cnot_l4_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i33)) (mapped l4 ?p1) (not (rcnot l7_l8_i35)) (mapped l8 ?p2) (rcnot l4_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i37))) +) +(:action apply_cnot_l4_l7_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i37)) (mapped l4 ?p1) (not (rcnot l7_l8_i35)) (mapped l7 ?p2) (rcnot l4_l7_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i38))) +) +(:action apply_cnot_l4_l7_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i38)) (mapped l4 ?p1) (not (rcnot l4_l7_i38)) (mapped l7 ?p2) (rcnot l4_l7_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i40))) +) +(:action apply_cnot_l6_l7_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i25)) (mapped l6 ?p1) (not (rcnot l4_l7_i40)) (mapped l7 ?p2) (rcnot l6_l7_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i44))) +) +(:action apply_cnot_l3_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i27)) (mapped l3 ?p1) (not (rcnot l6_l7_i44)) (mapped l7 ?p2) (rcnot l3_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i46))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i44)) (mapped l6 ?p1) (not (rcnot l3_l7_i46)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l5_l6_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i15)) (mapped l5 ?p1) (not (rcnot l6_l7_i48)) (mapped l6 ?p2) (rcnot l5_l6_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i50))) +) +(:action apply_cnot_l2_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i17)) (mapped l2 ?p1) (not (rcnot l5_l6_i50)) (mapped l6 ?p2) (rcnot l2_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i52))) +) +(:action apply_cnot_l5_l6_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i50)) (mapped l5 ?p1) (not (rcnot l2_l6_i52)) (mapped l6 ?p2) (rcnot l5_l6_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i54))) +) +(:action apply_cnot_l1_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i5)) (mapped l1 ?p1) (not (rcnot l5_l6_i54)) (mapped l5 ?p2) (rcnot l1_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i56))) +) +(:action apply_cnot_l0_l5_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i7)) (mapped l0 ?p1) (not (rcnot l1_l5_i56)) (mapped l5 ?p2) (rcnot l0_l5_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i58))) +) +(:action apply_cnot_l1_l5_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i56)) (mapped l1 ?p1) (not (rcnot l0_l5_i58)) (mapped l5 ?p2) (rcnot l1_l5_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i60))) +) +(:action apply_cnot_l0_l5_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i58)) (mapped l0 ?p1) (not (rcnot l1_l5_i60)) (mapped l5 ?p2) (rcnot l0_l5_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i62))) +) +(:action apply_cnot_l2_l6_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i52)) (mapped l2 ?p1) (not (rcnot l5_l6_i54)) (mapped l6 ?p2) (rcnot l2_l6_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i66))) +) +(:action apply_cnot_l3_l7_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i46)) (mapped l3 ?p1) (not (rcnot l6_l7_i48)) (mapped l7 ?p2) (rcnot l3_l7_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i70))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p10.pddl b/quantum-layout-sat23-strips/domain_p10.pddl new file mode 100644 index 00000000..c4aaa923 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p10.pddl @@ -0,0 +1,226 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_10_mod_mult_55.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l7_i2 l2_l7_i4 l0_l7_i6 l2_l7_i8 l2_l0_i9 l2_l0_i12 l7_l6_i15 l1_l6_i17 l7_l6_i19 l1_l6_i21 l1_l7_i22 l6_l5_i25 l6_l3_i26 l1_l7_i30 l2_l8_i33 l0_l8_i35 l2_l8_i37 l0_l8_i39 l8_l7_i42 l7_l3_i43 l8_l6_i45 l1_l6_i47 l8_l6_i49 l1_l6_i51 l1_l8_i52 l6_l4_i55 l1_l8_i57 l1_l3_i58 l7_l3_i60 l1_l3_i62 l5_l8_i66 l1_l5_i68 l7_l5_i70 l1_l5_i72 l7_l5_i74 l2_l8_i79 l0_l8_i81 l2_l8_i83 l0_l8_i86 l5_l8_i90 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l7_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l7_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l7_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l7_i2)) (mapped l7 ?p2) (rcnot l2_l7_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l7_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (not (rcnot l2_l7_i4)) (mapped l7 ?p2) (rcnot l0_l7_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i6))) +) +(:action apply_cnot_l2_l7_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l7 ?p2) (rcnot l2_l7_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i8))) +) +(:action apply_cnot_l2_l0_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l0 ?p2) (rcnot l2_l0_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i9))) +) +(:action apply_cnot_l2_l0_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i9)) (mapped l2 ?p1) (not (rcnot l2_l0_i9)) (mapped l0 ?p2) (rcnot l2_l0_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i12))) +) +(:action apply_cnot_l7_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (rcnot l1_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l6_i15)) (mapped l7 ?p1) (not (rcnot l1_l6_i17)) (mapped l6 ?p2) (rcnot l7_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i19))) +) +(:action apply_cnot_l1_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l6 ?p2) (rcnot l1_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i21))) +) +(:action apply_cnot_l1_l7_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l7 ?p2) (rcnot l1_l7_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i22))) +) +(:action apply_cnot_l6_l5_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l5_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i25)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l3_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l3_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l7_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i22)) (mapped l1 ?p1) (not (rcnot l1_l7_i22)) (mapped l7 ?p2) (rcnot l1_l7_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i30))) +) +(:action apply_cnot_l2_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l2 ?p1) (not (initialized ?p2)) (rcnot l2_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l0 ?p1) (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (rcnot l0_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i35))) +) +(:action apply_cnot_l2_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i33)) (mapped l2 ?p1) (not (rcnot l0_l8_i35)) (mapped l8 ?p2) (rcnot l2_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i37))) +) +(:action apply_cnot_l0_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i35)) (mapped l0 ?p1) (not (rcnot l2_l8_i37)) (mapped l8 ?p2) (rcnot l0_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i39))) +) +(:action apply_cnot_l8_l7_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l8 ?p1) (not (rcnot l1_l7_i30)) (mapped l7 ?p2) (rcnot l8_l7_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i42))) +) +(:action apply_cnot_l7_l3_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l7 ?p1) (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (rcnot l7_l3_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i43))) +) +(:action apply_cnot_l8_l6_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l8 ?p1) (not (rcnot l6_l3_i26)) (mapped l6 ?p2) (rcnot l8_l6_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i45))) +) +(:action apply_cnot_l1_l6_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i30)) (mapped l1 ?p1) (not (rcnot l8_l6_i45)) (mapped l6 ?p2) (rcnot l1_l6_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i47))) +) +(:action apply_cnot_l8_l6_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i45)) (mapped l8 ?p1) (not (rcnot l1_l6_i47)) (mapped l6 ?p2) (rcnot l8_l6_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i49))) +) +(:action apply_cnot_l1_l6_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i47)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l6 ?p2) (rcnot l1_l6_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i51))) +) +(:action apply_cnot_l1_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l8 ?p2) (rcnot l1_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i52))) +) +(:action apply_cnot_l6_l4_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l4_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i55)) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l8_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i52)) (mapped l1 ?p1) (not (rcnot l1_l8_i52)) (mapped l8 ?p2) (rcnot l1_l8_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i57))) +) +(:action apply_cnot_l1_l3_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i57)) (mapped l1 ?p1) (not (rcnot l7_l3_i43)) (mapped l3 ?p2) (rcnot l1_l3_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i58))) +) +(:action apply_cnot_l7_l3_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i43)) (mapped l7 ?p1) (not (rcnot l1_l3_i58)) (mapped l3 ?p2) (rcnot l7_l3_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i60))) +) +(:action apply_cnot_l1_l3_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i58)) (mapped l1 ?p1) (not (rcnot l7_l3_i60)) (mapped l3 ?p2) (rcnot l1_l3_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i62))) +) +(:action apply_cnot_l5_l8_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l5 ?p1) (not (rcnot l1_l8_i57)) (mapped l8 ?p2) (rcnot l5_l8_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i66))) +) +(:action apply_cnot_l1_l5_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i62)) (mapped l1 ?p1) (not (rcnot l5_l8_i66)) (mapped l5 ?p2) (rcnot l1_l5_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i68))) +) +(:action apply_cnot_l7_l5_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i60)) (mapped l7 ?p1) (not (rcnot l1_l5_i68)) (mapped l5 ?p2) (rcnot l7_l5_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i70))) +) +(:action apply_cnot_l1_l5_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i68)) (mapped l1 ?p1) (not (rcnot l7_l5_i70)) (mapped l5 ?p2) (rcnot l1_l5_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i72))) +) +(:action apply_cnot_l7_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i70)) (mapped l7 ?p1) (not (rcnot l1_l5_i72)) (mapped l5 ?p2) (rcnot l7_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i74))) +) +(:action apply_cnot_l2_l8_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i37)) (mapped l2 ?p1) (not (rcnot l5_l8_i66)) (mapped l8 ?p2) (rcnot l2_l8_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i79))) +) +(:action apply_cnot_l0_l8_i81 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l0 ?p1) (not (rcnot l2_l8_i79)) (mapped l8 ?p2) (rcnot l0_l8_i81) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i81))) +) +(:action apply_cnot_l2_l8_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i79)) (mapped l2 ?p1) (not (rcnot l0_l8_i81)) (mapped l8 ?p2) (rcnot l2_l8_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i83))) +) +(:action apply_cnot_l0_l8_i86 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i81)) (mapped l0 ?p1) (not (rcnot l2_l8_i83)) (mapped l8 ?p2) (rcnot l0_l8_i86) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i86))) +) +(:action apply_cnot_l5_l8_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i74)) (mapped l5 ?p1) (not (rcnot l0_l8_i86)) (mapped l8 ?p2) (rcnot l5_l8_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i90))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p11.pddl b/quantum-layout-sat23-strips/domain_p11.pddl new file mode 100644 index 00000000..0e4493c9 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p11.pddl @@ -0,0 +1,276 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_11_barenco_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l7_l8_i4 l4_l8_i6 l7_l8_i8 l4_l7_i9 l4_l7_i11 l6_l7_i13 l3_l7_i15 l6_l7_i17 l3_l6_i18 l3_l6_i20 l5_l6_i22 l2_l6_i24 l5_l6_i26 l2_l5_i27 l2_l5_i29 l1_l5_i31 l0_l5_i33 l1_l5_i35 l0_l5_i37 l5_l6_i40 l2_l6_i42 l5_l6_i44 l6_l7_i46 l3_l7_i48 l6_l7_i50 l7_l8_i52 l4_l8_i54 l7_l8_i56 l4_l7_i57 l4_l7_i59 l6_l7_i62 l3_l7_i64 l6_l7_i66 l5_l6_i68 l2_l6_i70 l5_l6_i72 l1_l5_i74 l0_l5_i76 l1_l5_i78 l0_l5_i80 l5_l6_i83 l2_l6_i85 l5_l6_i87 l2_l5_i88 l2_l5_i90 l6_l7_i93 l3_l7_i95 l6_l7_i97 l3_l6_i98 l3_l6_i100 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l8_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l7_l8_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i4)) (mapped l8 ?p2) (rcnot l4_l8_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (not (rcnot l4_l8_i6)) (mapped l8 ?p2) (rcnot l7_l8_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i8))) +) +(:action apply_cnot_l4_l7_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (not (rcnot l7_l8_i8)) (mapped l7 ?p2) (rcnot l4_l7_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i9))) +) +(:action apply_cnot_l4_l7_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i9)) (mapped l4 ?p1) (not (rcnot l4_l7_i9)) (mapped l7 ?p2) (rcnot l4_l7_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i11))) +) +(:action apply_cnot_l6_l7_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l7_i11)) (mapped l7 ?p2) (rcnot l6_l7_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l3_l7_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i13)) (mapped l7 ?p2) (rcnot l3_l7_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (not (rcnot l3_l7_i15)) (mapped l7 ?p2) (rcnot l6_l7_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i17))) +) +(:action apply_cnot_l3_l6_i18 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (not (rcnot l6_l7_i17)) (mapped l6 ?p2) (rcnot l3_l6_i18) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i18))) +) +(:action apply_cnot_l3_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i18)) (mapped l3 ?p1) (not (rcnot l3_l6_i18)) (mapped l6 ?p2) (rcnot l3_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i20))) +) +(:action apply_cnot_l5_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l6_i20)) (mapped l6 ?p2) (rcnot l5_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i22)) (mapped l6 ?p2) (rcnot l2_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (not (rcnot l2_l6_i24)) (mapped l6 ?p2) (rcnot l5_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i26))) +) +(:action apply_cnot_l2_l5_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (not (rcnot l5_l6_i26)) (mapped l5 ?p2) (rcnot l2_l5_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i27))) +) +(:action apply_cnot_l2_l5_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i27)) (mapped l2 ?p1) (not (rcnot l2_l5_i27)) (mapped l5 ?p2) (rcnot l2_l5_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i29))) +) +(:action apply_cnot_l1_l5_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l5_i29)) (mapped l5 ?p2) (rcnot l1_l5_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l5_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i31)) (mapped l5 ?p2) (rcnot l0_l5_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (not (rcnot l0_l5_i33)) (mapped l5 ?p2) (rcnot l1_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i35))) +) +(:action apply_cnot_l0_l5_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (not (rcnot l1_l5_i35)) (mapped l5 ?p2) (rcnot l0_l5_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i37))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l5 ?p1) (not (rcnot l5_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l2_l6_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i29)) (mapped l2 ?p1) (not (rcnot l5_l6_i40)) (mapped l6 ?p2) (rcnot l2_l6_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i42))) +) +(:action apply_cnot_l5_l6_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i40)) (mapped l5 ?p1) (not (rcnot l2_l6_i42)) (mapped l6 ?p2) (rcnot l5_l6_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i44))) +) +(:action apply_cnot_l6_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l6 ?p1) (not (rcnot l6_l7_i17)) (mapped l7 ?p2) (rcnot l6_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i46))) +) +(:action apply_cnot_l3_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i20)) (mapped l3 ?p1) (not (rcnot l6_l7_i46)) (mapped l7 ?p2) (rcnot l3_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i48))) +) +(:action apply_cnot_l6_l7_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i46)) (mapped l6 ?p1) (not (rcnot l3_l7_i48)) (mapped l7 ?p2) (rcnot l6_l7_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i50))) +) +(:action apply_cnot_l7_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l7 ?p1) (not (rcnot l7_l8_i8)) (mapped l8 ?p2) (rcnot l7_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i52))) +) +(:action apply_cnot_l4_l8_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i11)) (mapped l4 ?p1) (not (rcnot l7_l8_i52)) (mapped l8 ?p2) (rcnot l4_l8_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i54))) +) +(:action apply_cnot_l7_l8_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i52)) (mapped l7 ?p1) (not (rcnot l4_l8_i54)) (mapped l8 ?p2) (rcnot l7_l8_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i56))) +) +(:action apply_cnot_l4_l7_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i54)) (mapped l4 ?p1) (not (rcnot l7_l8_i56)) (mapped l7 ?p2) (rcnot l4_l7_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i57))) +) +(:action apply_cnot_l4_l7_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i57)) (mapped l4 ?p1) (not (rcnot l4_l7_i57)) (mapped l7 ?p2) (rcnot l4_l7_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i59))) +) +(:action apply_cnot_l6_l7_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l6 ?p1) (not (rcnot l4_l7_i59)) (mapped l7 ?p2) (rcnot l6_l7_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i62))) +) +(:action apply_cnot_l3_l7_i64 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i48)) (mapped l3 ?p1) (not (rcnot l6_l7_i62)) (mapped l7 ?p2) (rcnot l3_l7_i64) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i64))) +) +(:action apply_cnot_l6_l7_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i62)) (mapped l6 ?p1) (not (rcnot l3_l7_i64)) (mapped l7 ?p2) (rcnot l6_l7_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i66))) +) +(:action apply_cnot_l5_l6_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l5 ?p1) (not (rcnot l6_l7_i66)) (mapped l6 ?p2) (rcnot l5_l6_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i68))) +) +(:action apply_cnot_l2_l6_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i42)) (mapped l2 ?p1) (not (rcnot l5_l6_i68)) (mapped l6 ?p2) (rcnot l2_l6_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i70))) +) +(:action apply_cnot_l5_l6_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i68)) (mapped l5 ?p1) (not (rcnot l2_l6_i70)) (mapped l6 ?p2) (rcnot l5_l6_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i72))) +) +(:action apply_cnot_l1_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i35)) (mapped l1 ?p1) (not (rcnot l5_l6_i72)) (mapped l5 ?p2) (rcnot l1_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i74))) +) +(:action apply_cnot_l0_l5_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l0 ?p1) (not (rcnot l1_l5_i74)) (mapped l5 ?p2) (rcnot l0_l5_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i76))) +) +(:action apply_cnot_l1_l5_i78 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i74)) (mapped l1 ?p1) (not (rcnot l0_l5_i76)) (mapped l5 ?p2) (rcnot l1_l5_i78) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i78))) +) +(:action apply_cnot_l0_l5_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i76)) (mapped l0 ?p1) (not (rcnot l1_l5_i78)) (mapped l5 ?p2) (rcnot l0_l5_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i80))) +) +(:action apply_cnot_l5_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i80)) (mapped l5 ?p1) (not (rcnot l5_l6_i72)) (mapped l6 ?p2) (rcnot l5_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i83))) +) +(:action apply_cnot_l2_l6_i85 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i70)) (mapped l2 ?p1) (not (rcnot l5_l6_i83)) (mapped l6 ?p2) (rcnot l2_l6_i85) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i85))) +) +(:action apply_cnot_l5_l6_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i83)) (mapped l5 ?p1) (not (rcnot l2_l6_i85)) (mapped l6 ?p2) (rcnot l5_l6_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i87))) +) +(:action apply_cnot_l2_l5_i88 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i85)) (mapped l2 ?p1) (not (rcnot l5_l6_i87)) (mapped l5 ?p2) (rcnot l2_l5_i88) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i88))) +) +(:action apply_cnot_l2_l5_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i88)) (mapped l2 ?p1) (not (rcnot l2_l5_i88)) (mapped l5 ?p2) (rcnot l2_l5_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i90))) +) +(:action apply_cnot_l6_l7_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i87)) (mapped l6 ?p1) (not (rcnot l6_l7_i66)) (mapped l7 ?p2) (rcnot l6_l7_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i93))) +) +(:action apply_cnot_l3_l7_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i64)) (mapped l3 ?p1) (not (rcnot l6_l7_i93)) (mapped l7 ?p2) (rcnot l3_l7_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i95))) +) +(:action apply_cnot_l6_l7_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i93)) (mapped l6 ?p1) (not (rcnot l3_l7_i95)) (mapped l7 ?p2) (rcnot l6_l7_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i97))) +) +(:action apply_cnot_l3_l6_i98 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i95)) (mapped l3 ?p1) (not (rcnot l6_l7_i97)) (mapped l6 ?p2) (rcnot l3_l6_i98) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i98))) +) +(:action apply_cnot_l3_l6_i100 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i98)) (mapped l3 ?p1) (not (rcnot l3_l6_i98)) (mapped l6 ?p2) (rcnot l3_l6_i100) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i100))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p12.pddl b/quantum-layout-sat23-strips/domain_p12.pddl new file mode 100644 index 00000000..6be838fb --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p12.pddl @@ -0,0 +1,276 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_12_vbe_adder_3.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l2_l3_i1 l1_l3_i3 l2_l3_i4 l1_l3_i6 l1_l2_i7 l2_l3_i8 l0_l3_i9 l2_l3_i11 l0_l3_i13 l5_l6_i17 l4_l6_i19 l5_l6_i20 l4_l6_i22 l4_l5_i23 l5_l6_i24 l3_l6_i25 l5_l6_i27 l3_l6_i29 l8_l9_i36 l7_l9_i38 l8_l9_i39 l7_l9_i41 l7_l8_i42 l8_l9_i43 l6_l9_i44 l8_l9_i46 l6_l9_i48 l6_l8_i49 l5_l6_i52 l3_l6_i53 l5_l6_i55 l4_l5_i56 l3_l6_i58 l5_l6_i59 l4_l6_i61 l5_l6_i62 l3_l5_i63 l2_l3_i66 l0_l3_i67 l2_l3_i69 l1_l2_i70 l0_l3_i72 l2_l3_i73 l1_l3_i75 l2_l3_i76 l0_l2_i77 l1_l3_i79 l1_l2_i80 l4_l6_i83 l4_l5_i84 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l3_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l3_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i1)) (mapped l3 ?p2) (rcnot l1_l3_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (not (rcnot l1_l3_i3)) (mapped l3 ?p2) (rcnot l2_l3_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i4))) +) +(:action apply_cnot_l1_l3_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l3 ?p2) (rcnot l1_l3_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i6))) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i6)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l2_l3_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l2 ?p1) (not (rcnot l1_l3_i6)) (mapped l3 ?p2) (rcnot l2_l3_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i8))) +) +(:action apply_cnot_l0_l3_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i8)) (mapped l3 ?p2) (rcnot l0_l3_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i8)) (mapped l2 ?p1) (not (rcnot l0_l3_i9)) (mapped l3 ?p2) (rcnot l2_l3_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i11))) +) +(:action apply_cnot_l0_l3_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (not (rcnot l2_l3_i11)) (mapped l3 ?p2) (rcnot l0_l3_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i13))) +) +(:action apply_cnot_l5_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i17)) (mapped l6 ?p2) (rcnot l4_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (not (rcnot l4_l6_i19)) (mapped l6 ?p2) (rcnot l5_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i20))) +) +(:action apply_cnot_l4_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l6 ?p2) (rcnot l4_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i22))) +) +(:action apply_cnot_l4_l5_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i22)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l5 ?p2) (rcnot l4_l5_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i23))) +) +(:action apply_cnot_l5_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l5 ?p1) (not (rcnot l4_l6_i22)) (mapped l6 ?p2) (rcnot l5_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i24))) +) +(:action apply_cnot_l3_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l3 ?p1) (not (rcnot l5_l6_i24)) (mapped l6 ?p2) (rcnot l3_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i25))) +) +(:action apply_cnot_l5_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i24)) (mapped l5 ?p1) (not (rcnot l3_l6_i25)) (mapped l6 ?p2) (rcnot l5_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i27))) +) +(:action apply_cnot_l3_l6_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i25)) (mapped l3 ?p1) (not (rcnot l5_l6_i27)) (mapped l6 ?p2) (rcnot l3_l6_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i29))) +) +(:action apply_cnot_l8_l9_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l9_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l8_l9_i36)) (mapped l9 ?p2) (rcnot l7_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l8_l9_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (not (rcnot l7_l9_i38)) (mapped l9 ?p2) (rcnot l8_l9_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i39))) +) +(:action apply_cnot_l7_l9_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l9 ?p2) (rcnot l7_l9_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i41))) +) +(:action apply_cnot_l7_l8_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i41)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l8 ?p2) (rcnot l7_l8_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i42))) +) +(:action apply_cnot_l8_l9_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i42)) (mapped l8 ?p1) (not (rcnot l7_l9_i41)) (mapped l9 ?p2) (rcnot l8_l9_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i43))) +) +(:action apply_cnot_l6_l9_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l6 ?p1) (not (rcnot l8_l9_i43)) (mapped l9 ?p2) (rcnot l6_l9_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i44))) +) +(:action apply_cnot_l8_l9_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i43)) (mapped l8 ?p1) (not (rcnot l6_l9_i44)) (mapped l9 ?p2) (rcnot l8_l9_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i46))) +) +(:action apply_cnot_l6_l9_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i44)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l9 ?p2) (rcnot l6_l9_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i48))) +) +(:action apply_cnot_l6_l8_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i48)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l8 ?p2) (rcnot l6_l8_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i49))) +) +(:action apply_cnot_l5_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i27)) (mapped l5 ?p1) (not (rcnot l6_l8_i49)) (mapped l6 ?p2) (rcnot l5_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i52))) +) +(:action apply_cnot_l3_l6_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l3 ?p1) (not (rcnot l5_l6_i52)) (mapped l6 ?p2) (rcnot l3_l6_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i53))) +) +(:action apply_cnot_l5_l6_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i52)) (mapped l5 ?p1) (not (rcnot l3_l6_i53)) (mapped l6 ?p2) (rcnot l5_l6_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i55))) +) +(:action apply_cnot_l4_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l4 ?p1) (not (rcnot l5_l6_i55)) (mapped l5 ?p2) (rcnot l4_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i56))) +) +(:action apply_cnot_l3_l6_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i53)) (mapped l3 ?p1) (not (rcnot l5_l6_i55)) (mapped l6 ?p2) (rcnot l3_l6_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i58))) +) +(:action apply_cnot_l5_l6_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l5 ?p1) (not (rcnot l3_l6_i58)) (mapped l6 ?p2) (rcnot l5_l6_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i59))) +) +(:action apply_cnot_l4_l6_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l4 ?p1) (not (rcnot l5_l6_i59)) (mapped l6 ?p2) (rcnot l4_l6_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i61))) +) +(:action apply_cnot_l5_l6_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i59)) (mapped l5 ?p1) (not (rcnot l4_l6_i61)) (mapped l6 ?p2) (rcnot l5_l6_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i62))) +) +(:action apply_cnot_l3_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i58)) (mapped l3 ?p1) (not (rcnot l5_l6_i62)) (mapped l5 ?p2) (rcnot l3_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i63))) +) +(:action apply_cnot_l2_l3_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i11)) (mapped l2 ?p1) (not (rcnot l3_l5_i63)) (mapped l3 ?p2) (rcnot l2_l3_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i66))) +) +(:action apply_cnot_l0_l3_i67 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l0 ?p1) (not (rcnot l2_l3_i66)) (mapped l3 ?p2) (rcnot l0_l3_i67) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i67))) +) +(:action apply_cnot_l2_l3_i69 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i66)) (mapped l2 ?p1) (not (rcnot l0_l3_i67)) (mapped l3 ?p2) (rcnot l2_l3_i69) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i69))) +) +(:action apply_cnot_l1_l2_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l3_i69)) (mapped l2 ?p2) (rcnot l1_l2_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i70))) +) +(:action apply_cnot_l0_l3_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i67)) (mapped l0 ?p1) (not (rcnot l2_l3_i69)) (mapped l3 ?p2) (rcnot l0_l3_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i72))) +) +(:action apply_cnot_l2_l3_i73 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l2 ?p1) (not (rcnot l0_l3_i72)) (mapped l3 ?p2) (rcnot l2_l3_i73) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i73))) +) +(:action apply_cnot_l1_l3_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l1 ?p1) (not (rcnot l2_l3_i73)) (mapped l3 ?p2) (rcnot l1_l3_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i75))) +) +(:action apply_cnot_l2_l3_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i73)) (mapped l2 ?p1) (not (rcnot l1_l3_i75)) (mapped l3 ?p2) (rcnot l2_l3_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i76))) +) +(:action apply_cnot_l0_l2_i77 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i72)) (mapped l0 ?p1) (not (rcnot l2_l3_i76)) (mapped l2 ?p2) (rcnot l0_l2_i77) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i77))) +) +(:action apply_cnot_l1_l3_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i75)) (mapped l1 ?p1) (not (rcnot l2_l3_i76)) (mapped l3 ?p2) (rcnot l1_l3_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i79))) +) +(:action apply_cnot_l1_l2_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i79)) (mapped l1 ?p1) (not (rcnot l0_l2_i77)) (mapped l2 ?p2) (rcnot l1_l2_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i80))) +) +(:action apply_cnot_l4_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i61)) (mapped l4 ?p1) (not (rcnot l5_l6_i62)) (mapped l6 ?p2) (rcnot l4_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i83))) +) +(:action apply_cnot_l4_l5_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i83)) (mapped l4 ?p1) (not (rcnot l3_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i84))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p13.pddl b/quantum-layout-sat23-strips/domain_p13.pddl new file mode 100644 index 00000000..fe442fa6 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p13.pddl @@ -0,0 +1,381 @@ +;; Melbourne_non_bidirectional/Local_compact/domain_13_rc_adder_6.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l4_l3_i0 l4_l2_i1 l1_l2_i3 l0_l2_i5 l1_l2_i7 l0_l2_i9 l6_l5_i12 l6_l4_i13 l3_l4_i15 l2_l4_i17 l3_l4_i19 l2_l4_i21 l2_l3_i22 l8_l7_i25 l8_l6_i26 l5_l6_i28 l4_l6_i30 l5_l6_i32 l4_l6_i34 l4_l5_i35 l10_l9_i38 l10_l8_i39 l7_l8_i41 l6_l8_i43 l7_l8_i45 l6_l8_i47 l6_l7_i48 l12_l11_i51 l12_l10_i53 l9_l10_i55 l8_l10_i57 l9_l10_i59 l8_l10_i61 l8_l9_i65 l12_l13_i66 l11_l13_i68 l10_l13_i70 l11_l13_i72 l10_l13_i74 l10_l11_i75 l8_l10_i80 l9_l10_i82 l8_l10_i84 l6_l8_i87 l7_l8_i89 l6_l8_i91 l4_l6_i93 l5_l6_i95 l4_l6_i97 l2_l4_i99 l3_l4_i101 l2_l4_i103 l1_l2_i105 l0_l2_i107 l1_l2_i109 l0_l2_i111 l1_l0_i112 l3_l4_i116 l5_l6_i120 l7_l8_i124 l9_l10_i127 l12_l10_i130 l10_l8_i131 l10_l9_i132 l12_l11_i133 l8_l6_i134 l6_l4_i135 l4_l2_i136 l4_l3_i137 l6_l5_i138 l8_l7_i139 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 l10 l11 l12 l13 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l3_i0 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l4_l3_i0) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l2_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l2_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l2_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (rcnot l1_l2_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l2_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l2_i3)) (mapped l2 ?p2) (rcnot l0_l2_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (not (rcnot l0_l2_i5)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l0_l2_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (not (rcnot l1_l2_i7)) (mapped l2 ?p2) (rcnot l0_l2_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i9))) +) +(:action apply_cnot_l6_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l6_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l4_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (not (rcnot l4_l2_i1)) (mapped l4 ?p2) (rcnot l6_l4_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i13))) +) +(:action apply_cnot_l3_l4_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l3 ?p1) (not (rcnot l6_l4_i13)) (mapped l4 ?p2) (rcnot l3_l4_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i15))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l2 ?p1) (not (rcnot l3_l4_i15)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l3_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i15)) (mapped l3 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l3_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i19))) +) +(:action apply_cnot_l2_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l4 ?p2) (rcnot l2_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i21))) +) +(:action apply_cnot_l2_l3_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l3 ?p2) (rcnot l2_l3_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i22))) +) +(:action apply_cnot_l8_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l8_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (not (rcnot l6_l4_i13)) (mapped l6 ?p2) (rcnot l8_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i26))) +) +(:action apply_cnot_l5_l6_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l5 ?p1) (not (rcnot l8_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i28))) +) +(:action apply_cnot_l4_l6_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l4 ?p1) (not (rcnot l5_l6_i28)) (mapped l6 ?p2) (rcnot l4_l6_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i30))) +) +(:action apply_cnot_l5_l6_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i28)) (mapped l5 ?p1) (not (rcnot l4_l6_i30)) (mapped l6 ?p2) (rcnot l5_l6_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i32))) +) +(:action apply_cnot_l4_l6_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i30)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l6 ?p2) (rcnot l4_l6_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i34))) +) +(:action apply_cnot_l4_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l5 ?p2) (rcnot l4_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i35))) +) +(:action apply_cnot_l10_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l10_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l10_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (not (rcnot l8_l6_i26)) (mapped l8 ?p2) (rcnot l10_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i39))) +) +(:action apply_cnot_l7_l8_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l7 ?p1) (not (rcnot l10_l8_i39)) (mapped l8 ?p2) (rcnot l7_l8_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i41))) +) +(:action apply_cnot_l6_l8_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l6 ?p1) (not (rcnot l7_l8_i41)) (mapped l8 ?p2) (rcnot l6_l8_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i43))) +) +(:action apply_cnot_l7_l8_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i41)) (mapped l7 ?p1) (not (rcnot l6_l8_i43)) (mapped l8 ?p2) (rcnot l7_l8_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i45))) +) +(:action apply_cnot_l6_l8_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i43)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l8 ?p2) (rcnot l6_l8_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i47))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l12_l11_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l12_l11_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l11 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l12_l10_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (not (rcnot l10_l8_i39)) (mapped l10 ?p2) (rcnot l12_l10_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i53))) +) +(:action apply_cnot_l9_l10_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l9 ?p1) (not (rcnot l12_l10_i53)) (mapped l10 ?p2) (rcnot l9_l10_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i55))) +) +(:action apply_cnot_l8_l10_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l8 ?p1) (not (rcnot l9_l10_i55)) (mapped l10 ?p2) (rcnot l8_l10_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i57))) +) +(:action apply_cnot_l9_l10_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i55)) (mapped l9 ?p1) (not (rcnot l8_l10_i57)) (mapped l10 ?p2) (rcnot l9_l10_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i59))) +) +(:action apply_cnot_l8_l10_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i57)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l10 ?p2) (rcnot l8_l10_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i61))) +) +(:action apply_cnot_l8_l9_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l9 ?p2) (rcnot l8_l9_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i65))) +) +(:action apply_cnot_l12_l13_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i53)) (mapped l12 ?p1) (not (initialized ?p2)) (rcnot l12_l13_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l11_l13_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l11 ?p1) (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (rcnot l11_l13_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i68))) +) +(:action apply_cnot_l10_l13_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l10 ?p1) (not (rcnot l11_l13_i68)) (mapped l13 ?p2) (rcnot l10_l13_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i70))) +) +(:action apply_cnot_l11_l13_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l11_l13_i68)) (mapped l11 ?p1) (not (rcnot l10_l13_i70)) (mapped l13 ?p2) (rcnot l11_l13_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i72))) +) +(:action apply_cnot_l10_l13_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i70)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l13 ?p2) (rcnot l10_l13_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i74))) +) +(:action apply_cnot_l10_l11_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i74)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l11 ?p2) (rcnot l10_l11_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l11_i75))) +) +(:action apply_cnot_l8_l10_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l8 ?p1) (not (rcnot l10_l11_i75)) (mapped l10 ?p2) (rcnot l8_l10_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i80))) +) +(:action apply_cnot_l9_l10_i82 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l9 ?p1) (not (rcnot l8_l10_i80)) (mapped l10 ?p2) (rcnot l9_l10_i82) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i82))) +) +(:action apply_cnot_l8_l10_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i80)) (mapped l8 ?p1) (not (rcnot l9_l10_i82)) (mapped l10 ?p2) (rcnot l8_l10_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i84))) +) +(:action apply_cnot_l6_l8_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l6 ?p1) (not (rcnot l8_l10_i84)) (mapped l8 ?p2) (rcnot l6_l8_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i87))) +) +(:action apply_cnot_l7_l8_i89 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l7 ?p1) (not (rcnot l6_l8_i87)) (mapped l8 ?p2) (rcnot l7_l8_i89) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i89))) +) +(:action apply_cnot_l6_l8_i91 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i87)) (mapped l6 ?p1) (not (rcnot l7_l8_i89)) (mapped l8 ?p2) (rcnot l6_l8_i91) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i91))) +) +(:action apply_cnot_l4_l6_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l4 ?p1) (not (rcnot l6_l8_i91)) (mapped l6 ?p2) (rcnot l4_l6_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i93))) +) +(:action apply_cnot_l5_l6_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l5 ?p1) (not (rcnot l4_l6_i93)) (mapped l6 ?p2) (rcnot l5_l6_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i95))) +) +(:action apply_cnot_l4_l6_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i93)) (mapped l4 ?p1) (not (rcnot l5_l6_i95)) (mapped l6 ?p2) (rcnot l4_l6_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i97))) +) +(:action apply_cnot_l2_l4_i99 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l2 ?p1) (not (rcnot l4_l6_i97)) (mapped l4 ?p2) (rcnot l2_l4_i99) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i99))) +) +(:action apply_cnot_l3_l4_i101 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l3 ?p1) (not (rcnot l2_l4_i99)) (mapped l4 ?p2) (rcnot l3_l4_i101) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i101))) +) +(:action apply_cnot_l2_l4_i103 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i99)) (mapped l2 ?p1) (not (rcnot l3_l4_i101)) (mapped l4 ?p2) (rcnot l2_l4_i103) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i103))) +) +(:action apply_cnot_l1_l2_i105 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l4_i103)) (mapped l2 ?p2) (rcnot l1_l2_i105) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i105))) +) +(:action apply_cnot_l0_l2_i107 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l0 ?p1) (not (rcnot l1_l2_i105)) (mapped l2 ?p2) (rcnot l0_l2_i107) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i107))) +) +(:action apply_cnot_l1_l2_i109 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i105)) (mapped l1 ?p1) (not (rcnot l0_l2_i107)) (mapped l2 ?p2) (rcnot l1_l2_i109) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i109))) +) +(:action apply_cnot_l0_l2_i111 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i107)) (mapped l0 ?p1) (not (rcnot l1_l2_i109)) (mapped l2 ?p2) (rcnot l0_l2_i111) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i111))) +) +(:action apply_cnot_l1_l0_i112 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i109)) (mapped l1 ?p1) (not (rcnot l0_l2_i111)) (mapped l0 ?p2) (rcnot l1_l0_i112) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i112))) +) +(:action apply_cnot_l3_l4_i116 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i101)) (mapped l3 ?p1) (not (rcnot l2_l4_i103)) (mapped l4 ?p2) (rcnot l3_l4_i116) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i116))) +) +(:action apply_cnot_l5_l6_i120 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i95)) (mapped l5 ?p1) (not (rcnot l4_l6_i97)) (mapped l6 ?p2) (rcnot l5_l6_i120) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i120))) +) +(:action apply_cnot_l7_l8_i124 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i89)) (mapped l7 ?p1) (not (rcnot l6_l8_i91)) (mapped l8 ?p2) (rcnot l7_l8_i124) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i124))) +) +(:action apply_cnot_l9_l10_i127 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i82)) (mapped l9 ?p1) (not (rcnot l8_l10_i84)) (mapped l10 ?p2) (rcnot l9_l10_i127) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i127))) +) +(:action apply_cnot_l12_l10_i130 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l13_i66)) (mapped l12 ?p1) (not (rcnot l9_l10_i127)) (mapped l10 ?p2) (rcnot l12_l10_i130) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i130))) +) +(:action apply_cnot_l10_l8_i131 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l10 ?p1) (not (rcnot l7_l8_i124)) (mapped l8 ?p2) (rcnot l10_l8_i131) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i131))) +) +(:action apply_cnot_l10_l9_i132 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l10 ?p1) (not (rcnot l9_l10_i127)) (mapped l9 ?p2) (rcnot l10_l9_i132) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i132))) +) +(:action apply_cnot_l12_l11_i133 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l12 ?p1) (not (rcnot l10_l11_i75)) (mapped l11 ?p2) (rcnot l12_l11_i133) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i133))) +) +(:action apply_cnot_l8_l6_i134 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l8 ?p1) (not (rcnot l5_l6_i120)) (mapped l6 ?p2) (rcnot l8_l6_i134) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i134))) +) +(:action apply_cnot_l6_l4_i135 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l6 ?p1) (not (rcnot l3_l4_i116)) (mapped l4 ?p2) (rcnot l6_l4_i135) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i135))) +) +(:action apply_cnot_l4_l2_i136 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l4 ?p1) (not (rcnot l0_l2_i111)) (mapped l2 ?p2) (rcnot l4_l2_i136) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i136))) +) +(:action apply_cnot_l4_l3_i137 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i136)) (mapped l4 ?p1) (not (rcnot l3_l4_i116)) (mapped l3 ?p2) (rcnot l4_l3_i137) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i137))) +) +(:action apply_cnot_l6_l5_i138 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l6 ?p1) (not (rcnot l5_l6_i120)) (mapped l5 ?p2) (rcnot l6_l5_i138) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i138))) +) +(:action apply_cnot_l8_l7_i139 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l8 ?p1) (not (rcnot l7_l8_i124)) (mapped l7 ?p2) (rcnot l8_l7_i139) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i139))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p14.pddl b/quantum-layout-sat23-strips/domain_p14.pddl new file mode 100644 index 00000000..9bd35fc2 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p14.pddl @@ -0,0 +1,136 @@ +;; Tokyo/Local_compact/domain_7_tof_4.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l4_i1 l0_l4_i3 l1_l4_i5 l0_l4_i7 l4_l5_i11 l2_l5_i13 l4_l5_i15 l2_l5_i17 l5_l6_i21 l3_l6_i23 l5_l6_i25 l3_l6_i27 l3_l5_i28 l3_l5_i30 l4_l5_i34 l2_l5_i36 l4_l5_i38 l1_l4_i40 l0_l4_i42 l1_l4_i44 l0_l4_i46 l2_l5_i50 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l4_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l4_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i1)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l4_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l4_i1)) (mapped l4 ?p2) (rcnot l0_l4_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i3)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l4_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i1)) (mapped l1 ?p1) (not (rcnot l0_l4_i3)) (mapped l4 ?p2) (rcnot l1_l4_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i5))) +) +(:action apply_cnot_l0_l4_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i3)) (mapped l0 ?p1) (not (rcnot l1_l4_i5)) (mapped l4 ?p2) (rcnot l0_l4_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i7))) +) +(:action apply_cnot_l4_l5_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i7)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l5_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i11)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l5_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l5_i11)) (mapped l5 ?p2) (rcnot l2_l5_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i13)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l5_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i11)) (mapped l4 ?p1) (not (rcnot l2_l5_i13)) (mapped l5 ?p2) (rcnot l4_l5_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i15))) +) +(:action apply_cnot_l2_l5_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i13)) (mapped l2 ?p1) (not (rcnot l4_l5_i15)) (mapped l5 ?p2) (rcnot l2_l5_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i17))) +) +(:action apply_cnot_l5_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i17)) (mapped l5 ?p1) (not (initialized ?p2)) (rcnot l5_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i21)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l6_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i21)) (mapped l6 ?p2) (rcnot l3_l6_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i23)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i21)) (mapped l5 ?p1) (not (rcnot l3_l6_i23)) (mapped l6 ?p2) (rcnot l5_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i25))) +) +(:action apply_cnot_l3_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i23)) (mapped l3 ?p1) (not (rcnot l5_l6_i25)) (mapped l6 ?p2) (rcnot l3_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i27))) +) +(:action apply_cnot_l3_l5_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i27)) (mapped l3 ?p1) (not (rcnot l5_l6_i25)) (mapped l5 ?p2) (rcnot l3_l5_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i28))) +) +(:action apply_cnot_l3_l5_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i28)) (mapped l3 ?p1) (not (rcnot l3_l5_i28)) (mapped l5 ?p2) (rcnot l3_l5_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i30))) +) +(:action apply_cnot_l4_l5_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i15)) (mapped l4 ?p1) (not (rcnot l3_l5_i30)) (mapped l5 ?p2) (rcnot l4_l5_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i34))) +) +(:action apply_cnot_l2_l5_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i17)) (mapped l2 ?p1) (not (rcnot l4_l5_i34)) (mapped l5 ?p2) (rcnot l2_l5_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i36))) +) +(:action apply_cnot_l4_l5_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l4 ?p1) (not (rcnot l2_l5_i36)) (mapped l5 ?p2) (rcnot l4_l5_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i38))) +) +(:action apply_cnot_l1_l4_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i5)) (mapped l1 ?p1) (not (rcnot l4_l5_i38)) (mapped l4 ?p2) (rcnot l1_l4_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i40))) +) +(:action apply_cnot_l0_l4_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i7)) (mapped l0 ?p1) (not (rcnot l1_l4_i40)) (mapped l4 ?p2) (rcnot l0_l4_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i42))) +) +(:action apply_cnot_l1_l4_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i40)) (mapped l1 ?p1) (not (rcnot l0_l4_i42)) (mapped l4 ?p2) (rcnot l1_l4_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i44))) +) +(:action apply_cnot_l0_l4_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i42)) (mapped l0 ?p1) (not (rcnot l1_l4_i44)) (mapped l4 ?p2) (rcnot l0_l4_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i46))) +) +(:action apply_cnot_l2_l5_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i36)) (mapped l2 ?p1) (not (rcnot l4_l5_i38)) (mapped l5 ?p2) (rcnot l2_l5_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i50))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p15.pddl b/quantum-layout-sat23-strips/domain_p15.pddl new file mode 100644 index 00000000..20810eae --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p15.pddl @@ -0,0 +1,196 @@ +;; Tokyo/Local_compact/domain_8_barenco_tof_4.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l5_l6_i3 l3_l6_i5 l5_l6_i7 l3_l5_i8 l3_l5_i10 l4_l5_i12 l2_l5_i14 l4_l5_i16 l2_l4_i17 l2_l4_i19 l1_l4_i21 l0_l4_i23 l1_l4_i25 l0_l4_i27 l4_l5_i30 l2_l5_i32 l4_l5_i34 l5_l6_i36 l3_l6_i38 l5_l6_i40 l3_l5_i41 l3_l5_i43 l4_l5_i46 l2_l5_i48 l4_l5_i50 l1_l4_i52 l0_l4_i54 l1_l4_i56 l0_l4_i58 l4_l5_i61 l2_l5_i63 l4_l5_i65 l2_l4_i66 l2_l4_i68 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l5_l6_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i3)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l6_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i3)) (mapped l6 ?p2) (rcnot l3_l6_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i5)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i3)) (mapped l5 ?p1) (not (rcnot l3_l6_i5)) (mapped l6 ?p2) (rcnot l5_l6_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i7))) +) +(:action apply_cnot_l3_l5_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i5)) (mapped l3 ?p1) (not (rcnot l5_l6_i7)) (mapped l5 ?p2) (rcnot l3_l5_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i8))) +) +(:action apply_cnot_l3_l5_i10 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i8)) (mapped l3 ?p1) (not (rcnot l3_l5_i8)) (mapped l5 ?p2) (rcnot l3_l5_i10) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i10))) +) +(:action apply_cnot_l4_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l5_i10)) (mapped l5 ?p2) (rcnot l4_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i12)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l5_i14 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l5_i12)) (mapped l5 ?p2) (rcnot l2_l5_i14) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i14)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l4_l5_i16 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i12)) (mapped l4 ?p1) (not (rcnot l2_l5_i14)) (mapped l5 ?p2) (rcnot l4_l5_i16) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i16))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i14)) (mapped l2 ?p1) (not (rcnot l4_l5_i16)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l2_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l2_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i19))) +) +(:action apply_cnot_l1_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l4_i19)) (mapped l4 ?p2) (rcnot l1_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i21)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l4_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l4_i21)) (mapped l4 ?p2) (rcnot l0_l4_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i23)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l4_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i21)) (mapped l1 ?p1) (not (rcnot l0_l4_i23)) (mapped l4 ?p2) (rcnot l1_l4_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i25))) +) +(:action apply_cnot_l0_l4_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i23)) (mapped l0 ?p1) (not (rcnot l1_l4_i25)) (mapped l4 ?p2) (rcnot l0_l4_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i27))) +) +(:action apply_cnot_l4_l5_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i27)) (mapped l4 ?p1) (not (rcnot l4_l5_i16)) (mapped l5 ?p2) (rcnot l4_l5_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i30))) +) +(:action apply_cnot_l2_l5_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i19)) (mapped l2 ?p1) (not (rcnot l4_l5_i30)) (mapped l5 ?p2) (rcnot l2_l5_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i32))) +) +(:action apply_cnot_l4_l5_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i30)) (mapped l4 ?p1) (not (rcnot l2_l5_i32)) (mapped l5 ?p2) (rcnot l4_l5_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i34))) +) +(:action apply_cnot_l5_l6_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l5 ?p1) (not (rcnot l5_l6_i7)) (mapped l6 ?p2) (rcnot l5_l6_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i36))) +) +(:action apply_cnot_l3_l6_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i10)) (mapped l3 ?p1) (not (rcnot l5_l6_i36)) (mapped l6 ?p2) (rcnot l3_l6_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i38))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i36)) (mapped l5 ?p1) (not (rcnot l3_l6_i38)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l3_l5_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i38)) (mapped l3 ?p1) (not (rcnot l5_l6_i40)) (mapped l5 ?p2) (rcnot l3_l5_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i41))) +) +(:action apply_cnot_l3_l5_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l5_i41)) (mapped l3 ?p1) (not (rcnot l3_l5_i41)) (mapped l5 ?p2) (rcnot l3_l5_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i43))) +) +(:action apply_cnot_l4_l5_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i34)) (mapped l4 ?p1) (not (rcnot l3_l5_i43)) (mapped l5 ?p2) (rcnot l4_l5_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i46))) +) +(:action apply_cnot_l2_l5_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i32)) (mapped l2 ?p1) (not (rcnot l4_l5_i46)) (mapped l5 ?p2) (rcnot l2_l5_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i48))) +) +(:action apply_cnot_l4_l5_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i46)) (mapped l4 ?p1) (not (rcnot l2_l5_i48)) (mapped l5 ?p2) (rcnot l4_l5_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i50))) +) +(:action apply_cnot_l1_l4_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i25)) (mapped l1 ?p1) (not (rcnot l4_l5_i50)) (mapped l4 ?p2) (rcnot l1_l4_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i52))) +) +(:action apply_cnot_l0_l4_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i27)) (mapped l0 ?p1) (not (rcnot l1_l4_i52)) (mapped l4 ?p2) (rcnot l0_l4_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i54))) +) +(:action apply_cnot_l1_l4_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l4_i52)) (mapped l1 ?p1) (not (rcnot l0_l4_i54)) (mapped l4 ?p2) (rcnot l1_l4_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l4_i56))) +) +(:action apply_cnot_l0_l4_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i54)) (mapped l0 ?p1) (not (rcnot l1_l4_i56)) (mapped l4 ?p2) (rcnot l0_l4_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l4_i58))) +) +(:action apply_cnot_l4_l5_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l4_i58)) (mapped l4 ?p1) (not (rcnot l4_l5_i50)) (mapped l5 ?p2) (rcnot l4_l5_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i61))) +) +(:action apply_cnot_l2_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i48)) (mapped l2 ?p1) (not (rcnot l4_l5_i61)) (mapped l5 ?p2) (rcnot l2_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i63))) +) +(:action apply_cnot_l4_l5_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i61)) (mapped l4 ?p1) (not (rcnot l2_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i65))) +) +(:action apply_cnot_l2_l4_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i63)) (mapped l2 ?p1) (not (rcnot l4_l5_i65)) (mapped l4 ?p2) (rcnot l2_l4_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i66))) +) +(:action apply_cnot_l2_l4_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i66)) (mapped l2 ?p1) (not (rcnot l2_l4_i66)) (mapped l4 ?p2) (rcnot l2_l4_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i68))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p16.pddl b/quantum-layout-sat23-strips/domain_p16.pddl new file mode 100644 index 00000000..18550da3 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p16.pddl @@ -0,0 +1,176 @@ +;; Tokyo/Local_compact/domain_9_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l1_l5_i1 l0_l5_i3 l1_l5_i5 l0_l5_i7 l5_l6_i11 l2_l6_i13 l5_l6_i15 l2_l6_i17 l6_l7_i21 l3_l7_i23 l6_l7_i25 l3_l7_i27 l7_l8_i31 l4_l8_i33 l7_l8_i35 l4_l8_i37 l4_l7_i38 l4_l7_i40 l6_l7_i44 l3_l7_i46 l6_l7_i48 l5_l6_i50 l2_l6_i52 l5_l6_i54 l1_l5_i56 l0_l5_i58 l1_l5_i60 l0_l5_i62 l2_l6_i66 l3_l7_i70 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l5_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l1_l5_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i1)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l5_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i1)) (mapped l5 ?p2) (rcnot l0_l5_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i3)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i1)) (mapped l1 ?p1) (not (rcnot l0_l5_i3)) (mapped l5 ?p2) (rcnot l1_l5_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i5))) +) +(:action apply_cnot_l0_l5_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i3)) (mapped l0 ?p1) (not (rcnot l1_l5_i5)) (mapped l5 ?p2) (rcnot l0_l5_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i7))) +) +(:action apply_cnot_l5_l6_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i7)) (mapped l5 ?p1) (not (initialized ?p2)) (rcnot l5_l6_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i11)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l6_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i11)) (mapped l6 ?p2) (rcnot l2_l6_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i13)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i11)) (mapped l5 ?p1) (not (rcnot l2_l6_i13)) (mapped l6 ?p2) (rcnot l5_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i15))) +) +(:action apply_cnot_l2_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i13)) (mapped l2 ?p1) (not (rcnot l5_l6_i15)) (mapped l6 ?p2) (rcnot l2_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i17))) +) +(:action apply_cnot_l6_l7_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i17)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l7_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i21)) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l3_l7_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i21)) (mapped l7 ?p2) (rcnot l3_l7_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i23)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i21)) (mapped l6 ?p1) (not (rcnot l3_l7_i23)) (mapped l7 ?p2) (rcnot l6_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i25))) +) +(:action apply_cnot_l3_l7_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i23)) (mapped l3 ?p1) (not (rcnot l6_l7_i25)) (mapped l7 ?p2) (rcnot l3_l7_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i27))) +) +(:action apply_cnot_l7_l8_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i27)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l8_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i31)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i31)) (mapped l8 ?p2) (rcnot l4_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i33)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i31)) (mapped l7 ?p1) (not (rcnot l4_l8_i33)) (mapped l8 ?p2) (rcnot l7_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i35))) +) +(:action apply_cnot_l4_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i33)) (mapped l4 ?p1) (not (rcnot l7_l8_i35)) (mapped l8 ?p2) (rcnot l4_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i37))) +) +(:action apply_cnot_l4_l7_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i37)) (mapped l4 ?p1) (not (rcnot l7_l8_i35)) (mapped l7 ?p2) (rcnot l4_l7_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i38))) +) +(:action apply_cnot_l4_l7_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i38)) (mapped l4 ?p1) (not (rcnot l4_l7_i38)) (mapped l7 ?p2) (rcnot l4_l7_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i40))) +) +(:action apply_cnot_l6_l7_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i25)) (mapped l6 ?p1) (not (rcnot l4_l7_i40)) (mapped l7 ?p2) (rcnot l6_l7_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i44))) +) +(:action apply_cnot_l3_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i27)) (mapped l3 ?p1) (not (rcnot l6_l7_i44)) (mapped l7 ?p2) (rcnot l3_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i46))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i44)) (mapped l6 ?p1) (not (rcnot l3_l7_i46)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l5_l6_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i15)) (mapped l5 ?p1) (not (rcnot l6_l7_i48)) (mapped l6 ?p2) (rcnot l5_l6_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i50))) +) +(:action apply_cnot_l2_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i17)) (mapped l2 ?p1) (not (rcnot l5_l6_i50)) (mapped l6 ?p2) (rcnot l2_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i52))) +) +(:action apply_cnot_l5_l6_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i50)) (mapped l5 ?p1) (not (rcnot l2_l6_i52)) (mapped l6 ?p2) (rcnot l5_l6_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i54))) +) +(:action apply_cnot_l1_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i5)) (mapped l1 ?p1) (not (rcnot l5_l6_i54)) (mapped l5 ?p2) (rcnot l1_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i56))) +) +(:action apply_cnot_l0_l5_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i7)) (mapped l0 ?p1) (not (rcnot l1_l5_i56)) (mapped l5 ?p2) (rcnot l0_l5_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i58))) +) +(:action apply_cnot_l1_l5_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i56)) (mapped l1 ?p1) (not (rcnot l0_l5_i58)) (mapped l5 ?p2) (rcnot l1_l5_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i60))) +) +(:action apply_cnot_l0_l5_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i58)) (mapped l0 ?p1) (not (rcnot l1_l5_i60)) (mapped l5 ?p2) (rcnot l0_l5_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i62))) +) +(:action apply_cnot_l2_l6_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i52)) (mapped l2 ?p1) (not (rcnot l5_l6_i54)) (mapped l6 ?p2) (rcnot l2_l6_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i66))) +) +(:action apply_cnot_l3_l7_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i46)) (mapped l3 ?p1) (not (rcnot l6_l7_i48)) (mapped l7 ?p2) (rcnot l3_l7_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i70))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p17.pddl b/quantum-layout-sat23-strips/domain_p17.pddl new file mode 100644 index 00000000..2db5564e --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p17.pddl @@ -0,0 +1,226 @@ +;; Tokyo/Local_compact/domain_10_mod_mult_55.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l0_l7_i2 l2_l7_i4 l0_l7_i6 l2_l7_i8 l2_l0_i9 l2_l0_i12 l7_l6_i15 l1_l6_i17 l7_l6_i19 l1_l6_i21 l1_l7_i22 l6_l5_i25 l6_l3_i26 l1_l7_i30 l2_l8_i33 l0_l8_i35 l2_l8_i37 l0_l8_i39 l8_l7_i42 l7_l3_i43 l8_l6_i45 l1_l6_i47 l8_l6_i49 l1_l6_i51 l1_l8_i52 l6_l4_i55 l1_l8_i57 l1_l3_i58 l7_l3_i60 l1_l3_i62 l5_l8_i66 l1_l5_i68 l7_l5_i70 l1_l5_i72 l7_l5_i74 l2_l8_i79 l0_l8_i81 l2_l8_i83 l0_l8_i86 l5_l8_i90 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l7_i2 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l0_l7_i2) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l7_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l0_l7_i2)) (mapped l7 ?p2) (rcnot l2_l7_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l7_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l7_i2)) (mapped l0 ?p1) (not (rcnot l2_l7_i4)) (mapped l7 ?p2) (rcnot l0_l7_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l7_i6))) +) +(:action apply_cnot_l2_l7_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i4)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l7 ?p2) (rcnot l2_l7_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l7_i8))) +) +(:action apply_cnot_l2_l0_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l2 ?p1) (not (rcnot l0_l7_i6)) (mapped l0 ?p2) (rcnot l2_l0_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i9))) +) +(:action apply_cnot_l2_l0_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i9)) (mapped l2 ?p1) (not (rcnot l2_l0_i9)) (mapped l0 ?p2) (rcnot l2_l0_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l0_i12))) +) +(:action apply_cnot_l7_l6_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l7_i8)) (mapped l7 ?p1) (not (initialized ?p2)) (rcnot l7_l6_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l6_i15)) (mapped l6 ?p2) (rcnot l1_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l6_i15)) (mapped l7 ?p1) (not (rcnot l1_l6_i17)) (mapped l6 ?p2) (rcnot l7_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l6_i19))) +) +(:action apply_cnot_l1_l6_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i17)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l6 ?p2) (rcnot l1_l6_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i21))) +) +(:action apply_cnot_l1_l7_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l1 ?p1) (not (rcnot l7_l6_i19)) (mapped l7 ?p2) (rcnot l1_l7_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i22))) +) +(:action apply_cnot_l6_l5_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i21)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l5_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i25)) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l3_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l3_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l7_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i22)) (mapped l1 ?p1) (not (rcnot l1_l7_i22)) (mapped l7 ?p2) (rcnot l1_l7_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l7_i30))) +) +(:action apply_cnot_l2_l8_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l2 ?p1) (not (initialized ?p2)) (rcnot l2_l8_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l0_l8_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l0_i12)) (mapped l0 ?p1) (not (rcnot l2_l8_i33)) (mapped l8 ?p2) (rcnot l0_l8_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i35))) +) +(:action apply_cnot_l2_l8_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i33)) (mapped l2 ?p1) (not (rcnot l0_l8_i35)) (mapped l8 ?p2) (rcnot l2_l8_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i37))) +) +(:action apply_cnot_l0_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i35)) (mapped l0 ?p1) (not (rcnot l2_l8_i37)) (mapped l8 ?p2) (rcnot l0_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i39))) +) +(:action apply_cnot_l8_l7_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l8 ?p1) (not (rcnot l1_l7_i30)) (mapped l7 ?p2) (rcnot l8_l7_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i42))) +) +(:action apply_cnot_l7_l3_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l7 ?p1) (not (rcnot l6_l3_i26)) (mapped l3 ?p2) (rcnot l7_l3_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i43))) +) +(:action apply_cnot_l8_l6_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i42)) (mapped l8 ?p1) (not (rcnot l6_l3_i26)) (mapped l6 ?p2) (rcnot l8_l6_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i45))) +) +(:action apply_cnot_l1_l6_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l7_i30)) (mapped l1 ?p1) (not (rcnot l8_l6_i45)) (mapped l6 ?p2) (rcnot l1_l6_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i47))) +) +(:action apply_cnot_l8_l6_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i45)) (mapped l8 ?p1) (not (rcnot l1_l6_i47)) (mapped l6 ?p2) (rcnot l8_l6_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i49))) +) +(:action apply_cnot_l1_l6_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i47)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l6 ?p2) (rcnot l1_l6_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l6_i51))) +) +(:action apply_cnot_l1_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l1 ?p1) (not (rcnot l8_l6_i49)) (mapped l8 ?p2) (rcnot l1_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i52))) +) +(:action apply_cnot_l6_l4_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l6_i51)) (mapped l6 ?p1) (not (initialized ?p2)) (rcnot l6_l4_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i55)) (mapped l4 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l8_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i52)) (mapped l1 ?p1) (not (rcnot l1_l8_i52)) (mapped l8 ?p2) (rcnot l1_l8_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l8_i57))) +) +(:action apply_cnot_l1_l3_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l8_i57)) (mapped l1 ?p1) (not (rcnot l7_l3_i43)) (mapped l3 ?p2) (rcnot l1_l3_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i58))) +) +(:action apply_cnot_l7_l3_i60 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i43)) (mapped l7 ?p1) (not (rcnot l1_l3_i58)) (mapped l3 ?p2) (rcnot l7_l3_i60) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l3_i60))) +) +(:action apply_cnot_l1_l3_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i58)) (mapped l1 ?p1) (not (rcnot l7_l3_i60)) (mapped l3 ?p2) (rcnot l1_l3_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i62))) +) +(:action apply_cnot_l5_l8_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i25)) (mapped l5 ?p1) (not (rcnot l1_l8_i57)) (mapped l8 ?p2) (rcnot l5_l8_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i66))) +) +(:action apply_cnot_l1_l5_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i62)) (mapped l1 ?p1) (not (rcnot l5_l8_i66)) (mapped l5 ?p2) (rcnot l1_l5_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i68))) +) +(:action apply_cnot_l7_l5_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l3_i60)) (mapped l7 ?p1) (not (rcnot l1_l5_i68)) (mapped l5 ?p2) (rcnot l7_l5_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i70))) +) +(:action apply_cnot_l1_l5_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i68)) (mapped l1 ?p1) (not (rcnot l7_l5_i70)) (mapped l5 ?p2) (rcnot l1_l5_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i72))) +) +(:action apply_cnot_l7_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i70)) (mapped l7 ?p1) (not (rcnot l1_l5_i72)) (mapped l5 ?p2) (rcnot l7_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l5_i74))) +) +(:action apply_cnot_l2_l8_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i37)) (mapped l2 ?p1) (not (rcnot l5_l8_i66)) (mapped l8 ?p2) (rcnot l2_l8_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i79))) +) +(:action apply_cnot_l0_l8_i81 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i39)) (mapped l0 ?p1) (not (rcnot l2_l8_i79)) (mapped l8 ?p2) (rcnot l0_l8_i81) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i81))) +) +(:action apply_cnot_l2_l8_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l8_i79)) (mapped l2 ?p1) (not (rcnot l0_l8_i81)) (mapped l8 ?p2) (rcnot l2_l8_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l8_i83))) +) +(:action apply_cnot_l0_l8_i86 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l8_i81)) (mapped l0 ?p1) (not (rcnot l2_l8_i83)) (mapped l8 ?p2) (rcnot l0_l8_i86) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l8_i86))) +) +(:action apply_cnot_l5_l8_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l5_i74)) (mapped l5 ?p1) (not (rcnot l0_l8_i86)) (mapped l8 ?p2) (rcnot l5_l8_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l8_i90))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p18.pddl b/quantum-layout-sat23-strips/domain_p18.pddl new file mode 100644 index 00000000..1d7aefb5 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p18.pddl @@ -0,0 +1,276 @@ +;; Tokyo/Local_compact/domain_11_barenco_tof_5.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l7_l8_i4 l4_l8_i6 l7_l8_i8 l4_l7_i9 l4_l7_i11 l6_l7_i13 l3_l7_i15 l6_l7_i17 l3_l6_i18 l3_l6_i20 l5_l6_i22 l2_l6_i24 l5_l6_i26 l2_l5_i27 l2_l5_i29 l1_l5_i31 l0_l5_i33 l1_l5_i35 l0_l5_i37 l5_l6_i40 l2_l6_i42 l5_l6_i44 l6_l7_i46 l3_l7_i48 l6_l7_i50 l7_l8_i52 l4_l8_i54 l7_l8_i56 l4_l7_i57 l4_l7_i59 l6_l7_i62 l3_l7_i64 l6_l7_i66 l5_l6_i68 l2_l6_i70 l5_l6_i72 l1_l5_i74 l0_l5_i76 l1_l5_i78 l0_l5_i80 l5_l6_i83 l2_l6_i85 l5_l6_i87 l2_l5_i88 l2_l5_i90 l6_l7_i93 l3_l7_i95 l6_l7_i97 l3_l6_i98 l3_l6_i100 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l8_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l7_l8_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l8 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l8_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l7_l8_i4)) (mapped l8 ?p2) (rcnot l4_l8_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l7_l8_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i4)) (mapped l7 ?p1) (not (rcnot l4_l8_i6)) (mapped l8 ?p2) (rcnot l7_l8_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i8))) +) +(:action apply_cnot_l4_l7_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i6)) (mapped l4 ?p1) (not (rcnot l7_l8_i8)) (mapped l7 ?p2) (rcnot l4_l7_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i9))) +) +(:action apply_cnot_l4_l7_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i9)) (mapped l4 ?p1) (not (rcnot l4_l7_i9)) (mapped l7 ?p2) (rcnot l4_l7_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i11))) +) +(:action apply_cnot_l6_l7_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l7_i11)) (mapped l7 ?p2) (rcnot l6_l7_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l3_l7_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l6_l7_i13)) (mapped l7 ?p2) (rcnot l3_l7_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l6_l7_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i13)) (mapped l6 ?p1) (not (rcnot l3_l7_i15)) (mapped l7 ?p2) (rcnot l6_l7_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i17))) +) +(:action apply_cnot_l3_l6_i18 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i15)) (mapped l3 ?p1) (not (rcnot l6_l7_i17)) (mapped l6 ?p2) (rcnot l3_l6_i18) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i18))) +) +(:action apply_cnot_l3_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i18)) (mapped l3 ?p1) (not (rcnot l3_l6_i18)) (mapped l6 ?p2) (rcnot l3_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i20))) +) +(:action apply_cnot_l5_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l3_l6_i20)) (mapped l6 ?p2) (rcnot l5_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i22)) (mapped l6 ?p2) (rcnot l2_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i22)) (mapped l5 ?p1) (not (rcnot l2_l6_i24)) (mapped l6 ?p2) (rcnot l5_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i26))) +) +(:action apply_cnot_l2_l5_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i24)) (mapped l2 ?p1) (not (rcnot l5_l6_i26)) (mapped l5 ?p2) (rcnot l2_l5_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i27))) +) +(:action apply_cnot_l2_l5_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i27)) (mapped l2 ?p1) (not (rcnot l2_l5_i27)) (mapped l5 ?p2) (rcnot l2_l5_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i29))) +) +(:action apply_cnot_l1_l5_i31 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l5_i29)) (mapped l5 ?p2) (rcnot l1_l5_i31) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l5_i33 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l5_i31)) (mapped l5 ?p2) (rcnot l0_l5_i33) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i31)) (mapped l1 ?p1) (not (rcnot l0_l5_i33)) (mapped l5 ?p2) (rcnot l1_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i35))) +) +(:action apply_cnot_l0_l5_i37 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i33)) (mapped l0 ?p1) (not (rcnot l1_l5_i35)) (mapped l5 ?p2) (rcnot l0_l5_i37) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i37))) +) +(:action apply_cnot_l5_l6_i40 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l5 ?p1) (not (rcnot l5_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i40) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i40))) +) +(:action apply_cnot_l2_l6_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i29)) (mapped l2 ?p1) (not (rcnot l5_l6_i40)) (mapped l6 ?p2) (rcnot l2_l6_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i42))) +) +(:action apply_cnot_l5_l6_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i40)) (mapped l5 ?p1) (not (rcnot l2_l6_i42)) (mapped l6 ?p2) (rcnot l5_l6_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i44))) +) +(:action apply_cnot_l6_l7_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l6 ?p1) (not (rcnot l6_l7_i17)) (mapped l7 ?p2) (rcnot l6_l7_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i46))) +) +(:action apply_cnot_l3_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i20)) (mapped l3 ?p1) (not (rcnot l6_l7_i46)) (mapped l7 ?p2) (rcnot l3_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i48))) +) +(:action apply_cnot_l6_l7_i50 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i46)) (mapped l6 ?p1) (not (rcnot l3_l7_i48)) (mapped l7 ?p2) (rcnot l6_l7_i50) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i50))) +) +(:action apply_cnot_l7_l8_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l7 ?p1) (not (rcnot l7_l8_i8)) (mapped l8 ?p2) (rcnot l7_l8_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i52))) +) +(:action apply_cnot_l4_l8_i54 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i11)) (mapped l4 ?p1) (not (rcnot l7_l8_i52)) (mapped l8 ?p2) (rcnot l4_l8_i54) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l8_i54))) +) +(:action apply_cnot_l7_l8_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i52)) (mapped l7 ?p1) (not (rcnot l4_l8_i54)) (mapped l8 ?p2) (rcnot l7_l8_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i56))) +) +(:action apply_cnot_l4_l7_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l8_i54)) (mapped l4 ?p1) (not (rcnot l7_l8_i56)) (mapped l7 ?p2) (rcnot l4_l7_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i57))) +) +(:action apply_cnot_l4_l7_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l7_i57)) (mapped l4 ?p1) (not (rcnot l4_l7_i57)) (mapped l7 ?p2) (rcnot l4_l7_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l7_i59))) +) +(:action apply_cnot_l6_l7_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i50)) (mapped l6 ?p1) (not (rcnot l4_l7_i59)) (mapped l7 ?p2) (rcnot l6_l7_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i62))) +) +(:action apply_cnot_l3_l7_i64 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i48)) (mapped l3 ?p1) (not (rcnot l6_l7_i62)) (mapped l7 ?p2) (rcnot l3_l7_i64) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i64))) +) +(:action apply_cnot_l6_l7_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i62)) (mapped l6 ?p1) (not (rcnot l3_l7_i64)) (mapped l7 ?p2) (rcnot l6_l7_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i66))) +) +(:action apply_cnot_l5_l6_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i44)) (mapped l5 ?p1) (not (rcnot l6_l7_i66)) (mapped l6 ?p2) (rcnot l5_l6_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i68))) +) +(:action apply_cnot_l2_l6_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i42)) (mapped l2 ?p1) (not (rcnot l5_l6_i68)) (mapped l6 ?p2) (rcnot l2_l6_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i70))) +) +(:action apply_cnot_l5_l6_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i68)) (mapped l5 ?p1) (not (rcnot l2_l6_i70)) (mapped l6 ?p2) (rcnot l5_l6_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i72))) +) +(:action apply_cnot_l1_l5_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i35)) (mapped l1 ?p1) (not (rcnot l5_l6_i72)) (mapped l5 ?p2) (rcnot l1_l5_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i74))) +) +(:action apply_cnot_l0_l5_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i37)) (mapped l0 ?p1) (not (rcnot l1_l5_i74)) (mapped l5 ?p2) (rcnot l0_l5_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i76))) +) +(:action apply_cnot_l1_l5_i78 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l5_i74)) (mapped l1 ?p1) (not (rcnot l0_l5_i76)) (mapped l5 ?p2) (rcnot l1_l5_i78) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l5_i78))) +) +(:action apply_cnot_l0_l5_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i76)) (mapped l0 ?p1) (not (rcnot l1_l5_i78)) (mapped l5 ?p2) (rcnot l0_l5_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l5_i80))) +) +(:action apply_cnot_l5_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l5_i80)) (mapped l5 ?p1) (not (rcnot l5_l6_i72)) (mapped l6 ?p2) (rcnot l5_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i83))) +) +(:action apply_cnot_l2_l6_i85 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i70)) (mapped l2 ?p1) (not (rcnot l5_l6_i83)) (mapped l6 ?p2) (rcnot l2_l6_i85) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l6_i85))) +) +(:action apply_cnot_l5_l6_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i83)) (mapped l5 ?p1) (not (rcnot l2_l6_i85)) (mapped l6 ?p2) (rcnot l5_l6_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i87))) +) +(:action apply_cnot_l2_l5_i88 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l6_i85)) (mapped l2 ?p1) (not (rcnot l5_l6_i87)) (mapped l5 ?p2) (rcnot l2_l5_i88) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i88))) +) +(:action apply_cnot_l2_l5_i90 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l5_i88)) (mapped l2 ?p1) (not (rcnot l2_l5_i88)) (mapped l5 ?p2) (rcnot l2_l5_i90) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l5_i90))) +) +(:action apply_cnot_l6_l7_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i87)) (mapped l6 ?p1) (not (rcnot l6_l7_i66)) (mapped l7 ?p2) (rcnot l6_l7_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i93))) +) +(:action apply_cnot_l3_l7_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i64)) (mapped l3 ?p1) (not (rcnot l6_l7_i93)) (mapped l7 ?p2) (rcnot l3_l7_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l7_i95))) +) +(:action apply_cnot_l6_l7_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i93)) (mapped l6 ?p1) (not (rcnot l3_l7_i95)) (mapped l7 ?p2) (rcnot l6_l7_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i97))) +) +(:action apply_cnot_l3_l6_i98 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l7_i95)) (mapped l3 ?p1) (not (rcnot l6_l7_i97)) (mapped l6 ?p2) (rcnot l3_l6_i98) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i98))) +) +(:action apply_cnot_l3_l6_i100 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i98)) (mapped l3 ?p1) (not (rcnot l3_l6_i98)) (mapped l6 ?p2) (rcnot l3_l6_i100) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i100))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p19.pddl b/quantum-layout-sat23-strips/domain_p19.pddl new file mode 100644 index 00000000..68efd45d --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p19.pddl @@ -0,0 +1,276 @@ +;; Tokyo/Local_compact/domain_12_vbe_adder_3.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l2_l3_i1 l1_l3_i3 l2_l3_i4 l1_l3_i6 l1_l2_i7 l2_l3_i8 l0_l3_i9 l2_l3_i11 l0_l3_i13 l5_l6_i17 l4_l6_i19 l5_l6_i20 l4_l6_i22 l4_l5_i23 l5_l6_i24 l3_l6_i25 l5_l6_i27 l3_l6_i29 l8_l9_i36 l7_l9_i38 l8_l9_i39 l7_l9_i41 l7_l8_i42 l8_l9_i43 l6_l9_i44 l8_l9_i46 l6_l9_i48 l6_l8_i49 l5_l6_i52 l3_l6_i53 l5_l6_i55 l4_l5_i56 l3_l6_i58 l5_l6_i59 l4_l6_i61 l5_l6_i62 l3_l5_i63 l2_l3_i66 l0_l3_i67 l2_l3_i69 l1_l2_i70 l0_l3_i72 l2_l3_i73 l1_l3_i75 l2_l3_i76 l0_l2_i77 l1_l3_i79 l1_l2_i80 l4_l6_i83 l4_l5_i84 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l2_l3_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l2_l3_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l3_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i1)) (mapped l3 ?p2) (rcnot l1_l3_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i4 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i1)) (mapped l2 ?p1) (not (rcnot l1_l3_i3)) (mapped l3 ?p2) (rcnot l2_l3_i4) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i4))) +) +(:action apply_cnot_l1_l3_i6 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i3)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l3 ?p2) (rcnot l1_l3_i6) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i6))) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i6)) (mapped l1 ?p1) (not (rcnot l2_l3_i4)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l2_l3_i8 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l2 ?p1) (not (rcnot l1_l3_i6)) (mapped l3 ?p2) (rcnot l2_l3_i8) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i8))) +) +(:action apply_cnot_l0_l3_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l2_l3_i8)) (mapped l3 ?p2) (rcnot l0_l3_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l2_l3_i11 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i8)) (mapped l2 ?p1) (not (rcnot l0_l3_i9)) (mapped l3 ?p2) (rcnot l2_l3_i11) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i11))) +) +(:action apply_cnot_l0_l3_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i9)) (mapped l0 ?p1) (not (rcnot l2_l3_i11)) (mapped l3 ?p2) (rcnot l0_l3_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i13))) +) +(:action apply_cnot_l5_l6_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l5_l6_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l6 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l6_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l5_l6_i17)) (mapped l6 ?p2) (rcnot l4_l6_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l5_l6_i20 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i17)) (mapped l5 ?p1) (not (rcnot l4_l6_i19)) (mapped l6 ?p2) (rcnot l5_l6_i20) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i20))) +) +(:action apply_cnot_l4_l6_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i19)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l6 ?p2) (rcnot l4_l6_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i22))) +) +(:action apply_cnot_l4_l5_i23 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i22)) (mapped l4 ?p1) (not (rcnot l5_l6_i20)) (mapped l5 ?p2) (rcnot l4_l5_i23) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i23))) +) +(:action apply_cnot_l5_l6_i24 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l5 ?p1) (not (rcnot l4_l6_i22)) (mapped l6 ?p2) (rcnot l5_l6_i24) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i24))) +) +(:action apply_cnot_l3_l6_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l3 ?p1) (not (rcnot l5_l6_i24)) (mapped l6 ?p2) (rcnot l3_l6_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i25))) +) +(:action apply_cnot_l5_l6_i27 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i24)) (mapped l5 ?p1) (not (rcnot l3_l6_i25)) (mapped l6 ?p2) (rcnot l5_l6_i27) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i27))) +) +(:action apply_cnot_l3_l6_i29 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i25)) (mapped l3 ?p1) (not (rcnot l5_l6_i27)) (mapped l6 ?p2) (rcnot l3_l6_i29) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i29))) +) +(:action apply_cnot_l8_l9_i36 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l9_i36) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l7_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l8_l9_i36)) (mapped l9 ?p2) (rcnot l7_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l8_l9_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i36)) (mapped l8 ?p1) (not (rcnot l7_l9_i38)) (mapped l9 ?p2) (rcnot l8_l9_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i39))) +) +(:action apply_cnot_l7_l9_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i38)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l9 ?p2) (rcnot l7_l9_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l9_i41))) +) +(:action apply_cnot_l7_l8_i42 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l9_i41)) (mapped l7 ?p1) (not (rcnot l8_l9_i39)) (mapped l8 ?p2) (rcnot l7_l8_i42) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i42))) +) +(:action apply_cnot_l8_l9_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i42)) (mapped l8 ?p1) (not (rcnot l7_l9_i41)) (mapped l9 ?p2) (rcnot l8_l9_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i43))) +) +(:action apply_cnot_l6_l9_i44 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l6 ?p1) (not (rcnot l8_l9_i43)) (mapped l9 ?p2) (rcnot l6_l9_i44) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i44))) +) +(:action apply_cnot_l8_l9_i46 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i43)) (mapped l8 ?p1) (not (rcnot l6_l9_i44)) (mapped l9 ?p2) (rcnot l8_l9_i46) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i46))) +) +(:action apply_cnot_l6_l9_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i44)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l9 ?p2) (rcnot l6_l9_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l9_i48))) +) +(:action apply_cnot_l6_l8_i49 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l9_i48)) (mapped l6 ?p1) (not (rcnot l8_l9_i46)) (mapped l8 ?p2) (rcnot l6_l8_i49) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i49))) +) +(:action apply_cnot_l5_l6_i52 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i27)) (mapped l5 ?p1) (not (rcnot l6_l8_i49)) (mapped l6 ?p2) (rcnot l5_l6_i52) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i52))) +) +(:action apply_cnot_l3_l6_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i29)) (mapped l3 ?p1) (not (rcnot l5_l6_i52)) (mapped l6 ?p2) (rcnot l3_l6_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i53))) +) +(:action apply_cnot_l5_l6_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i52)) (mapped l5 ?p1) (not (rcnot l3_l6_i53)) (mapped l6 ?p2) (rcnot l5_l6_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i55))) +) +(:action apply_cnot_l4_l5_i56 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i23)) (mapped l4 ?p1) (not (rcnot l5_l6_i55)) (mapped l5 ?p2) (rcnot l4_l5_i56) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i56))) +) +(:action apply_cnot_l3_l6_i58 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i53)) (mapped l3 ?p1) (not (rcnot l5_l6_i55)) (mapped l6 ?p2) (rcnot l3_l6_i58) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l6_i58))) +) +(:action apply_cnot_l5_l6_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l5 ?p1) (not (rcnot l3_l6_i58)) (mapped l6 ?p2) (rcnot l5_l6_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i59))) +) +(:action apply_cnot_l4_l6_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i56)) (mapped l4 ?p1) (not (rcnot l5_l6_i59)) (mapped l6 ?p2) (rcnot l4_l6_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i61))) +) +(:action apply_cnot_l5_l6_i62 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i59)) (mapped l5 ?p1) (not (rcnot l4_l6_i61)) (mapped l6 ?p2) (rcnot l5_l6_i62) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i62))) +) +(:action apply_cnot_l3_l5_i63 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l6_i58)) (mapped l3 ?p1) (not (rcnot l5_l6_i62)) (mapped l5 ?p2) (rcnot l3_l5_i63) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l5_i63))) +) +(:action apply_cnot_l2_l3_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i11)) (mapped l2 ?p1) (not (rcnot l3_l5_i63)) (mapped l3 ?p2) (rcnot l2_l3_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i66))) +) +(:action apply_cnot_l0_l3_i67 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i13)) (mapped l0 ?p1) (not (rcnot l2_l3_i66)) (mapped l3 ?p2) (rcnot l0_l3_i67) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i67))) +) +(:action apply_cnot_l2_l3_i69 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i66)) (mapped l2 ?p1) (not (rcnot l0_l3_i67)) (mapped l3 ?p2) (rcnot l2_l3_i69) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i69))) +) +(:action apply_cnot_l1_l2_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l3_i69)) (mapped l2 ?p2) (rcnot l1_l2_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i70))) +) +(:action apply_cnot_l0_l3_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i67)) (mapped l0 ?p1) (not (rcnot l2_l3_i69)) (mapped l3 ?p2) (rcnot l0_l3_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l3_i72))) +) +(:action apply_cnot_l2_l3_i73 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l2 ?p1) (not (rcnot l0_l3_i72)) (mapped l3 ?p2) (rcnot l2_l3_i73) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i73))) +) +(:action apply_cnot_l1_l3_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i70)) (mapped l1 ?p1) (not (rcnot l2_l3_i73)) (mapped l3 ?p2) (rcnot l1_l3_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i75))) +) +(:action apply_cnot_l2_l3_i76 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i73)) (mapped l2 ?p1) (not (rcnot l1_l3_i75)) (mapped l3 ?p2) (rcnot l2_l3_i76) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i76))) +) +(:action apply_cnot_l0_l2_i77 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l3_i72)) (mapped l0 ?p1) (not (rcnot l2_l3_i76)) (mapped l2 ?p2) (rcnot l0_l2_i77) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i77))) +) +(:action apply_cnot_l1_l3_i79 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i75)) (mapped l1 ?p1) (not (rcnot l2_l3_i76)) (mapped l3 ?p2) (rcnot l1_l3_i79) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l3_i79))) +) +(:action apply_cnot_l1_l2_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l3_i79)) (mapped l1 ?p1) (not (rcnot l0_l2_i77)) (mapped l2 ?p2) (rcnot l1_l2_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i80))) +) +(:action apply_cnot_l4_l6_i83 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i61)) (mapped l4 ?p1) (not (rcnot l5_l6_i62)) (mapped l6 ?p2) (rcnot l4_l6_i83) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i83))) +) +(:action apply_cnot_l4_l5_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i83)) (mapped l4 ?p1) (not (rcnot l3_l5_i63)) (mapped l5 ?p2) (rcnot l4_l5_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i84))) +) +) diff --git a/quantum-layout-sat23-strips/domain_p20.pddl b/quantum-layout-sat23-strips/domain_p20.pddl new file mode 100644 index 00000000..bf30d019 --- /dev/null +++ b/quantum-layout-sat23-strips/domain_p20.pddl @@ -0,0 +1,381 @@ +;; Tokyo/Local_compact/domain_13_rc_adder_6.pddl +(define (domain Quantum) +(:requirements :strips :typing :negative-preconditions) +(:types pqubit lqubit gateid - object +) +(:constants l4_l3_i0 l4_l2_i1 l1_l2_i3 l0_l2_i5 l1_l2_i7 l0_l2_i9 l6_l5_i12 l6_l4_i13 l3_l4_i15 l2_l4_i17 l3_l4_i19 l2_l4_i21 l2_l3_i22 l8_l7_i25 l8_l6_i26 l5_l6_i28 l4_l6_i30 l5_l6_i32 l4_l6_i34 l4_l5_i35 l10_l9_i38 l10_l8_i39 l7_l8_i41 l6_l8_i43 l7_l8_i45 l6_l8_i47 l6_l7_i48 l12_l11_i51 l12_l10_i53 l9_l10_i55 l8_l10_i57 l9_l10_i59 l8_l10_i61 l8_l9_i65 l12_l13_i66 l11_l13_i68 l10_l13_i70 l11_l13_i72 l10_l13_i74 l10_l11_i75 l8_l10_i80 l9_l10_i82 l8_l10_i84 l6_l8_i87 l7_l8_i89 l6_l8_i91 l4_l6_i93 l5_l6_i95 l4_l6_i97 l2_l4_i99 l3_l4_i101 l2_l4_i103 l1_l2_i105 l0_l2_i107 l1_l2_i109 l0_l2_i111 l1_l0_i112 l3_l4_i116 l5_l6_i120 l7_l8_i124 l9_l10_i127 l12_l10_i130 l10_l8_i131 l10_l9_i132 l12_l11_i133 l8_l6_i134 l6_l4_i135 l4_l2_i136 l4_l3_i137 l6_l5_i138 l8_l7_i139 - gateid + ;; logical qubits + l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 l10 l11 l12 l13 - lqubit) +(:predicates (occupied_pqubit ?p - pqubit) + (initialized ?p - pqubit) + (mapped ?l - lqubit ?p - pqubit) + (connected ?p1 - pqubit ?p2 - pqubit) + ;; required cnot(control_gate,target_gate) at some depth + (rcnot ?g - gateid) +) +(:action swap +:parameters (?l1 - lqubit ?l2 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (mapped ?l2 ?p2) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (mapped ?l2 ?p2)) (mapped ?l1 ?p2) (mapped ?l2 ?p1)) +) +(:action swap-ancilary +:parameters (?l1 - lqubit ?p1 - pqubit ?p2 - pqubit) +:precondition (and (mapped ?l1 ?p1) (not (occupied_pqubit ?p2)) (connected ?p1 ?p2)) +:effect (and (not (mapped ?l1 ?p1)) (not (occupied_pqubit ?p1)) (mapped ?l1 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l3_i0 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l4_l3_i0) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l3 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l4_l2_i1 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l4 ?p1) (not (initialized ?p2)) (rcnot l4_l2_i1) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l1_l2_i3 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l4_l2_i1)) (mapped l2 ?p2) (rcnot l1_l2_i3) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l0_l2_i5 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (rcnot l1_l2_i3)) (mapped l2 ?p2) (rcnot l0_l2_i5) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (occupied_pqubit ?p1) (initialized ?p1)) +) +(:action apply_cnot_l1_l2_i7 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i3)) (mapped l1 ?p1) (not (rcnot l0_l2_i5)) (mapped l2 ?p2) (rcnot l1_l2_i7) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i7))) +) +(:action apply_cnot_l0_l2_i9 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i5)) (mapped l0 ?p1) (not (rcnot l1_l2_i7)) (mapped l2 ?p2) (rcnot l0_l2_i9) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i9))) +) +(:action apply_cnot_l6_l5_i12 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l6_l5_i12) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l5 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l6_l4_i13 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l6 ?p1) (not (rcnot l4_l2_i1)) (mapped l4 ?p2) (rcnot l6_l4_i13) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i13))) +) +(:action apply_cnot_l3_l4_i15 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l3_i0)) (mapped l3 ?p1) (not (rcnot l6_l4_i13)) (mapped l4 ?p2) (rcnot l3_l4_i15) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i15))) +) +(:action apply_cnot_l2_l4_i17 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l2 ?p1) (not (rcnot l3_l4_i15)) (mapped l4 ?p2) (rcnot l2_l4_i17) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i17))) +) +(:action apply_cnot_l3_l4_i19 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i15)) (mapped l3 ?p1) (not (rcnot l2_l4_i17)) (mapped l4 ?p2) (rcnot l3_l4_i19) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i19))) +) +(:action apply_cnot_l2_l4_i21 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i17)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l4 ?p2) (rcnot l2_l4_i21) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i21))) +) +(:action apply_cnot_l2_l3_i22 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l2 ?p1) (not (rcnot l3_l4_i19)) (mapped l3 ?p2) (rcnot l2_l3_i22) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l3_i22))) +) +(:action apply_cnot_l8_l7_i25 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l8_l7_i25) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l7 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l8_l6_i26 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l8 ?p1) (not (rcnot l6_l4_i13)) (mapped l6 ?p2) (rcnot l8_l6_i26) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i26))) +) +(:action apply_cnot_l5_l6_i28 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l5_i12)) (mapped l5 ?p1) (not (rcnot l8_l6_i26)) (mapped l6 ?p2) (rcnot l5_l6_i28) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i28))) +) +(:action apply_cnot_l4_l6_i30 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i21)) (mapped l4 ?p1) (not (rcnot l5_l6_i28)) (mapped l6 ?p2) (rcnot l4_l6_i30) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i30))) +) +(:action apply_cnot_l5_l6_i32 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i28)) (mapped l5 ?p1) (not (rcnot l4_l6_i30)) (mapped l6 ?p2) (rcnot l5_l6_i32) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i32))) +) +(:action apply_cnot_l4_l6_i34 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i30)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l6 ?p2) (rcnot l4_l6_i34) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i34))) +) +(:action apply_cnot_l4_l5_i35 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l4 ?p1) (not (rcnot l5_l6_i32)) (mapped l5 ?p2) (rcnot l4_l5_i35) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l5_i35))) +) +(:action apply_cnot_l10_l9_i38 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l10_l9_i38) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l9 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l10_l8_i39 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l10 ?p1) (not (rcnot l8_l6_i26)) (mapped l8 ?p2) (rcnot l10_l8_i39) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i39))) +) +(:action apply_cnot_l7_l8_i41 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l7_i25)) (mapped l7 ?p1) (not (rcnot l10_l8_i39)) (mapped l8 ?p2) (rcnot l7_l8_i41) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i41))) +) +(:action apply_cnot_l6_l8_i43 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i34)) (mapped l6 ?p1) (not (rcnot l7_l8_i41)) (mapped l8 ?p2) (rcnot l6_l8_i43) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i43))) +) +(:action apply_cnot_l7_l8_i45 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i41)) (mapped l7 ?p1) (not (rcnot l6_l8_i43)) (mapped l8 ?p2) (rcnot l7_l8_i45) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i45))) +) +(:action apply_cnot_l6_l8_i47 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i43)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l8 ?p2) (rcnot l6_l8_i47) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i47))) +) +(:action apply_cnot_l6_l7_i48 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l6 ?p1) (not (rcnot l7_l8_i45)) (mapped l7 ?p2) (rcnot l6_l7_i48) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l7_i48))) +) +(:action apply_cnot_l12_l11_i51 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (initialized ?p1)) (not (initialized ?p2)) (rcnot l12_l11_i51) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (occupied_pqubit ?p1) (initialized ?p1) (mapped l11 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l12_l10_i53 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l12 ?p1) (not (rcnot l10_l8_i39)) (mapped l10 ?p2) (rcnot l12_l10_i53) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i53))) +) +(:action apply_cnot_l9_l10_i55 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l9_i38)) (mapped l9 ?p1) (not (rcnot l12_l10_i53)) (mapped l10 ?p2) (rcnot l9_l10_i55) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i55))) +) +(:action apply_cnot_l8_l10_i57 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i47)) (mapped l8 ?p1) (not (rcnot l9_l10_i55)) (mapped l10 ?p2) (rcnot l8_l10_i57) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i57))) +) +(:action apply_cnot_l9_l10_i59 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i55)) (mapped l9 ?p1) (not (rcnot l8_l10_i57)) (mapped l10 ?p2) (rcnot l9_l10_i59) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i59))) +) +(:action apply_cnot_l8_l10_i61 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i57)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l10 ?p2) (rcnot l8_l10_i61) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i61))) +) +(:action apply_cnot_l8_l9_i65 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l8 ?p1) (not (rcnot l9_l10_i59)) (mapped l9 ?p2) (rcnot l8_l9_i65) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l9_i65))) +) +(:action apply_cnot_l12_l13_i66 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i53)) (mapped l12 ?p1) (not (initialized ?p2)) (rcnot l12_l13_i66) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (occupied_pqubit ?p2) (initialized ?p2)) +) +(:action apply_cnot_l11_l13_i68 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l11_i51)) (mapped l11 ?p1) (not (rcnot l12_l13_i66)) (mapped l13 ?p2) (rcnot l11_l13_i68) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i68))) +) +(:action apply_cnot_l10_l13_i70 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i61)) (mapped l10 ?p1) (not (rcnot l11_l13_i68)) (mapped l13 ?p2) (rcnot l10_l13_i70) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i70))) +) +(:action apply_cnot_l11_l13_i72 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l11_l13_i68)) (mapped l11 ?p1) (not (rcnot l10_l13_i70)) (mapped l13 ?p2) (rcnot l11_l13_i72) (connected ?p1 ?p2)) +:effect (and (not (rcnot l11_l13_i72))) +) +(:action apply_cnot_l10_l13_i74 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i70)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l13 ?p2) (rcnot l10_l13_i74) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l13_i74))) +) +(:action apply_cnot_l10_l11_i75 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l13_i74)) (mapped l10 ?p1) (not (rcnot l11_l13_i72)) (mapped l11 ?p2) (rcnot l10_l11_i75) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l11_i75))) +) +(:action apply_cnot_l8_l10_i80 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l8 ?p1) (not (rcnot l10_l11_i75)) (mapped l10 ?p2) (rcnot l8_l10_i80) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i80))) +) +(:action apply_cnot_l9_l10_i82 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l9_i65)) (mapped l9 ?p1) (not (rcnot l8_l10_i80)) (mapped l10 ?p2) (rcnot l9_l10_i82) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i82))) +) +(:action apply_cnot_l8_l10_i84 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l10_i80)) (mapped l8 ?p1) (not (rcnot l9_l10_i82)) (mapped l10 ?p2) (rcnot l8_l10_i84) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l10_i84))) +) +(:action apply_cnot_l6_l8_i87 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l6 ?p1) (not (rcnot l8_l10_i84)) (mapped l8 ?p2) (rcnot l6_l8_i87) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i87))) +) +(:action apply_cnot_l7_l8_i89 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l7_i48)) (mapped l7 ?p1) (not (rcnot l6_l8_i87)) (mapped l8 ?p2) (rcnot l7_l8_i89) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i89))) +) +(:action apply_cnot_l6_l8_i91 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l8_i87)) (mapped l6 ?p1) (not (rcnot l7_l8_i89)) (mapped l8 ?p2) (rcnot l6_l8_i91) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l8_i91))) +) +(:action apply_cnot_l4_l6_i93 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l4 ?p1) (not (rcnot l6_l8_i91)) (mapped l6 ?p2) (rcnot l4_l6_i93) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i93))) +) +(:action apply_cnot_l5_l6_i95 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l5_i35)) (mapped l5 ?p1) (not (rcnot l4_l6_i93)) (mapped l6 ?p2) (rcnot l5_l6_i95) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i95))) +) +(:action apply_cnot_l4_l6_i97 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l6_i93)) (mapped l4 ?p1) (not (rcnot l5_l6_i95)) (mapped l6 ?p2) (rcnot l4_l6_i97) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l6_i97))) +) +(:action apply_cnot_l2_l4_i99 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l2 ?p1) (not (rcnot l4_l6_i97)) (mapped l4 ?p2) (rcnot l2_l4_i99) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i99))) +) +(:action apply_cnot_l3_l4_i101 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l3_i22)) (mapped l3 ?p1) (not (rcnot l2_l4_i99)) (mapped l4 ?p2) (rcnot l3_l4_i101) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i101))) +) +(:action apply_cnot_l2_l4_i103 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l2_l4_i99)) (mapped l2 ?p1) (not (rcnot l3_l4_i101)) (mapped l4 ?p2) (rcnot l2_l4_i103) (connected ?p1 ?p2)) +:effect (and (not (rcnot l2_l4_i103))) +) +(:action apply_cnot_l1_l2_i105 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i7)) (mapped l1 ?p1) (not (rcnot l2_l4_i103)) (mapped l2 ?p2) (rcnot l1_l2_i105) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i105))) +) +(:action apply_cnot_l0_l2_i107 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i9)) (mapped l0 ?p1) (not (rcnot l1_l2_i105)) (mapped l2 ?p2) (rcnot l0_l2_i107) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i107))) +) +(:action apply_cnot_l1_l2_i109 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i105)) (mapped l1 ?p1) (not (rcnot l0_l2_i107)) (mapped l2 ?p2) (rcnot l1_l2_i109) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l2_i109))) +) +(:action apply_cnot_l0_l2_i111 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l0_l2_i107)) (mapped l0 ?p1) (not (rcnot l1_l2_i109)) (mapped l2 ?p2) (rcnot l0_l2_i111) (connected ?p1 ?p2)) +:effect (and (not (rcnot l0_l2_i111))) +) +(:action apply_cnot_l1_l0_i112 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l1_l2_i109)) (mapped l1 ?p1) (not (rcnot l0_l2_i111)) (mapped l0 ?p2) (rcnot l1_l0_i112) (connected ?p1 ?p2)) +:effect (and (not (rcnot l1_l0_i112))) +) +(:action apply_cnot_l3_l4_i116 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l3_l4_i101)) (mapped l3 ?p1) (not (rcnot l2_l4_i103)) (mapped l4 ?p2) (rcnot l3_l4_i116) (connected ?p1 ?p2)) +:effect (and (not (rcnot l3_l4_i116))) +) +(:action apply_cnot_l5_l6_i120 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l5_l6_i95)) (mapped l5 ?p1) (not (rcnot l4_l6_i97)) (mapped l6 ?p2) (rcnot l5_l6_i120) (connected ?p1 ?p2)) +:effect (and (not (rcnot l5_l6_i120))) +) +(:action apply_cnot_l7_l8_i124 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l7_l8_i89)) (mapped l7 ?p1) (not (rcnot l6_l8_i91)) (mapped l8 ?p2) (rcnot l7_l8_i124) (connected ?p1 ?p2)) +:effect (and (not (rcnot l7_l8_i124))) +) +(:action apply_cnot_l9_l10_i127 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l9_l10_i82)) (mapped l9 ?p1) (not (rcnot l8_l10_i84)) (mapped l10 ?p2) (rcnot l9_l10_i127) (connected ?p1 ?p2)) +:effect (and (not (rcnot l9_l10_i127))) +) +(:action apply_cnot_l12_l10_i130 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l13_i66)) (mapped l12 ?p1) (not (rcnot l9_l10_i127)) (mapped l10 ?p2) (rcnot l12_l10_i130) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l10_i130))) +) +(:action apply_cnot_l10_l8_i131 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l10 ?p1) (not (rcnot l7_l8_i124)) (mapped l8 ?p2) (rcnot l10_l8_i131) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l8_i131))) +) +(:action apply_cnot_l10_l9_i132 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l10 ?p1) (not (rcnot l9_l10_i127)) (mapped l9 ?p2) (rcnot l10_l9_i132) (connected ?p1 ?p2)) +:effect (and (not (rcnot l10_l9_i132))) +) +(:action apply_cnot_l12_l11_i133 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l12_l10_i130)) (mapped l12 ?p1) (not (rcnot l10_l11_i75)) (mapped l11 ?p2) (rcnot l12_l11_i133) (connected ?p1 ?p2)) +:effect (and (not (rcnot l12_l11_i133))) +) +(:action apply_cnot_l8_l6_i134 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l10_l8_i131)) (mapped l8 ?p1) (not (rcnot l5_l6_i120)) (mapped l6 ?p2) (rcnot l8_l6_i134) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l6_i134))) +) +(:action apply_cnot_l6_l4_i135 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l6 ?p1) (not (rcnot l3_l4_i116)) (mapped l4 ?p2) (rcnot l6_l4_i135) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l4_i135))) +) +(:action apply_cnot_l4_l2_i136 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l4 ?p1) (not (rcnot l0_l2_i111)) (mapped l2 ?p2) (rcnot l4_l2_i136) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l2_i136))) +) +(:action apply_cnot_l4_l3_i137 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l4_l2_i136)) (mapped l4 ?p1) (not (rcnot l3_l4_i116)) (mapped l3 ?p2) (rcnot l4_l3_i137) (connected ?p1 ?p2)) +:effect (and (not (rcnot l4_l3_i137))) +) +(:action apply_cnot_l6_l5_i138 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l6_l4_i135)) (mapped l6 ?p1) (not (rcnot l5_l6_i120)) (mapped l5 ?p2) (rcnot l6_l5_i138) (connected ?p1 ?p2)) +:effect (and (not (rcnot l6_l5_i138))) +) +(:action apply_cnot_l8_l7_i139 +:parameters (?p1 - pqubit ?p2 - pqubit) +:precondition (and (not (rcnot l8_l6_i134)) (mapped l8 ?p1) (not (rcnot l7_l8_i124)) (mapped l7 ?p2) (rcnot l8_l7_i139) (connected ?p1 ?p2)) +:effect (and (not (rcnot l8_l7_i139))) +) +) diff --git a/quantum-layout-sat23-strips/p01.pddl b/quantum-layout-sat23-strips/p01.pddl new file mode 100644 index 00000000..0329b45d --- /dev/null +++ b/quantum-layout-sat23-strips/p01.pddl @@ -0,0 +1,124 @@ +;; Melbourne/Local_compact/problem_8_barenco_tof_4.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l5_l6_i3) + (rcnot l3_l6_i5) + (rcnot l5_l6_i7) + (rcnot l3_l5_i8) + (rcnot l3_l5_i10) + (rcnot l4_l5_i12) + (rcnot l2_l5_i14) + (rcnot l4_l5_i16) + (rcnot l2_l4_i17) + (rcnot l2_l4_i19) + (rcnot l1_l4_i21) + (rcnot l0_l4_i23) + (rcnot l1_l4_i25) + (rcnot l0_l4_i27) + (rcnot l4_l5_i30) + (rcnot l2_l5_i32) + (rcnot l4_l5_i34) + (rcnot l5_l6_i36) + (rcnot l3_l6_i38) + (rcnot l5_l6_i40) + (rcnot l3_l5_i41) + (rcnot l3_l5_i43) + (rcnot l4_l5_i46) + (rcnot l2_l5_i48) + (rcnot l4_l5_i50) + (rcnot l1_l4_i52) + (rcnot l0_l4_i54) + (rcnot l1_l4_i56) + (rcnot l0_l4_i58) + (rcnot l4_l5_i61) + (rcnot l2_l5_i63) + (rcnot l4_l5_i65) + (rcnot l2_l4_i66) + (rcnot l2_l4_i68) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l5_l6_i3)) + (not (rcnot l3_l6_i5)) + (not (rcnot l5_l6_i7)) + (not (rcnot l3_l5_i8)) + (not (rcnot l3_l5_i10)) + (not (rcnot l4_l5_i12)) + (not (rcnot l2_l5_i14)) + (not (rcnot l4_l5_i16)) + (not (rcnot l2_l4_i17)) + (not (rcnot l2_l4_i19)) + (not (rcnot l1_l4_i21)) + (not (rcnot l0_l4_i23)) + (not (rcnot l1_l4_i25)) + (not (rcnot l0_l4_i27)) + (not (rcnot l4_l5_i30)) + (not (rcnot l2_l5_i32)) + (not (rcnot l4_l5_i34)) + (not (rcnot l5_l6_i36)) + (not (rcnot l3_l6_i38)) + (not (rcnot l5_l6_i40)) + (not (rcnot l3_l5_i41)) + (not (rcnot l3_l5_i43)) + (not (rcnot l4_l5_i46)) + (not (rcnot l2_l5_i48)) + (not (rcnot l4_l5_i50)) + (not (rcnot l1_l4_i52)) + (not (rcnot l0_l4_i54)) + (not (rcnot l1_l4_i56)) + (not (rcnot l0_l4_i58)) + (not (rcnot l4_l5_i61)) + (not (rcnot l2_l5_i63)) + (not (rcnot l4_l5_i65)) + (not (rcnot l2_l4_i66)) + (not (rcnot l2_l4_i68)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p02.pddl b/quantum-layout-sat23-strips/p02.pddl new file mode 100644 index 00000000..01031d39 --- /dev/null +++ b/quantum-layout-sat23-strips/p02.pddl @@ -0,0 +1,116 @@ +;; Melbourne/Local_compact/problem_9_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l1_l5_i1) + (rcnot l0_l5_i3) + (rcnot l1_l5_i5) + (rcnot l0_l5_i7) + (rcnot l5_l6_i11) + (rcnot l2_l6_i13) + (rcnot l5_l6_i15) + (rcnot l2_l6_i17) + (rcnot l6_l7_i21) + (rcnot l3_l7_i23) + (rcnot l6_l7_i25) + (rcnot l3_l7_i27) + (rcnot l7_l8_i31) + (rcnot l4_l8_i33) + (rcnot l7_l8_i35) + (rcnot l4_l8_i37) + (rcnot l4_l7_i38) + (rcnot l4_l7_i40) + (rcnot l6_l7_i44) + (rcnot l3_l7_i46) + (rcnot l6_l7_i48) + (rcnot l5_l6_i50) + (rcnot l2_l6_i52) + (rcnot l5_l6_i54) + (rcnot l1_l5_i56) + (rcnot l0_l5_i58) + (rcnot l1_l5_i60) + (rcnot l0_l5_i62) + (rcnot l2_l6_i66) + (rcnot l3_l7_i70) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l5_i1)) + (not (rcnot l0_l5_i3)) + (not (rcnot l1_l5_i5)) + (not (rcnot l0_l5_i7)) + (not (rcnot l5_l6_i11)) + (not (rcnot l2_l6_i13)) + (not (rcnot l5_l6_i15)) + (not (rcnot l2_l6_i17)) + (not (rcnot l6_l7_i21)) + (not (rcnot l3_l7_i23)) + (not (rcnot l6_l7_i25)) + (not (rcnot l3_l7_i27)) + (not (rcnot l7_l8_i31)) + (not (rcnot l4_l8_i33)) + (not (rcnot l7_l8_i35)) + (not (rcnot l4_l8_i37)) + (not (rcnot l4_l7_i38)) + (not (rcnot l4_l7_i40)) + (not (rcnot l6_l7_i44)) + (not (rcnot l3_l7_i46)) + (not (rcnot l6_l7_i48)) + (not (rcnot l5_l6_i50)) + (not (rcnot l2_l6_i52)) + (not (rcnot l5_l6_i54)) + (not (rcnot l1_l5_i56)) + (not (rcnot l0_l5_i58)) + (not (rcnot l1_l5_i60)) + (not (rcnot l0_l5_i62)) + (not (rcnot l2_l6_i66)) + (not (rcnot l3_l7_i70)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p03.pddl b/quantum-layout-sat23-strips/p03.pddl new file mode 100644 index 00000000..311d52a8 --- /dev/null +++ b/quantum-layout-sat23-strips/p03.pddl @@ -0,0 +1,136 @@ +;; Melbourne/Local_compact/problem_10_mod_mult_55.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l0_l7_i2) + (rcnot l2_l7_i4) + (rcnot l0_l7_i6) + (rcnot l2_l7_i8) + (rcnot l2_l0_i9) + (rcnot l2_l0_i12) + (rcnot l7_l6_i15) + (rcnot l1_l6_i17) + (rcnot l7_l6_i19) + (rcnot l1_l6_i21) + (rcnot l1_l7_i22) + (rcnot l6_l5_i25) + (rcnot l6_l3_i26) + (rcnot l1_l7_i30) + (rcnot l2_l8_i33) + (rcnot l0_l8_i35) + (rcnot l2_l8_i37) + (rcnot l0_l8_i39) + (rcnot l8_l7_i42) + (rcnot l7_l3_i43) + (rcnot l8_l6_i45) + (rcnot l1_l6_i47) + (rcnot l8_l6_i49) + (rcnot l1_l6_i51) + (rcnot l1_l8_i52) + (rcnot l6_l4_i55) + (rcnot l1_l8_i57) + (rcnot l1_l3_i58) + (rcnot l7_l3_i60) + (rcnot l1_l3_i62) + (rcnot l5_l8_i66) + (rcnot l1_l5_i68) + (rcnot l7_l5_i70) + (rcnot l1_l5_i72) + (rcnot l7_l5_i74) + (rcnot l2_l8_i79) + (rcnot l0_l8_i81) + (rcnot l2_l8_i83) + (rcnot l0_l8_i86) + (rcnot l5_l8_i90) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l7_i2)) + (not (rcnot l2_l7_i4)) + (not (rcnot l0_l7_i6)) + (not (rcnot l2_l7_i8)) + (not (rcnot l2_l0_i9)) + (not (rcnot l2_l0_i12)) + (not (rcnot l7_l6_i15)) + (not (rcnot l1_l6_i17)) + (not (rcnot l7_l6_i19)) + (not (rcnot l1_l6_i21)) + (not (rcnot l1_l7_i22)) + (not (rcnot l6_l5_i25)) + (not (rcnot l6_l3_i26)) + (not (rcnot l1_l7_i30)) + (not (rcnot l2_l8_i33)) + (not (rcnot l0_l8_i35)) + (not (rcnot l2_l8_i37)) + (not (rcnot l0_l8_i39)) + (not (rcnot l8_l7_i42)) + (not (rcnot l7_l3_i43)) + (not (rcnot l8_l6_i45)) + (not (rcnot l1_l6_i47)) + (not (rcnot l8_l6_i49)) + (not (rcnot l1_l6_i51)) + (not (rcnot l1_l8_i52)) + (not (rcnot l6_l4_i55)) + (not (rcnot l1_l8_i57)) + (not (rcnot l1_l3_i58)) + (not (rcnot l7_l3_i60)) + (not (rcnot l1_l3_i62)) + (not (rcnot l5_l8_i66)) + (not (rcnot l1_l5_i68)) + (not (rcnot l7_l5_i70)) + (not (rcnot l1_l5_i72)) + (not (rcnot l7_l5_i74)) + (not (rcnot l2_l8_i79)) + (not (rcnot l0_l8_i81)) + (not (rcnot l2_l8_i83)) + (not (rcnot l0_l8_i86)) + (not (rcnot l5_l8_i90)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p04.pddl b/quantum-layout-sat23-strips/p04.pddl new file mode 100644 index 00000000..6251cc37 --- /dev/null +++ b/quantum-layout-sat23-strips/p04.pddl @@ -0,0 +1,156 @@ +;; Melbourne/Local_compact/problem_11_barenco_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l7_l8_i4) + (rcnot l4_l8_i6) + (rcnot l7_l8_i8) + (rcnot l4_l7_i9) + (rcnot l4_l7_i11) + (rcnot l6_l7_i13) + (rcnot l3_l7_i15) + (rcnot l6_l7_i17) + (rcnot l3_l6_i18) + (rcnot l3_l6_i20) + (rcnot l5_l6_i22) + (rcnot l2_l6_i24) + (rcnot l5_l6_i26) + (rcnot l2_l5_i27) + (rcnot l2_l5_i29) + (rcnot l1_l5_i31) + (rcnot l0_l5_i33) + (rcnot l1_l5_i35) + (rcnot l0_l5_i37) + (rcnot l5_l6_i40) + (rcnot l2_l6_i42) + (rcnot l5_l6_i44) + (rcnot l6_l7_i46) + (rcnot l3_l7_i48) + (rcnot l6_l7_i50) + (rcnot l7_l8_i52) + (rcnot l4_l8_i54) + (rcnot l7_l8_i56) + (rcnot l4_l7_i57) + (rcnot l4_l7_i59) + (rcnot l6_l7_i62) + (rcnot l3_l7_i64) + (rcnot l6_l7_i66) + (rcnot l5_l6_i68) + (rcnot l2_l6_i70) + (rcnot l5_l6_i72) + (rcnot l1_l5_i74) + (rcnot l0_l5_i76) + (rcnot l1_l5_i78) + (rcnot l0_l5_i80) + (rcnot l5_l6_i83) + (rcnot l2_l6_i85) + (rcnot l5_l6_i87) + (rcnot l2_l5_i88) + (rcnot l2_l5_i90) + (rcnot l6_l7_i93) + (rcnot l3_l7_i95) + (rcnot l6_l7_i97) + (rcnot l3_l6_i98) + (rcnot l3_l6_i100) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l7_l8_i4)) + (not (rcnot l4_l8_i6)) + (not (rcnot l7_l8_i8)) + (not (rcnot l4_l7_i9)) + (not (rcnot l4_l7_i11)) + (not (rcnot l6_l7_i13)) + (not (rcnot l3_l7_i15)) + (not (rcnot l6_l7_i17)) + (not (rcnot l3_l6_i18)) + (not (rcnot l3_l6_i20)) + (not (rcnot l5_l6_i22)) + (not (rcnot l2_l6_i24)) + (not (rcnot l5_l6_i26)) + (not (rcnot l2_l5_i27)) + (not (rcnot l2_l5_i29)) + (not (rcnot l1_l5_i31)) + (not (rcnot l0_l5_i33)) + (not (rcnot l1_l5_i35)) + (not (rcnot l0_l5_i37)) + (not (rcnot l5_l6_i40)) + (not (rcnot l2_l6_i42)) + (not (rcnot l5_l6_i44)) + (not (rcnot l6_l7_i46)) + (not (rcnot l3_l7_i48)) + (not (rcnot l6_l7_i50)) + (not (rcnot l7_l8_i52)) + (not (rcnot l4_l8_i54)) + (not (rcnot l7_l8_i56)) + (not (rcnot l4_l7_i57)) + (not (rcnot l4_l7_i59)) + (not (rcnot l6_l7_i62)) + (not (rcnot l3_l7_i64)) + (not (rcnot l6_l7_i66)) + (not (rcnot l5_l6_i68)) + (not (rcnot l2_l6_i70)) + (not (rcnot l5_l6_i72)) + (not (rcnot l1_l5_i74)) + (not (rcnot l0_l5_i76)) + (not (rcnot l1_l5_i78)) + (not (rcnot l0_l5_i80)) + (not (rcnot l5_l6_i83)) + (not (rcnot l2_l6_i85)) + (not (rcnot l5_l6_i87)) + (not (rcnot l2_l5_i88)) + (not (rcnot l2_l5_i90)) + (not (rcnot l6_l7_i93)) + (not (rcnot l3_l7_i95)) + (not (rcnot l6_l7_i97)) + (not (rcnot l3_l6_i98)) + (not (rcnot l3_l6_i100)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p05.pddl b/quantum-layout-sat23-strips/p05.pddl new file mode 100644 index 00000000..f395a180 --- /dev/null +++ b/quantum-layout-sat23-strips/p05.pddl @@ -0,0 +1,156 @@ +;; Melbourne/Local_compact/problem_12_vbe_adder_3.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l2_l3_i1) + (rcnot l1_l3_i3) + (rcnot l2_l3_i4) + (rcnot l1_l3_i6) + (rcnot l1_l2_i7) + (rcnot l2_l3_i8) + (rcnot l0_l3_i9) + (rcnot l2_l3_i11) + (rcnot l0_l3_i13) + (rcnot l5_l6_i17) + (rcnot l4_l6_i19) + (rcnot l5_l6_i20) + (rcnot l4_l6_i22) + (rcnot l4_l5_i23) + (rcnot l5_l6_i24) + (rcnot l3_l6_i25) + (rcnot l5_l6_i27) + (rcnot l3_l6_i29) + (rcnot l8_l9_i36) + (rcnot l7_l9_i38) + (rcnot l8_l9_i39) + (rcnot l7_l9_i41) + (rcnot l7_l8_i42) + (rcnot l8_l9_i43) + (rcnot l6_l9_i44) + (rcnot l8_l9_i46) + (rcnot l6_l9_i48) + (rcnot l6_l8_i49) + (rcnot l5_l6_i52) + (rcnot l3_l6_i53) + (rcnot l5_l6_i55) + (rcnot l4_l5_i56) + (rcnot l3_l6_i58) + (rcnot l5_l6_i59) + (rcnot l4_l6_i61) + (rcnot l5_l6_i62) + (rcnot l3_l5_i63) + (rcnot l2_l3_i66) + (rcnot l0_l3_i67) + (rcnot l2_l3_i69) + (rcnot l1_l2_i70) + (rcnot l0_l3_i72) + (rcnot l2_l3_i73) + (rcnot l1_l3_i75) + (rcnot l2_l3_i76) + (rcnot l0_l2_i77) + (rcnot l1_l3_i79) + (rcnot l1_l2_i80) + (rcnot l4_l6_i83) + (rcnot l4_l5_i84) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l2_l3_i1)) + (not (rcnot l1_l3_i3)) + (not (rcnot l2_l3_i4)) + (not (rcnot l1_l3_i6)) + (not (rcnot l1_l2_i7)) + (not (rcnot l2_l3_i8)) + (not (rcnot l0_l3_i9)) + (not (rcnot l2_l3_i11)) + (not (rcnot l0_l3_i13)) + (not (rcnot l5_l6_i17)) + (not (rcnot l4_l6_i19)) + (not (rcnot l5_l6_i20)) + (not (rcnot l4_l6_i22)) + (not (rcnot l4_l5_i23)) + (not (rcnot l5_l6_i24)) + (not (rcnot l3_l6_i25)) + (not (rcnot l5_l6_i27)) + (not (rcnot l3_l6_i29)) + (not (rcnot l8_l9_i36)) + (not (rcnot l7_l9_i38)) + (not (rcnot l8_l9_i39)) + (not (rcnot l7_l9_i41)) + (not (rcnot l7_l8_i42)) + (not (rcnot l8_l9_i43)) + (not (rcnot l6_l9_i44)) + (not (rcnot l8_l9_i46)) + (not (rcnot l6_l9_i48)) + (not (rcnot l6_l8_i49)) + (not (rcnot l5_l6_i52)) + (not (rcnot l3_l6_i53)) + (not (rcnot l5_l6_i55)) + (not (rcnot l4_l5_i56)) + (not (rcnot l3_l6_i58)) + (not (rcnot l5_l6_i59)) + (not (rcnot l4_l6_i61)) + (not (rcnot l5_l6_i62)) + (not (rcnot l3_l5_i63)) + (not (rcnot l2_l3_i66)) + (not (rcnot l0_l3_i67)) + (not (rcnot l2_l3_i69)) + (not (rcnot l1_l2_i70)) + (not (rcnot l0_l3_i72)) + (not (rcnot l2_l3_i73)) + (not (rcnot l1_l3_i75)) + (not (rcnot l2_l3_i76)) + (not (rcnot l0_l2_i77)) + (not (rcnot l1_l3_i79)) + (not (rcnot l1_l2_i80)) + (not (rcnot l4_l6_i83)) + (not (rcnot l4_l5_i84)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p06.pddl b/quantum-layout-sat23-strips/p06.pddl new file mode 100644 index 00000000..ce3a2073 --- /dev/null +++ b/quantum-layout-sat23-strips/p06.pddl @@ -0,0 +1,198 @@ +;; Melbourne/Local_compact/problem_13_rc_adder_6.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + (connected p0 p1) + (connected p2 p1) + (connected p3 p2) + (connected p3 p4) + (connected p10 p4) + (connected p4 p5) + (connected p6 p5) + (connected p9 p5) + (connected p8 p6) + (connected p8 p7) + (connected p8 p9) + (connected p10 p9) + (connected p3 p11) + (connected p10 p11) + (connected p12 p11) + (connected p2 p12) + (connected p1 p13) + (connected p12 p13) + ;; listing required cnots + (rcnot l4_l3_i0) + (rcnot l4_l2_i1) + (rcnot l1_l2_i3) + (rcnot l0_l2_i5) + (rcnot l1_l2_i7) + (rcnot l0_l2_i9) + (rcnot l6_l5_i12) + (rcnot l6_l4_i13) + (rcnot l3_l4_i15) + (rcnot l2_l4_i17) + (rcnot l3_l4_i19) + (rcnot l2_l4_i21) + (rcnot l2_l3_i22) + (rcnot l8_l7_i25) + (rcnot l8_l6_i26) + (rcnot l5_l6_i28) + (rcnot l4_l6_i30) + (rcnot l5_l6_i32) + (rcnot l4_l6_i34) + (rcnot l4_l5_i35) + (rcnot l10_l9_i38) + (rcnot l10_l8_i39) + (rcnot l7_l8_i41) + (rcnot l6_l8_i43) + (rcnot l7_l8_i45) + (rcnot l6_l8_i47) + (rcnot l6_l7_i48) + (rcnot l12_l11_i51) + (rcnot l12_l10_i53) + (rcnot l9_l10_i55) + (rcnot l8_l10_i57) + (rcnot l9_l10_i59) + (rcnot l8_l10_i61) + (rcnot l8_l9_i65) + (rcnot l12_l13_i66) + (rcnot l11_l13_i68) + (rcnot l10_l13_i70) + (rcnot l11_l13_i72) + (rcnot l10_l13_i74) + (rcnot l10_l11_i75) + (rcnot l8_l10_i80) + (rcnot l9_l10_i82) + (rcnot l8_l10_i84) + (rcnot l6_l8_i87) + (rcnot l7_l8_i89) + (rcnot l6_l8_i91) + (rcnot l4_l6_i93) + (rcnot l5_l6_i95) + (rcnot l4_l6_i97) + (rcnot l2_l4_i99) + (rcnot l3_l4_i101) + (rcnot l2_l4_i103) + (rcnot l1_l2_i105) + (rcnot l0_l2_i107) + (rcnot l1_l2_i109) + (rcnot l0_l2_i111) + (rcnot l1_l0_i112) + (rcnot l3_l4_i116) + (rcnot l5_l6_i120) + (rcnot l7_l8_i124) + (rcnot l9_l10_i127) + (rcnot l12_l10_i130) + (rcnot l10_l8_i131) + (rcnot l10_l9_i132) + (rcnot l12_l11_i133) + (rcnot l8_l6_i134) + (rcnot l6_l4_i135) + (rcnot l4_l2_i136) + (rcnot l4_l3_i137) + (rcnot l6_l5_i138) + (rcnot l8_l7_i139) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l4_l3_i0)) + (not (rcnot l4_l2_i1)) + (not (rcnot l1_l2_i3)) + (not (rcnot l0_l2_i5)) + (not (rcnot l1_l2_i7)) + (not (rcnot l0_l2_i9)) + (not (rcnot l6_l5_i12)) + (not (rcnot l6_l4_i13)) + (not (rcnot l3_l4_i15)) + (not (rcnot l2_l4_i17)) + (not (rcnot l3_l4_i19)) + (not (rcnot l2_l4_i21)) + (not (rcnot l2_l3_i22)) + (not (rcnot l8_l7_i25)) + (not (rcnot l8_l6_i26)) + (not (rcnot l5_l6_i28)) + (not (rcnot l4_l6_i30)) + (not (rcnot l5_l6_i32)) + (not (rcnot l4_l6_i34)) + (not (rcnot l4_l5_i35)) + (not (rcnot l10_l9_i38)) + (not (rcnot l10_l8_i39)) + (not (rcnot l7_l8_i41)) + (not (rcnot l6_l8_i43)) + (not (rcnot l7_l8_i45)) + (not (rcnot l6_l8_i47)) + (not (rcnot l6_l7_i48)) + (not (rcnot l12_l11_i51)) + (not (rcnot l12_l10_i53)) + (not (rcnot l9_l10_i55)) + (not (rcnot l8_l10_i57)) + (not (rcnot l9_l10_i59)) + (not (rcnot l8_l10_i61)) + (not (rcnot l8_l9_i65)) + (not (rcnot l12_l13_i66)) + (not (rcnot l11_l13_i68)) + (not (rcnot l10_l13_i70)) + (not (rcnot l11_l13_i72)) + (not (rcnot l10_l13_i74)) + (not (rcnot l10_l11_i75)) + (not (rcnot l8_l10_i80)) + (not (rcnot l9_l10_i82)) + (not (rcnot l8_l10_i84)) + (not (rcnot l6_l8_i87)) + (not (rcnot l7_l8_i89)) + (not (rcnot l6_l8_i91)) + (not (rcnot l4_l6_i93)) + (not (rcnot l5_l6_i95)) + (not (rcnot l4_l6_i97)) + (not (rcnot l2_l4_i99)) + (not (rcnot l3_l4_i101)) + (not (rcnot l2_l4_i103)) + (not (rcnot l1_l2_i105)) + (not (rcnot l0_l2_i107)) + (not (rcnot l1_l2_i109)) + (not (rcnot l0_l2_i111)) + (not (rcnot l1_l0_i112)) + (not (rcnot l3_l4_i116)) + (not (rcnot l5_l6_i120)) + (not (rcnot l7_l8_i124)) + (not (rcnot l9_l10_i127)) + (not (rcnot l12_l10_i130)) + (not (rcnot l10_l8_i131)) + (not (rcnot l10_l9_i132)) + (not (rcnot l12_l11_i133)) + (not (rcnot l8_l6_i134)) + (not (rcnot l6_l4_i135)) + (not (rcnot l4_l2_i136)) + (not (rcnot l4_l3_i137)) + (not (rcnot l6_l5_i138)) + (not (rcnot l8_l7_i139)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p07.pddl b/quantum-layout-sat23-strips/p07.pddl new file mode 100644 index 00000000..1254272f --- /dev/null +++ b/quantum-layout-sat23-strips/p07.pddl @@ -0,0 +1,82 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_7_tof_4.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l1_l4_i1) + (rcnot l0_l4_i3) + (rcnot l1_l4_i5) + (rcnot l0_l4_i7) + (rcnot l4_l5_i11) + (rcnot l2_l5_i13) + (rcnot l4_l5_i15) + (rcnot l2_l5_i17) + (rcnot l5_l6_i21) + (rcnot l3_l6_i23) + (rcnot l5_l6_i25) + (rcnot l3_l6_i27) + (rcnot l3_l5_i28) + (rcnot l3_l5_i30) + (rcnot l4_l5_i34) + (rcnot l2_l5_i36) + (rcnot l4_l5_i38) + (rcnot l1_l4_i40) + (rcnot l0_l4_i42) + (rcnot l1_l4_i44) + (rcnot l0_l4_i46) + (rcnot l2_l5_i50) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l4_i1)) + (not (rcnot l0_l4_i3)) + (not (rcnot l1_l4_i5)) + (not (rcnot l0_l4_i7)) + (not (rcnot l4_l5_i11)) + (not (rcnot l2_l5_i13)) + (not (rcnot l4_l5_i15)) + (not (rcnot l2_l5_i17)) + (not (rcnot l5_l6_i21)) + (not (rcnot l3_l6_i23)) + (not (rcnot l5_l6_i25)) + (not (rcnot l3_l6_i27)) + (not (rcnot l3_l5_i28)) + (not (rcnot l3_l5_i30)) + (not (rcnot l4_l5_i34)) + (not (rcnot l2_l5_i36)) + (not (rcnot l4_l5_i38)) + (not (rcnot l1_l4_i40)) + (not (rcnot l0_l4_i42)) + (not (rcnot l1_l4_i44)) + (not (rcnot l0_l4_i46)) + (not (rcnot l2_l5_i50)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p08.pddl b/quantum-layout-sat23-strips/p08.pddl new file mode 100644 index 00000000..149db2ea --- /dev/null +++ b/quantum-layout-sat23-strips/p08.pddl @@ -0,0 +1,106 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_8_barenco_tof_4.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l5_l6_i3) + (rcnot l3_l6_i5) + (rcnot l5_l6_i7) + (rcnot l3_l5_i8) + (rcnot l3_l5_i10) + (rcnot l4_l5_i12) + (rcnot l2_l5_i14) + (rcnot l4_l5_i16) + (rcnot l2_l4_i17) + (rcnot l2_l4_i19) + (rcnot l1_l4_i21) + (rcnot l0_l4_i23) + (rcnot l1_l4_i25) + (rcnot l0_l4_i27) + (rcnot l4_l5_i30) + (rcnot l2_l5_i32) + (rcnot l4_l5_i34) + (rcnot l5_l6_i36) + (rcnot l3_l6_i38) + (rcnot l5_l6_i40) + (rcnot l3_l5_i41) + (rcnot l3_l5_i43) + (rcnot l4_l5_i46) + (rcnot l2_l5_i48) + (rcnot l4_l5_i50) + (rcnot l1_l4_i52) + (rcnot l0_l4_i54) + (rcnot l1_l4_i56) + (rcnot l0_l4_i58) + (rcnot l4_l5_i61) + (rcnot l2_l5_i63) + (rcnot l4_l5_i65) + (rcnot l2_l4_i66) + (rcnot l2_l4_i68) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l5_l6_i3)) + (not (rcnot l3_l6_i5)) + (not (rcnot l5_l6_i7)) + (not (rcnot l3_l5_i8)) + (not (rcnot l3_l5_i10)) + (not (rcnot l4_l5_i12)) + (not (rcnot l2_l5_i14)) + (not (rcnot l4_l5_i16)) + (not (rcnot l2_l4_i17)) + (not (rcnot l2_l4_i19)) + (not (rcnot l1_l4_i21)) + (not (rcnot l0_l4_i23)) + (not (rcnot l1_l4_i25)) + (not (rcnot l0_l4_i27)) + (not (rcnot l4_l5_i30)) + (not (rcnot l2_l5_i32)) + (not (rcnot l4_l5_i34)) + (not (rcnot l5_l6_i36)) + (not (rcnot l3_l6_i38)) + (not (rcnot l5_l6_i40)) + (not (rcnot l3_l5_i41)) + (not (rcnot l3_l5_i43)) + (not (rcnot l4_l5_i46)) + (not (rcnot l2_l5_i48)) + (not (rcnot l4_l5_i50)) + (not (rcnot l1_l4_i52)) + (not (rcnot l0_l4_i54)) + (not (rcnot l1_l4_i56)) + (not (rcnot l0_l4_i58)) + (not (rcnot l4_l5_i61)) + (not (rcnot l2_l5_i63)) + (not (rcnot l4_l5_i65)) + (not (rcnot l2_l4_i66)) + (not (rcnot l2_l4_i68)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p09.pddl b/quantum-layout-sat23-strips/p09.pddl new file mode 100644 index 00000000..06a1b5fc --- /dev/null +++ b/quantum-layout-sat23-strips/p09.pddl @@ -0,0 +1,98 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_9_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l1_l5_i1) + (rcnot l0_l5_i3) + (rcnot l1_l5_i5) + (rcnot l0_l5_i7) + (rcnot l5_l6_i11) + (rcnot l2_l6_i13) + (rcnot l5_l6_i15) + (rcnot l2_l6_i17) + (rcnot l6_l7_i21) + (rcnot l3_l7_i23) + (rcnot l6_l7_i25) + (rcnot l3_l7_i27) + (rcnot l7_l8_i31) + (rcnot l4_l8_i33) + (rcnot l7_l8_i35) + (rcnot l4_l8_i37) + (rcnot l4_l7_i38) + (rcnot l4_l7_i40) + (rcnot l6_l7_i44) + (rcnot l3_l7_i46) + (rcnot l6_l7_i48) + (rcnot l5_l6_i50) + (rcnot l2_l6_i52) + (rcnot l5_l6_i54) + (rcnot l1_l5_i56) + (rcnot l0_l5_i58) + (rcnot l1_l5_i60) + (rcnot l0_l5_i62) + (rcnot l2_l6_i66) + (rcnot l3_l7_i70) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l5_i1)) + (not (rcnot l0_l5_i3)) + (not (rcnot l1_l5_i5)) + (not (rcnot l0_l5_i7)) + (not (rcnot l5_l6_i11)) + (not (rcnot l2_l6_i13)) + (not (rcnot l5_l6_i15)) + (not (rcnot l2_l6_i17)) + (not (rcnot l6_l7_i21)) + (not (rcnot l3_l7_i23)) + (not (rcnot l6_l7_i25)) + (not (rcnot l3_l7_i27)) + (not (rcnot l7_l8_i31)) + (not (rcnot l4_l8_i33)) + (not (rcnot l7_l8_i35)) + (not (rcnot l4_l8_i37)) + (not (rcnot l4_l7_i38)) + (not (rcnot l4_l7_i40)) + (not (rcnot l6_l7_i44)) + (not (rcnot l3_l7_i46)) + (not (rcnot l6_l7_i48)) + (not (rcnot l5_l6_i50)) + (not (rcnot l2_l6_i52)) + (not (rcnot l5_l6_i54)) + (not (rcnot l1_l5_i56)) + (not (rcnot l0_l5_i58)) + (not (rcnot l1_l5_i60)) + (not (rcnot l0_l5_i62)) + (not (rcnot l2_l6_i66)) + (not (rcnot l3_l7_i70)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p10.pddl b/quantum-layout-sat23-strips/p10.pddl new file mode 100644 index 00000000..0297d885 --- /dev/null +++ b/quantum-layout-sat23-strips/p10.pddl @@ -0,0 +1,118 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_10_mod_mult_55.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l0_l7_i2) + (rcnot l2_l7_i4) + (rcnot l0_l7_i6) + (rcnot l2_l7_i8) + (rcnot l2_l0_i9) + (rcnot l2_l0_i12) + (rcnot l7_l6_i15) + (rcnot l1_l6_i17) + (rcnot l7_l6_i19) + (rcnot l1_l6_i21) + (rcnot l1_l7_i22) + (rcnot l6_l5_i25) + (rcnot l6_l3_i26) + (rcnot l1_l7_i30) + (rcnot l2_l8_i33) + (rcnot l0_l8_i35) + (rcnot l2_l8_i37) + (rcnot l0_l8_i39) + (rcnot l8_l7_i42) + (rcnot l7_l3_i43) + (rcnot l8_l6_i45) + (rcnot l1_l6_i47) + (rcnot l8_l6_i49) + (rcnot l1_l6_i51) + (rcnot l1_l8_i52) + (rcnot l6_l4_i55) + (rcnot l1_l8_i57) + (rcnot l1_l3_i58) + (rcnot l7_l3_i60) + (rcnot l1_l3_i62) + (rcnot l5_l8_i66) + (rcnot l1_l5_i68) + (rcnot l7_l5_i70) + (rcnot l1_l5_i72) + (rcnot l7_l5_i74) + (rcnot l2_l8_i79) + (rcnot l0_l8_i81) + (rcnot l2_l8_i83) + (rcnot l0_l8_i86) + (rcnot l5_l8_i90) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l7_i2)) + (not (rcnot l2_l7_i4)) + (not (rcnot l0_l7_i6)) + (not (rcnot l2_l7_i8)) + (not (rcnot l2_l0_i9)) + (not (rcnot l2_l0_i12)) + (not (rcnot l7_l6_i15)) + (not (rcnot l1_l6_i17)) + (not (rcnot l7_l6_i19)) + (not (rcnot l1_l6_i21)) + (not (rcnot l1_l7_i22)) + (not (rcnot l6_l5_i25)) + (not (rcnot l6_l3_i26)) + (not (rcnot l1_l7_i30)) + (not (rcnot l2_l8_i33)) + (not (rcnot l0_l8_i35)) + (not (rcnot l2_l8_i37)) + (not (rcnot l0_l8_i39)) + (not (rcnot l8_l7_i42)) + (not (rcnot l7_l3_i43)) + (not (rcnot l8_l6_i45)) + (not (rcnot l1_l6_i47)) + (not (rcnot l8_l6_i49)) + (not (rcnot l1_l6_i51)) + (not (rcnot l1_l8_i52)) + (not (rcnot l6_l4_i55)) + (not (rcnot l1_l8_i57)) + (not (rcnot l1_l3_i58)) + (not (rcnot l7_l3_i60)) + (not (rcnot l1_l3_i62)) + (not (rcnot l5_l8_i66)) + (not (rcnot l1_l5_i68)) + (not (rcnot l7_l5_i70)) + (not (rcnot l1_l5_i72)) + (not (rcnot l7_l5_i74)) + (not (rcnot l2_l8_i79)) + (not (rcnot l0_l8_i81)) + (not (rcnot l2_l8_i83)) + (not (rcnot l0_l8_i86)) + (not (rcnot l5_l8_i90)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p11.pddl b/quantum-layout-sat23-strips/p11.pddl new file mode 100644 index 00000000..c8170226 --- /dev/null +++ b/quantum-layout-sat23-strips/p11.pddl @@ -0,0 +1,138 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_11_barenco_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l7_l8_i4) + (rcnot l4_l8_i6) + (rcnot l7_l8_i8) + (rcnot l4_l7_i9) + (rcnot l4_l7_i11) + (rcnot l6_l7_i13) + (rcnot l3_l7_i15) + (rcnot l6_l7_i17) + (rcnot l3_l6_i18) + (rcnot l3_l6_i20) + (rcnot l5_l6_i22) + (rcnot l2_l6_i24) + (rcnot l5_l6_i26) + (rcnot l2_l5_i27) + (rcnot l2_l5_i29) + (rcnot l1_l5_i31) + (rcnot l0_l5_i33) + (rcnot l1_l5_i35) + (rcnot l0_l5_i37) + (rcnot l5_l6_i40) + (rcnot l2_l6_i42) + (rcnot l5_l6_i44) + (rcnot l6_l7_i46) + (rcnot l3_l7_i48) + (rcnot l6_l7_i50) + (rcnot l7_l8_i52) + (rcnot l4_l8_i54) + (rcnot l7_l8_i56) + (rcnot l4_l7_i57) + (rcnot l4_l7_i59) + (rcnot l6_l7_i62) + (rcnot l3_l7_i64) + (rcnot l6_l7_i66) + (rcnot l5_l6_i68) + (rcnot l2_l6_i70) + (rcnot l5_l6_i72) + (rcnot l1_l5_i74) + (rcnot l0_l5_i76) + (rcnot l1_l5_i78) + (rcnot l0_l5_i80) + (rcnot l5_l6_i83) + (rcnot l2_l6_i85) + (rcnot l5_l6_i87) + (rcnot l2_l5_i88) + (rcnot l2_l5_i90) + (rcnot l6_l7_i93) + (rcnot l3_l7_i95) + (rcnot l6_l7_i97) + (rcnot l3_l6_i98) + (rcnot l3_l6_i100) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l7_l8_i4)) + (not (rcnot l4_l8_i6)) + (not (rcnot l7_l8_i8)) + (not (rcnot l4_l7_i9)) + (not (rcnot l4_l7_i11)) + (not (rcnot l6_l7_i13)) + (not (rcnot l3_l7_i15)) + (not (rcnot l6_l7_i17)) + (not (rcnot l3_l6_i18)) + (not (rcnot l3_l6_i20)) + (not (rcnot l5_l6_i22)) + (not (rcnot l2_l6_i24)) + (not (rcnot l5_l6_i26)) + (not (rcnot l2_l5_i27)) + (not (rcnot l2_l5_i29)) + (not (rcnot l1_l5_i31)) + (not (rcnot l0_l5_i33)) + (not (rcnot l1_l5_i35)) + (not (rcnot l0_l5_i37)) + (not (rcnot l5_l6_i40)) + (not (rcnot l2_l6_i42)) + (not (rcnot l5_l6_i44)) + (not (rcnot l6_l7_i46)) + (not (rcnot l3_l7_i48)) + (not (rcnot l6_l7_i50)) + (not (rcnot l7_l8_i52)) + (not (rcnot l4_l8_i54)) + (not (rcnot l7_l8_i56)) + (not (rcnot l4_l7_i57)) + (not (rcnot l4_l7_i59)) + (not (rcnot l6_l7_i62)) + (not (rcnot l3_l7_i64)) + (not (rcnot l6_l7_i66)) + (not (rcnot l5_l6_i68)) + (not (rcnot l2_l6_i70)) + (not (rcnot l5_l6_i72)) + (not (rcnot l1_l5_i74)) + (not (rcnot l0_l5_i76)) + (not (rcnot l1_l5_i78)) + (not (rcnot l0_l5_i80)) + (not (rcnot l5_l6_i83)) + (not (rcnot l2_l6_i85)) + (not (rcnot l5_l6_i87)) + (not (rcnot l2_l5_i88)) + (not (rcnot l2_l5_i90)) + (not (rcnot l6_l7_i93)) + (not (rcnot l3_l7_i95)) + (not (rcnot l6_l7_i97)) + (not (rcnot l3_l6_i98)) + (not (rcnot l3_l6_i100)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p12.pddl b/quantum-layout-sat23-strips/p12.pddl new file mode 100644 index 00000000..780ef18c --- /dev/null +++ b/quantum-layout-sat23-strips/p12.pddl @@ -0,0 +1,138 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_12_vbe_adder_3.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l2_l3_i1) + (rcnot l1_l3_i3) + (rcnot l2_l3_i4) + (rcnot l1_l3_i6) + (rcnot l1_l2_i7) + (rcnot l2_l3_i8) + (rcnot l0_l3_i9) + (rcnot l2_l3_i11) + (rcnot l0_l3_i13) + (rcnot l5_l6_i17) + (rcnot l4_l6_i19) + (rcnot l5_l6_i20) + (rcnot l4_l6_i22) + (rcnot l4_l5_i23) + (rcnot l5_l6_i24) + (rcnot l3_l6_i25) + (rcnot l5_l6_i27) + (rcnot l3_l6_i29) + (rcnot l8_l9_i36) + (rcnot l7_l9_i38) + (rcnot l8_l9_i39) + (rcnot l7_l9_i41) + (rcnot l7_l8_i42) + (rcnot l8_l9_i43) + (rcnot l6_l9_i44) + (rcnot l8_l9_i46) + (rcnot l6_l9_i48) + (rcnot l6_l8_i49) + (rcnot l5_l6_i52) + (rcnot l3_l6_i53) + (rcnot l5_l6_i55) + (rcnot l4_l5_i56) + (rcnot l3_l6_i58) + (rcnot l5_l6_i59) + (rcnot l4_l6_i61) + (rcnot l5_l6_i62) + (rcnot l3_l5_i63) + (rcnot l2_l3_i66) + (rcnot l0_l3_i67) + (rcnot l2_l3_i69) + (rcnot l1_l2_i70) + (rcnot l0_l3_i72) + (rcnot l2_l3_i73) + (rcnot l1_l3_i75) + (rcnot l2_l3_i76) + (rcnot l0_l2_i77) + (rcnot l1_l3_i79) + (rcnot l1_l2_i80) + (rcnot l4_l6_i83) + (rcnot l4_l5_i84) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l2_l3_i1)) + (not (rcnot l1_l3_i3)) + (not (rcnot l2_l3_i4)) + (not (rcnot l1_l3_i6)) + (not (rcnot l1_l2_i7)) + (not (rcnot l2_l3_i8)) + (not (rcnot l0_l3_i9)) + (not (rcnot l2_l3_i11)) + (not (rcnot l0_l3_i13)) + (not (rcnot l5_l6_i17)) + (not (rcnot l4_l6_i19)) + (not (rcnot l5_l6_i20)) + (not (rcnot l4_l6_i22)) + (not (rcnot l4_l5_i23)) + (not (rcnot l5_l6_i24)) + (not (rcnot l3_l6_i25)) + (not (rcnot l5_l6_i27)) + (not (rcnot l3_l6_i29)) + (not (rcnot l8_l9_i36)) + (not (rcnot l7_l9_i38)) + (not (rcnot l8_l9_i39)) + (not (rcnot l7_l9_i41)) + (not (rcnot l7_l8_i42)) + (not (rcnot l8_l9_i43)) + (not (rcnot l6_l9_i44)) + (not (rcnot l8_l9_i46)) + (not (rcnot l6_l9_i48)) + (not (rcnot l6_l8_i49)) + (not (rcnot l5_l6_i52)) + (not (rcnot l3_l6_i53)) + (not (rcnot l5_l6_i55)) + (not (rcnot l4_l5_i56)) + (not (rcnot l3_l6_i58)) + (not (rcnot l5_l6_i59)) + (not (rcnot l4_l6_i61)) + (not (rcnot l5_l6_i62)) + (not (rcnot l3_l5_i63)) + (not (rcnot l2_l3_i66)) + (not (rcnot l0_l3_i67)) + (not (rcnot l2_l3_i69)) + (not (rcnot l1_l2_i70)) + (not (rcnot l0_l3_i72)) + (not (rcnot l2_l3_i73)) + (not (rcnot l1_l3_i75)) + (not (rcnot l2_l3_i76)) + (not (rcnot l0_l2_i77)) + (not (rcnot l1_l3_i79)) + (not (rcnot l1_l2_i80)) + (not (rcnot l4_l6_i83)) + (not (rcnot l4_l5_i84)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p13.pddl b/quantum-layout-sat23-strips/p13.pddl new file mode 100644 index 00000000..c4e67fc8 --- /dev/null +++ b/quantum-layout-sat23-strips/p13.pddl @@ -0,0 +1,180 @@ +;; Melbourne_non_bidirectional/Local_compact/problem_13_rc_adder_6.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p1 p0) + (connected p1 p2) + (connected p2 p3) + (connected p4 p3) + (connected p4 p10) + (connected p5 p4) + (connected p5 p6) + (connected p5 p9) + (connected p6 p8) + (connected p7 p8) + (connected p9 p8) + (connected p9 p10) + (connected p11 p3) + (connected p11 p10) + (connected p11 p12) + (connected p12 p2) + (connected p13 p1) + (connected p13 p12) + ;; listing required cnots + (rcnot l4_l3_i0) + (rcnot l4_l2_i1) + (rcnot l1_l2_i3) + (rcnot l0_l2_i5) + (rcnot l1_l2_i7) + (rcnot l0_l2_i9) + (rcnot l6_l5_i12) + (rcnot l6_l4_i13) + (rcnot l3_l4_i15) + (rcnot l2_l4_i17) + (rcnot l3_l4_i19) + (rcnot l2_l4_i21) + (rcnot l2_l3_i22) + (rcnot l8_l7_i25) + (rcnot l8_l6_i26) + (rcnot l5_l6_i28) + (rcnot l4_l6_i30) + (rcnot l5_l6_i32) + (rcnot l4_l6_i34) + (rcnot l4_l5_i35) + (rcnot l10_l9_i38) + (rcnot l10_l8_i39) + (rcnot l7_l8_i41) + (rcnot l6_l8_i43) + (rcnot l7_l8_i45) + (rcnot l6_l8_i47) + (rcnot l6_l7_i48) + (rcnot l12_l11_i51) + (rcnot l12_l10_i53) + (rcnot l9_l10_i55) + (rcnot l8_l10_i57) + (rcnot l9_l10_i59) + (rcnot l8_l10_i61) + (rcnot l8_l9_i65) + (rcnot l12_l13_i66) + (rcnot l11_l13_i68) + (rcnot l10_l13_i70) + (rcnot l11_l13_i72) + (rcnot l10_l13_i74) + (rcnot l10_l11_i75) + (rcnot l8_l10_i80) + (rcnot l9_l10_i82) + (rcnot l8_l10_i84) + (rcnot l6_l8_i87) + (rcnot l7_l8_i89) + (rcnot l6_l8_i91) + (rcnot l4_l6_i93) + (rcnot l5_l6_i95) + (rcnot l4_l6_i97) + (rcnot l2_l4_i99) + (rcnot l3_l4_i101) + (rcnot l2_l4_i103) + (rcnot l1_l2_i105) + (rcnot l0_l2_i107) + (rcnot l1_l2_i109) + (rcnot l0_l2_i111) + (rcnot l1_l0_i112) + (rcnot l3_l4_i116) + (rcnot l5_l6_i120) + (rcnot l7_l8_i124) + (rcnot l9_l10_i127) + (rcnot l12_l10_i130) + (rcnot l10_l8_i131) + (rcnot l10_l9_i132) + (rcnot l12_l11_i133) + (rcnot l8_l6_i134) + (rcnot l6_l4_i135) + (rcnot l4_l2_i136) + (rcnot l4_l3_i137) + (rcnot l6_l5_i138) + (rcnot l8_l7_i139) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l4_l3_i0)) + (not (rcnot l4_l2_i1)) + (not (rcnot l1_l2_i3)) + (not (rcnot l0_l2_i5)) + (not (rcnot l1_l2_i7)) + (not (rcnot l0_l2_i9)) + (not (rcnot l6_l5_i12)) + (not (rcnot l6_l4_i13)) + (not (rcnot l3_l4_i15)) + (not (rcnot l2_l4_i17)) + (not (rcnot l3_l4_i19)) + (not (rcnot l2_l4_i21)) + (not (rcnot l2_l3_i22)) + (not (rcnot l8_l7_i25)) + (not (rcnot l8_l6_i26)) + (not (rcnot l5_l6_i28)) + (not (rcnot l4_l6_i30)) + (not (rcnot l5_l6_i32)) + (not (rcnot l4_l6_i34)) + (not (rcnot l4_l5_i35)) + (not (rcnot l10_l9_i38)) + (not (rcnot l10_l8_i39)) + (not (rcnot l7_l8_i41)) + (not (rcnot l6_l8_i43)) + (not (rcnot l7_l8_i45)) + (not (rcnot l6_l8_i47)) + (not (rcnot l6_l7_i48)) + (not (rcnot l12_l11_i51)) + (not (rcnot l12_l10_i53)) + (not (rcnot l9_l10_i55)) + (not (rcnot l8_l10_i57)) + (not (rcnot l9_l10_i59)) + (not (rcnot l8_l10_i61)) + (not (rcnot l8_l9_i65)) + (not (rcnot l12_l13_i66)) + (not (rcnot l11_l13_i68)) + (not (rcnot l10_l13_i70)) + (not (rcnot l11_l13_i72)) + (not (rcnot l10_l13_i74)) + (not (rcnot l10_l11_i75)) + (not (rcnot l8_l10_i80)) + (not (rcnot l9_l10_i82)) + (not (rcnot l8_l10_i84)) + (not (rcnot l6_l8_i87)) + (not (rcnot l7_l8_i89)) + (not (rcnot l6_l8_i91)) + (not (rcnot l4_l6_i93)) + (not (rcnot l5_l6_i95)) + (not (rcnot l4_l6_i97)) + (not (rcnot l2_l4_i99)) + (not (rcnot l3_l4_i101)) + (not (rcnot l2_l4_i103)) + (not (rcnot l1_l2_i105)) + (not (rcnot l0_l2_i107)) + (not (rcnot l1_l2_i109)) + (not (rcnot l0_l2_i111)) + (not (rcnot l1_l0_i112)) + (not (rcnot l3_l4_i116)) + (not (rcnot l5_l6_i120)) + (not (rcnot l7_l8_i124)) + (not (rcnot l9_l10_i127)) + (not (rcnot l12_l10_i130)) + (not (rcnot l10_l8_i131)) + (not (rcnot l10_l9_i132)) + (not (rcnot l12_l11_i133)) + (not (rcnot l8_l6_i134)) + (not (rcnot l6_l4_i135)) + (not (rcnot l4_l2_i136)) + (not (rcnot l4_l3_i137)) + (not (rcnot l6_l5_i138)) + (not (rcnot l8_l7_i139)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p14.pddl b/quantum-layout-sat23-strips/p14.pddl new file mode 100644 index 00000000..166dbee7 --- /dev/null +++ b/quantum-layout-sat23-strips/p14.pddl @@ -0,0 +1,134 @@ +;; Tokyo/Local_compact/problem_7_tof_4.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l1_l4_i1) + (rcnot l0_l4_i3) + (rcnot l1_l4_i5) + (rcnot l0_l4_i7) + (rcnot l4_l5_i11) + (rcnot l2_l5_i13) + (rcnot l4_l5_i15) + (rcnot l2_l5_i17) + (rcnot l5_l6_i21) + (rcnot l3_l6_i23) + (rcnot l5_l6_i25) + (rcnot l3_l6_i27) + (rcnot l3_l5_i28) + (rcnot l3_l5_i30) + (rcnot l4_l5_i34) + (rcnot l2_l5_i36) + (rcnot l4_l5_i38) + (rcnot l1_l4_i40) + (rcnot l0_l4_i42) + (rcnot l1_l4_i44) + (rcnot l0_l4_i46) + (rcnot l2_l5_i50) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l4_i1)) + (not (rcnot l0_l4_i3)) + (not (rcnot l1_l4_i5)) + (not (rcnot l0_l4_i7)) + (not (rcnot l4_l5_i11)) + (not (rcnot l2_l5_i13)) + (not (rcnot l4_l5_i15)) + (not (rcnot l2_l5_i17)) + (not (rcnot l5_l6_i21)) + (not (rcnot l3_l6_i23)) + (not (rcnot l5_l6_i25)) + (not (rcnot l3_l6_i27)) + (not (rcnot l3_l5_i28)) + (not (rcnot l3_l5_i30)) + (not (rcnot l4_l5_i34)) + (not (rcnot l2_l5_i36)) + (not (rcnot l4_l5_i38)) + (not (rcnot l1_l4_i40)) + (not (rcnot l0_l4_i42)) + (not (rcnot l1_l4_i44)) + (not (rcnot l0_l4_i46)) + (not (rcnot l2_l5_i50)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p15.pddl b/quantum-layout-sat23-strips/p15.pddl new file mode 100644 index 00000000..ff8f4088 --- /dev/null +++ b/quantum-layout-sat23-strips/p15.pddl @@ -0,0 +1,158 @@ +;; Tokyo/Local_compact/problem_8_barenco_tof_4.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l5_l6_i3) + (rcnot l3_l6_i5) + (rcnot l5_l6_i7) + (rcnot l3_l5_i8) + (rcnot l3_l5_i10) + (rcnot l4_l5_i12) + (rcnot l2_l5_i14) + (rcnot l4_l5_i16) + (rcnot l2_l4_i17) + (rcnot l2_l4_i19) + (rcnot l1_l4_i21) + (rcnot l0_l4_i23) + (rcnot l1_l4_i25) + (rcnot l0_l4_i27) + (rcnot l4_l5_i30) + (rcnot l2_l5_i32) + (rcnot l4_l5_i34) + (rcnot l5_l6_i36) + (rcnot l3_l6_i38) + (rcnot l5_l6_i40) + (rcnot l3_l5_i41) + (rcnot l3_l5_i43) + (rcnot l4_l5_i46) + (rcnot l2_l5_i48) + (rcnot l4_l5_i50) + (rcnot l1_l4_i52) + (rcnot l0_l4_i54) + (rcnot l1_l4_i56) + (rcnot l0_l4_i58) + (rcnot l4_l5_i61) + (rcnot l2_l5_i63) + (rcnot l4_l5_i65) + (rcnot l2_l4_i66) + (rcnot l2_l4_i68) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l5_l6_i3)) + (not (rcnot l3_l6_i5)) + (not (rcnot l5_l6_i7)) + (not (rcnot l3_l5_i8)) + (not (rcnot l3_l5_i10)) + (not (rcnot l4_l5_i12)) + (not (rcnot l2_l5_i14)) + (not (rcnot l4_l5_i16)) + (not (rcnot l2_l4_i17)) + (not (rcnot l2_l4_i19)) + (not (rcnot l1_l4_i21)) + (not (rcnot l0_l4_i23)) + (not (rcnot l1_l4_i25)) + (not (rcnot l0_l4_i27)) + (not (rcnot l4_l5_i30)) + (not (rcnot l2_l5_i32)) + (not (rcnot l4_l5_i34)) + (not (rcnot l5_l6_i36)) + (not (rcnot l3_l6_i38)) + (not (rcnot l5_l6_i40)) + (not (rcnot l3_l5_i41)) + (not (rcnot l3_l5_i43)) + (not (rcnot l4_l5_i46)) + (not (rcnot l2_l5_i48)) + (not (rcnot l4_l5_i50)) + (not (rcnot l1_l4_i52)) + (not (rcnot l0_l4_i54)) + (not (rcnot l1_l4_i56)) + (not (rcnot l0_l4_i58)) + (not (rcnot l4_l5_i61)) + (not (rcnot l2_l5_i63)) + (not (rcnot l4_l5_i65)) + (not (rcnot l2_l4_i66)) + (not (rcnot l2_l4_i68)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p16.pddl b/quantum-layout-sat23-strips/p16.pddl new file mode 100644 index 00000000..d146adc6 --- /dev/null +++ b/quantum-layout-sat23-strips/p16.pddl @@ -0,0 +1,150 @@ +;; Tokyo/Local_compact/problem_9_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l1_l5_i1) + (rcnot l0_l5_i3) + (rcnot l1_l5_i5) + (rcnot l0_l5_i7) + (rcnot l5_l6_i11) + (rcnot l2_l6_i13) + (rcnot l5_l6_i15) + (rcnot l2_l6_i17) + (rcnot l6_l7_i21) + (rcnot l3_l7_i23) + (rcnot l6_l7_i25) + (rcnot l3_l7_i27) + (rcnot l7_l8_i31) + (rcnot l4_l8_i33) + (rcnot l7_l8_i35) + (rcnot l4_l8_i37) + (rcnot l4_l7_i38) + (rcnot l4_l7_i40) + (rcnot l6_l7_i44) + (rcnot l3_l7_i46) + (rcnot l6_l7_i48) + (rcnot l5_l6_i50) + (rcnot l2_l6_i52) + (rcnot l5_l6_i54) + (rcnot l1_l5_i56) + (rcnot l0_l5_i58) + (rcnot l1_l5_i60) + (rcnot l0_l5_i62) + (rcnot l2_l6_i66) + (rcnot l3_l7_i70) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l1_l5_i1)) + (not (rcnot l0_l5_i3)) + (not (rcnot l1_l5_i5)) + (not (rcnot l0_l5_i7)) + (not (rcnot l5_l6_i11)) + (not (rcnot l2_l6_i13)) + (not (rcnot l5_l6_i15)) + (not (rcnot l2_l6_i17)) + (not (rcnot l6_l7_i21)) + (not (rcnot l3_l7_i23)) + (not (rcnot l6_l7_i25)) + (not (rcnot l3_l7_i27)) + (not (rcnot l7_l8_i31)) + (not (rcnot l4_l8_i33)) + (not (rcnot l7_l8_i35)) + (not (rcnot l4_l8_i37)) + (not (rcnot l4_l7_i38)) + (not (rcnot l4_l7_i40)) + (not (rcnot l6_l7_i44)) + (not (rcnot l3_l7_i46)) + (not (rcnot l6_l7_i48)) + (not (rcnot l5_l6_i50)) + (not (rcnot l2_l6_i52)) + (not (rcnot l5_l6_i54)) + (not (rcnot l1_l5_i56)) + (not (rcnot l0_l5_i58)) + (not (rcnot l1_l5_i60)) + (not (rcnot l0_l5_i62)) + (not (rcnot l2_l6_i66)) + (not (rcnot l3_l7_i70)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p17.pddl b/quantum-layout-sat23-strips/p17.pddl new file mode 100644 index 00000000..4d41e361 --- /dev/null +++ b/quantum-layout-sat23-strips/p17.pddl @@ -0,0 +1,170 @@ +;; Tokyo/Local_compact/problem_10_mod_mult_55.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l0_l7_i2) + (rcnot l2_l7_i4) + (rcnot l0_l7_i6) + (rcnot l2_l7_i8) + (rcnot l2_l0_i9) + (rcnot l2_l0_i12) + (rcnot l7_l6_i15) + (rcnot l1_l6_i17) + (rcnot l7_l6_i19) + (rcnot l1_l6_i21) + (rcnot l1_l7_i22) + (rcnot l6_l5_i25) + (rcnot l6_l3_i26) + (rcnot l1_l7_i30) + (rcnot l2_l8_i33) + (rcnot l0_l8_i35) + (rcnot l2_l8_i37) + (rcnot l0_l8_i39) + (rcnot l8_l7_i42) + (rcnot l7_l3_i43) + (rcnot l8_l6_i45) + (rcnot l1_l6_i47) + (rcnot l8_l6_i49) + (rcnot l1_l6_i51) + (rcnot l1_l8_i52) + (rcnot l6_l4_i55) + (rcnot l1_l8_i57) + (rcnot l1_l3_i58) + (rcnot l7_l3_i60) + (rcnot l1_l3_i62) + (rcnot l5_l8_i66) + (rcnot l1_l5_i68) + (rcnot l7_l5_i70) + (rcnot l1_l5_i72) + (rcnot l7_l5_i74) + (rcnot l2_l8_i79) + (rcnot l0_l8_i81) + (rcnot l2_l8_i83) + (rcnot l0_l8_i86) + (rcnot l5_l8_i90) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l0_l7_i2)) + (not (rcnot l2_l7_i4)) + (not (rcnot l0_l7_i6)) + (not (rcnot l2_l7_i8)) + (not (rcnot l2_l0_i9)) + (not (rcnot l2_l0_i12)) + (not (rcnot l7_l6_i15)) + (not (rcnot l1_l6_i17)) + (not (rcnot l7_l6_i19)) + (not (rcnot l1_l6_i21)) + (not (rcnot l1_l7_i22)) + (not (rcnot l6_l5_i25)) + (not (rcnot l6_l3_i26)) + (not (rcnot l1_l7_i30)) + (not (rcnot l2_l8_i33)) + (not (rcnot l0_l8_i35)) + (not (rcnot l2_l8_i37)) + (not (rcnot l0_l8_i39)) + (not (rcnot l8_l7_i42)) + (not (rcnot l7_l3_i43)) + (not (rcnot l8_l6_i45)) + (not (rcnot l1_l6_i47)) + (not (rcnot l8_l6_i49)) + (not (rcnot l1_l6_i51)) + (not (rcnot l1_l8_i52)) + (not (rcnot l6_l4_i55)) + (not (rcnot l1_l8_i57)) + (not (rcnot l1_l3_i58)) + (not (rcnot l7_l3_i60)) + (not (rcnot l1_l3_i62)) + (not (rcnot l5_l8_i66)) + (not (rcnot l1_l5_i68)) + (not (rcnot l7_l5_i70)) + (not (rcnot l1_l5_i72)) + (not (rcnot l7_l5_i74)) + (not (rcnot l2_l8_i79)) + (not (rcnot l0_l8_i81)) + (not (rcnot l2_l8_i83)) + (not (rcnot l0_l8_i86)) + (not (rcnot l5_l8_i90)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p18.pddl b/quantum-layout-sat23-strips/p18.pddl new file mode 100644 index 00000000..f6168023 --- /dev/null +++ b/quantum-layout-sat23-strips/p18.pddl @@ -0,0 +1,190 @@ +;; Tokyo/Local_compact/problem_11_barenco_tof_5.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l7_l8_i4) + (rcnot l4_l8_i6) + (rcnot l7_l8_i8) + (rcnot l4_l7_i9) + (rcnot l4_l7_i11) + (rcnot l6_l7_i13) + (rcnot l3_l7_i15) + (rcnot l6_l7_i17) + (rcnot l3_l6_i18) + (rcnot l3_l6_i20) + (rcnot l5_l6_i22) + (rcnot l2_l6_i24) + (rcnot l5_l6_i26) + (rcnot l2_l5_i27) + (rcnot l2_l5_i29) + (rcnot l1_l5_i31) + (rcnot l0_l5_i33) + (rcnot l1_l5_i35) + (rcnot l0_l5_i37) + (rcnot l5_l6_i40) + (rcnot l2_l6_i42) + (rcnot l5_l6_i44) + (rcnot l6_l7_i46) + (rcnot l3_l7_i48) + (rcnot l6_l7_i50) + (rcnot l7_l8_i52) + (rcnot l4_l8_i54) + (rcnot l7_l8_i56) + (rcnot l4_l7_i57) + (rcnot l4_l7_i59) + (rcnot l6_l7_i62) + (rcnot l3_l7_i64) + (rcnot l6_l7_i66) + (rcnot l5_l6_i68) + (rcnot l2_l6_i70) + (rcnot l5_l6_i72) + (rcnot l1_l5_i74) + (rcnot l0_l5_i76) + (rcnot l1_l5_i78) + (rcnot l0_l5_i80) + (rcnot l5_l6_i83) + (rcnot l2_l6_i85) + (rcnot l5_l6_i87) + (rcnot l2_l5_i88) + (rcnot l2_l5_i90) + (rcnot l6_l7_i93) + (rcnot l3_l7_i95) + (rcnot l6_l7_i97) + (rcnot l3_l6_i98) + (rcnot l3_l6_i100) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l7_l8_i4)) + (not (rcnot l4_l8_i6)) + (not (rcnot l7_l8_i8)) + (not (rcnot l4_l7_i9)) + (not (rcnot l4_l7_i11)) + (not (rcnot l6_l7_i13)) + (not (rcnot l3_l7_i15)) + (not (rcnot l6_l7_i17)) + (not (rcnot l3_l6_i18)) + (not (rcnot l3_l6_i20)) + (not (rcnot l5_l6_i22)) + (not (rcnot l2_l6_i24)) + (not (rcnot l5_l6_i26)) + (not (rcnot l2_l5_i27)) + (not (rcnot l2_l5_i29)) + (not (rcnot l1_l5_i31)) + (not (rcnot l0_l5_i33)) + (not (rcnot l1_l5_i35)) + (not (rcnot l0_l5_i37)) + (not (rcnot l5_l6_i40)) + (not (rcnot l2_l6_i42)) + (not (rcnot l5_l6_i44)) + (not (rcnot l6_l7_i46)) + (not (rcnot l3_l7_i48)) + (not (rcnot l6_l7_i50)) + (not (rcnot l7_l8_i52)) + (not (rcnot l4_l8_i54)) + (not (rcnot l7_l8_i56)) + (not (rcnot l4_l7_i57)) + (not (rcnot l4_l7_i59)) + (not (rcnot l6_l7_i62)) + (not (rcnot l3_l7_i64)) + (not (rcnot l6_l7_i66)) + (not (rcnot l5_l6_i68)) + (not (rcnot l2_l6_i70)) + (not (rcnot l5_l6_i72)) + (not (rcnot l1_l5_i74)) + (not (rcnot l0_l5_i76)) + (not (rcnot l1_l5_i78)) + (not (rcnot l0_l5_i80)) + (not (rcnot l5_l6_i83)) + (not (rcnot l2_l6_i85)) + (not (rcnot l5_l6_i87)) + (not (rcnot l2_l5_i88)) + (not (rcnot l2_l5_i90)) + (not (rcnot l6_l7_i93)) + (not (rcnot l3_l7_i95)) + (not (rcnot l6_l7_i97)) + (not (rcnot l3_l6_i98)) + (not (rcnot l3_l6_i100)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p19.pddl b/quantum-layout-sat23-strips/p19.pddl new file mode 100644 index 00000000..1cc81dc2 --- /dev/null +++ b/quantum-layout-sat23-strips/p19.pddl @@ -0,0 +1,190 @@ +;; Tokyo/Local_compact/problem_12_vbe_adder_3.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l2_l3_i1) + (rcnot l1_l3_i3) + (rcnot l2_l3_i4) + (rcnot l1_l3_i6) + (rcnot l1_l2_i7) + (rcnot l2_l3_i8) + (rcnot l0_l3_i9) + (rcnot l2_l3_i11) + (rcnot l0_l3_i13) + (rcnot l5_l6_i17) + (rcnot l4_l6_i19) + (rcnot l5_l6_i20) + (rcnot l4_l6_i22) + (rcnot l4_l5_i23) + (rcnot l5_l6_i24) + (rcnot l3_l6_i25) + (rcnot l5_l6_i27) + (rcnot l3_l6_i29) + (rcnot l8_l9_i36) + (rcnot l7_l9_i38) + (rcnot l8_l9_i39) + (rcnot l7_l9_i41) + (rcnot l7_l8_i42) + (rcnot l8_l9_i43) + (rcnot l6_l9_i44) + (rcnot l8_l9_i46) + (rcnot l6_l9_i48) + (rcnot l6_l8_i49) + (rcnot l5_l6_i52) + (rcnot l3_l6_i53) + (rcnot l5_l6_i55) + (rcnot l4_l5_i56) + (rcnot l3_l6_i58) + (rcnot l5_l6_i59) + (rcnot l4_l6_i61) + (rcnot l5_l6_i62) + (rcnot l3_l5_i63) + (rcnot l2_l3_i66) + (rcnot l0_l3_i67) + (rcnot l2_l3_i69) + (rcnot l1_l2_i70) + (rcnot l0_l3_i72) + (rcnot l2_l3_i73) + (rcnot l1_l3_i75) + (rcnot l2_l3_i76) + (rcnot l0_l2_i77) + (rcnot l1_l3_i79) + (rcnot l1_l2_i80) + (rcnot l4_l6_i83) + (rcnot l4_l5_i84) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l2_l3_i1)) + (not (rcnot l1_l3_i3)) + (not (rcnot l2_l3_i4)) + (not (rcnot l1_l3_i6)) + (not (rcnot l1_l2_i7)) + (not (rcnot l2_l3_i8)) + (not (rcnot l0_l3_i9)) + (not (rcnot l2_l3_i11)) + (not (rcnot l0_l3_i13)) + (not (rcnot l5_l6_i17)) + (not (rcnot l4_l6_i19)) + (not (rcnot l5_l6_i20)) + (not (rcnot l4_l6_i22)) + (not (rcnot l4_l5_i23)) + (not (rcnot l5_l6_i24)) + (not (rcnot l3_l6_i25)) + (not (rcnot l5_l6_i27)) + (not (rcnot l3_l6_i29)) + (not (rcnot l8_l9_i36)) + (not (rcnot l7_l9_i38)) + (not (rcnot l8_l9_i39)) + (not (rcnot l7_l9_i41)) + (not (rcnot l7_l8_i42)) + (not (rcnot l8_l9_i43)) + (not (rcnot l6_l9_i44)) + (not (rcnot l8_l9_i46)) + (not (rcnot l6_l9_i48)) + (not (rcnot l6_l8_i49)) + (not (rcnot l5_l6_i52)) + (not (rcnot l3_l6_i53)) + (not (rcnot l5_l6_i55)) + (not (rcnot l4_l5_i56)) + (not (rcnot l3_l6_i58)) + (not (rcnot l5_l6_i59)) + (not (rcnot l4_l6_i61)) + (not (rcnot l5_l6_i62)) + (not (rcnot l3_l5_i63)) + (not (rcnot l2_l3_i66)) + (not (rcnot l0_l3_i67)) + (not (rcnot l2_l3_i69)) + (not (rcnot l1_l2_i70)) + (not (rcnot l0_l3_i72)) + (not (rcnot l2_l3_i73)) + (not (rcnot l1_l3_i75)) + (not (rcnot l2_l3_i76)) + (not (rcnot l0_l2_i77)) + (not (rcnot l1_l3_i79)) + (not (rcnot l1_l2_i80)) + (not (rcnot l4_l6_i83)) + (not (rcnot l4_l5_i84)) + ) +) +) \ No newline at end of file diff --git a/quantum-layout-sat23-strips/p20.pddl b/quantum-layout-sat23-strips/p20.pddl new file mode 100644 index 00000000..ee55f557 --- /dev/null +++ b/quantum-layout-sat23-strips/p20.pddl @@ -0,0 +1,232 @@ +;; Tokyo/Local_compact/problem_13_rc_adder_6.pddl +(define (problem test) + (:domain Quantum) + (:objects + ;; physical qubits + p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 - pqubit +) +(:init + ;; all physical qubits are not occupied, by default + ;; all logical qubits are not occupied, by default + ;; connectivity graph + (connected p0 p1) + (connected p0 p5) + (connected p1 p0) + (connected p1 p2) + (connected p1 p6) + (connected p1 p7) + (connected p2 p1) + (connected p2 p6) + (connected p3 p8) + (connected p4 p8) + (connected p4 p9) + (connected p5 p0) + (connected p5 p6) + (connected p5 p10) + (connected p5 p11) + (connected p6 p1) + (connected p6 p2) + (connected p6 p5) + (connected p6 p7) + (connected p6 p10) + (connected p6 p11) + (connected p7 p1) + (connected p7 p6) + (connected p7 p8) + (connected p7 p12) + (connected p8 p3) + (connected p8 p4) + (connected p8 p7) + (connected p8 p9) + (connected p8 p12) + (connected p8 p13) + (connected p9 p4) + (connected p9 p8) + (connected p10 p5) + (connected p10 p6) + (connected p10 p11) + (connected p10 p15) + (connected p11 p5) + (connected p11 p6) + (connected p11 p10) + (connected p11 p12) + (connected p11 p16) + (connected p11 p17) + (connected p12 p7) + (connected p12 p8) + (connected p12 p11) + (connected p12 p13) + (connected p12 p16) + (connected p13 p8) + (connected p13 p12) + (connected p13 p14) + (connected p13 p18) + (connected p13 p19) + (connected p14 p13) + (connected p14 p18) + (connected p14 p19) + (connected p15 p10) + (connected p15 p16) + (connected p16 p11) + (connected p16 p12) + (connected p16 p15) + (connected p16 p17) + (connected p17 p11) + (connected p17 p16) + (connected p17 p18) + (connected p18 p13) + (connected p18 p14) + (connected p18 p17) + (connected p19 p13) + (connected p19 p14) + ;; listing required cnots + (rcnot l4_l3_i0) + (rcnot l4_l2_i1) + (rcnot l1_l2_i3) + (rcnot l0_l2_i5) + (rcnot l1_l2_i7) + (rcnot l0_l2_i9) + (rcnot l6_l5_i12) + (rcnot l6_l4_i13) + (rcnot l3_l4_i15) + (rcnot l2_l4_i17) + (rcnot l3_l4_i19) + (rcnot l2_l4_i21) + (rcnot l2_l3_i22) + (rcnot l8_l7_i25) + (rcnot l8_l6_i26) + (rcnot l5_l6_i28) + (rcnot l4_l6_i30) + (rcnot l5_l6_i32) + (rcnot l4_l6_i34) + (rcnot l4_l5_i35) + (rcnot l10_l9_i38) + (rcnot l10_l8_i39) + (rcnot l7_l8_i41) + (rcnot l6_l8_i43) + (rcnot l7_l8_i45) + (rcnot l6_l8_i47) + (rcnot l6_l7_i48) + (rcnot l12_l11_i51) + (rcnot l12_l10_i53) + (rcnot l9_l10_i55) + (rcnot l8_l10_i57) + (rcnot l9_l10_i59) + (rcnot l8_l10_i61) + (rcnot l8_l9_i65) + (rcnot l12_l13_i66) + (rcnot l11_l13_i68) + (rcnot l10_l13_i70) + (rcnot l11_l13_i72) + (rcnot l10_l13_i74) + (rcnot l10_l11_i75) + (rcnot l8_l10_i80) + (rcnot l9_l10_i82) + (rcnot l8_l10_i84) + (rcnot l6_l8_i87) + (rcnot l7_l8_i89) + (rcnot l6_l8_i91) + (rcnot l4_l6_i93) + (rcnot l5_l6_i95) + (rcnot l4_l6_i97) + (rcnot l2_l4_i99) + (rcnot l3_l4_i101) + (rcnot l2_l4_i103) + (rcnot l1_l2_i105) + (rcnot l0_l2_i107) + (rcnot l1_l2_i109) + (rcnot l0_l2_i111) + (rcnot l1_l0_i112) + (rcnot l3_l4_i116) + (rcnot l5_l6_i120) + (rcnot l7_l8_i124) + (rcnot l9_l10_i127) + (rcnot l12_l10_i130) + (rcnot l10_l8_i131) + (rcnot l10_l9_i132) + (rcnot l12_l11_i133) + (rcnot l8_l6_i134) + (rcnot l6_l4_i135) + (rcnot l4_l2_i136) + (rcnot l4_l3_i137) + (rcnot l6_l5_i138) + (rcnot l8_l7_i139) +) +(:goal + (and + ;; initial mapping + ;; listing negated required cnots + (not (rcnot l4_l3_i0)) + (not (rcnot l4_l2_i1)) + (not (rcnot l1_l2_i3)) + (not (rcnot l0_l2_i5)) + (not (rcnot l1_l2_i7)) + (not (rcnot l0_l2_i9)) + (not (rcnot l6_l5_i12)) + (not (rcnot l6_l4_i13)) + (not (rcnot l3_l4_i15)) + (not (rcnot l2_l4_i17)) + (not (rcnot l3_l4_i19)) + (not (rcnot l2_l4_i21)) + (not (rcnot l2_l3_i22)) + (not (rcnot l8_l7_i25)) + (not (rcnot l8_l6_i26)) + (not (rcnot l5_l6_i28)) + (not (rcnot l4_l6_i30)) + (not (rcnot l5_l6_i32)) + (not (rcnot l4_l6_i34)) + (not (rcnot l4_l5_i35)) + (not (rcnot l10_l9_i38)) + (not (rcnot l10_l8_i39)) + (not (rcnot l7_l8_i41)) + (not (rcnot l6_l8_i43)) + (not (rcnot l7_l8_i45)) + (not (rcnot l6_l8_i47)) + (not (rcnot l6_l7_i48)) + (not (rcnot l12_l11_i51)) + (not (rcnot l12_l10_i53)) + (not (rcnot l9_l10_i55)) + (not (rcnot l8_l10_i57)) + (not (rcnot l9_l10_i59)) + (not (rcnot l8_l10_i61)) + (not (rcnot l8_l9_i65)) + (not (rcnot l12_l13_i66)) + (not (rcnot l11_l13_i68)) + (not (rcnot l10_l13_i70)) + (not (rcnot l11_l13_i72)) + (not (rcnot l10_l13_i74)) + (not (rcnot l10_l11_i75)) + (not (rcnot l8_l10_i80)) + (not (rcnot l9_l10_i82)) + (not (rcnot l8_l10_i84)) + (not (rcnot l6_l8_i87)) + (not (rcnot l7_l8_i89)) + (not (rcnot l6_l8_i91)) + (not (rcnot l4_l6_i93)) + (not (rcnot l5_l6_i95)) + (not (rcnot l4_l6_i97)) + (not (rcnot l2_l4_i99)) + (not (rcnot l3_l4_i101)) + (not (rcnot l2_l4_i103)) + (not (rcnot l1_l2_i105)) + (not (rcnot l0_l2_i107)) + (not (rcnot l1_l2_i109)) + (not (rcnot l0_l2_i111)) + (not (rcnot l1_l0_i112)) + (not (rcnot l3_l4_i116)) + (not (rcnot l5_l6_i120)) + (not (rcnot l7_l8_i124)) + (not (rcnot l9_l10_i127)) + (not (rcnot l12_l10_i130)) + (not (rcnot l10_l8_i131)) + (not (rcnot l10_l9_i132)) + (not (rcnot l12_l11_i133)) + (not (rcnot l8_l6_i134)) + (not (rcnot l6_l4_i135)) + (not (rcnot l4_l2_i136)) + (not (rcnot l4_l3_i137)) + (not (rcnot l6_l5_i138)) + (not (rcnot l8_l7_i139)) + ) +) +) \ No newline at end of file diff --git a/recharging-robots-opt23-adl/domain.pddl b/recharging-robots-opt23-adl/domain.pddl new file mode 100644 index 00000000..d90a3016 --- /dev/null +++ b/recharging-robots-opt23-adl/domain.pddl @@ -0,0 +1,135 @@ +(define (domain recharging-robots) +(:requirements :typing :adl :action-costs) +(:types + location - object + robot - object + battery-level - object + config - object +) + +(:predicates + ;; ?f1 is predecessor of ?f2 in the battery level, i.e., ?f2 = ?f1 + 1 + (BATTERY-PREDECESSOR ?f1 - battery-level ?f2 - battery-level) + ;; Two locations are connected in the graph of locations + (CONNECTED ?l1 - location ?l2 - location) + ;; Definition of a guarding configuration, i.e., one atom per location + ;; in each configuration + (GUARD-CONFIG ?c - config ?l - location) + ;; Robot is located at the given location + (at ?r - robot ?l - location) + ;; The remaining battery of the robot + (battery ?r - robot ?f - battery-level) + ;; Robot stopped and is guarding all locations connected to the + ;; location where robot is located + (stopped ?r - robot) + ;; Location ?l is guarded by at least one robot + (guarded ?l - location) + ;; Configuration is fullfilled, i.e., all of its locations were guarded + ;; at some point. + (config-fullfilled ?c - config) +) + +(:functions + (move-cost) - number + (recharge-cost) - number + (total-cost) - number +) + +;; Move the robot ?r from the location ?from to the location ?to while +;; consuming the battery -- it is decreased by one from ?fpre to ?fpost +(:action move + :parameters (?r - robot ?from - location ?to - location + ?fpre - battery-level ?fpost - battery-level) + :precondition + (and + (not (stopped ?r)) + (at ?r ?from) + (battery ?r ?fpre) + (BATTERY-PREDECESSOR ?fpost ?fpre) + (or (CONNECTED ?from ?to) (CONNECTED ?to ?from)) + ) + :effect + (and + (not (at ?r ?from)) + (at ?r ?to) + (not (battery ?r ?fpre)) + (battery ?r ?fpost) + (increase (total-cost) (move-cost)) + ) +) + +;; Recharge robot ?rto at location ?loc by transfering one unit of battery +;; charge from the robot ?rfrom +(:action recharge + :parameters (?rfrom - robot ?rto - robot ?loc - location + ?fpre-from - battery-level ?fpost-from - battery-level + ?fpre-to - battery-level ?fpost-to - battery-level) + :precondition + (and + (not (= ?rfrom ?rto)) + (at ?rfrom ?loc) + (at ?rto ?loc) + (battery ?rfrom ?fpre-from) + (battery ?rto ?fpre-to) + (BATTERY-PREDECESSOR ?fpost-from ?fpre-from) + (BATTERY-PREDECESSOR ?fpre-to ?fpost-to) + ) + :effect + (and + (not (battery ?rfrom ?fpre-from)) + (battery ?rfrom ?fpost-from) + (not (battery ?rto ?fpre-to)) + (battery ?rto ?fpost-to) + (increase (total-cost) (recharge-cost)) + ) +) + +;; Stop the robot at its current location and guard the neighborhood. +;; Once the robot stopped it can move again only when the configuration is +;; fullfilled, i.e., stopping too early can result in a dead-end. +;; Note that the conditional effect can be compiled away without blow-up, +;; because it is conditioned on a static predicates. +(:action stop-and-guard + :parameters (?r - robot ?l - location) + :precondition + (and + (not (stopped ?r)) + (at ?r ?l) + ) + :effect + (and + (stopped ?r) + (guarded ?l) + (forall (?l2 - location) + (when (or (CONNECTED ?l ?l2) (CONNECTED ?l2 ?l)) + (guarded ?l2) + ) + ) + ) +) + +;; Verify that the given configuration is fullfilled, i.e., robots guard +;; all locations from the configuration. +;; Note that this action unblocks all robots whether they participate in +;; guarding of the configuration or not. This simplifies the model because +;; otherwise, we would need to keep track of what location is guarded by +;; which robot (it can be guarded by multiple ones). +;; Also note the precondition does not have to inccur exponential blow-up +;; because the imply condition is conditioned on a static predicate. +(:action verify-guard-config + :parameters (?c - config) + :precondition + (and + (forall (?l - location) + (imply (GUARD-CONFIG ?c ?l) (guarded ?l)) + ) + ) + :effect + (and + (forall (?r - robot) (not (stopped ?r))) + (forall (?l - location) (not (guarded ?l))) + (config-fullfilled ?c) + ) +) + +) diff --git a/recharging-robots-opt23-adl/p01.pddl b/recharging-robots-opt23-adl/p01.pddl new file mode 100644 index 00000000..a00b9776 --- /dev/null +++ b/recharging-robots-opt23-adl/p01.pddl @@ -0,0 +1,101 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1229 2 5 10 1 p01.pddl p01.plan +;; Random seed: 1229 +(define (problem recharge-single-source-move-to-locations-2940) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0003 location-0013) + (CONNECTED location-0012 location-0025) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0009 location-0026) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0014 location-0015) + (CONNECTED location-0000 location-0016) + (CONNECTED location-0010 location-0020) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0002 location-0025) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0003 location-0010) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0014 location-0028) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0002 location-0013) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0001 location-0023) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0003 location-0005) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0006 location-0015) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0015 location-0027) + (CONNECTED location-0005 location-0013) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0000 location-0011) + (CONNECTED location-0010 location-0021) + (CONNECTED location-0011 location-0020) + (CONNECTED location-0000 location-0020) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0007 location-0025) + (CONNECTED location-0004 location-0008) + (CONNECTED location-0017 location-0029) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0000 location-0022) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0009 location-0018) + (CONNECTED location-0000 location-0015) + (CONNECTED location-0002 location-0012) + (CONNECTED location-0003 location-0004) + (CONNECTED location-0004 location-0021) + (CONNECTED location-0001 location-0006) + (CONNECTED location-0009 location-0029) + (CONNECTED location-0004 location-0005) + (CONNECTED location-0000 location-0001) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0014 location-0027) + (CONNECTED location-0002 location-0007) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0016 location-0018) + (CONNECTED location-0007 location-0024) + (CONNECTED location-0005 location-0008) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0011 location-0012) + (CONNECTED location-0017 location-0028) + (CONNECTED location-0001 location-0022) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + + (at robot-00 location-0027) + (battery robot-00 battery-0005) + (at robot-01 location-0027) + (battery robot-01 battery-0000) + +) +(:goal + (and + (at robot-00 location-0028) + (at robot-01 location-0003) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p02.pddl b/recharging-robots-opt23-adl/p02.pddl new file mode 100644 index 00000000..ef19a5a1 --- /dev/null +++ b/recharging-robots-opt23-adl/p02.pddl @@ -0,0 +1,132 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1231 --move-from-source 3 6 12 1 p02.pddl p02.plan +;; Random seed: 1231 +(define (problem recharge-single-source-move-to-locations-8798) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0007 location-0035) + (CONNECTED location-0023 location-0034) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0011 location-0023) + (CONNECTED location-0001 location-0015) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0015 location-0032) + (CONNECTED location-0002 location-0032) + (CONNECTED location-0003 location-0006) + (CONNECTED location-0014 location-0015) + (CONNECTED location-0000 location-0016) + (CONNECTED location-0014 location-0033) + (CONNECTED location-0009 location-0028) + (CONNECTED location-0013 location-0019) + (CONNECTED location-0020 location-0033) + (CONNECTED location-0008 location-0025) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0025 location-0029) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0005 location-0007) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0014 location-0019) + (CONNECTED location-0013 location-0014) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0025 location-0031) + (CONNECTED location-0012 location-0015) + (CONNECTED location-0003 location-0012) + (CONNECTED location-0021 location-0027) + (CONNECTED location-0023 location-0033) + (CONNECTED location-0001 location-0005) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0001 location-0032) + (CONNECTED location-0011 location-0034) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0001 location-0007) + (CONNECTED location-0008 location-0022) + (CONNECTED location-0010 location-0019) + (CONNECTED location-0002 location-0015) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0002 location-0033) + (CONNECTED location-0006 location-0015) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0020 location-0023) + (CONNECTED location-0004 location-0006) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0004 location-0015) + (CONNECTED location-0007 location-0032) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0010 location-0012) + (CONNECTED location-0014 location-0018) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0008 location-0026) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0018 location-0027) + (CONNECTED location-0021 location-0026) + (CONNECTED location-0001 location-0004) + (CONNECTED location-0010 location-0016) + (CONNECTED location-0009 location-0018) + (CONNECTED location-0028 location-0031) + (CONNECTED location-0006 location-0012) + (CONNECTED location-0024 location-0027) + (CONNECTED location-0018 location-0020) + (CONNECTED location-0008 location-0021) + (CONNECTED location-0002 location-0014) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0000 location-0010) + (CONNECTED location-0009 location-0031) + (CONNECTED location-0032 location-0035) + (CONNECTED location-0033 location-0034) + (CONNECTED location-0024 location-0031) + (CONNECTED location-0025 location-0030) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0020 location-0027) + (CONNECTED location-0014 location-0020) + (CONNECTED location-0000 location-0003) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0000 location-0012) + (CONNECTED location-0017 location-0028) + (CONNECTED location-0009 location-0024) + (CONNECTED location-0005 location-0035) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + + (at robot-00 location-0029) + (battery robot-00 battery-0010) + (at robot-01 location-0021) + (battery robot-01 battery-0005) + (at robot-02 location-0029) + (battery robot-02 battery-0001) + +) +(:goal + (and + (at robot-00 location-0003) + (at robot-01 location-0028) + (at robot-02 location-0005) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p03.pddl b/recharging-robots-opt23-adl/p03.pddl new file mode 100644 index 00000000..45d61a61 --- /dev/null +++ b/recharging-robots-opt23-adl/p03.pddl @@ -0,0 +1,153 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1237 6 7 10 1 p03.pddl p03.plan +;; Random seed: 1237 +(define (problem recharge-single-source-move-to-locations-1742) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 - location + robot-00 robot-01 robot-02 robot-03 robot-04 robot-05 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0004 location-0009) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0012 location-0025) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0014 location-0031) + (CONNECTED location-0003 location-0031) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0013 location-0035) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0003 location-0006) + (CONNECTED location-0012 location-0018) + (CONNECTED location-0003 location-0015) + (CONNECTED location-0014 location-0015) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0000 location-0007) + (CONNECTED location-0027 location-0036) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0020 location-0033) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0021 location-0027) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0009 location-0016) + (CONNECTED location-0001 location-0005) + (CONNECTED location-0008 location-0020) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0017 location-0032) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0002 location-0022) + (CONNECTED location-0010 location-0035) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0026 location-0034) + (CONNECTED location-0003 location-0014) + (CONNECTED location-0005 location-0011) + (CONNECTED location-0006 location-0031) + (CONNECTED location-0020 location-0030) + (CONNECTED location-0003 location-0023) + (CONNECTED location-0014 location-0032) + (CONNECTED location-0013 location-0018) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0006 location-0024) + (CONNECTED location-0026 location-0036) + (CONNECTED location-0012 location-0019) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0004 location-0033) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0008 location-0033) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0009 location-0032) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0001 location-0002) + (CONNECTED location-0000 location-0004) + (CONNECTED location-0001 location-0011) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0006 location-0019) + (CONNECTED location-0018 location-0027) + (CONNECTED location-0018 location-0036) + (CONNECTED location-0000 location-0033) + (CONNECTED location-0013 location-0036) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0006 location-0030) + (CONNECTED location-0007 location-0029) + (CONNECTED location-0021 location-0028) + (CONNECTED location-0000 location-0008) + (CONNECTED location-0008 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0019 location-0030) + (CONNECTED location-0002 location-0023) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0000 location-0028) + (CONNECTED location-0006 location-0025) + (CONNECTED location-0004 location-0007) + (CONNECTED location-0026 location-0037) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0011 location-0012) + (CONNECTED location-0019 location-0025) + (CONNECTED location-0000 location-0021) + (CONNECTED location-0009 location-0033) + (CONNECTED location-0001 location-0022) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + + (at robot-00 location-0011) + (battery robot-00 battery-0002) + (at robot-01 location-0011) + (battery robot-01 battery-0017) + (at robot-02 location-0011) + (battery robot-02 battery-0003) + (at robot-03 location-0011) + (battery robot-03 battery-0000) + (at robot-04 location-0011) + (battery robot-04 battery-0000) + (at robot-05 location-0011) + (battery robot-05 battery-0000) + +) +(:goal + (and + (at robot-00 location-0034) + (at robot-01 location-0023) + (at robot-02 location-0027) + (at robot-03 location-0009) + (at robot-04 location-0004) + (at robot-05 location-0028) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p04.pddl b/recharging-robots-opt23-adl/p04.pddl new file mode 100644 index 00000000..f38f5f7a --- /dev/null +++ b/recharging-robots-opt23-adl/p04.pddl @@ -0,0 +1,155 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1249 --move-from-source 5 7 14 1 p04.pddl p04.plan +;; Random seed: 1249 +(define (problem recharge-single-source-move-to-locations-1856) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 - location + robot-00 robot-01 robot-02 robot-03 robot-04 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0001 location-0031) + (CONNECTED location-0007 location-0026) + (CONNECTED location-0025 location-0041) + (CONNECTED location-0003 location-0013) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0022 location-0026) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0003 location-0031) + (CONNECTED location-0011 location-0014) + (CONNECTED location-0013 location-0017) + (CONNECTED location-0006 location-0011) + (CONNECTED location-0007 location-0010) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0014 location-0015) + (CONNECTED location-0012 location-0027) + (CONNECTED location-0020 location-0040) + (CONNECTED location-0021 location-0039) + (CONNECTED location-0009 location-0019) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0013 location-0037) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0023 location-0029) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0013 location-0030) + (CONNECTED location-0025 location-0038) + (CONNECTED location-0006 location-0027) + (CONNECTED location-0005 location-0007) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0003 location-0037) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0031 location-0037) + (CONNECTED location-0003 location-0030) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0013 location-0016) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0001 location-0032) + (CONNECTED location-0000 location-0034) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0015 location-0034) + (CONNECTED location-0012 location-0017) + (CONNECTED location-0018 location-0039) + (CONNECTED location-0008 location-0013) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0011 location-0027) + (CONNECTED location-0002 location-0024) + (CONNECTED location-0002 location-0033) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0004 location-0015) + (CONNECTED location-0023 location-0028) + (CONNECTED location-0012 location-0028) + (CONNECTED location-0021 location-0040) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0002 location-0008) + (CONNECTED location-0019 location-0024) + (CONNECTED location-0008 location-0024) + (CONNECTED location-0019 location-0033) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0009 location-0032) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0006 location-0026) + (CONNECTED location-0018 location-0025) + (CONNECTED location-0016 location-0037) + (CONNECTED location-0000 location-0004) + (CONNECTED location-0008 location-0017) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0002 location-0019) + (CONNECTED location-0006 location-0010) + (CONNECTED location-0012 location-0023) + (CONNECTED location-0000 location-0015) + (CONNECTED location-0002 location-0030) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0018 location-0038) + (CONNECTED location-0022 location-0029) + (CONNECTED location-0008 location-0012) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0009 location-0020) + (CONNECTED location-0011 location-0017) + (CONNECTED location-0008 location-0030) + (CONNECTED location-0000 location-0035) + (CONNECTED location-0006 location-0014) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0016 location-0034) + (CONNECTED location-0004 location-0014) + (CONNECTED location-0008 location-0023) + (CONNECTED location-0006 location-0007) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0031 location-0036) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0011 location-0012) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0009 location-0033) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + + (at robot-00 location-0005) + (battery robot-00 battery-0011) + (at robot-01 location-0005) + (battery robot-01 battery-0004) + (at robot-02 location-0005) + (battery robot-02 battery-0000) + (at robot-03 location-0005) + (battery robot-03 battery-0003) + (at robot-04 location-0005) + (battery robot-04 battery-0000) + +) +(:goal + (and + (at robot-00 location-0016) + (at robot-01 location-0011) + (at robot-02 location-0027) + (at robot-03 location-0038) + (at robot-04 location-0017) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p05.pddl b/recharging-robots-opt23-adl/p05.pddl new file mode 100644 index 00000000..dd464a21 --- /dev/null +++ b/recharging-robots-opt23-adl/p05.pddl @@ -0,0 +1,109 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1259 2 1 1 5 10 1 p05.pddl p05.plan +;; Random seed: 1259 +(define (problem recharging-robots-cover-robots2-areas1-1259-5952) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0013 location-0026) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0014 location-0015) + (CONNECTED location-0005 location-0012) + (CONNECTED location-0012 location-0027) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0011 location-0016) + (CONNECTED location-0001 location-0008) + (CONNECTED location-0010 location-0020) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0007 location-0012) + (CONNECTED location-0015 location-0025) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0020 location-0026) + (CONNECTED location-0005 location-0007) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0004 location-0018) + (CONNECTED location-0009 location-0014) + (CONNECTED location-0005 location-0025) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0001 location-0014) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0002 location-0022) + (CONNECTED location-0003 location-0005) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0005 location-0011) + (CONNECTED location-0010 location-0019) + (CONNECTED location-0000 location-0018) + (CONNECTED location-0002 location-0024) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0003 location-0025) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0004 location-0008) + (CONNECTED location-0004 location-0017) + (CONNECTED location-0000 location-0004) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0015 location-0022) + (CONNECTED location-0007 location-0027) + (CONNECTED location-0021 location-0026) + (CONNECTED location-0000 location-0006) + (CONNECTED location-0010 location-0016) + (CONNECTED location-0013 location-0027) + (CONNECTED location-0006 location-0021) + (CONNECTED location-0002 location-0023) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0016 location-0025) + (CONNECTED location-0004 location-0014) + (CONNECTED location-0008 location-0014) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0009 location-0022) + (CONNECTED location-0017 location-0019) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0009 location-0015) + (CONNECTED location-0011 location-0012) + (CONNECTED location-0000 location-0021) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + + (at robot-00 location-0023) + (battery robot-00 battery-0001) + (at robot-01 location-0024) + (battery robot-01 battery-0005) + + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0012) + (GUARD-CONFIG config-00 location-0013) + (GUARD-CONFIG config-00 location-0020) + (GUARD-CONFIG config-00 location-0026) + (GUARD-CONFIG config-00 location-0027) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p06.pddl b/recharging-robots-opt23-adl/p06.pddl new file mode 100644 index 00000000..d5aa4969 --- /dev/null +++ b/recharging-robots-opt23-adl/p06.pddl @@ -0,0 +1,128 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1277 2 2 1 5 15 1 p06.pddl p06.plan +;; Random seed: 1277 +(define (problem recharging-robots-cover-robots2-areas1-1277-2842) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0007 location-0026) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0017 location-0030) + (CONNECTED location-0002 location-0011) + (CONNECTED location-0003 location-0015) + (CONNECTED location-0020 location-0031) + (CONNECTED location-0008 location-0011) + (CONNECTED location-0009 location-0010) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0009 location-0019) + (CONNECTED location-0003 location-0033) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0007 location-0012) + (CONNECTED location-0015 location-0025) + (CONNECTED location-0002 location-0025) + (CONNECTED location-0018 location-0030) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0005 location-0023) + (CONNECTED location-0010 location-0022) + (CONNECTED location-0001 location-0019) + (CONNECTED location-0015 location-0018) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0000 location-0002) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0014 location-0028) + (CONNECTED location-0010 location-0024) + (CONNECTED location-0005 location-0009) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0001 location-0005) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0012 location-0026) + (CONNECTED location-0023 location-0026) + (CONNECTED location-0019 location-0022) + (CONNECTED location-0010 location-0019) + (CONNECTED location-0011 location-0018) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0003 location-0016) + (CONNECTED location-0020 location-0032) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0014 location-0016) + (CONNECTED location-0021 location-0031) + (CONNECTED location-0003 location-0025) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0002 location-0008) + (CONNECTED location-0017 location-0027) + (CONNECTED location-0002 location-0026) + (CONNECTED location-0006 location-0026) + (CONNECTED location-0005 location-0006) + (CONNECTED location-0018 location-0025) + (CONNECTED location-0021 location-0024) + (CONNECTED location-0027 location-0030) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0010 location-0023) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0001 location-0004) + (CONNECTED location-0008 location-0012) + (CONNECTED location-0000 location-0008) + (CONNECTED location-0003 location-0034) + (CONNECTED location-0000 location-0026) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0007 location-0013) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0004 location-0005) + (CONNECTED location-0031 location-0034) + (CONNECTED location-0014 location-0027) + (CONNECTED location-0006 location-0007) + (CONNECTED location-0033 location-0034) + (CONNECTED location-0022 location-0024) + (CONNECTED location-0000 location-0012) + (CONNECTED location-0011 location-0030) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + + (at robot-00 location-0030) + (battery robot-00 battery-0007) + (at robot-01 location-0012) + (battery robot-01 battery-0002) + + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0015) + (GUARD-CONFIG config-00 location-0016) + (GUARD-CONFIG config-00 location-0017) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0021) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0027) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p07.pddl b/recharging-robots-opt23-adl/p07.pddl new file mode 100644 index 00000000..03c36d61 --- /dev/null +++ b/recharging-robots-opt23-adl/p07.pddl @@ -0,0 +1,180 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1279 2 1 2 8 20 1 p07.pddl p07.plan +;; Random seed: 1279 +(define (problem recharging-robots-cover-robots2-areas2-1279-9125) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0006 location-0018) + (CONNECTED location-0008 location-0046) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0013 location-0042) + (CONNECTED location-0024 location-0051) + (CONNECTED location-0025 location-0050) + (CONNECTED location-0016 location-0047) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0003 location-0022) + (CONNECTED location-0020 location-0038) + (CONNECTED location-0022 location-0044) + (CONNECTED location-0003 location-0040) + (CONNECTED location-0000 location-0023) + (CONNECTED location-0041 location-0042) + (CONNECTED location-0002 location-0032) + (CONNECTED location-0044 location-0047) + (CONNECTED location-0008 location-0011) + (CONNECTED location-0040 location-0043) + (CONNECTED location-0031 location-0049) + (CONNECTED location-0004 location-0050) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0007 location-0021) + (CONNECTED location-0019 location-0050) + (CONNECTED location-0011 location-0046) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0014 location-0035) + (CONNECTED location-0004 location-0043) + (CONNECTED location-0019 location-0043) + (CONNECTED location-0010 location-0040) + (CONNECTED location-0001 location-0037) + (CONNECTED location-0003 location-0010) + (CONNECTED location-0005 location-0007) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0029 location-0038) + (CONNECTED location-0020 location-0035) + (CONNECTED location-0004 location-0018) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0048 location-0051) + (CONNECTED location-0049 location-0050) + (CONNECTED location-0012 location-0031) + (CONNECTED location-0007 location-0044) + (CONNECTED location-0045 location-0046) + (CONNECTED location-0017 location-0039) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0005 location-0046) + (CONNECTED location-0006 location-0029) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0013 location-0016) + (CONNECTED location-0001 location-0014) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0009 location-0037) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0012 location-0017) + (CONNECTED location-0015 location-0034) + (CONNECTED location-0026 location-0043) + (CONNECTED location-0003 location-0023) + (CONNECTED location-0006 location-0040) + (CONNECTED location-0014 location-0032) + (CONNECTED location-0006 location-0049) + (CONNECTED location-0008 location-0013) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0030 location-0049) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0020 location-0023) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0024 location-0048) + (CONNECTED location-0012 location-0028) + (CONNECTED location-0018 location-0050) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0000 location-0020) + (CONNECTED location-0009 location-0032) + (CONNECTED location-0000 location-0029) + (CONNECTED location-0000 location-0038) + (CONNECTED location-0013 location-0041) + (CONNECTED location-0007 location-0034) + (CONNECTED location-0016 location-0046) + (CONNECTED location-0018 location-0043) + (CONNECTED location-0001 location-0002) + (CONNECTED location-0011 location-0013) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0019 location-0026) + (CONNECTED location-0010 location-0023) + (CONNECTED location-0001 location-0020) + (CONNECTED location-0017 location-0038) + (CONNECTED location-0017 location-0029) + (CONNECTED location-0005 location-0045) + (CONNECTED location-0006 location-0010) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0004 location-0019) + (CONNECTED location-0021 location-0035) + (CONNECTED location-0025 location-0051) + (CONNECTED location-0007 location-0045) + (CONNECTED location-0000 location-0006) + (CONNECTED location-0031 location-0048) + (CONNECTED location-0028 location-0031) + (CONNECTED location-0003 location-0041) + (CONNECTED location-0011 location-0042) + (CONNECTED location-0024 location-0027) + (CONNECTED location-0015 location-0033) + (CONNECTED location-0006 location-0030) + (CONNECTED location-0016 location-0041) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0002 location-0014) + (CONNECTED location-0022 location-0047) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0018 location-0040) + (CONNECTED location-0005 location-0015) + (CONNECTED location-0018 location-0049) + (CONNECTED location-0000 location-0010) + (CONNECTED location-0036 location-0039) + (CONNECTED location-0012 location-0039) + (CONNECTED location-0037 location-0038) + (CONNECTED location-0012 location-0048) + (CONNECTED location-0032 location-0035) + (CONNECTED location-0007 location-0015) + (CONNECTED location-0033 location-0034) + (CONNECTED location-0041 location-0047) + (CONNECTED location-0001 location-0038) + (CONNECTED location-0014 location-0020) + (CONNECTED location-0008 location-0016) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0002 location-0009) + (CONNECTED location-0017 location-0028) + (CONNECTED location-0021 location-0044) + (CONNECTED location-0019 location-0025) + (CONNECTED location-0003 location-0047) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + + (at robot-00 location-0050) + (battery robot-00 battery-0006) + (at robot-01 location-0030) + (battery robot-01 battery-0002) + + (GUARD-CONFIG config-00 location-0012) + (GUARD-CONFIG config-00 location-0017) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0029) + (GUARD-CONFIG config-00 location-0031) + + (GUARD-CONFIG config-01 location-0002) + (GUARD-CONFIG config-01 location-0009) + (GUARD-CONFIG config-01 location-0014) + (GUARD-CONFIG config-01 location-0032) + (GUARD-CONFIG config-01 location-0033) + (GUARD-CONFIG config-01 location-0035) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p08.pddl b/recharging-robots-opt23-adl/p08.pddl new file mode 100644 index 00000000..01ccad82 --- /dev/null +++ b/recharging-robots-opt23-adl/p08.pddl @@ -0,0 +1,226 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1283 2 2 2 8 30 1 p08.pddl p08.plan +;; Random seed: 1283 +(define (problem recharging-robots-cover-robots2-areas2-1283-4546) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0007 location-0017) + (CONNECTED location-0013 location-0033) + (CONNECTED location-0018 location-0026) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0019 location-0055) + (CONNECTED location-0007 location-0035) + (CONNECTED location-0025 location-0050) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0022 location-0035) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0026 location-0060) + (CONNECTED location-0037 location-0042) + (CONNECTED location-0023 location-0052) + (CONNECTED location-0012 location-0061) + (CONNECTED location-0007 location-0019) + (CONNECTED location-0024 location-0044) + (CONNECTED location-0001 location-0042) + (CONNECTED location-0016 location-0049) + (CONNECTED location-0005 location-0012) + (CONNECTED location-0009 location-0010) + (CONNECTED location-0004 location-0023) + (CONNECTED location-0039 location-0053) + (CONNECTED location-0000 location-0016) + (CONNECTED location-0031 location-0049) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0009 location-0049) + (CONNECTED location-0008 location-0059) + (CONNECTED location-0016 location-0042) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0003 location-0017) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0023 location-0029) + (CONNECTED location-0006 location-0061) + (CONNECTED location-0008 location-0025) + (CONNECTED location-0004 location-0052) + (CONNECTED location-0010 location-0031) + (CONNECTED location-0002 location-0027) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0007 location-0023) + (CONNECTED location-0011 location-0039) + (CONNECTED location-0017 location-0055) + (CONNECTED location-0025 location-0038) + (CONNECTED location-0002 location-0045) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0014 location-0028) + (CONNECTED location-0015 location-0057) + (CONNECTED location-0036 location-0043) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0002 location-0020) + (CONNECTED location-0019 location-0036) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0000 location-0032) + (CONNECTED location-0005 location-0046) + (CONNECTED location-0014 location-0058) + (CONNECTED location-0019 location-0054) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0011 location-0050) + (CONNECTED location-0005 location-0009) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0029 location-0040) + (CONNECTED location-0005 location-0018) + (CONNECTED location-0027 location-0033) + (CONNECTED location-0002 location-0013) + (CONNECTED location-0034 location-0048) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0008 location-0038) + (CONNECTED location-0036 location-0054) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0009 location-0046) + (CONNECTED location-0028 location-0059) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0012 location-0026) + (CONNECTED location-0015 location-0043) + (CONNECTED location-0006 location-0058) + (CONNECTED location-0034 location-0041) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0005 location-0041) + (CONNECTED location-0041 location-0046) + (CONNECTED location-0015 location-0036) + (CONNECTED location-0020 location-0032) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0018 location-0041) + (CONNECTED location-0024 location-0057) + (CONNECTED location-0015 location-0054) + (CONNECTED location-0010 location-0012) + (CONNECTED location-0000 location-0020) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0010 location-0030) + (CONNECTED location-0037 location-0048) + (CONNECTED location-0025 location-0028) + (CONNECTED location-0003 location-0055) + (CONNECTED location-0011 location-0038) + (CONNECTED location-0013 location-0032) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0021 location-0024) + (CONNECTED location-0026 location-0038) + (CONNECTED location-0016 location-0037) + (CONNECTED location-0004 location-0017) + (CONNECTED location-0012 location-0030) + (CONNECTED location-0001 location-0002) + (CONNECTED location-0039 location-0050) + (CONNECTED location-0008 location-0026) + (CONNECTED location-0001 location-0020) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0000 location-0031) + (CONNECTED location-0012 location-0060) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0007 location-0036) + (CONNECTED location-0016 location-0048) + (CONNECTED location-0034 location-0047) + (CONNECTED location-0008 location-0028) + (CONNECTED location-0037 location-0043) + (CONNECTED location-0021 location-0056) + (CONNECTED location-0023 location-0053) + (CONNECTED location-0006 location-0012) + (CONNECTED location-0013 location-0027) + (CONNECTED location-0014 location-0059) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0003 location-0004) + (CONNECTED location-0015 location-0024) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0000 location-0042) + (CONNECTED location-0006 location-0030) + (CONNECTED location-0018 location-0038) + (CONNECTED location-0022 location-0029) + (CONNECTED location-0034 location-0040) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0040 location-0053) + (CONNECTED location-0029 location-0053) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0001 location-0045) + (CONNECTED location-0008 location-0060) + (CONNECTED location-0024 location-0056) + (CONNECTED location-0000 location-0001) + (CONNECTED location-0022 location-0040) + (CONNECTED location-0009 location-0031) + (CONNECTED location-0041 location-0047) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0004 location-0007) + (CONNECTED location-0035 location-0040) + (CONNECTED location-0000 location-0049) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0017 location-0019) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0021 location-0044) + (CONNECTED location-0003 location-0056) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + + (at robot-00 location-0027) + (battery robot-00 battery-0002) + (at robot-01 location-0022) + (battery robot-01 battery-0013) + + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0015) + (GUARD-CONFIG config-00 location-0019) + (GUARD-CONFIG config-00 location-0021) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0043) + (GUARD-CONFIG config-00 location-0054) + (GUARD-CONFIG config-00 location-0056) + (GUARD-CONFIG config-00 location-0057) + + (GUARD-CONFIG config-01 location-0003) + (GUARD-CONFIG config-01 location-0004) + (GUARD-CONFIG config-01 location-0007) + (GUARD-CONFIG config-01 location-0015) + (GUARD-CONFIG config-01 location-0017) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0021) + (GUARD-CONFIG config-01 location-0054) + (GUARD-CONFIG config-01 location-0055) + (GUARD-CONFIG config-01 location-0056) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p09.pddl b/recharging-robots-opt23-adl/p09.pddl new file mode 100644 index 00000000..199e3fbc --- /dev/null +++ b/recharging-robots-opt23-adl/p09.pddl @@ -0,0 +1,236 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1289 2 2 3 8 30 1 p09.pddl p09.plan +;; Random seed: 1289 +(define (problem recharging-robots-cover-robots2-areas3-1289-5514) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 - battery-level + config-00 config-01 config-02 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0016 location-0029) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0007 location-0026) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0031 location-0038) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0014 location-0022) + (CONNECTED location-0000 location-0014) + (CONNECTED location-0004 location-0030) + (CONNECTED location-0039 location-0060) + (CONNECTED location-0001 location-0015) + (CONNECTED location-0014 location-0049) + (CONNECTED location-0001 location-0033) + (CONNECTED location-0012 location-0045) + (CONNECTED location-0007 location-0058) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0007 location-0021) + (CONNECTED location-0024 location-0037) + (CONNECTED location-0011 location-0037) + (CONNECTED location-0027 location-0054) + (CONNECTED location-0001 location-0035) + (CONNECTED location-0025 location-0036) + (CONNECTED location-0008 location-0050) + (CONNECTED location-0011 location-0046) + (CONNECTED location-0012 location-0020) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0003 location-0017) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0006 location-0043) + (CONNECTED location-0015 location-0055) + (CONNECTED location-0012 location-0056) + (CONNECTED location-0034 location-0053) + (CONNECTED location-0027 location-0047) + (CONNECTED location-0002 location-0027) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0033 location-0042) + (CONNECTED location-0018 location-0023) + (CONNECTED location-0007 location-0023) + (CONNECTED location-0004 location-0061) + (CONNECTED location-0030 location-0052) + (CONNECTED location-0010 location-0049) + (CONNECTED location-0019 location-0052) + (CONNECTED location-0025 location-0047) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0002 location-0054) + (CONNECTED location-0020 location-0044) + (CONNECTED location-0021 location-0061) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0001 location-0030) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0009 location-0044) + (CONNECTED location-0017 location-0057) + (CONNECTED location-0042 location-0056) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0002 location-0047) + (CONNECTED location-0006 location-0029) + (CONNECTED location-0003 location-0012) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0029 location-0040) + (CONNECTED location-0035 location-0053) + (CONNECTED location-0024 location-0053) + (CONNECTED location-0038 location-0061) + (CONNECTED location-0028 location-0032) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0028 location-0041) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0032 location-0041) + (CONNECTED location-0012 location-0017) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0003 location-0014) + (CONNECTED location-0022 location-0027) + (CONNECTED location-0006 location-0040) + (CONNECTED location-0004 location-0031) + (CONNECTED location-0008 location-0013) + (CONNECTED location-0016 location-0060) + (CONNECTED location-0007 location-0008) + (CONNECTED location-0002 location-0015) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0036 location-0047) + (CONNECTED location-0022 location-0048) + (CONNECTED location-0028 location-0043) + (CONNECTED location-0022 location-0057) + (CONNECTED location-0005 location-0050) + (CONNECTED location-0032 location-0043) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0005 location-0013) + (CONNECTED location-0015 location-0054) + (CONNECTED location-0018 location-0059) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0023 location-0058) + (CONNECTED location-0019 location-0051) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0024 location-0050) + (CONNECTED location-0013 location-0050) + (CONNECTED location-0006 location-0044) + (CONNECTED location-0004 location-0026) + (CONNECTED location-0001 location-0002) + (CONNECTED location-0010 location-0014) + (CONNECTED location-0019 location-0026) + (CONNECTED location-0008 location-0026) + (CONNECTED location-0000 location-0022) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0017 location-0056) + (CONNECTED location-0011 location-0049) + (CONNECTED location-0024 location-0034) + (CONNECTED location-0006 location-0028) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0021 location-0026) + (CONNECTED location-0016 location-0039) + (CONNECTED location-0004 location-0019) + (CONNECTED location-0035 location-0052) + (CONNECTED location-0017 location-0022) + (CONNECTED location-0011 location-0024) + (CONNECTED location-0028 location-0040) + (CONNECTED location-0045 location-0056) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0015 location-0033) + (CONNECTED location-0015 location-0042) + (CONNECTED location-0004 location-0021) + (CONNECTED location-0001 location-0052) + (CONNECTED location-0026 location-0051) + (CONNECTED location-0016 location-0059) + (CONNECTED location-0031 location-0041) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0009 location-0020) + (CONNECTED location-0000 location-0017) + (CONNECTED location-0019 location-0030) + (CONNECTED location-0021 location-0058) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0032 location-0042) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0001 location-0036) + (CONNECTED location-0025 location-0037) + (CONNECTED location-0008 location-0051) + (CONNECTED location-0025 location-0046) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0005 location-0024) + (CONNECTED location-0022 location-0049) + (CONNECTED location-0031 location-0061) + (CONNECTED location-0016 location-0018) + (CONNECTED location-0027 location-0048) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0027 location-0057) + (CONNECTED location-0042 location-0055) + (CONNECTED location-0001 location-0047) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0029 location-0039) + (CONNECTED location-0000 location-0003) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0020 location-0045) + (CONNECTED location-0038 location-0060) + (CONNECTED location-0023 location-0059) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + + (at robot-00 location-0019) + (battery robot-00 battery-0006) + (at robot-01 location-0015) + (battery robot-01 battery-0011) + + (GUARD-CONFIG config-00 location-0001) + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0027) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0046) + (GUARD-CONFIG config-00 location-0047) + (GUARD-CONFIG config-00 location-0048) + + (GUARD-CONFIG config-01 location-0001) + (GUARD-CONFIG config-01 location-0005) + (GUARD-CONFIG config-01 location-0011) + (GUARD-CONFIG config-01 location-0024) + (GUARD-CONFIG config-01 location-0025) + (GUARD-CONFIG config-01 location-0034) + (GUARD-CONFIG config-01 location-0036) + (GUARD-CONFIG config-01 location-0037) + + (GUARD-CONFIG config-02 location-0004) + (GUARD-CONFIG config-02 location-0006) + (GUARD-CONFIG config-02 location-0028) + (GUARD-CONFIG config-02 location-0029) + (GUARD-CONFIG config-02 location-0030) + (GUARD-CONFIG config-02 location-0031) + (GUARD-CONFIG config-02 location-0032) + (GUARD-CONFIG config-02 location-0038) + (GUARD-CONFIG config-02 location-0040) + (GUARD-CONFIG config-02 location-0041) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + (config-fullfilled config-02) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p10.pddl b/recharging-robots-opt23-adl/p10.pddl new file mode 100644 index 00000000..aeaa6577 --- /dev/null +++ b/recharging-robots-opt23-adl/p10.pddl @@ -0,0 +1,127 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1291 3 2 1 5 10 1 p10.pddl p10.plan +;; Random seed: 1291 +(define (problem recharging-robots-cover-robots3-areas1-1291-7639) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0005 location-0028) + (CONNECTED location-0024 location-0026) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0014 location-0015) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0005 location-0021) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0010 location-0029) + (CONNECTED location-0002 location-0025) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0003 location-0017) + (CONNECTED location-0009 location-0012) + (CONNECTED location-0003 location-0026) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0001 location-0012) + (CONNECTED location-0001 location-0021) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0021 location-0027) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0004 location-0029) + (CONNECTED location-0001 location-0005) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0007 location-0009) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0002 location-0022) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0005 location-0011) + (CONNECTED location-0004 location-0013) + (CONNECTED location-0008 location-0022) + (CONNECTED location-0010 location-0028) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0006 location-0024) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0002 location-0008) + (CONNECTED location-0000 location-0020) + (CONNECTED location-0002 location-0026) + (CONNECTED location-0006 location-0008) + (CONNECTED location-0006 location-0017) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0003 location-0018) + (CONNECTED location-0004 location-0026) + (CONNECTED location-0001 location-0011) + (CONNECTED location-0005 location-0027) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0001 location-0020) + (CONNECTED location-0004 location-0010) + (CONNECTED location-0017 location-0024) + (CONNECTED location-0006 location-0014) + (CONNECTED location-0007 location-0013) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0008 location-0014) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0009 location-0013) + (CONNECTED location-0003 location-0027) + (CONNECTED location-0008 location-0023) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0011 location-0028) + (CONNECTED location-0015 location-0019) + (CONNECTED location-0016 location-0018) + (CONNECTED location-0004 location-0007) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0011 location-0012) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + + (at robot-00 location-0013) + (battery robot-00 battery-0002) + (at robot-01 location-0000) + (battery robot-01 battery-0002) + (at robot-02 location-0028) + (battery robot-02 battery-0010) + + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0004) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0008) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0022) + (GUARD-CONFIG config-00 location-0023) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0026) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p11.pddl b/recharging-robots-opt23-adl/p11.pddl new file mode 100644 index 00000000..e68ddd0d --- /dev/null +++ b/recharging-robots-opt23-adl/p11.pddl @@ -0,0 +1,227 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1297 3 3 1 8 30 1 p11.pddl p11.plan +;; Random seed: 1297 +(define (problem recharging-robots-cover-robots3-areas1-1297-1425) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0015 location-0021) + (CONNECTED location-0010 location-0034) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0002 location-0039) + (CONNECTED location-0018 location-0035) + (CONNECTED location-0010 location-0052) + (CONNECTED location-0003 location-0013) + (CONNECTED location-0016 location-0047) + (CONNECTED location-0025 location-0059) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0021 location-0037) + (CONNECTED location-0017 location-0030) + (CONNECTED location-0009 location-0026) + (CONNECTED location-0012 location-0052) + (CONNECTED location-0001 location-0015) + (CONNECTED location-0014 location-0049) + (CONNECTED location-0027 location-0043) + (CONNECTED location-0015 location-0023) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0013 location-0044) + (CONNECTED location-0028 location-0060) + (CONNECTED location-0003 location-0006) + (CONNECTED location-0000 location-0053) + (CONNECTED location-0002 location-0050) + (CONNECTED location-0012 location-0018) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0004 location-0023) + (CONNECTED location-0039 location-0053) + (CONNECTED location-0049 location-0055) + (CONNECTED location-0023 location-0045) + (CONNECTED location-0005 location-0039) + (CONNECTED location-0020 location-0058) + (CONNECTED location-0006 location-0013) + (CONNECTED location-0019 location-0032) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0013 location-0037) + (CONNECTED location-0018 location-0030) + (CONNECTED location-0019 location-0059) + (CONNECTED location-0051 location-0057) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0012 location-0029) + (CONNECTED location-0004 location-0043) + (CONNECTED location-0007 location-0060) + (CONNECTED location-0034 location-0053) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0016 location-0026) + (CONNECTED location-0009 location-0051) + (CONNECTED location-0008 location-0061) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0020 location-0035) + (CONNECTED location-0022 location-0032) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0006 location-0045) + (CONNECTED location-0004 location-0027) + (CONNECTED location-0003 location-0037) + (CONNECTED location-0029 location-0056) + (CONNECTED location-0001 location-0021) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0011 location-0032) + (CONNECTED location-0017 location-0048) + (CONNECTED location-0036 location-0061) + (CONNECTED location-0000 location-0041) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0011 location-0059) + (CONNECTED location-0015 location-0041) + (CONNECTED location-0021 location-0027) + (CONNECTED location-0009 location-0016) + (CONNECTED location-0026 location-0050) + (CONNECTED location-0014 location-0030) + (CONNECTED location-0023 location-0042) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0010 location-0035) + (CONNECTED location-0000 location-0034) + (CONNECTED location-0030 location-0056) + (CONNECTED location-0009 location-0055) + (CONNECTED location-0051 location-0054) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0032 location-0059) + (CONNECTED location-0012 location-0035) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0028 location-0061) + (CONNECTED location-0006 location-0024) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0010 location-0012) + (CONNECTED location-0008 location-0024) + (CONNECTED location-0027 location-0037) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0019 location-0033) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0002 location-0026) + (CONNECTED location-0006 location-0008) + (CONNECTED location-0014 location-0055) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0007 location-0025) + (CONNECTED location-0052 location-0057) + (CONNECTED location-0006 location-0044) + (CONNECTED location-0016 location-0046) + (CONNECTED location-0016 location-0055) + (CONNECTED location-0039 location-0050) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0019 location-0035) + (CONNECTED location-0000 location-0040) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0001 location-0041) + (CONNECTED location-0013 location-0043) + (CONNECTED location-0010 location-0053) + (CONNECTED location-0024 location-0061) + (CONNECTED location-0025 location-0060) + (CONNECTED location-0031 location-0048) + (CONNECTED location-0008 location-0028) + (CONNECTED location-0017 location-0031) + (CONNECTED location-0037 location-0043) + (CONNECTED location-0005 location-0038) + (CONNECTED location-0017 location-0049) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0009 location-0054) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0024 location-0036) + (CONNECTED location-0018 location-0029) + (CONNECTED location-0019 location-0058) + (CONNECTED location-0004 location-0021) + (CONNECTED location-0026 location-0051) + (CONNECTED location-0002 location-0005) + (CONNECTED location-0040 location-0053) + (CONNECTED location-0004 location-0042) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0000 location-0001) + (CONNECTED location-0022 location-0031) + (CONNECTED location-0003 location-0036) + (CONNECTED location-0020 location-0061) + (CONNECTED location-0012 location-0057) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0021 location-0023) + (CONNECTED location-0018 location-0033) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0020 location-0036) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0046 location-0055) + (CONNECTED location-0023 location-0041) + (CONNECTED location-0000 location-0021) + (CONNECTED location-0029 location-0057) + (CONNECTED location-0014 location-0056) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + + (at robot-00 location-0006) + (battery robot-00 battery-0001) + (at robot-01 location-0013) + (battery robot-01 battery-0004) + (at robot-02 location-0056) + (battery robot-02 battery-0014) + + (GUARD-CONFIG config-00 location-0007) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0017) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0019) + (GUARD-CONFIG config-00 location-0020) + (GUARD-CONFIG config-00 location-0022) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0031) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0033) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0058) + (GUARD-CONFIG config-00 location-0059) + (GUARD-CONFIG config-00 location-0060) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p12.pddl b/recharging-robots-opt23-adl/p12.pddl new file mode 100644 index 00000000..64ddfb09 --- /dev/null +++ b/recharging-robots-opt23-adl/p12.pddl @@ -0,0 +1,232 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1301 3 2 2 8 30 1 p12.pddl p12.plan +;; Random seed: 1301 +(define (problem recharging-robots-cover-robots3-areas2-1301-7477) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0004 location-0055) + (CONNECTED location-0032 location-0037) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0026 location-0039) + (CONNECTED location-0011 location-0051) + (CONNECTED location-0029 location-0032) + (CONNECTED location-0011 location-0060) + (CONNECTED location-0039 location-0042) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0011 location-0014) + (CONNECTED location-0020 location-0056) + (CONNECTED location-0022 location-0053) + (CONNECTED location-0013 location-0017) + (CONNECTED location-0025 location-0034) + (CONNECTED location-0008 location-0048) + (CONNECTED location-0001 location-0042) + (CONNECTED location-0012 location-0018) + (CONNECTED location-0003 location-0015) + (CONNECTED location-0022 location-0028) + (CONNECTED location-0000 location-0007) + (CONNECTED location-0003 location-0033) + (CONNECTED location-0014 location-0033) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0001 location-0026) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0010 location-0038) + (CONNECTED location-0018 location-0030) + (CONNECTED location-0005 location-0060) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0040 location-0045) + (CONNECTED location-0003 location-0026) + (CONNECTED location-0048 location-0058) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0007 location-0023) + (CONNECTED location-0018 location-0023) + (CONNECTED location-0027 location-0056) + (CONNECTED location-0002 location-0036) + (CONNECTED location-0003 location-0010) + (CONNECTED location-0021 location-0025) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0023 location-0031) + (CONNECTED location-0006 location-0054) + (CONNECTED location-0010 location-0015) + (CONNECTED location-0027 location-0040) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0025 location-0031) + (CONNECTED location-0001 location-0039) + (CONNECTED location-0010 location-0051) + (CONNECTED location-0009 location-0053) + (CONNECTED location-0011 location-0050) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0006 location-0029) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0043 location-0057) + (CONNECTED location-0031 location-0037) + (CONNECTED location-0038 location-0052) + (CONNECTED location-0014 location-0030) + (CONNECTED location-0049 location-0061) + (CONNECTED location-0013 location-0016) + (CONNECTED location-0017 location-0032) + (CONNECTED location-0002 location-0013) + (CONNECTED location-0010 location-0026) + (CONNECTED location-0000 location-0025) + (CONNECTED location-0028 location-0041) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0008 location-0047) + (CONNECTED location-0014 location-0060) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0005 location-0011) + (CONNECTED location-0004 location-0013) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0013 location-0055) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0027 location-0044) + (CONNECTED location-0005 location-0050) + (CONNECTED location-0028 location-0052) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0040 location-0044) + (CONNECTED location-0022 location-0041) + (CONNECTED location-0008 location-0024) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0017 location-0036) + (CONNECTED location-0009 location-0041) + (CONNECTED location-0002 location-0035) + (CONNECTED location-0006 location-0017) + (CONNECTED location-0009 location-0050) + (CONNECTED location-0005 location-0061) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0007 location-0025) + (CONNECTED location-0026 location-0038) + (CONNECTED location-0043 location-0054) + (CONNECTED location-0012 location-0030) + (CONNECTED location-0023 location-0030) + (CONNECTED location-0016 location-0055) + (CONNECTED location-0002 location-0019) + (CONNECTED location-0022 location-0052) + (CONNECTED location-0028 location-0038) + (CONNECTED location-0020 location-0055) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0012 location-0060) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0012 location-0014) + (CONNECTED location-0021 location-0035) + (CONNECTED location-0011 location-0015) + (CONNECTED location-0003 location-0032) + (CONNECTED location-0000 location-0024) + (CONNECTED location-0002 location-0021) + (CONNECTED location-0011 location-0033) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0015 location-0033) + (CONNECTED location-0013 location-0036) + (CONNECTED location-0001 location-0043) + (CONNECTED location-0044 location-0057) + (CONNECTED location-0015 location-0051) + (CONNECTED location-0008 location-0012) + (CONNECTED location-0039 location-0045) + (CONNECTED location-0001 location-0006) + (CONNECTED location-0019 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0006 location-0032) + (CONNECTED location-0007 location-0031) + (CONNECTED location-0024 location-0047) + (CONNECTED location-0001 location-0054) + (CONNECTED location-0031 location-0034) + (CONNECTED location-0048 location-0059) + (CONNECTED location-0009 location-0022) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0049 location-0058) + (CONNECTED location-0012 location-0048) + (CONNECTED location-0006 location-0016) + (CONNECTED location-0001 location-0029) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0007 location-0024) + (CONNECTED location-0027 location-0057) + (CONNECTED location-0004 location-0016) + (CONNECTED location-0020 location-0027) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0016 location-0054) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0038 location-0051) + (CONNECTED location-0003 location-0029) + (CONNECTED location-0000 location-0021) + (CONNECTED location-0017 location-0037) + (CONNECTED location-0012 location-0059) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + + (at robot-00 location-0039) + (battery robot-00 battery-0004) + (at robot-01 location-0022) + (battery robot-01 battery-0003) + (at robot-02 location-0013) + (battery robot-02 battery-0014) + + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0008) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0012) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0058) + (GUARD-CONFIG config-00 location-0059) + (GUARD-CONFIG config-00 location-0060) + + (GUARD-CONFIG config-01 location-0000) + (GUARD-CONFIG config-01 location-0007) + (GUARD-CONFIG config-01 location-0023) + (GUARD-CONFIG config-01 location-0025) + (GUARD-CONFIG config-01 location-0030) + (GUARD-CONFIG config-01 location-0031) + (GUARD-CONFIG config-01 location-0032) + (GUARD-CONFIG config-01 location-0034) + (GUARD-CONFIG config-01 location-0037) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p13.pddl b/recharging-robots-opt23-adl/p13.pddl new file mode 100644 index 00000000..7f43c11e --- /dev/null +++ b/recharging-robots-opt23-adl/p13.pddl @@ -0,0 +1,256 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1303 3 3 2 8 30 1 p13.pddl p13.plan +;; Random seed: 1303 +(define (problem recharging-robots-cover-robots3-areas2-1303-8397) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0006 location-0018) + (CONNECTED location-0007 location-0017) + (CONNECTED location-0025 location-0032) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0018 location-0044) + (CONNECTED location-0023 location-0025) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0005 location-0028) + (CONNECTED location-0004 location-0030) + (CONNECTED location-0027 location-0034) + (CONNECTED location-0007 location-0010) + (CONNECTED location-0026 location-0032) + (CONNECTED location-0002 location-0032) + (CONNECTED location-0033 location-0047) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0020 location-0022) + (CONNECTED location-0029 location-0043) + (CONNECTED location-0009 location-0019) + (CONNECTED location-0003 location-0042) + (CONNECTED location-0014 location-0042) + (CONNECTED location-0012 location-0054) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0002 location-0025) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0010 location-0038) + (CONNECTED location-0000 location-0037) + (CONNECTED location-0019 location-0050) + (CONNECTED location-0008 location-0050) + (CONNECTED location-0001 location-0044) + (CONNECTED location-0005 location-0060) + (CONNECTED location-0010 location-0056) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0023 location-0047) + (CONNECTED location-0001 location-0019) + (CONNECTED location-0004 location-0052) + (CONNECTED location-0000 location-0030) + (CONNECTED location-0017 location-0046) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0028 location-0046) + (CONNECTED location-0030 location-0052) + (CONNECTED location-0025 location-0047) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0006 location-0045) + (CONNECTED location-0024 location-0060) + (CONNECTED location-0006 location-0054) + (CONNECTED location-0007 location-0053) + (CONNECTED location-0010 location-0015) + (CONNECTED location-0019 location-0027) + (CONNECTED location-0013 location-0023) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0054 location-0058) + (CONNECTED location-0002 location-0020) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0037 location-0051) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0003 location-0012) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0015 location-0041) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0007 location-0046) + (CONNECTED location-0015 location-0059) + (CONNECTED location-0018 location-0055) + (CONNECTED location-0016 location-0021) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0027 location-0051) + (CONNECTED location-0011 location-0034) + (CONNECTED location-0025 location-0033) + (CONNECTED location-0000 location-0052) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0003 location-0014) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0021 location-0029) + (CONNECTED location-0029 location-0042) + (CONNECTED location-0057 location-0058) + (CONNECTED location-0007 location-0039) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0011 location-0027) + (CONNECTED location-0056 location-0059) + (CONNECTED location-0000 location-0036) + (CONNECTED location-0026 location-0036) + (CONNECTED location-0003 location-0016) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0013 location-0048) + (CONNECTED location-0004 location-0033) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0002 location-0026) + (CONNECTED location-0010 location-0039) + (CONNECTED location-0019 location-0051) + (CONNECTED location-0020 location-0025) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0024 location-0041) + (CONNECTED location-0015 location-0038) + (CONNECTED location-0004 location-0017) + (CONNECTED location-0024 location-0059) + (CONNECTED location-0015 location-0056) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0000 location-0031) + (CONNECTED location-0017 location-0047) + (CONNECTED location-0008 location-0044) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0026 location-0031) + (CONNECTED location-0012 location-0014) + (CONNECTED location-0041 location-0059) + (CONNECTED location-0001 location-0050) + (CONNECTED location-0018 location-0045) + (CONNECTED location-0008 location-0010) + (CONNECTED location-0018 location-0054) + (CONNECTED location-0009 location-0027) + (CONNECTED location-0028 location-0040) + (CONNECTED location-0037 location-0052) + (CONNECTED location-0028 location-0049) + (CONNECTED location-0006 location-0012) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0012 location-0016) + (CONNECTED location-0001 location-0043) + (CONNECTED location-0010 location-0055) + (CONNECTED location-0009 location-0011) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0010 location-0018) + (CONNECTED location-0017 location-0033) + (CONNECTED location-0009 location-0029) + (CONNECTED location-0005 location-0040) + (CONNECTED location-0056 location-0058) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0006 location-0014) + (CONNECTED location-0005 location-0049) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0044 location-0050) + (CONNECTED location-0007 location-0040) + (CONNECTED location-0005 location-0024) + (CONNECTED location-0034 location-0051) + (CONNECTED location-0023 location-0048) + (CONNECTED location-0014 location-0045) + (CONNECTED location-0013 location-0022) + (CONNECTED location-0004 location-0053) + (CONNECTED location-0001 location-0029) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0004 location-0007) + (CONNECTED location-0024 location-0040) + (CONNECTED location-0008 location-0053) + (CONNECTED location-0013 location-0049) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0031 location-0036) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0003 location-0029) + (CONNECTED location-0011 location-0021) + (CONNECTED location-0007 location-0008) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + + (at robot-00 location-0056) + (battery robot-00 battery-0005) + (at robot-01 location-0000) + (battery robot-01 battery-0015) + (at robot-02 location-0036) + (battery robot-02 battery-0011) + + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0004) + (GUARD-CONFIG config-00 location-0007) + (GUARD-CONFIG config-00 location-0013) + (GUARD-CONFIG config-00 location-0017) + (GUARD-CONFIG config-00 location-0020) + (GUARD-CONFIG config-00 location-0022) + (GUARD-CONFIG config-00 location-0023) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0033) + (GUARD-CONFIG config-00 location-0046) + (GUARD-CONFIG config-00 location-0047) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0049) + + (GUARD-CONFIG config-01 location-0001) + (GUARD-CONFIG config-01 location-0003) + (GUARD-CONFIG config-01 location-0006) + (GUARD-CONFIG config-01 location-0009) + (GUARD-CONFIG config-01 location-0011) + (GUARD-CONFIG config-01 location-0012) + (GUARD-CONFIG config-01 location-0014) + (GUARD-CONFIG config-01 location-0016) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0021) + (GUARD-CONFIG config-01 location-0027) + (GUARD-CONFIG config-01 location-0029) + (GUARD-CONFIG config-01 location-0034) + (GUARD-CONFIG config-01 location-0042) + (GUARD-CONFIG config-01 location-0043) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p14.pddl b/recharging-robots-opt23-adl/p14.pddl new file mode 100644 index 00000000..a1775fd1 --- /dev/null +++ b/recharging-robots-opt23-adl/p14.pddl @@ -0,0 +1,301 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1307 3 3 3 10 30 1 p14.pddl p14.plan +;; Random seed: 1307 +(define (problem recharging-robots-cover-robots3-areas3-1307-6601) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 location-0062 location-0063 location-0064 location-0065 location-0066 location-0067 location-0068 location-0069 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 battery-0034 battery-0035 battery-0036 - battery-level + config-00 config-01 config-02 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0007 location-0017) + (CONNECTED location-0033 location-0036) + (CONNECTED location-0067 location-0068) + (CONNECTED location-0007 location-0026) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0008 location-0009) + (CONNECTED location-0009 location-0063) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0021 location-0037) + (CONNECTED location-0011 location-0069) + (CONNECTED location-0066 location-0069) + (CONNECTED location-0028 location-0030) + (CONNECTED location-0004 location-0030) + (CONNECTED location-0011 location-0014) + (CONNECTED location-0005 location-0037) + (CONNECTED location-0015 location-0069) + (CONNECTED location-0013 location-0017) + (CONNECTED location-0003 location-0049) + (CONNECTED location-0018 location-0065) + (CONNECTED location-0041 location-0051) + (CONNECTED location-0026 location-0032) + (CONNECTED location-0016 location-0031) + (CONNECTED location-0011 location-0044) + (CONNECTED location-0001 location-0051) + (CONNECTED location-0000 location-0053) + (CONNECTED location-0005 location-0021) + (CONNECTED location-0029 location-0052) + (CONNECTED location-0043 location-0069) + (CONNECTED location-0023 location-0045) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0023 location-0063) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0007 location-0021) + (CONNECTED location-0050 location-0056) + (CONNECTED location-0000 location-0046) + (CONNECTED location-0005 location-0060) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0018 location-0051) + (CONNECTED location-0004 location-0034) + (CONNECTED location-0001 location-0010) + (CONNECTED location-0014 location-0044) + (CONNECTED location-0010 location-0022) + (CONNECTED location-0004 location-0052) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0016 location-0026) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0006 location-0027) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0002 location-0045) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0012 location-0031) + (CONNECTED location-0029 location-0047) + (CONNECTED location-0049 location-0059) + (CONNECTED location-0003 location-0037) + (CONNECTED location-0015 location-0066) + (CONNECTED location-0018 location-0062) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0047 location-0052) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0008 location-0063) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0000 location-0059) + (CONNECTED location-0009 location-0062) + (CONNECTED location-0021 location-0036) + (CONNECTED location-0011 location-0068) + (CONNECTED location-0023 location-0042) + (CONNECTED location-0013 location-0016) + (CONNECTED location-0004 location-0047) + (CONNECTED location-0034 location-0048) + (CONNECTED location-0002 location-0022) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0002 location-0031) + (CONNECTED location-0022 location-0064) + (CONNECTED location-0003 location-0060) + (CONNECTED location-0011 location-0043) + (CONNECTED location-0003 location-0005) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0006 location-0040) + (CONNECTED location-0024 location-0055) + (CONNECTED location-0038 location-0054) + (CONNECTED location-0040 location-0051) + (CONNECTED location-0019 location-0022) + (CONNECTED location-0010 location-0019) + (CONNECTED location-0019 location-0031) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0001 location-0025) + (CONNECTED location-0006 location-0015) + (CONNECTED location-0015 location-0027) + (CONNECTED location-0041 location-0055) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0007 location-0032) + (CONNECTED location-0008 location-0015) + (CONNECTED location-0025 location-0065) + (CONNECTED location-0001 location-0018) + (CONNECTED location-0020 location-0053) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0028 location-0036) + (CONNECTED location-0000 location-0029) + (CONNECTED location-0037 location-0048) + (CONNECTED location-0010 location-0030) + (CONNECTED location-0064 location-0065) + (CONNECTED location-0008 location-0042) + (CONNECTED location-0005 location-0061) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0018 location-0025) + (CONNECTED location-0024 location-0041) + (CONNECTED location-0021 location-0033) + (CONNECTED location-0004 location-0035) + (CONNECTED location-0027 location-0039) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0002 location-0019) + (CONNECTED location-0003 location-0048) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0041 location-0050) + (CONNECTED location-0012 location-0014) + (CONNECTED location-0004 location-0010) + (CONNECTED location-0004 location-0028) + (CONNECTED location-0001 location-0004) + (CONNECTED location-0002 location-0012) + (CONNECTED location-0034 location-0047) + (CONNECTED location-0010 location-0025) + (CONNECTED location-0022 location-0045) + (CONNECTED location-0062 location-0063) + (CONNECTED location-0020 location-0057) + (CONNECTED location-0003 location-0059) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0014 location-0068) + (CONNECTED location-0016 location-0032) + (CONNECTED location-0006 location-0039) + (CONNECTED location-0024 location-0054) + (CONNECTED location-0001 location-0052) + (CONNECTED location-0042 location-0069) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0029 location-0053) + (CONNECTED location-0020 location-0050) + (CONNECTED location-0028 location-0033) + (CONNECTED location-0019 location-0030) + (CONNECTED location-0068 location-0069) + (CONNECTED location-0002 location-0014) + (CONNECTED location-0063 location-0064) + (CONNECTED location-0062 location-0065) + (CONNECTED location-0040 location-0062) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0023 location-0064) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0024 location-0038) + (CONNECTED location-0050 location-0057) + (CONNECTED location-0018 location-0040) + (CONNECTED location-0008 location-0069) + (CONNECTED location-0025 location-0064) + (CONNECTED location-0029 location-0046) + (CONNECTED location-0017 location-0026) + (CONNECTED location-0008 location-0023) + (CONNECTED location-0028 location-0035) + (CONNECTED location-0014 location-0045) + (CONNECTED location-0006 location-0062) + (CONNECTED location-0013 location-0031) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0041 location-0056) + (CONNECTED location-0007 location-0033) + (CONNECTED location-0027 location-0066) + (CONNECTED location-0000 location-0049) + (CONNECTED location-0000 location-0058) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0009 location-0015) + (CONNECTED location-0066 location-0067) + (CONNECTED location-0006 location-0009) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + (BATTERY-PREDECESSOR battery-0033 battery-0034) + (BATTERY-PREDECESSOR battery-0034 battery-0035) + (BATTERY-PREDECESSOR battery-0035 battery-0036) + + (at robot-00 location-0051) + (battery robot-00 battery-0004) + (at robot-01 location-0056) + (battery robot-01 battery-0024) + (at robot-02 location-0020) + (battery robot-02 battery-0008) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0001) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0004) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0021) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0029) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0034) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0037) + (GUARD-CONFIG config-00 location-0046) + (GUARD-CONFIG config-00 location-0047) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0049) + (GUARD-CONFIG config-00 location-0052) + + (GUARD-CONFIG config-01 location-0002) + (GUARD-CONFIG config-01 location-0004) + (GUARD-CONFIG config-01 location-0007) + (GUARD-CONFIG config-01 location-0010) + (GUARD-CONFIG config-01 location-0012) + (GUARD-CONFIG config-01 location-0013) + (GUARD-CONFIG config-01 location-0014) + (GUARD-CONFIG config-01 location-0016) + (GUARD-CONFIG config-01 location-0017) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0026) + (GUARD-CONFIG config-01 location-0030) + (GUARD-CONFIG config-01 location-0031) + (GUARD-CONFIG config-01 location-0032) + (GUARD-CONFIG config-01 location-0033) + + (GUARD-CONFIG config-02 location-0006) + (GUARD-CONFIG config-02 location-0008) + (GUARD-CONFIG config-02 location-0009) + (GUARD-CONFIG config-02 location-0011) + (GUARD-CONFIG config-02 location-0015) + (GUARD-CONFIG config-02 location-0022) + (GUARD-CONFIG config-02 location-0023) + (GUARD-CONFIG config-02 location-0027) + (GUARD-CONFIG config-02 location-0042) + (GUARD-CONFIG config-02 location-0043) + (GUARD-CONFIG config-02 location-0045) + (GUARD-CONFIG config-02 location-0062) + (GUARD-CONFIG config-02 location-0063) + (GUARD-CONFIG config-02 location-0064) + (GUARD-CONFIG config-02 location-0066) + (GUARD-CONFIG config-02 location-0068) + (GUARD-CONFIG config-02 location-0069) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + (config-fullfilled config-02) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p15.pddl b/recharging-robots-opt23-adl/p15.pddl new file mode 100644 index 00000000..26742224 --- /dev/null +++ b/recharging-robots-opt23-adl/p15.pddl @@ -0,0 +1,222 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1319 4 2 1 8 30 1 p15.pddl p15.plan +;; Random seed: 1319 +(define (problem recharging-robots-cover-robots4-areas1-1319-9141) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0008 location-0046) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0042 location-0048) + (CONNECTED location-0026 location-0039) + (CONNECTED location-0041 location-0058) + (CONNECTED location-0007 location-0026) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0022 location-0026) + (CONNECTED location-0038 location-0044) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0023 location-0025) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0040 location-0059) + (CONNECTED location-0006 location-0057) + (CONNECTED location-0004 location-0039) + (CONNECTED location-0003 location-0040) + (CONNECTED location-0014 location-0049) + (CONNECTED location-0010 location-0027) + (CONNECTED location-0012 location-0061) + (CONNECTED location-0016 location-0031) + (CONNECTED location-0010 location-0045) + (CONNECTED location-0018 location-0037) + (CONNECTED location-0012 location-0018) + (CONNECTED location-0005 location-0021) + (CONNECTED location-0012 location-0036) + (CONNECTED location-0004 location-0032) + (CONNECTED location-0010 location-0020) + (CONNECTED location-0006 location-0013) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0027 location-0045) + (CONNECTED location-0024 location-0028) + (CONNECTED location-0017 location-0044) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0011 location-0037) + (CONNECTED location-0000 location-0046) + (CONNECTED location-0011 location-0055) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0005 location-0014) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0022 location-0039) + (CONNECTED location-0036 location-0041) + (CONNECTED location-0013 location-0021) + (CONNECTED location-0015 location-0018) + (CONNECTED location-0034 location-0053) + (CONNECTED location-0024 location-0030) + (CONNECTED location-0019 location-0043) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0030 location-0043) + (CONNECTED location-0010 location-0049) + (CONNECTED location-0044 location-0051) + (CONNECTED location-0009 location-0060) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0022 location-0032) + (CONNECTED location-0015 location-0057) + (CONNECTED location-0001 location-0003) + (CONNECTED location-0029 location-0056) + (CONNECTED location-0023 location-0040) + (CONNECTED location-0006 location-0054) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0007 location-0016) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0027 location-0049) + (CONNECTED location-0042 location-0047) + (CONNECTED location-0036 location-0061) + (CONNECTED location-0025 location-0040) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0035 location-0053) + (CONNECTED location-0038 location-0052) + (CONNECTED location-0004 location-0038) + (CONNECTED location-0045 location-0048) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0011 location-0034) + (CONNECTED location-0016 location-0030) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0023 location-0026) + (CONNECTED location-0004 location-0022) + (CONNECTED location-0013 location-0055) + (CONNECTED location-0045 location-0050) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0017 location-0043) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0007 location-0032) + (CONNECTED location-0003 location-0025) + (CONNECTED location-0012 location-0037) + (CONNECTED location-0004 location-0033) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0002 location-0008) + (CONNECTED location-0019 location-0024) + (CONNECTED location-0010 location-0021) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0020 location-0053) + (CONNECTED location-0014 location-0046) + (CONNECTED location-0036 location-0058) + (CONNECTED location-0019 location-0042) + (CONNECTED location-0000 location-0047) + (CONNECTED location-0015 location-0029) + (CONNECTED location-0003 location-0009) + (CONNECTED location-0005 location-0006) + (CONNECTED location-0009 location-0059) + (CONNECTED location-0035 location-0041) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0004 location-0017) + (CONNECTED location-0011 location-0013) + (CONNECTED location-0018 location-0061) + (CONNECTED location-0017 location-0038) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0028 location-0047) + (CONNECTED location-0013 location-0034) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0009 location-0061) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0041 location-0059) + (CONNECTED location-0035 location-0052) + (CONNECTED location-0019 location-0028) + (CONNECTED location-0000 location-0024) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0006 location-0021) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0018 location-0029) + (CONNECTED location-0013 location-0054) + (CONNECTED location-0000 location-0008) + (CONNECTED location-0002 location-0005) + (CONNECTED location-0018 location-0056) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0002 location-0014) + (CONNECTED location-0017 location-0033) + (CONNECTED location-0020 location-0050) + (CONNECTED location-0028 location-0042) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0005 location-0049) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0035 location-0038) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0007 location-0031) + (CONNECTED location-0011 location-0056) + (CONNECTED location-0020 location-0034) + (CONNECTED location-0023 location-0039) + (CONNECTED location-0045 location-0051) + (CONNECTED location-0000 location-0028) + (CONNECTED location-0009 location-0040) + (CONNECTED location-0037 location-0056) + (CONNECTED location-0027 location-0048) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0033 location-0043) + (CONNECTED location-0010 location-0050) + (CONNECTED location-0002 location-0046) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0038 location-0051) + (CONNECTED location-0029 location-0057) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + + (at robot-00 location-0045) + (battery robot-00 battery-0003) + (at robot-01 location-0054) + (battery robot-01 battery-0002) + (at robot-02 location-0018) + (battery robot-02 battery-0002) + (at robot-03 location-0004) + (battery robot-03 battery-0011) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0008) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0046) + (GUARD-CONFIG config-00 location-0047) + (GUARD-CONFIG config-00 location-0049) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p16.pddl b/recharging-robots-opt23-adl/p16.pddl new file mode 100644 index 00000000..2c130b87 --- /dev/null +++ b/recharging-robots-opt23-adl/p16.pddl @@ -0,0 +1,236 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1321 4 4 1 8 30 1 p16.pddl p16.plan +;; Random seed: 1321 +(define (problem recharging-robots-cover-robots4-areas1-1321-9355) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0032 location-0037) + (CONNECTED location-0016 location-0029) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0027 location-0059) + (CONNECTED location-0035 location-0042) + (CONNECTED location-0022 location-0026) + (CONNECTED location-0012 location-0025) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0022 location-0035) + (CONNECTED location-0014 location-0040) + (CONNECTED location-0021 location-0055) + (CONNECTED location-0008 location-0039) + (CONNECTED location-0017 location-0051) + (CONNECTED location-0016 location-0031) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0033 location-0047) + (CONNECTED location-0002 location-0041) + (CONNECTED location-0019 location-0057) + (CONNECTED location-0025 location-0052) + (CONNECTED location-0003 location-0033) + (CONNECTED location-0013 location-0019) + (CONNECTED location-0008 location-0032) + (CONNECTED location-0007 location-0012) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0016 location-0024) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0000 location-0046) + (CONNECTED location-0030 location-0059) + (CONNECTED location-0010 location-0056) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0005 location-0014) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0005 location-0023) + (CONNECTED location-0046 location-0061) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0001 location-0010) + (CONNECTED location-0024 location-0030) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0019 location-0052) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0002 location-0054) + (CONNECTED location-0049 location-0050) + (CONNECTED location-0003 location-0028) + (CONNECTED location-0009 location-0014) + (CONNECTED location-0001 location-0021) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0002 location-0020) + (CONNECTED location-0008 location-0036) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0017 location-0048) + (CONNECTED location-0028 location-0048) + (CONNECTED location-0047 location-0061) + (CONNECTED location-0027 location-0058) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0029 location-0031) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0031 location-0037) + (CONNECTED location-0015 location-0050) + (CONNECTED location-0001 location-0005) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0002 location-0013) + (CONNECTED location-0036 location-0045) + (CONNECTED location-0001 location-0023) + (CONNECTED location-0008 location-0038) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0011 location-0034) + (CONNECTED location-0030 location-0047) + (CONNECTED location-0016 location-0030) + (CONNECTED location-0002 location-0040) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0012 location-0017) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0000 location-0061) + (CONNECTED location-0026 location-0043) + (CONNECTED location-0004 location-0022) + (CONNECTED location-0018 location-0039) + (CONNECTED location-0007 location-0048) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0000 location-0027) + (CONNECTED location-0003 location-0007) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0007 location-0041) + (CONNECTED location-0021 location-0040) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0010 location-0021) + (CONNECTED location-0009 location-0023) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0011 location-0029) + (CONNECTED location-0005 location-0006) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0013 location-0041) + (CONNECTED location-0052 location-0057) + (CONNECTED location-0014 location-0018) + (CONNECTED location-0004 location-0026) + (CONNECTED location-0024 location-0059) + (CONNECTED location-0004 location-0035) + (CONNECTED location-0022 location-0034) + (CONNECTED location-0036 location-0042) + (CONNECTED location-0014 location-0039) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0012 location-0051) + (CONNECTED location-0011 location-0031) + (CONNECTED location-0005 location-0045) + (CONNECTED location-0028 location-0047) + (CONNECTED location-0013 location-0025) + (CONNECTED location-0032 location-0038) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0018 location-0036) + (CONNECTED location-0015 location-0049) + (CONNECTED location-0025 location-0051) + (CONNECTED location-0018 location-0045) + (CONNECTED location-0003 location-0032) + (CONNECTED location-0020 location-0057) + (CONNECTED location-0008 location-0037) + (CONNECTED location-0021 location-0056) + (CONNECTED location-0017 location-0049) + (CONNECTED location-0024 location-0027) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0026 location-0042) + (CONNECTED location-0007 location-0038) + (CONNECTED location-0015 location-0051) + (CONNECTED location-0022 location-0029) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0028 location-0033) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0015 location-0017) + (CONNECTED location-0006 location-0014) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0007 location-0013) + (CONNECTED location-0024 location-0029) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0026 location-0035) + (CONNECTED location-0026 location-0044) + (CONNECTED location-0030 location-0060) + (CONNECTED location-0031 location-0034) + (CONNECTED location-0040 location-0055) + (CONNECTED location-0012 location-0048) + (CONNECTED location-0014 location-0045) + (CONNECTED location-0009 location-0040) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0047 location-0060) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0000 location-0058) + (CONNECTED location-0002 location-0055) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0019 location-0025) + (CONNECTED location-0003 location-0038) + (CONNECTED location-0020 location-0054) + (CONNECTED location-0005 location-0044) + (CONNECTED location-0006 location-0009) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + + (at robot-00 location-0026) + (battery robot-00 battery-0015) + (at robot-01 location-0000) + (battery robot-01 battery-0004) + (at robot-02 location-0020) + (battery robot-02 battery-0002) + (at robot-03 location-0051) + (battery robot-03 battery-0002) + + (GUARD-CONFIG config-00 location-0001) + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0008) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0037) + (GUARD-CONFIG config-00 location-0038) + (GUARD-CONFIG config-00 location-0039) + (GUARD-CONFIG config-00 location-0040) + (GUARD-CONFIG config-00 location-0042) + (GUARD-CONFIG config-00 location-0044) + (GUARD-CONFIG config-00 location-0045) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p17.pddl b/recharging-robots-opt23-adl/p17.pddl new file mode 100644 index 00000000..03e89bdc --- /dev/null +++ b/recharging-robots-opt23-adl/p17.pddl @@ -0,0 +1,275 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1327 4 4 2 8 30 1 p17.pddl p17.plan +;; Random seed: 1327 +(define (problem recharging-robots-cover-robots4-areas2-1327-5838) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 battery-0034 battery-0035 battery-0036 battery-0037 battery-0038 battery-0039 battery-0040 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0006 location-0018) + (CONNECTED location-0047 location-0053) + (CONNECTED location-0027 location-0050) + (CONNECTED location-0015 location-0030) + (CONNECTED location-0026 location-0030) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0002 location-0048) + (CONNECTED location-0029 location-0032) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0000 location-0005) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0004 location-0030) + (CONNECTED location-0039 location-0060) + (CONNECTED location-0015 location-0060) + (CONNECTED location-0009 location-0035) + (CONNECTED location-0001 location-0015) + (CONNECTED location-0030 location-0039) + (CONNECTED location-0025 location-0034) + (CONNECTED location-0028 location-0051) + (CONNECTED location-0024 location-0044) + (CONNECTED location-0025 location-0061) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0012 location-0027) + (CONNECTED location-0000 location-0016) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0033 location-0040) + (CONNECTED location-0019 location-0050) + (CONNECTED location-0010 location-0056) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0012 location-0029) + (CONNECTED location-0003 location-0044) + (CONNECTED location-0010 location-0022) + (CONNECTED location-0047 location-0050) + (CONNECTED location-0027 location-0047) + (CONNECTED location-0017 location-0046) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0018 location-0023) + (CONNECTED location-0008 location-0052) + (CONNECTED location-0005 location-0007) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0035 location-0060) + (CONNECTED location-0026 location-0057) + (CONNECTED location-0012 location-0040) + (CONNECTED location-0021 location-0052) + (CONNECTED location-0019 location-0027) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0004 location-0054) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0000 location-0032) + (CONNECTED location-0008 location-0045) + (CONNECTED location-0014 location-0058) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0004 location-0011) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0020 location-0037) + (CONNECTED location-0048 location-0053) + (CONNECTED location-0032 location-0057) + (CONNECTED location-0029 location-0040) + (CONNECTED location-0021 location-0045) + (CONNECTED location-0015 location-0059) + (CONNECTED location-0001 location-0023) + (CONNECTED location-0017 location-0041) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0002 location-0049) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0029 location-0033) + (CONNECTED location-0013 location-0046) + (CONNECTED location-0014 location-0023) + (CONNECTED location-0011 location-0018) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0025 location-0035) + (CONNECTED location-0011 location-0054) + (CONNECTED location-0012 location-0019) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0004 location-0015) + (CONNECTED location-0014 location-0025) + (CONNECTED location-0026 location-0054) + (CONNECTED location-0017 location-0027) + (CONNECTED location-0001 location-0018) + (CONNECTED location-0017 location-0036) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0000 location-0029) + (CONNECTED location-0005 location-0043) + (CONNECTED location-0008 location-0042) + (CONNECTED location-0023 location-0058) + (CONNECTED location-0009 location-0041) + (CONNECTED location-0019 location-0051) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0007 location-0043) + (CONNECTED location-0004 location-0026) + (CONNECTED location-0025 location-0058) + (CONNECTED location-0017 location-0020) + (CONNECTED location-0001 location-0011) + (CONNECTED location-0020 location-0046) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0017 location-0047) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0026 location-0031) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0035 location-0061) + (CONNECTED location-0001 location-0059) + (CONNECTED location-0016 location-0057) + (CONNECTED location-0010 location-0016) + (CONNECTED location-0011 location-0015) + (CONNECTED location-0008 location-0028) + (CONNECTED location-0019 location-0028) + (CONNECTED location-0002 location-0021) + (CONNECTED location-0031 location-0057) + (CONNECTED location-0009 location-0036) + (CONNECTED location-0000 location-0042) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0033 location-0039) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0016 location-0032) + (CONNECTED location-0005 location-0022) + (CONNECTED location-0008 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0014 location-0034) + (CONNECTED location-0028 location-0042) + (CONNECTED location-0022 location-0056) + (CONNECTED location-0009 location-0038) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0006 location-0014) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0035 location-0038) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0008 location-0051) + (CONNECTED location-0030 location-0060) + (CONNECTED location-0010 location-0057) + (CONNECTED location-0002 location-0053) + (CONNECTED location-0000 location-0010) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0003 location-0045) + (CONNECTED location-0005 location-0042) + (CONNECTED location-0000 location-0028) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0013 location-0049) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0020 location-0036) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0000 location-0012) + (CONNECTED location-0038 location-0060) + (CONNECTED location-0012 location-0041) + (CONNECTED location-0021 location-0053) + (CONNECTED location-0023 location-0059) + (CONNECTED location-0027 location-0041) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + (BATTERY-PREDECESSOR battery-0033 battery-0034) + (BATTERY-PREDECESSOR battery-0034 battery-0035) + (BATTERY-PREDECESSOR battery-0035 battery-0036) + (BATTERY-PREDECESSOR battery-0036 battery-0037) + (BATTERY-PREDECESSOR battery-0037 battery-0038) + (BATTERY-PREDECESSOR battery-0038 battery-0039) + (BATTERY-PREDECESSOR battery-0039 battery-0040) + + (at robot-00 location-0006) + (battery robot-00 battery-0008) + (at robot-01 location-0013) + (battery robot-01 battery-0018) + (at robot-02 location-0003) + (battery robot-02 battery-0007) + (at robot-03 location-0051) + (battery robot-03 battery-0007) + + (GUARD-CONFIG config-00 location-0001) + (GUARD-CONFIG config-00 location-0004) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0015) + (GUARD-CONFIG config-00 location-0023) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0026) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0031) + (GUARD-CONFIG config-00 location-0033) + (GUARD-CONFIG config-00 location-0034) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0038) + (GUARD-CONFIG config-00 location-0039) + (GUARD-CONFIG config-00 location-0040) + (GUARD-CONFIG config-00 location-0041) + (GUARD-CONFIG config-00 location-0059) + (GUARD-CONFIG config-00 location-0060) + (GUARD-CONFIG config-00 location-0061) + + (GUARD-CONFIG config-01 location-0000) + (GUARD-CONFIG config-01 location-0004) + (GUARD-CONFIG config-01 location-0005) + (GUARD-CONFIG config-01 location-0007) + (GUARD-CONFIG config-01 location-0010) + (GUARD-CONFIG config-01 location-0012) + (GUARD-CONFIG config-01 location-0016) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0026) + (GUARD-CONFIG config-01 location-0028) + (GUARD-CONFIG config-01 location-0029) + (GUARD-CONFIG config-01 location-0030) + (GUARD-CONFIG config-01 location-0031) + (GUARD-CONFIG config-01 location-0032) + (GUARD-CONFIG config-01 location-0033) + (GUARD-CONFIG config-01 location-0039) + (GUARD-CONFIG config-01 location-0040) + (GUARD-CONFIG config-01 location-0042) + (GUARD-CONFIG config-01 location-0054) + (GUARD-CONFIG config-01 location-0056) + (GUARD-CONFIG config-01 location-0057) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p18.pddl b/recharging-robots-opt23-adl/p18.pddl new file mode 100644 index 00000000..3a1736a2 --- /dev/null +++ b/recharging-robots-opt23-adl/p18.pddl @@ -0,0 +1,229 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1361 5 3 1 8 30 1 p18.pddl p18.plan +;; Random seed: 1361 +(define (problem recharging-robots-cover-robots5-areas1-1361-9561) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 robot-04 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0015 location-0021) + (CONNECTED location-0010 location-0034) + (CONNECTED location-0027 location-0050) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0018 location-0026) + (CONNECTED location-0003 location-0013) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0004 location-0030) + (CONNECTED location-0009 location-0026) + (CONNECTED location-0011 location-0023) + (CONNECTED location-0005 location-0037) + (CONNECTED location-0024 location-0026) + (CONNECTED location-0033 location-0038) + (CONNECTED location-0013 location-0035) + (CONNECTED location-0024 location-0044) + (CONNECTED location-0019 location-0057) + (CONNECTED location-0007 location-0037) + (CONNECTED location-0016 location-0049) + (CONNECTED location-0004 location-0023) + (CONNECTED location-0031 location-0049) + (CONNECTED location-0029 location-0061) + (CONNECTED location-0010 location-0020) + (CONNECTED location-0014 location-0051) + (CONNECTED location-0001 location-0017) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0002 location-0025) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0004 location-0059) + (CONNECTED location-0025 location-0036) + (CONNECTED location-0011 location-0046) + (CONNECTED location-0008 location-0059) + (CONNECTED location-0030 location-0059) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0023 location-0029) + (CONNECTED location-0009 location-0012) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0003 location-0035) + (CONNECTED location-0006 location-0061) + (CONNECTED location-0027 location-0047) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0000 location-0002) + (CONNECTED location-0005 location-0025) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0028 location-0039) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0016 location-0028) + (CONNECTED location-0042 location-0056) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0005 location-0009) + (CONNECTED location-0020 location-0028) + (CONNECTED location-0004 location-0011) + (CONNECTED location-0012 location-0024) + (CONNECTED location-0006 location-0038) + (CONNECTED location-0048 location-0053) + (CONNECTED location-0013 location-0053) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0021 location-0045) + (CONNECTED location-0028 location-0032) + (CONNECTED location-0008 location-0029) + (CONNECTED location-0000 location-0025) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0022 location-0055) + (CONNECTED location-0027 location-0051) + (CONNECTED location-0003 location-0051) + (CONNECTED location-0019 location-0056) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0012 location-0026) + (CONNECTED location-0007 location-0039) + (CONNECTED location-0004 location-0031) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0010 location-0028) + (CONNECTED location-0000 location-0036) + (CONNECTED location-0017 location-0061) + (CONNECTED location-0006 location-0033) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0015 location-0045) + (CONNECTED location-0033 location-0060) + (CONNECTED location-0018 location-0041) + (CONNECTED location-0001 location-0055) + (CONNECTED location-0022 location-0041) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0017 location-0054) + (CONNECTED location-0006 location-0017) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0012 location-0021) + (CONNECTED location-0007 location-0034) + (CONNECTED location-0018 location-0043) + (CONNECTED location-0015 location-0056) + (CONNECTED location-0022 location-0043) + (CONNECTED location-0029 location-0058) + (CONNECTED location-0028 location-0038) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0011 location-0031) + (CONNECTED location-0032 location-0038) + (CONNECTED location-0013 location-0034) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0011 location-0049) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0026 location-0040) + (CONNECTED location-0010 location-0053) + (CONNECTED location-0013 location-0052) + (CONNECTED location-0016 location-0048) + (CONNECTED location-0020 location-0039) + (CONNECTED location-0010 location-0016) + (CONNECTED location-0012 location-0044) + (CONNECTED location-0041 location-0043) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0007 location-0020) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0032 location-0049) + (CONNECTED location-0016 location-0032) + (CONNECTED location-0015 location-0042) + (CONNECTED location-0008 location-0058) + (CONNECTED location-0001 location-0006) + (CONNECTED location-0002 location-0005) + (CONNECTED location-0019 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0022 location-0038) + (CONNECTED location-0023 location-0046) + (CONNECTED location-0006 location-0060) + (CONNECTED location-0003 location-0052) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0025 location-0037) + (CONNECTED location-0010 location-0048) + (CONNECTED location-0030 location-0060) + (CONNECTED location-0007 location-0040) + (CONNECTED location-0001 location-0054) + (CONNECTED location-0018 location-0040) + (CONNECTED location-0020 location-0034) + (CONNECTED location-0048 location-0050) + (CONNECTED location-0014 location-0027) + (CONNECTED location-0008 location-0023) + (CONNECTED location-0003 location-0036) + (CONNECTED location-0015 location-0019) + (CONNECTED location-0027 location-0048) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0001 location-0038) + (CONNECTED location-0026 location-0037) + (CONNECTED location-0042 location-0055) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0002 location-0009) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0021 location-0044) + (CONNECTED location-0022 location-0042) + (CONNECTED location-0037 location-0040) + (CONNECTED location-0014 location-0047) + (CONNECTED location-0023 location-0059) + (CONNECTED location-0001 location-0022) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + + (at robot-00 location-0001) + (battery robot-00 battery-0002) + (at robot-01 location-0015) + (battery robot-01 battery-0005) + (at robot-02 location-0025) + (battery robot-02 battery-0004) + (at robot-03 location-0016) + (battery robot-03 battery-0001) + (at robot-04 location-0028) + (battery robot-04 battery-0008) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0013) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0027) + (GUARD-CONFIG config-00 location-0034) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0050) + (GUARD-CONFIG config-00 location-0051) + (GUARD-CONFIG config-00 location-0052) + (GUARD-CONFIG config-00 location-0053) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p19.pddl b/recharging-robots-opt23-adl/p19.pddl new file mode 100644 index 00000000..c6aaf2d8 --- /dev/null +++ b/recharging-robots-opt23-adl/p19.pddl @@ -0,0 +1,285 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1367 5 5 2 8 30 1 p19.pddl p19.plan +;; Random seed: 1367 +(define (problem recharging-robots-cover-robots5-areas2-1367-7188) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 robot-04 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 battery-0034 battery-0035 battery-0036 battery-0037 battery-0038 battery-0039 battery-0040 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0043 location-0046) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0018 location-0026) + (CONNECTED location-0033 location-0054) + (CONNECTED location-0010 location-0052) + (CONNECTED location-0029 location-0041) + (CONNECTED location-0020 location-0038) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0022 location-0035) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0000 location-0014) + (CONNECTED location-0022 location-0044) + (CONNECTED location-0000 location-0023) + (CONNECTED location-0014 location-0049) + (CONNECTED location-0001 location-0024) + (CONNECTED location-0006 location-0020) + (CONNECTED location-0042 location-0059) + (CONNECTED location-0009 location-0010) + (CONNECTED location-0040 location-0043) + (CONNECTED location-0014 location-0024) + (CONNECTED location-0029 location-0043) + (CONNECTED location-0021 location-0039) + (CONNECTED location-0023 location-0036) + (CONNECTED location-0039 location-0053) + (CONNECTED location-0005 location-0030) + (CONNECTED location-0025 location-0061) + (CONNECTED location-0006 location-0059) + (CONNECTED location-0004 location-0041) + (CONNECTED location-0001 location-0017) + (CONNECTED location-0019 location-0032) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0004 location-0059) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0027 location-0054) + (CONNECTED location-0018 location-0030) + (CONNECTED location-0044 location-0049) + (CONNECTED location-0025 location-0045) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0021 location-0050) + (CONNECTED location-0019 location-0034) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0027 location-0056) + (CONNECTED location-0002 location-0036) + (CONNECTED location-0003 location-0010) + (CONNECTED location-0030 location-0061) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0000 location-0002) + (CONNECTED location-0032 location-0055) + (CONNECTED location-0005 location-0016) + (CONNECTED location-0001 location-0003) + (CONNECTED location-0007 location-0053) + (CONNECTED location-0023 location-0049) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0034 location-0055) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0025 location-0031) + (CONNECTED location-0019 location-0045) + (CONNECTED location-0016 location-0028) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0009 location-0053) + (CONNECTED location-0012 location-0015) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0029 location-0040) + (CONNECTED location-0005 location-0018) + (CONNECTED location-0004 location-0020) + (CONNECTED location-0004 location-0029) + (CONNECTED location-0016 location-0058) + (CONNECTED location-0004 location-0038) + (CONNECTED location-0008 location-0020) + (CONNECTED location-0007 location-0009) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0008 location-0038) + (CONNECTED location-0025 location-0042) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0013 location-0046) + (CONNECTED location-0014 location-0023) + (CONNECTED location-0029 location-0042) + (CONNECTED location-0021 location-0038) + (CONNECTED location-0023 location-0035) + (CONNECTED location-0006 location-0058) + (CONNECTED location-0019 location-0022) + (CONNECTED location-0011 location-0018) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0011 location-0027) + (CONNECTED location-0002 location-0024) + (CONNECTED location-0036 location-0056) + (CONNECTED location-0000 location-0036) + (CONNECTED location-0037 location-0055) + (CONNECTED location-0032 location-0034) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0004 location-0006) + (CONNECTED location-0011 location-0054) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0024 location-0048) + (CONNECTED location-0012 location-0028) + (CONNECTED location-0008 location-0015) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0002 location-0017) + (CONNECTED location-0006 location-0008) + (CONNECTED location-0005 location-0061) + (CONNECTED location-0003 location-0009) + (CONNECTED location-0032 location-0045) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0032 location-0054) + (CONNECTED location-0001 location-0048) + (CONNECTED location-0007 location-0043) + (CONNECTED location-0039 location-0050) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0019 location-0035) + (CONNECTED location-0014 location-0048) + (CONNECTED location-0019 location-0044) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0044 location-0046) + (CONNECTED location-0013 location-0043) + (CONNECTED location-0010 location-0053) + (CONNECTED location-0025 location-0060) + (CONNECTED location-0011 location-0033) + (CONNECTED location-0006 location-0012) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0012 location-0016) + (CONNECTED location-0042 location-0060) + (CONNECTED location-0008 location-0012) + (CONNECTED location-0017 location-0024) + (CONNECTED location-0008 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0040 location-0053) + (CONNECTED location-0002 location-0014) + (CONNECTED location-0011 location-0026) + (CONNECTED location-0004 location-0042) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0009 location-0047) + (CONNECTED location-0007 location-0013) + (CONNECTED location-0005 location-0058) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0013 location-0047) + (CONNECTED location-0007 location-0040) + (CONNECTED location-0009 location-0013) + (CONNECTED location-0022 location-0049) + (CONNECTED location-0031 location-0061) + (CONNECTED location-0037 location-0056) + (CONNECTED location-0006 location-0016) + (CONNECTED location-0016 location-0018) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0015 location-0028) + (CONNECTED location-0027 location-0057) + (CONNECTED location-0018 location-0033) + (CONNECTED location-0001 location-0047) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0031 location-0045) + (CONNECTED location-0003 location-0047) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + (BATTERY-PREDECESSOR battery-0033 battery-0034) + (BATTERY-PREDECESSOR battery-0034 battery-0035) + (BATTERY-PREDECESSOR battery-0035 battery-0036) + (BATTERY-PREDECESSOR battery-0036 battery-0037) + (BATTERY-PREDECESSOR battery-0037 battery-0038) + (BATTERY-PREDECESSOR battery-0038 battery-0039) + (BATTERY-PREDECESSOR battery-0039 battery-0040) + + (at robot-00 location-0037) + (battery robot-00 battery-0031) + (at robot-01 location-0055) + (battery robot-01 battery-0000) + (at robot-02 location-0002) + (battery robot-02 battery-0005) + (at robot-03 location-0054) + (battery robot-03 battery-0002) + (at robot-04 location-0045) + (battery robot-04 battery-0002) + + (GUARD-CONFIG config-00 location-0004) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0008) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0012) + (GUARD-CONFIG config-00 location-0015) + (GUARD-CONFIG config-00 location-0016) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0020) + (GUARD-CONFIG config-00 location-0021) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0026) + (GUARD-CONFIG config-00 location-0027) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0029) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0031) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0033) + (GUARD-CONFIG config-00 location-0038) + (GUARD-CONFIG config-00 location-0058) + (GUARD-CONFIG config-00 location-0059) + (GUARD-CONFIG config-00 location-0061) + + (GUARD-CONFIG config-01 location-0001) + (GUARD-CONFIG config-01 location-0003) + (GUARD-CONFIG config-01 location-0004) + (GUARD-CONFIG config-01 location-0007) + (GUARD-CONFIG config-01 location-0009) + (GUARD-CONFIG config-01 location-0010) + (GUARD-CONFIG config-01 location-0013) + (GUARD-CONFIG config-01 location-0014) + (GUARD-CONFIG config-01 location-0017) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0022) + (GUARD-CONFIG config-01 location-0023) + (GUARD-CONFIG config-01 location-0024) + (GUARD-CONFIG config-01 location-0025) + (GUARD-CONFIG config-01 location-0029) + (GUARD-CONFIG config-01 location-0039) + (GUARD-CONFIG config-01 location-0040) + (GUARD-CONFIG config-01 location-0042) + (GUARD-CONFIG config-01 location-0043) + (GUARD-CONFIG config-01 location-0044) + (GUARD-CONFIG config-01 location-0046) + (GUARD-CONFIG config-01 location-0047) + (GUARD-CONFIG config-01 location-0048) + (GUARD-CONFIG config-01 location-0049) + (GUARD-CONFIG config-01 location-0053) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-opt23-adl/p20.pddl b/recharging-robots-opt23-adl/p20.pddl new file mode 100644 index 00000000..4bd20850 --- /dev/null +++ b/recharging-robots-opt23-adl/p20.pddl @@ -0,0 +1,324 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1373 5 5 3 8 30 1 p20.pddl p20.plan +;; Random seed: 1373 +(define (problem recharging-robots-cover-robots5-areas3-1373-7695) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 robot-04 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 battery-0034 battery-0035 battery-0036 battery-0037 battery-0038 battery-0039 battery-0040 battery-0041 battery-0042 battery-0043 - battery-level + config-00 config-01 config-02 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0010 location-0034) + (CONNECTED location-0001 location-0031) + (CONNECTED location-0025 location-0032) + (CONNECTED location-0024 location-0033) + (CONNECTED location-0007 location-0026) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0002 location-0048) + (CONNECTED location-0023 location-0025) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0020 location-0038) + (CONNECTED location-0022 location-0035) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0005 location-0028) + (CONNECTED location-0029 location-0059) + (CONNECTED location-0003 location-0040) + (CONNECTED location-0027 location-0052) + (CONNECTED location-0015 location-0032) + (CONNECTED location-0013 location-0044) + (CONNECTED location-0008 location-0011) + (CONNECTED location-0012 location-0027) + (CONNECTED location-0038 location-0055) + (CONNECTED location-0006 location-0050) + (CONNECTED location-0000 location-0016) + (CONNECTED location-0023 location-0054) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0015 location-0025) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0019 location-0050) + (CONNECTED location-0001 location-0044) + (CONNECTED location-0051 location-0057) + (CONNECTED location-0025 location-0054) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0005 location-0014) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0009 location-0012) + (CONNECTED location-0003 location-0026) + (CONNECTED location-0014 location-0035) + (CONNECTED location-0001 location-0010) + (CONNECTED location-0018 location-0060) + (CONNECTED location-0008 location-0034) + (CONNECTED location-0010 location-0031) + (CONNECTED location-0024 location-0030) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0000 location-0039) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0014 location-0028) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0001 location-0030) + (CONNECTED location-0028 location-0048) + (CONNECTED location-0002 location-0029) + (CONNECTED location-0019 location-0045) + (CONNECTED location-0030 location-0045) + (CONNECTED location-0014 location-0058) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0002 location-0047) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0004 location-0011) + (CONNECTED location-0020 location-0037) + (CONNECTED location-0016 location-0058) + (CONNECTED location-0017 location-0041) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0003 location-0060) + (CONNECTED location-0011 location-0043) + (CONNECTED location-0051 location-0054) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0000 location-0061) + (CONNECTED location-0004 location-0022) + (CONNECTED location-0008 location-0013) + (CONNECTED location-0008 location-0022) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0010 location-0037) + (CONNECTED location-0027 location-0053) + (CONNECTED location-0006 location-0015) + (CONNECTED location-0003 location-0007) + (CONNECTED location-0020 location-0023) + (CONNECTED location-0006 location-0024) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0014 location-0016) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0006 location-0033) + (CONNECTED location-0023 location-0037) + (CONNECTED location-0006 location-0051) + (CONNECTED location-0038 location-0056) + (CONNECTED location-0021 location-0049) + (CONNECTED location-0018 location-0059) + (CONNECTED location-0019 location-0024) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0019 location-0042) + (CONNECTED location-0009 location-0041) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0004 location-0008) + (CONNECTED location-0052 location-0057) + (CONNECTED location-0003 location-0018) + (CONNECTED location-0024 location-0050) + (CONNECTED location-0022 location-0034) + (CONNECTED location-0011 location-0013) + (CONNECTED location-0010 location-0023) + (CONNECTED location-0029 location-0058) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0020 location-0055) + (CONNECTED location-0010 location-0032) + (CONNECTED location-0002 location-0028) + (CONNECTED location-0030 location-0044) + (CONNECTED location-0000 location-0040) + (CONNECTED location-0007 location-0018) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0013 location-0043) + (CONNECTED location-0026 location-0040) + (CONNECTED location-0016 location-0039) + (CONNECTED location-0021 location-0035) + (CONNECTED location-0025 location-0051) + (CONNECTED location-0008 location-0010) + (CONNECTED location-0020 location-0039) + (CONNECTED location-0001 location-0013) + (CONNECTED location-0005 location-0029) + (CONNECTED location-0009 location-0027) + (CONNECTED location-0017 location-0040) + (CONNECTED location-0012 location-0053) + (CONNECTED location-0028 location-0049) + (CONNECTED location-0004 location-0049) + (CONNECTED location-0011 location-0042) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0041 location-0052) + (CONNECTED location-0015 location-0033) + (CONNECTED location-0021 location-0028) + (CONNECTED location-0015 location-0051) + (CONNECTED location-0002 location-0005) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0019 location-0030) + (CONNECTED location-0023 location-0055) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0003 location-0061) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0016 location-0061) + (CONNECTED location-0017 location-0026) + (CONNECTED location-0036 location-0039) + (CONNECTED location-0014 location-0036) + (CONNECTED location-0028 location-0035) + (CONNECTED location-0022 location-0049) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0052 location-0056) + (CONNECTED location-0041 location-0056) + (CONNECTED location-0016 location-0036) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0000 location-0003) + (CONNECTED location-0020 location-0036) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0023 location-0032) + (CONNECTED location-0014 location-0029) + (CONNECTED location-0004 location-0046) + (CONNECTED location-0027 location-0041) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + (BATTERY-PREDECESSOR battery-0033 battery-0034) + (BATTERY-PREDECESSOR battery-0034 battery-0035) + (BATTERY-PREDECESSOR battery-0035 battery-0036) + (BATTERY-PREDECESSOR battery-0036 battery-0037) + (BATTERY-PREDECESSOR battery-0037 battery-0038) + (BATTERY-PREDECESSOR battery-0038 battery-0039) + (BATTERY-PREDECESSOR battery-0039 battery-0040) + (BATTERY-PREDECESSOR battery-0040 battery-0041) + (BATTERY-PREDECESSOR battery-0041 battery-0042) + (BATTERY-PREDECESSOR battery-0042 battery-0043) + + (at robot-00 location-0018) + (battery robot-00 battery-0005) + (at robot-01 location-0060) + (battery robot-01 battery-0004) + (at robot-02 location-0026) + (battery robot-02 battery-0001) + (at robot-03 location-0007) + (battery robot-03 battery-0032) + (at robot-04 location-0061) + (battery robot-04 battery-0001) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0012) + (GUARD-CONFIG config-00 location-0015) + (GUARD-CONFIG config-00 location-0016) + (GUARD-CONFIG config-00 location-0017) + (GUARD-CONFIG config-00 location-0020) + (GUARD-CONFIG config-00 location-0023) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0027) + (GUARD-CONFIG config-00 location-0038) + (GUARD-CONFIG config-00 location-0039) + (GUARD-CONFIG config-00 location-0040) + (GUARD-CONFIG config-00 location-0041) + (GUARD-CONFIG config-00 location-0051) + (GUARD-CONFIG config-00 location-0052) + (GUARD-CONFIG config-00 location-0053) + (GUARD-CONFIG config-00 location-0054) + (GUARD-CONFIG config-00 location-0055) + (GUARD-CONFIG config-00 location-0056) + (GUARD-CONFIG config-00 location-0057) + + (GUARD-CONFIG config-01 location-0001) + (GUARD-CONFIG config-01 location-0004) + (GUARD-CONFIG config-01 location-0006) + (GUARD-CONFIG config-01 location-0008) + (GUARD-CONFIG config-01 location-0010) + (GUARD-CONFIG config-01 location-0011) + (GUARD-CONFIG config-01 location-0013) + (GUARD-CONFIG config-01 location-0015) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0020) + (GUARD-CONFIG config-01 location-0021) + (GUARD-CONFIG config-01 location-0022) + (GUARD-CONFIG config-01 location-0023) + (GUARD-CONFIG config-01 location-0024) + (GUARD-CONFIG config-01 location-0025) + (GUARD-CONFIG config-01 location-0030) + (GUARD-CONFIG config-01 location-0031) + (GUARD-CONFIG config-01 location-0032) + (GUARD-CONFIG config-01 location-0033) + (GUARD-CONFIG config-01 location-0034) + (GUARD-CONFIG config-01 location-0035) + (GUARD-CONFIG config-01 location-0036) + (GUARD-CONFIG config-01 location-0037) + (GUARD-CONFIG config-01 location-0042) + (GUARD-CONFIG config-01 location-0043) + (GUARD-CONFIG config-01 location-0044) + (GUARD-CONFIG config-01 location-0045) + (GUARD-CONFIG config-01 location-0050) + + (GUARD-CONFIG config-02 location-0000) + (GUARD-CONFIG config-02 location-0001) + (GUARD-CONFIG config-02 location-0002) + (GUARD-CONFIG config-02 location-0004) + (GUARD-CONFIG config-02 location-0005) + (GUARD-CONFIG config-02 location-0008) + (GUARD-CONFIG config-02 location-0010) + (GUARD-CONFIG config-02 location-0011) + (GUARD-CONFIG config-02 location-0013) + (GUARD-CONFIG config-02 location-0014) + (GUARD-CONFIG config-02 location-0016) + (GUARD-CONFIG config-02 location-0020) + (GUARD-CONFIG config-02 location-0021) + (GUARD-CONFIG config-02 location-0022) + (GUARD-CONFIG config-02 location-0023) + (GUARD-CONFIG config-02 location-0028) + (GUARD-CONFIG config-02 location-0029) + (GUARD-CONFIG config-02 location-0031) + (GUARD-CONFIG config-02 location-0032) + (GUARD-CONFIG config-02 location-0034) + (GUARD-CONFIG config-02 location-0035) + (GUARD-CONFIG config-02 location-0036) + (GUARD-CONFIG config-02 location-0037) + (GUARD-CONFIG config-02 location-0038) + (GUARD-CONFIG config-02 location-0039) + (GUARD-CONFIG config-02 location-0040) + (GUARD-CONFIG config-02 location-0046) + (GUARD-CONFIG config-02 location-0048) + (GUARD-CONFIG config-02 location-0049) + (GUARD-CONFIG config-02 location-0058) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + (config-fullfilled config-02) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/domain.pddl b/recharging-robots-sat23-adl/domain.pddl new file mode 100644 index 00000000..d90a3016 --- /dev/null +++ b/recharging-robots-sat23-adl/domain.pddl @@ -0,0 +1,135 @@ +(define (domain recharging-robots) +(:requirements :typing :adl :action-costs) +(:types + location - object + robot - object + battery-level - object + config - object +) + +(:predicates + ;; ?f1 is predecessor of ?f2 in the battery level, i.e., ?f2 = ?f1 + 1 + (BATTERY-PREDECESSOR ?f1 - battery-level ?f2 - battery-level) + ;; Two locations are connected in the graph of locations + (CONNECTED ?l1 - location ?l2 - location) + ;; Definition of a guarding configuration, i.e., one atom per location + ;; in each configuration + (GUARD-CONFIG ?c - config ?l - location) + ;; Robot is located at the given location + (at ?r - robot ?l - location) + ;; The remaining battery of the robot + (battery ?r - robot ?f - battery-level) + ;; Robot stopped and is guarding all locations connected to the + ;; location where robot is located + (stopped ?r - robot) + ;; Location ?l is guarded by at least one robot + (guarded ?l - location) + ;; Configuration is fullfilled, i.e., all of its locations were guarded + ;; at some point. + (config-fullfilled ?c - config) +) + +(:functions + (move-cost) - number + (recharge-cost) - number + (total-cost) - number +) + +;; Move the robot ?r from the location ?from to the location ?to while +;; consuming the battery -- it is decreased by one from ?fpre to ?fpost +(:action move + :parameters (?r - robot ?from - location ?to - location + ?fpre - battery-level ?fpost - battery-level) + :precondition + (and + (not (stopped ?r)) + (at ?r ?from) + (battery ?r ?fpre) + (BATTERY-PREDECESSOR ?fpost ?fpre) + (or (CONNECTED ?from ?to) (CONNECTED ?to ?from)) + ) + :effect + (and + (not (at ?r ?from)) + (at ?r ?to) + (not (battery ?r ?fpre)) + (battery ?r ?fpost) + (increase (total-cost) (move-cost)) + ) +) + +;; Recharge robot ?rto at location ?loc by transfering one unit of battery +;; charge from the robot ?rfrom +(:action recharge + :parameters (?rfrom - robot ?rto - robot ?loc - location + ?fpre-from - battery-level ?fpost-from - battery-level + ?fpre-to - battery-level ?fpost-to - battery-level) + :precondition + (and + (not (= ?rfrom ?rto)) + (at ?rfrom ?loc) + (at ?rto ?loc) + (battery ?rfrom ?fpre-from) + (battery ?rto ?fpre-to) + (BATTERY-PREDECESSOR ?fpost-from ?fpre-from) + (BATTERY-PREDECESSOR ?fpre-to ?fpost-to) + ) + :effect + (and + (not (battery ?rfrom ?fpre-from)) + (battery ?rfrom ?fpost-from) + (not (battery ?rto ?fpre-to)) + (battery ?rto ?fpost-to) + (increase (total-cost) (recharge-cost)) + ) +) + +;; Stop the robot at its current location and guard the neighborhood. +;; Once the robot stopped it can move again only when the configuration is +;; fullfilled, i.e., stopping too early can result in a dead-end. +;; Note that the conditional effect can be compiled away without blow-up, +;; because it is conditioned on a static predicates. +(:action stop-and-guard + :parameters (?r - robot ?l - location) + :precondition + (and + (not (stopped ?r)) + (at ?r ?l) + ) + :effect + (and + (stopped ?r) + (guarded ?l) + (forall (?l2 - location) + (when (or (CONNECTED ?l ?l2) (CONNECTED ?l2 ?l)) + (guarded ?l2) + ) + ) + ) +) + +;; Verify that the given configuration is fullfilled, i.e., robots guard +;; all locations from the configuration. +;; Note that this action unblocks all robots whether they participate in +;; guarding of the configuration or not. This simplifies the model because +;; otherwise, we would need to keep track of what location is guarded by +;; which robot (it can be guarded by multiple ones). +;; Also note the precondition does not have to inccur exponential blow-up +;; because the imply condition is conditioned on a static predicate. +(:action verify-guard-config + :parameters (?c - config) + :precondition + (and + (forall (?l - location) + (imply (GUARD-CONFIG ?c ?l) (guarded ?l)) + ) + ) + :effect + (and + (forall (?r - robot) (not (stopped ?r))) + (forall (?l - location) (not (guarded ?l))) + (config-fullfilled ?c) + ) +) + +) diff --git a/recharging-robots-sat23-adl/p01.pddl b/recharging-robots-sat23-adl/p01.pddl new file mode 100644 index 00000000..e31d107d --- /dev/null +++ b/recharging-robots-sat23-adl/p01.pddl @@ -0,0 +1,108 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1229 3 5 10 1 p01.pddl p01.plan +;; Random seed: 1229 +(define (problem recharge-single-source-move-to-locations-651) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0003 location-0013) + (CONNECTED location-0012 location-0025) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0009 location-0026) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0014 location-0015) + (CONNECTED location-0000 location-0016) + (CONNECTED location-0010 location-0020) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0002 location-0025) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0003 location-0010) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0014 location-0028) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0002 location-0013) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0001 location-0023) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0003 location-0005) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0006 location-0015) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0015 location-0027) + (CONNECTED location-0005 location-0013) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0000 location-0011) + (CONNECTED location-0010 location-0021) + (CONNECTED location-0011 location-0020) + (CONNECTED location-0000 location-0020) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0007 location-0025) + (CONNECTED location-0004 location-0008) + (CONNECTED location-0017 location-0029) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0000 location-0022) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0009 location-0018) + (CONNECTED location-0000 location-0015) + (CONNECTED location-0002 location-0012) + (CONNECTED location-0003 location-0004) + (CONNECTED location-0004 location-0021) + (CONNECTED location-0001 location-0006) + (CONNECTED location-0009 location-0029) + (CONNECTED location-0004 location-0005) + (CONNECTED location-0000 location-0001) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0014 location-0027) + (CONNECTED location-0002 location-0007) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0016 location-0018) + (CONNECTED location-0007 location-0024) + (CONNECTED location-0005 location-0008) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0011 location-0012) + (CONNECTED location-0017 location-0028) + (CONNECTED location-0001 location-0022) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + + (at robot-00 location-0027) + (battery robot-00 battery-0008) + (at robot-01 location-0027) + (battery robot-01 battery-0000) + (at robot-02 location-0027) + (battery robot-02 battery-0001) + +) +(:goal + (and + (at robot-00 location-0028) + (at robot-01 location-0003) + (at robot-02 location-0023) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p02.pddl b/recharging-robots-sat23-adl/p02.pddl new file mode 100644 index 00000000..faac9802 --- /dev/null +++ b/recharging-robots-sat23-adl/p02.pddl @@ -0,0 +1,127 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1231 4 5 15 1 p02.pddl p02.plan +;; Random seed: 1231 +(define (problem recharge-single-source-move-to-locations-3636) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 - location + robot-00 robot-01 robot-02 robot-03 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0007 location-0017) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0005 location-0019) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0003 location-0031) + (CONNECTED location-0004 location-0030) + (CONNECTED location-0027 location-0034) + (CONNECTED location-0016 location-0022) + (CONNECTED location-0020 location-0031) + (CONNECTED location-0017 location-0023) + (CONNECTED location-0009 location-0019) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0007 location-0012) + (CONNECTED location-0005 location-0014) + (CONNECTED location-0015 location-0018) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0024 location-0030) + (CONNECTED location-0007 location-0023) + (CONNECTED location-0004 location-0027) + (CONNECTED location-0010 location-0015) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0000 location-0032) + (CONNECTED location-0005 location-0009) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0006 location-0022) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0012 location-0026) + (CONNECTED location-0023 location-0026) + (CONNECTED location-0019 location-0022) + (CONNECTED location-0010 location-0019) + (CONNECTED location-0028 location-0034) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0008 location-0015) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0002 location-0008) + (CONNECTED location-0000 location-0029) + (CONNECTED location-0006 location-0017) + (CONNECTED location-0023 location-0030) + (CONNECTED location-0001 location-0002) + (CONNECTED location-0010 location-0014) + (CONNECTED location-0011 location-0013) + (CONNECTED location-0027 location-0030) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0013 location-0025) + (CONNECTED location-0007 location-0018) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0012 location-0023) + (CONNECTED location-0008 location-0010) + (CONNECTED location-0002 location-0012) + (CONNECTED location-0000 location-0033) + (CONNECTED location-0006 location-0021) + (CONNECTED location-0003 location-0004) + (CONNECTED location-0004 location-0021) + (CONNECTED location-0009 location-0020) + (CONNECTED location-0003 location-0034) + (CONNECTED location-0028 location-0033) + (CONNECTED location-0011 location-0026) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0024 location-0029) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0021 location-0030) + (CONNECTED location-0031 location-0034) + (CONNECTED location-0008 location-0014) + (CONNECTED location-0003 location-0027) + (CONNECTED location-0002 location-0007) + (CONNECTED location-0000 location-0028) + (CONNECTED location-0015 location-0019) + (CONNECTED location-0006 location-0016) + (CONNECTED location-0033 location-0034) + (CONNECTED location-0021 location-0023) + (CONNECTED location-0003 location-0020) + (CONNECTED location-0002 location-0018) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + + (at robot-00 location-0018) + (battery robot-00 battery-0009) + (at robot-01 location-0018) + (battery robot-01 battery-0001) + (at robot-02 location-0018) + (battery robot-02 battery-0000) + (at robot-03 location-0018) + (battery robot-03 battery-0002) + +) +(:goal + (and + (at robot-00 location-0012) + (at robot-01 location-0011) + (at robot-02 location-0034) + (at robot-03 location-0002) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p03.pddl b/recharging-robots-sat23-adl/p03.pddl new file mode 100644 index 00000000..a37a0fdc --- /dev/null +++ b/recharging-robots-sat23-adl/p03.pddl @@ -0,0 +1,151 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1237 --move-from-source 4 5 20 1 p03.pddl p03.plan +;; Random seed: 1237 +(define (problem recharge-single-source-move-to-locations-2356) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 - location + robot-00 robot-01 robot-02 robot-03 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0015 location-0030) + (CONNECTED location-0004 location-0009) + (CONNECTED location-0003 location-0022) + (CONNECTED location-0031 location-0038) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0002 location-0011) + (CONNECTED location-0001 location-0024) + (CONNECTED location-0002 location-0032) + (CONNECTED location-0003 location-0006) + (CONNECTED location-0022 location-0028) + (CONNECTED location-0004 location-0023) + (CONNECTED location-0001 location-0008) + (CONNECTED location-0005 location-0039) + (CONNECTED location-0010 location-0038) + (CONNECTED location-0001 location-0035) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0005 location-0014) + (CONNECTED location-0021 location-0032) + (CONNECTED location-0008 location-0025) + (CONNECTED location-0013 location-0021) + (CONNECTED location-0008 location-0034) + (CONNECTED location-0024 location-0030) + (CONNECTED location-0000 location-0030) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0001 location-0003) + (CONNECTED location-0004 location-0036) + (CONNECTED location-0010 location-0015) + (CONNECTED location-0019 location-0027) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0001 location-0030) + (CONNECTED location-0011 location-0032) + (CONNECTED location-0012 location-0015) + (CONNECTED location-0031 location-0037) + (CONNECTED location-0004 location-0020) + (CONNECTED location-0007 location-0009) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0006 location-0022) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0017 location-0034) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0002 location-0033) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0015 location-0027) + (CONNECTED location-0020 location-0023) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0023 location-0028) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0010 location-0012) + (CONNECTED location-0008 location-0024) + (CONNECTED location-0002 location-0017) + (CONNECTED location-0000 location-0038) + (CONNECTED location-0018 location-0025) + (CONNECTED location-0006 location-0035) + (CONNECTED location-0018 location-0034) + (CONNECTED location-0010 location-0014) + (CONNECTED location-0011 location-0013) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0019 location-0026) + (CONNECTED location-0008 location-0035) + (CONNECTED location-0000 location-0031) + (CONNECTED location-0012 location-0014) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0004 location-0028) + (CONNECTED location-0000 location-0015) + (CONNECTED location-0028 location-0031) + (CONNECTED location-0005 location-0038) + (CONNECTED location-0009 location-0036) + (CONNECTED location-0024 location-0027) + (CONNECTED location-0015 location-0024) + (CONNECTED location-0006 location-0021) + (CONNECTED location-0007 location-0020) + (CONNECTED location-0012 location-0016) + (CONNECTED location-0022 location-0029) + (CONNECTED location-0001 location-0006) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0017 location-0033) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0007 location-0013) + (CONNECTED location-0006 location-0032) + (CONNECTED location-0000 location-0010) + (CONNECTED location-0036 location-0039) + (CONNECTED location-0037 location-0038) + (CONNECTED location-0032 location-0035) + (CONNECTED location-0033 location-0034) + (CONNECTED location-0001 location-0029) + (CONNECTED location-0016 location-0027) + (CONNECTED location-0004 location-0007) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0003 location-0029) + (CONNECTED location-0014 location-0038) + (CONNECTED location-0028 location-0037) + (CONNECTED location-0004 location-0037) + (CONNECTED location-0011 location-0021) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + + (at robot-00 location-0038) + (battery robot-00 battery-0009) + (at robot-01 location-0002) + (battery robot-01 battery-0006) + (at robot-02 location-0017) + (battery robot-02 battery-0004) + (at robot-03 location-0034) + (battery robot-03 battery-0001) + +) +(:goal + (and + (at robot-00 location-0017) + (at robot-01 location-0012) + (at robot-02 location-0030) + (at robot-03 location-0016) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p04.pddl b/recharging-robots-sat23-adl/p04.pddl new file mode 100644 index 00000000..62f13b9c --- /dev/null +++ b/recharging-robots-sat23-adl/p04.pddl @@ -0,0 +1,155 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1249 --move-from-source 5 5 20 1 p04.pddl p04.plan +;; Random seed: 1249 +(define (problem recharge-single-source-move-to-locations-8449) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 - location + robot-00 robot-01 robot-02 robot-03 robot-04 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0006 location-0018) + (CONNECTED location-0005 location-0019) + (CONNECTED location-0019 location-0039) + (CONNECTED location-0012 location-0018) + (CONNECTED location-0029 location-0034) + (CONNECTED location-0004 location-0023) + (CONNECTED location-0012 location-0036) + (CONNECTED location-0010 location-0038) + (CONNECTED location-0007 location-0021) + (CONNECTED location-0016 location-0033) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0006 location-0034) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0001 location-0010) + (CONNECTED location-0013 location-0021) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0024 location-0030) + (CONNECTED location-0000 location-0030) + (CONNECTED location-0018 location-0023) + (CONNECTED location-0001 location-0037) + (CONNECTED location-0011 location-0039) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0012 location-0022) + (CONNECTED location-0005 location-0025) + (CONNECTED location-0001 location-0012) + (CONNECTED location-0008 location-0027) + (CONNECTED location-0006 location-0029) + (CONNECTED location-0004 location-0020) + (CONNECTED location-0003 location-0030) + (CONNECTED location-0028 location-0032) + (CONNECTED location-0017 location-0032) + (CONNECTED location-0007 location-0009) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0000 location-0025) + (CONNECTED location-0002 location-0022) + (CONNECTED location-0019 location-0038) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0004 location-0013) + (CONNECTED location-0014 location-0032) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0008 location-0031) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0011 location-0036) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0015 location-0027) + (CONNECTED location-0020 location-0023) + (CONNECTED location-0004 location-0006) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0014 location-0016) + (CONNECTED location-0006 location-0033) + (CONNECTED location-0029 location-0035) + (CONNECTED location-0012 location-0037) + (CONNECTED location-0004 location-0033) + (CONNECTED location-0008 location-0015) + (CONNECTED location-0000 location-0011) + (CONNECTED location-0003 location-0018) + (CONNECTED location-0001 location-0002) + (CONNECTED location-0008 location-0026) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0015 location-0031) + (CONNECTED location-0003 location-0011) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0012 location-0023) + (CONNECTED location-0018 location-0036) + (CONNECTED location-0002 location-0012) + (CONNECTED location-0028 location-0031) + (CONNECTED location-0000 location-0024) + (CONNECTED location-0005 location-0038) + (CONNECTED location-0024 location-0027) + (CONNECTED location-0015 location-0024) + (CONNECTED location-0016 location-0032) + (CONNECTED location-0018 location-0029) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0009 location-0013) + (CONNECTED location-0002 location-0007) + (CONNECTED location-0036 location-0039) + (CONNECTED location-0003 location-0036) + (CONNECTED location-0037 location-0038) + (CONNECTED location-0028 location-0035) + (CONNECTED location-0032 location-0035) + (CONNECTED location-0033 location-0034) + (CONNECTED location-0024 location-0031) + (CONNECTED location-0001 location-0038) + (CONNECTED location-0025 location-0039) + (CONNECTED location-0004 location-0016) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0003 location-0029) + (CONNECTED location-0019 location-0025) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0011 location-0030) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + + (at robot-00 location-0011) + (battery robot-00 battery-0003) + (at robot-01 location-0021) + (battery robot-01 battery-0005) + (at robot-02 location-0025) + (battery robot-02 battery-0003) + (at robot-03 location-0031) + (battery robot-03 battery-0004) + (at robot-04 location-0024) + (battery robot-04 battery-0005) + +) +(:goal + (and + (at robot-00 location-0010) + (at robot-01 location-0030) + (at robot-02 location-0018) + (at robot-03 location-0002) + (at robot-04 location-0012) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p05.pddl b/recharging-robots-sat23-adl/p05.pddl new file mode 100644 index 00000000..37d6730a --- /dev/null +++ b/recharging-robots-sat23-adl/p05.pddl @@ -0,0 +1,195 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py single-source-move-to-locations --random-seed 1259 --move-from-source 6 5 30 1 p05.pddl p05.plan +;; Random seed: 1259 +(define (problem recharge-single-source-move-to-locations-6440) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 - location + robot-00 robot-01 robot-02 robot-03 robot-04 robot-05 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 - battery-level +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0007 location-0017) + (CONNECTED location-0013 location-0033) + (CONNECTED location-0025 location-0032) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0017 location-0021) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0000 location-0023) + (CONNECTED location-0009 location-0035) + (CONNECTED location-0019 location-0039) + (CONNECTED location-0033 location-0047) + (CONNECTED location-0016 location-0040) + (CONNECTED location-0003 location-0015) + (CONNECTED location-0005 location-0012) + (CONNECTED location-0006 location-0041) + (CONNECTED location-0012 location-0036) + (CONNECTED location-0021 location-0048) + (CONNECTED location-0009 location-0028) + (CONNECTED location-0001 location-0008) + (CONNECTED location-0012 location-0045) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0007 location-0021) + (CONNECTED location-0016 location-0033) + (CONNECTED location-0002 location-0043) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0003 location-0026) + (CONNECTED location-0004 location-0034) + (CONNECTED location-0027 location-0029) + (CONNECTED location-0003 location-0044) + (CONNECTED location-0008 location-0034) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0006 location-0027) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0004 location-0018) + (CONNECTED location-0012 location-0031) + (CONNECTED location-0005 location-0025) + (CONNECTED location-0027 location-0040) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0019 location-0036) + (CONNECTED location-0027 location-0049) + (CONNECTED location-0025 location-0031) + (CONNECTED location-0000 location-0041) + (CONNECTED location-0003 location-0012) + (CONNECTED location-0006 location-0029) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0029 location-0049) + (CONNECTED location-0004 location-0038) + (CONNECTED location-0008 location-0020) + (CONNECTED location-0013 location-0016) + (CONNECTED location-0017 location-0032) + (CONNECTED location-0016 location-0030) + (CONNECTED location-0003 location-0005) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0013 location-0046) + (CONNECTED location-0015 location-0043) + (CONNECTED location-0007 location-0048) + (CONNECTED location-0017 location-0025) + (CONNECTED location-0002 location-0015) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0022 location-0048) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0028 location-0043) + (CONNECTED location-0011 location-0036) + (CONNECTED location-0011 location-0045) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0012 location-0019) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0007 location-0032) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0037 location-0039) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0027 location-0046) + (CONNECTED location-0000 location-0038) + (CONNECTED location-0004 location-0008) + (CONNECTED location-0012 location-0030) + (CONNECTED location-0010 location-0023) + (CONNECTED location-0001 location-0020) + (CONNECTED location-0009 location-0034) + (CONNECTED location-0002 location-0028) + (CONNECTED location-0006 location-0010) + (CONNECTED location-0032 location-0047) + (CONNECTED location-0033 location-0046) + (CONNECTED location-0016 location-0039) + (CONNECTED location-0000 location-0006) + (CONNECTED location-0012 location-0044) + (CONNECTED location-0000 location-0024) + (CONNECTED location-0019 location-0037) + (CONNECTED location-0011 location-0042) + (CONNECTED location-0001 location-0034) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0018 location-0038) + (CONNECTED location-0007 location-0047) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0005 location-0031) + (CONNECTED location-0019 location-0030) + (CONNECTED location-0028 location-0042) + (CONNECTED location-0011 location-0035) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0015 location-0026) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0024 location-0038) + (CONNECTED location-0015 location-0044) + (CONNECTED location-0008 location-0014) + (CONNECTED location-0040 location-0046) + (CONNECTED location-0017 location-0026) + (CONNECTED location-0000 location-0010) + (CONNECTED location-0037 location-0038) + (CONNECTED location-0028 location-0035) + (CONNECTED location-0011 location-0028) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0013 location-0040) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0014 location-0020) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0011 location-0012) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0004 location-0037) + (CONNECTED location-0027 location-0041) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + + (at robot-00 location-0020) + (battery robot-00 battery-0002) + (at robot-01 location-0020) + (battery robot-01 battery-0001) + (at robot-02 location-0020) + (battery robot-02 battery-0007) + (at robot-03 location-0014) + (battery robot-03 battery-0003) + (at robot-04 location-0020) + (battery robot-04 battery-0015) + (at robot-05 location-0020) + (battery robot-05 battery-0002) + +) +(:goal + (and + (at robot-00 location-0035) + (at robot-01 location-0038) + (at robot-02 location-0036) + (at robot-03 location-0044) + (at robot-04 location-0022) + (at robot-05 location-0003) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p06.pddl b/recharging-robots-sat23-adl/p06.pddl new file mode 100644 index 00000000..d5aa4969 --- /dev/null +++ b/recharging-robots-sat23-adl/p06.pddl @@ -0,0 +1,128 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1277 2 2 1 5 15 1 p06.pddl p06.plan +;; Random seed: 1277 +(define (problem recharging-robots-cover-robots2-areas1-1277-2842) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0007 location-0026) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0017 location-0030) + (CONNECTED location-0002 location-0011) + (CONNECTED location-0003 location-0015) + (CONNECTED location-0020 location-0031) + (CONNECTED location-0008 location-0011) + (CONNECTED location-0009 location-0010) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0009 location-0019) + (CONNECTED location-0003 location-0033) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0007 location-0012) + (CONNECTED location-0015 location-0025) + (CONNECTED location-0002 location-0025) + (CONNECTED location-0018 location-0030) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0005 location-0023) + (CONNECTED location-0010 location-0022) + (CONNECTED location-0001 location-0019) + (CONNECTED location-0015 location-0018) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0000 location-0002) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0014 location-0028) + (CONNECTED location-0010 location-0024) + (CONNECTED location-0005 location-0009) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0001 location-0005) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0012 location-0026) + (CONNECTED location-0023 location-0026) + (CONNECTED location-0019 location-0022) + (CONNECTED location-0010 location-0019) + (CONNECTED location-0011 location-0018) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0021 location-0022) + (CONNECTED location-0003 location-0016) + (CONNECTED location-0020 location-0032) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0014 location-0016) + (CONNECTED location-0021 location-0031) + (CONNECTED location-0003 location-0025) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0002 location-0008) + (CONNECTED location-0017 location-0027) + (CONNECTED location-0002 location-0026) + (CONNECTED location-0006 location-0026) + (CONNECTED location-0005 location-0006) + (CONNECTED location-0018 location-0025) + (CONNECTED location-0021 location-0024) + (CONNECTED location-0027 location-0030) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0010 location-0023) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0001 location-0004) + (CONNECTED location-0008 location-0012) + (CONNECTED location-0000 location-0008) + (CONNECTED location-0003 location-0034) + (CONNECTED location-0000 location-0026) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0007 location-0013) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0004 location-0005) + (CONNECTED location-0031 location-0034) + (CONNECTED location-0014 location-0027) + (CONNECTED location-0006 location-0007) + (CONNECTED location-0033 location-0034) + (CONNECTED location-0022 location-0024) + (CONNECTED location-0000 location-0012) + (CONNECTED location-0011 location-0030) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + + (at robot-00 location-0030) + (battery robot-00 battery-0007) + (at robot-01 location-0012) + (battery robot-01 battery-0002) + + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0015) + (GUARD-CONFIG config-00 location-0016) + (GUARD-CONFIG config-00 location-0017) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0021) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0027) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p07.pddl b/recharging-robots-sat23-adl/p07.pddl new file mode 100644 index 00000000..b76f4d91 --- /dev/null +++ b/recharging-robots-sat23-adl/p07.pddl @@ -0,0 +1,231 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1279 2 2 2 8 30 1 p07.pddl p07.plan +;; Random seed: 1279 +(define (problem recharging-robots-cover-robots2-areas2-1279-9054) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0006 location-0018) + (CONNECTED location-0036 location-0053) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0041 location-0058) + (CONNECTED location-0022 location-0026) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0005 location-0028) + (CONNECTED location-0040 location-0059) + (CONNECTED location-0016 location-0022) + (CONNECTED location-0027 location-0052) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0008 location-0011) + (CONNECTED location-0003 location-0033) + (CONNECTED location-0006 location-0050) + (CONNECTED location-0006 location-0059) + (CONNECTED location-0014 location-0042) + (CONNECTED location-0023 location-0054) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0010 location-0029) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0020 location-0024) + (CONNECTED location-0051 location-0057) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0021 location-0041) + (CONNECTED location-0012 location-0038) + (CONNECTED location-0018 location-0060) + (CONNECTED location-0000 location-0030) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0007 location-0023) + (CONNECTED location-0009 location-0042) + (CONNECTED location-0000 location-0039) + (CONNECTED location-0028 location-0055) + (CONNECTED location-0000 location-0048) + (CONNECTED location-0003 location-0010) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0004 location-0018) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0023 location-0031) + (CONNECTED location-0013 location-0051) + (CONNECTED location-0031 location-0044) + (CONNECTED location-0007 location-0044) + (CONNECTED location-0035 location-0060) + (CONNECTED location-0020 location-0044) + (CONNECTED location-0016 location-0056) + (CONNECTED location-0018 location-0053) + (CONNECTED location-0012 location-0049) + (CONNECTED location-0021 location-0061) + (CONNECTED location-0008 location-0027) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0017 location-0039) + (CONNECTED location-0019 location-0036) + (CONNECTED location-0010 location-0033) + (CONNECTED location-0001 location-0030) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0017 location-0048) + (CONNECTED location-0030 location-0045) + (CONNECTED location-0005 location-0055) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0006 location-0029) + (CONNECTED location-0020 location-0028) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0032 location-0057) + (CONNECTED location-0029 location-0040) + (CONNECTED location-0014 location-0030) + (CONNECTED location-0013 location-0016) + (CONNECTED location-0001 location-0014) + (CONNECTED location-0000 location-0025) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0003 location-0051) + (CONNECTED location-0011 location-0052) + (CONNECTED location-0012 location-0017) + (CONNECTED location-0029 location-0033) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0015 location-0043) + (CONNECTED location-0006 location-0040) + (CONNECTED location-0021 location-0038) + (CONNECTED location-0016 location-0051) + (CONNECTED location-0008 location-0013) + (CONNECTED location-0008 location-0022) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0001 location-0025) + (CONNECTED location-0011 location-0027) + (CONNECTED location-0002 location-0042) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0023 location-0028) + (CONNECTED location-0018 location-0050) + (CONNECTED location-0021 location-0049) + (CONNECTED location-0039 location-0048) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0018 location-0059) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0000 location-0029) + (CONNECTED location-0034 location-0061) + (CONNECTED location-0015 location-0020) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0012 location-0021) + (CONNECTED location-0032 location-0054) + (CONNECTED location-0001 location-0048) + (CONNECTED location-0026 location-0056) + (CONNECTED location-0001 location-0002) + (CONNECTED location-0008 location-0026) + (CONNECTED location-0017 location-0038) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0019 location-0035) + (CONNECTED location-0006 location-0010) + (CONNECTED location-0003 location-0057) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0041 location-0059) + (CONNECTED location-0004 location-0019) + (CONNECTED location-0013 location-0052) + (CONNECTED location-0035 location-0061) + (CONNECTED location-0016 location-0057) + (CONNECTED location-0005 location-0020) + (CONNECTED location-0003 location-0032) + (CONNECTED location-0000 location-0033) + (CONNECTED location-0017 location-0049) + (CONNECTED location-0003 location-0050) + (CONNECTED location-0013 location-0027) + (CONNECTED location-0005 location-0056) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0015 location-0024) + (CONNECTED location-0007 location-0020) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0002 location-0014) + (CONNECTED location-0011 location-0026) + (CONNECTED location-0022 location-0056) + (CONNECTED location-0021 location-0058) + (CONNECTED location-0023 location-0055) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0009 location-0047) + (CONNECTED location-0004 location-0060) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0007 location-0031) + (CONNECTED location-0015 location-0044) + (CONNECTED location-0019 location-0060) + (CONNECTED location-0014 location-0045) + (CONNECTED location-0004 location-0053) + (CONNECTED location-0025 location-0030) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0019 location-0053) + (CONNECTED location-0010 location-0050) + (CONNECTED location-0001 location-0047) + (CONNECTED location-0025 location-0048) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0029 location-0039) + (CONNECTED location-0008 location-0016) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0031 location-0045) + (CONNECTED location-0002 location-0009) + (CONNECTED location-0031 location-0054) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + + (at robot-00 location-0030) + (battery robot-00 battery-0001) + (at robot-01 location-0043) + (battery robot-01 battery-0021) + + (GUARD-CONFIG config-00 location-0004) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0019) + (GUARD-CONFIG config-00 location-0034) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0037) + (GUARD-CONFIG config-00 location-0050) + (GUARD-CONFIG config-00 location-0052) + (GUARD-CONFIG config-00 location-0053) + + (GUARD-CONFIG config-01 location-0005) + (GUARD-CONFIG config-01 location-0008) + (GUARD-CONFIG config-01 location-0011) + (GUARD-CONFIG config-01 location-0013) + (GUARD-CONFIG config-01 location-0016) + (GUARD-CONFIG config-01 location-0022) + (GUARD-CONFIG config-01 location-0026) + (GUARD-CONFIG config-01 location-0027) + (GUARD-CONFIG config-01 location-0056) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p08.pddl b/recharging-robots-sat23-adl/p08.pddl new file mode 100644 index 00000000..a7d03343 --- /dev/null +++ b/recharging-robots-sat23-adl/p08.pddl @@ -0,0 +1,239 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1283 2 2 3 8 30 1 p08.pddl p08.plan +;; Random seed: 1283 +(define (problem recharging-robots-cover-robots2-areas3-1283-1948) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 - battery-level + config-00 config-01 config-02 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0007 location-0017) + (CONNECTED location-0013 location-0033) + (CONNECTED location-0018 location-0026) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0019 location-0055) + (CONNECTED location-0007 location-0035) + (CONNECTED location-0025 location-0050) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0022 location-0035) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0026 location-0060) + (CONNECTED location-0037 location-0042) + (CONNECTED location-0023 location-0052) + (CONNECTED location-0012 location-0061) + (CONNECTED location-0007 location-0019) + (CONNECTED location-0024 location-0044) + (CONNECTED location-0001 location-0042) + (CONNECTED location-0016 location-0049) + (CONNECTED location-0005 location-0012) + (CONNECTED location-0009 location-0010) + (CONNECTED location-0004 location-0023) + (CONNECTED location-0039 location-0053) + (CONNECTED location-0000 location-0016) + (CONNECTED location-0031 location-0049) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0009 location-0049) + (CONNECTED location-0008 location-0059) + (CONNECTED location-0016 location-0042) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0003 location-0017) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0023 location-0029) + (CONNECTED location-0006 location-0061) + (CONNECTED location-0008 location-0025) + (CONNECTED location-0004 location-0052) + (CONNECTED location-0010 location-0031) + (CONNECTED location-0002 location-0027) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0007 location-0023) + (CONNECTED location-0011 location-0039) + (CONNECTED location-0017 location-0055) + (CONNECTED location-0025 location-0038) + (CONNECTED location-0002 location-0045) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0014 location-0028) + (CONNECTED location-0015 location-0057) + (CONNECTED location-0036 location-0043) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0002 location-0020) + (CONNECTED location-0019 location-0036) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0000 location-0032) + (CONNECTED location-0005 location-0046) + (CONNECTED location-0014 location-0058) + (CONNECTED location-0019 location-0054) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0011 location-0050) + (CONNECTED location-0005 location-0009) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0029 location-0040) + (CONNECTED location-0005 location-0018) + (CONNECTED location-0027 location-0033) + (CONNECTED location-0002 location-0013) + (CONNECTED location-0034 location-0048) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0008 location-0038) + (CONNECTED location-0036 location-0054) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0009 location-0046) + (CONNECTED location-0028 location-0059) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0012 location-0026) + (CONNECTED location-0015 location-0043) + (CONNECTED location-0006 location-0058) + (CONNECTED location-0034 location-0041) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0005 location-0041) + (CONNECTED location-0041 location-0046) + (CONNECTED location-0015 location-0036) + (CONNECTED location-0020 location-0032) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0018 location-0041) + (CONNECTED location-0024 location-0057) + (CONNECTED location-0015 location-0054) + (CONNECTED location-0010 location-0012) + (CONNECTED location-0000 location-0020) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0010 location-0030) + (CONNECTED location-0037 location-0048) + (CONNECTED location-0025 location-0028) + (CONNECTED location-0003 location-0055) + (CONNECTED location-0011 location-0038) + (CONNECTED location-0013 location-0032) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0021 location-0024) + (CONNECTED location-0026 location-0038) + (CONNECTED location-0016 location-0037) + (CONNECTED location-0004 location-0017) + (CONNECTED location-0012 location-0030) + (CONNECTED location-0001 location-0002) + (CONNECTED location-0039 location-0050) + (CONNECTED location-0008 location-0026) + (CONNECTED location-0001 location-0020) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0000 location-0031) + (CONNECTED location-0012 location-0060) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0007 location-0036) + (CONNECTED location-0016 location-0048) + (CONNECTED location-0034 location-0047) + (CONNECTED location-0008 location-0028) + (CONNECTED location-0037 location-0043) + (CONNECTED location-0021 location-0056) + (CONNECTED location-0023 location-0053) + (CONNECTED location-0006 location-0012) + (CONNECTED location-0013 location-0027) + (CONNECTED location-0014 location-0059) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0003 location-0004) + (CONNECTED location-0015 location-0024) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0000 location-0042) + (CONNECTED location-0006 location-0030) + (CONNECTED location-0018 location-0038) + (CONNECTED location-0022 location-0029) + (CONNECTED location-0034 location-0040) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0040 location-0053) + (CONNECTED location-0029 location-0053) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0001 location-0045) + (CONNECTED location-0008 location-0060) + (CONNECTED location-0024 location-0056) + (CONNECTED location-0000 location-0001) + (CONNECTED location-0022 location-0040) + (CONNECTED location-0009 location-0031) + (CONNECTED location-0041 location-0047) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0004 location-0007) + (CONNECTED location-0035 location-0040) + (CONNECTED location-0000 location-0049) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0017 location-0019) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0021 location-0044) + (CONNECTED location-0003 location-0056) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + + (at robot-00 location-0037) + (battery robot-00 battery-0004) + (at robot-01 location-0002) + (battery robot-01 battery-0013) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0001) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0031) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0049) + + (GUARD-CONFIG config-01 location-0003) + (GUARD-CONFIG config-01 location-0015) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0021) + (GUARD-CONFIG config-01 location-0024) + (GUARD-CONFIG config-01 location-0036) + (GUARD-CONFIG config-01 location-0043) + (GUARD-CONFIG config-01 location-0054) + (GUARD-CONFIG config-01 location-0056) + (GUARD-CONFIG config-01 location-0057) + + (GUARD-CONFIG config-02 location-0003) + (GUARD-CONFIG config-02 location-0004) + (GUARD-CONFIG config-02 location-0007) + (GUARD-CONFIG config-02 location-0015) + (GUARD-CONFIG config-02 location-0017) + (GUARD-CONFIG config-02 location-0019) + (GUARD-CONFIG config-02 location-0021) + (GUARD-CONFIG config-02 location-0054) + (GUARD-CONFIG config-02 location-0055) + (GUARD-CONFIG config-02 location-0056) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + (config-fullfilled config-02) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p09.pddl b/recharging-robots-sat23-adl/p09.pddl new file mode 100644 index 00000000..8a1773a7 --- /dev/null +++ b/recharging-robots-sat23-adl/p09.pddl @@ -0,0 +1,129 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1289 3 2 1 5 10 1 p09.pddl p09.plan +;; Random seed: 1289 +(define (problem recharging-robots-cover-robots3-areas1-1289-8335) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0006 location-0018) + (CONNECTED location-0000 location-0023) + (CONNECTED location-0006 location-0011) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0003 location-0015) + (CONNECTED location-0014 location-0015) + (CONNECTED location-0002 location-0004) + (CONNECTED location-0001 location-0008) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0005 location-0014) + (CONNECTED location-0009 location-0012) + (CONNECTED location-0000 location-0009) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0008 location-0025) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0001 location-0028) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0012 location-0022) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0024 location-0025) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0003 location-0014) + (CONNECTED location-0004 location-0013) + (CONNECTED location-0008 location-0013) + (CONNECTED location-0002 location-0006) + (CONNECTED location-0008 location-0022) + (CONNECTED location-0001 location-0016) + (CONNECTED location-0011 location-0018) + (CONNECTED location-0002 location-0015) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0004 location-0015) + (CONNECTED location-0027 location-0028) + (CONNECTED location-0017 location-0027) + (CONNECTED location-0009 location-0023) + (CONNECTED location-0000 location-0020) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0012 location-0021) + (CONNECTED location-0028 location-0029) + (CONNECTED location-0002 location-0010) + (CONNECTED location-0006 location-0010) + (CONNECTED location-0006 location-0019) + (CONNECTED location-0004 location-0010) + (CONNECTED location-0001 location-0004) + (CONNECTED location-0002 location-0003) + (CONNECTED location-0001 location-0013) + (CONNECTED location-0005 location-0029) + (CONNECTED location-0008 location-0028) + (CONNECTED location-0000 location-0024) + (CONNECTED location-0007 location-0029) + (CONNECTED location-0009 location-0020) + (CONNECTED location-0001 location-0027) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0017 location-0026) + (CONNECTED location-0009 location-0022) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0013 location-0022) + (CONNECTED location-0016 location-0027) + (CONNECTED location-0004 location-0016) + (CONNECTED location-0005 location-0017) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0011 location-0012) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0011 location-0021) + (CONNECTED location-0007 location-0008) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + + (at robot-00 location-0005) + (battery robot-00 battery-0007) + (at robot-01 location-0003) + (battery robot-01 battery-0002) + (at robot-02 location-0025) + (battery robot-02 battery-0007) + + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0004) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0012) + (GUARD-CONFIG config-00 location-0013) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0021) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p10.pddl b/recharging-robots-sat23-adl/p10.pddl new file mode 100644 index 00000000..815b2d4a --- /dev/null +++ b/recharging-robots-sat23-adl/p10.pddl @@ -0,0 +1,227 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1291 3 3 1 8 30 1 p10.pddl p10.plan +;; Random seed: 1291 +(define (problem recharging-robots-cover-robots3-areas1-1291-5884) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0010 location-0034) + (CONNECTED location-0010 location-0043) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0025 location-0041) + (CONNECTED location-0024 location-0051) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0029 location-0050) + (CONNECTED location-0011 location-0014) + (CONNECTED location-0026 location-0060) + (CONNECTED location-0014 location-0040) + (CONNECTED location-0027 location-0034) + (CONNECTED location-0001 location-0015) + (CONNECTED location-0027 location-0043) + (CONNECTED location-0006 location-0020) + (CONNECTED location-0019 location-0039) + (CONNECTED location-0016 location-0022) + (CONNECTED location-0030 location-0048) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0005 location-0012) + (CONNECTED location-0023 location-0027) + (CONNECTED location-0003 location-0033) + (CONNECTED location-0023 location-0045) + (CONNECTED location-0031 location-0058) + (CONNECTED location-0007 location-0058) + (CONNECTED location-0013 location-0019) + (CONNECTED location-0053 location-0055) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0001 location-0035) + (CONNECTED location-0000 location-0055) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0021 location-0050) + (CONNECTED location-0012 location-0047) + (CONNECTED location-0001 location-0019) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0018 location-0023) + (CONNECTED location-0030 location-0052) + (CONNECTED location-0008 location-0061) + (CONNECTED location-0020 location-0026) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0022 location-0032) + (CONNECTED location-0004 location-0036) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0019 location-0036) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0005 location-0046) + (CONNECTED location-0014 location-0058) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0011 location-0059) + (CONNECTED location-0005 location-0018) + (CONNECTED location-0049 location-0052) + (CONNECTED location-0026 location-0059) + (CONNECTED location-0023 location-0042) + (CONNECTED location-0004 location-0038) + (CONNECTED location-0021 location-0054) + (CONNECTED location-0008 location-0020) + (CONNECTED location-0027 location-0042) + (CONNECTED location-0028 location-0041) + (CONNECTED location-0019 location-0038) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0002 location-0022) + (CONNECTED location-0010 location-0044) + (CONNECTED location-0017 location-0059) + (CONNECTED location-0000 location-0052) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0024 location-0046) + (CONNECTED location-0021 location-0029) + (CONNECTED location-0029 location-0051) + (CONNECTED location-0007 location-0048) + (CONNECTED location-0002 location-0006) + (CONNECTED location-0008 location-0022) + (CONNECTED location-0036 location-0038) + (CONNECTED location-0053 location-0054) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0020 location-0060) + (CONNECTED location-0010 location-0037) + (CONNECTED location-0030 location-0049) + (CONNECTED location-0013 location-0039) + (CONNECTED location-0052 location-0055) + (CONNECTED location-0003 location-0016) + (CONNECTED location-0046 location-0051) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0012 location-0028) + (CONNECTED location-0014 location-0025) + (CONNECTED location-0032 location-0061) + (CONNECTED location-0010 location-0012) + (CONNECTED location-0002 location-0008) + (CONNECTED location-0034 location-0043) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0025 location-0028) + (CONNECTED location-0006 location-0008) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0007 location-0025) + (CONNECTED location-0025 location-0058) + (CONNECTED location-0017 location-0020) + (CONNECTED location-0011 location-0013) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0028 location-0038) + (CONNECTED location-0028 location-0047) + (CONNECTED location-0005 location-0045) + (CONNECTED location-0022 location-0061) + (CONNECTED location-0003 location-0057) + (CONNECTED location-0011 location-0040) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0004 location-0010) + (CONNECTED location-0004 location-0028) + (CONNECTED location-0018 location-0045) + (CONNECTED location-0003 location-0032) + (CONNECTED location-0031 location-0048) + (CONNECTED location-0012 location-0044) + (CONNECTED location-0014 location-0041) + (CONNECTED location-0000 location-0033) + (CONNECTED location-0014 location-0059) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0016 location-0032) + (CONNECTED location-0004 location-0012) + (CONNECTED location-0018 location-0029) + (CONNECTED location-0007 location-0047) + (CONNECTED location-0009 location-0011) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0011 location-0017) + (CONNECTED location-0012 location-0046) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0024 location-0029) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0001 location-0036) + (CONNECTED location-0015 location-0035) + (CONNECTED location-0007 location-0031) + (CONNECTED location-0008 location-0060) + (CONNECTED location-0000 location-0056) + (CONNECTED location-0009 location-0013) + (CONNECTED location-0017 location-0026) + (CONNECTED location-0005 location-0024) + (CONNECTED location-0002 location-0016) + (CONNECTED location-0031 location-0061) + (CONNECTED location-0015 location-0019) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0021 location-0023) + (CONNECTED location-0013 location-0040) + (CONNECTED location-0033 location-0052) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0000 location-0003) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0009 location-0015) + (CONNECTED location-0049 location-0051) + (CONNECTED location-0004 location-0037) + (CONNECTED location-0021 location-0053) + (CONNECTED location-0013 location-0015) + (CONNECTED location-0005 location-0044) + (CONNECTED location-0003 location-0056) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + + (at robot-00 location-0051) + (battery robot-00 battery-0012) + (at robot-01 location-0056) + (battery robot-01 battery-0001) + (at robot-02 location-0033) + (battery robot-02 battery-0004) + + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0012) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0021) + (GUARD-CONFIG config-00 location-0023) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0027) + (GUARD-CONFIG config-00 location-0029) + (GUARD-CONFIG config-00 location-0034) + (GUARD-CONFIG config-00 location-0042) + (GUARD-CONFIG config-00 location-0043) + (GUARD-CONFIG config-00 location-0044) + (GUARD-CONFIG config-00 location-0045) + (GUARD-CONFIG config-00 location-0050) + (GUARD-CONFIG config-00 location-0053) + (GUARD-CONFIG config-00 location-0054) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p11.pddl b/recharging-robots-sat23-adl/p11.pddl new file mode 100644 index 00000000..fe3eae24 --- /dev/null +++ b/recharging-robots-sat23-adl/p11.pddl @@ -0,0 +1,227 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1297 3 2 2 8 30 1 p11.pddl p11.plan +;; Random seed: 1297 +(define (problem recharging-robots-cover-robots3-areas2-1297-5361) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0015 location-0021) + (CONNECTED location-0010 location-0034) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0002 location-0039) + (CONNECTED location-0018 location-0035) + (CONNECTED location-0010 location-0052) + (CONNECTED location-0003 location-0013) + (CONNECTED location-0016 location-0047) + (CONNECTED location-0025 location-0059) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0021 location-0037) + (CONNECTED location-0017 location-0030) + (CONNECTED location-0009 location-0026) + (CONNECTED location-0012 location-0052) + (CONNECTED location-0001 location-0015) + (CONNECTED location-0014 location-0049) + (CONNECTED location-0027 location-0043) + (CONNECTED location-0015 location-0023) + (CONNECTED location-0018 location-0019) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0013 location-0044) + (CONNECTED location-0028 location-0060) + (CONNECTED location-0003 location-0006) + (CONNECTED location-0000 location-0053) + (CONNECTED location-0002 location-0050) + (CONNECTED location-0012 location-0018) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0004 location-0023) + (CONNECTED location-0039 location-0053) + (CONNECTED location-0049 location-0055) + (CONNECTED location-0023 location-0045) + (CONNECTED location-0005 location-0039) + (CONNECTED location-0020 location-0058) + (CONNECTED location-0006 location-0013) + (CONNECTED location-0019 location-0032) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0013 location-0037) + (CONNECTED location-0018 location-0030) + (CONNECTED location-0019 location-0059) + (CONNECTED location-0051 location-0057) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0012 location-0029) + (CONNECTED location-0004 location-0043) + (CONNECTED location-0007 location-0060) + (CONNECTED location-0034 location-0053) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0016 location-0026) + (CONNECTED location-0009 location-0051) + (CONNECTED location-0008 location-0061) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0020 location-0035) + (CONNECTED location-0022 location-0032) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0006 location-0045) + (CONNECTED location-0004 location-0027) + (CONNECTED location-0003 location-0037) + (CONNECTED location-0029 location-0056) + (CONNECTED location-0001 location-0021) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0011 location-0032) + (CONNECTED location-0017 location-0048) + (CONNECTED location-0036 location-0061) + (CONNECTED location-0000 location-0041) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0022 location-0025) + (CONNECTED location-0011 location-0059) + (CONNECTED location-0015 location-0041) + (CONNECTED location-0021 location-0027) + (CONNECTED location-0009 location-0016) + (CONNECTED location-0026 location-0050) + (CONNECTED location-0014 location-0030) + (CONNECTED location-0023 location-0042) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0011 location-0025) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0010 location-0035) + (CONNECTED location-0000 location-0034) + (CONNECTED location-0030 location-0056) + (CONNECTED location-0009 location-0055) + (CONNECTED location-0051 location-0054) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0032 location-0059) + (CONNECTED location-0012 location-0035) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0028 location-0061) + (CONNECTED location-0006 location-0024) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0010 location-0012) + (CONNECTED location-0008 location-0024) + (CONNECTED location-0027 location-0037) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0019 location-0033) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0002 location-0026) + (CONNECTED location-0006 location-0008) + (CONNECTED location-0014 location-0055) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0007 location-0025) + (CONNECTED location-0052 location-0057) + (CONNECTED location-0006 location-0044) + (CONNECTED location-0016 location-0046) + (CONNECTED location-0016 location-0055) + (CONNECTED location-0039 location-0050) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0019 location-0035) + (CONNECTED location-0000 location-0040) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0001 location-0041) + (CONNECTED location-0013 location-0043) + (CONNECTED location-0010 location-0053) + (CONNECTED location-0024 location-0061) + (CONNECTED location-0025 location-0060) + (CONNECTED location-0031 location-0048) + (CONNECTED location-0008 location-0028) + (CONNECTED location-0017 location-0031) + (CONNECTED location-0037 location-0043) + (CONNECTED location-0005 location-0038) + (CONNECTED location-0017 location-0049) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0009 location-0054) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0024 location-0036) + (CONNECTED location-0018 location-0029) + (CONNECTED location-0019 location-0058) + (CONNECTED location-0004 location-0021) + (CONNECTED location-0026 location-0051) + (CONNECTED location-0002 location-0005) + (CONNECTED location-0040 location-0053) + (CONNECTED location-0004 location-0042) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0000 location-0001) + (CONNECTED location-0022 location-0031) + (CONNECTED location-0003 location-0036) + (CONNECTED location-0020 location-0061) + (CONNECTED location-0012 location-0057) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0021 location-0023) + (CONNECTED location-0018 location-0033) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0020 location-0036) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0046 location-0055) + (CONNECTED location-0023 location-0041) + (CONNECTED location-0000 location-0021) + (CONNECTED location-0029 location-0057) + (CONNECTED location-0014 location-0056) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + + (at robot-00 location-0024) + (battery robot-00 battery-0016) + (at robot-01 location-0052) + (battery robot-01 battery-0001) + (at robot-02 location-0029) + (battery robot-02 battery-0001) + + (GUARD-CONFIG config-00 location-0007) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0019) + (GUARD-CONFIG config-00 location-0022) + (GUARD-CONFIG config-00 location-0031) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0033) + (GUARD-CONFIG config-00 location-0059) + + (GUARD-CONFIG config-01 location-0002) + (GUARD-CONFIG config-01 location-0005) + (GUARD-CONFIG config-01 location-0009) + (GUARD-CONFIG config-01 location-0016) + (GUARD-CONFIG config-01 location-0026) + (GUARD-CONFIG config-01 location-0039) + (GUARD-CONFIG config-01 location-0050) + (GUARD-CONFIG config-01 location-0051) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p12.pddl b/recharging-robots-sat23-adl/p12.pddl new file mode 100644 index 00000000..55f52c86 --- /dev/null +++ b/recharging-robots-sat23-adl/p12.pddl @@ -0,0 +1,232 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1301 3 3 2 8 30 1 p12.pddl p12.plan +;; Random seed: 1301 +(define (problem recharging-robots-cover-robots3-areas2-1301-5965) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0004 location-0055) + (CONNECTED location-0032 location-0037) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0026 location-0039) + (CONNECTED location-0011 location-0051) + (CONNECTED location-0029 location-0032) + (CONNECTED location-0011 location-0060) + (CONNECTED location-0039 location-0042) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0011 location-0014) + (CONNECTED location-0020 location-0056) + (CONNECTED location-0022 location-0053) + (CONNECTED location-0013 location-0017) + (CONNECTED location-0025 location-0034) + (CONNECTED location-0008 location-0048) + (CONNECTED location-0001 location-0042) + (CONNECTED location-0012 location-0018) + (CONNECTED location-0003 location-0015) + (CONNECTED location-0022 location-0028) + (CONNECTED location-0000 location-0007) + (CONNECTED location-0003 location-0033) + (CONNECTED location-0014 location-0033) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0001 location-0026) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0010 location-0038) + (CONNECTED location-0018 location-0030) + (CONNECTED location-0005 location-0060) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0040 location-0045) + (CONNECTED location-0003 location-0026) + (CONNECTED location-0048 location-0058) + (CONNECTED location-0016 location-0017) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0007 location-0023) + (CONNECTED location-0018 location-0023) + (CONNECTED location-0027 location-0056) + (CONNECTED location-0002 location-0036) + (CONNECTED location-0003 location-0010) + (CONNECTED location-0021 location-0025) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0023 location-0031) + (CONNECTED location-0006 location-0054) + (CONNECTED location-0010 location-0015) + (CONNECTED location-0027 location-0040) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0025 location-0031) + (CONNECTED location-0001 location-0039) + (CONNECTED location-0010 location-0051) + (CONNECTED location-0009 location-0053) + (CONNECTED location-0011 location-0050) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0006 location-0029) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0023 location-0024) + (CONNECTED location-0043 location-0057) + (CONNECTED location-0031 location-0037) + (CONNECTED location-0038 location-0052) + (CONNECTED location-0014 location-0030) + (CONNECTED location-0049 location-0061) + (CONNECTED location-0013 location-0016) + (CONNECTED location-0017 location-0032) + (CONNECTED location-0002 location-0013) + (CONNECTED location-0010 location-0026) + (CONNECTED location-0000 location-0025) + (CONNECTED location-0028 location-0041) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0008 location-0047) + (CONNECTED location-0014 location-0060) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0005 location-0011) + (CONNECTED location-0004 location-0013) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0013 location-0055) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0027 location-0044) + (CONNECTED location-0005 location-0050) + (CONNECTED location-0028 location-0052) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0040 location-0044) + (CONNECTED location-0022 location-0041) + (CONNECTED location-0008 location-0024) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0017 location-0036) + (CONNECTED location-0009 location-0041) + (CONNECTED location-0002 location-0035) + (CONNECTED location-0006 location-0017) + (CONNECTED location-0009 location-0050) + (CONNECTED location-0005 location-0061) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0007 location-0025) + (CONNECTED location-0026 location-0038) + (CONNECTED location-0043 location-0054) + (CONNECTED location-0012 location-0030) + (CONNECTED location-0023 location-0030) + (CONNECTED location-0016 location-0055) + (CONNECTED location-0002 location-0019) + (CONNECTED location-0022 location-0052) + (CONNECTED location-0028 location-0038) + (CONNECTED location-0020 location-0055) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0012 location-0060) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0012 location-0014) + (CONNECTED location-0021 location-0035) + (CONNECTED location-0011 location-0015) + (CONNECTED location-0003 location-0032) + (CONNECTED location-0000 location-0024) + (CONNECTED location-0002 location-0021) + (CONNECTED location-0011 location-0033) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0015 location-0033) + (CONNECTED location-0013 location-0036) + (CONNECTED location-0001 location-0043) + (CONNECTED location-0044 location-0057) + (CONNECTED location-0015 location-0051) + (CONNECTED location-0008 location-0012) + (CONNECTED location-0039 location-0045) + (CONNECTED location-0001 location-0006) + (CONNECTED location-0019 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0006 location-0032) + (CONNECTED location-0007 location-0031) + (CONNECTED location-0024 location-0047) + (CONNECTED location-0001 location-0054) + (CONNECTED location-0031 location-0034) + (CONNECTED location-0048 location-0059) + (CONNECTED location-0009 location-0022) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0049 location-0058) + (CONNECTED location-0012 location-0048) + (CONNECTED location-0006 location-0016) + (CONNECTED location-0001 location-0029) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0007 location-0024) + (CONNECTED location-0027 location-0057) + (CONNECTED location-0004 location-0016) + (CONNECTED location-0020 location-0027) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0016 location-0054) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0038 location-0051) + (CONNECTED location-0003 location-0029) + (CONNECTED location-0000 location-0021) + (CONNECTED location-0017 location-0037) + (CONNECTED location-0012 location-0059) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + + (at robot-00 location-0037) + (battery robot-00 battery-0004) + (at robot-01 location-0024) + (battery robot-01 battery-0004) + (at robot-02 location-0013) + (battery robot-02 battery-0008) + + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0015) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0033) + + (GUARD-CONFIG config-01 location-0005) + (GUARD-CONFIG config-01 location-0008) + (GUARD-CONFIG config-01 location-0011) + (GUARD-CONFIG config-01 location-0012) + (GUARD-CONFIG config-01 location-0014) + (GUARD-CONFIG config-01 location-0018) + (GUARD-CONFIG config-01 location-0030) + (GUARD-CONFIG config-01 location-0047) + (GUARD-CONFIG config-01 location-0048) + (GUARD-CONFIG config-01 location-0049) + (GUARD-CONFIG config-01 location-0058) + (GUARD-CONFIG config-01 location-0059) + (GUARD-CONFIG config-01 location-0060) + (GUARD-CONFIG config-01 location-0061) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p13.pddl b/recharging-robots-sat23-adl/p13.pddl new file mode 100644 index 00000000..5f773302 --- /dev/null +++ b/recharging-robots-sat23-adl/p13.pddl @@ -0,0 +1,298 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1303 3 3 3 10 30 1 p13.pddl p13.plan +;; Random seed: 1303 +(define (problem recharging-robots-cover-robots3-areas3-1303-8712) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 location-0062 location-0063 location-0064 location-0065 location-0066 location-0067 location-0068 location-0069 - location + robot-00 robot-01 robot-02 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 - battery-level + config-00 config-01 config-02 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0067 location-0068) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0024 location-0042) + (CONNECTED location-0001 location-0049) + (CONNECTED location-0030 location-0064) + (CONNECTED location-0016 location-0047) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0066 location-0069) + (CONNECTED location-0028 location-0030) + (CONNECTED location-0012 location-0052) + (CONNECTED location-0001 location-0015) + (CONNECTED location-0027 location-0034) + (CONNECTED location-0010 location-0027) + (CONNECTED location-0053 location-0062) + (CONNECTED location-0007 location-0010) + (CONNECTED location-0047 location-0064) + (CONNECTED location-0033 location-0047) + (CONNECTED location-0011 location-0044) + (CONNECTED location-0017 location-0060) + (CONNECTED location-0005 location-0067) + (CONNECTED location-0042 location-0068) + (CONNECTED location-0000 location-0062) + (CONNECTED location-0006 location-0041) + (CONNECTED location-0023 location-0036) + (CONNECTED location-0020 location-0049) + (CONNECTED location-0004 location-0032) + (CONNECTED location-0029 location-0061) + (CONNECTED location-0006 location-0059) + (CONNECTED location-0013 location-0019) + (CONNECTED location-0015 location-0016) + (CONNECTED location-0019 location-0032) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0018 location-0021) + (CONNECTED location-0007 location-0021) + (CONNECTED location-0000 location-0055) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0000 location-0009) + (CONNECTED location-0029 location-0054) + (CONNECTED location-0024 location-0067) + (CONNECTED location-0003 location-0044) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0000 location-0039) + (CONNECTED location-0030 location-0052) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0022 location-0032) + (CONNECTED location-0021 location-0034) + (CONNECTED location-0023 location-0031) + (CONNECTED location-0009 location-0014) + (CONNECTED location-0029 location-0056) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0016 location-0019) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0037 location-0051) + (CONNECTED location-0009 location-0044) + (CONNECTED location-0025 location-0040) + (CONNECTED location-0010 location-0051) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0011 location-0050) + (CONNECTED location-0030 location-0063) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0006 location-0038) + (CONNECTED location-0006 location-0056) + (CONNECTED location-0039 location-0062) + (CONNECTED location-0017 location-0041) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0027 location-0051) + (CONNECTED location-0054 location-0069) + (CONNECTED location-0019 location-0047) + (CONNECTED location-0011 location-0043) + (CONNECTED location-0017 location-0059) + (CONNECTED location-0002 location-0040) + (CONNECTED location-0009 location-0055) + (CONNECTED location-0014 location-0069) + (CONNECTED location-0005 location-0066) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0004 location-0013) + (CONNECTED location-0004 location-0022) + (CONNECTED location-0017 location-0025) + (CONNECTED location-0001 location-0016) + (CONNECTED location-0011 location-0018) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0053 location-0063) + (CONNECTED location-0020 location-0060) + (CONNECTED location-0056 location-0059) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0003 location-0053) + (CONNECTED location-0045 location-0068) + (CONNECTED location-0003 location-0062) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0023 location-0028) + (CONNECTED location-0012 location-0028) + (CONNECTED location-0012 location-0037) + (CONNECTED location-0008 location-0024) + (CONNECTED location-0010 location-0021) + (CONNECTED location-0027 location-0037) + (CONNECTED location-0028 location-0036) + (CONNECTED location-0019 location-0033) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0064 location-0065) + (CONNECTED location-0002 location-0026) + (CONNECTED location-0040 location-0065) + (CONNECTED location-0000 location-0038) + (CONNECTED location-0003 location-0009) + (CONNECTED location-0020 location-0025) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0007 location-0034) + (CONNECTED location-0001 location-0048) + (CONNECTED location-0012 location-0030) + (CONNECTED location-0025 location-0049) + (CONNECTED location-0018 location-0043) + (CONNECTED location-0017 location-0020) + (CONNECTED location-0002 location-0065) + (CONNECTED location-0029 location-0058) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0054 location-0066) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0003 location-0011) + (CONNECTED location-0007 location-0027) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0041 location-0059) + (CONNECTED location-0026 location-0040) + (CONNECTED location-0004 location-0019) + (CONNECTED location-0026 location-0049) + (CONNECTED location-0016 location-0048) + (CONNECTED location-0033 location-0064) + (CONNECTED location-0042 location-0067) + (CONNECTED location-0000 location-0006) + (CONNECTED location-0001 location-0013) + (CONNECTED location-0028 location-0031) + (CONNECTED location-0062 location-0063) + (CONNECTED location-0017 location-0040) + (CONNECTED location-0003 location-0050) + (CONNECTED location-0037 location-0052) + (CONNECTED location-0009 location-0045) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0009 location-0054) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0014 location-0068) + (CONNECTED location-0008 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0010 location-0018) + (CONNECTED location-0068 location-0069) + (CONNECTED location-0062 location-0065) + (CONNECTED location-0063 location-0064) + (CONNECTED location-0056 location-0058) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0052 location-0063) + (CONNECTED location-0000 location-0056) + (CONNECTED location-0022 location-0031) + (CONNECTED location-0009 location-0068) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0005 location-0024) + (CONNECTED location-0039 location-0065) + (CONNECTED location-0013 location-0022) + (CONNECTED location-0015 location-0019) + (CONNECTED location-0014 location-0054) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0010 location-0050) + (CONNECTED location-0026 location-0046) + (CONNECTED location-0002 location-0046) + (CONNECTED location-0005 location-0008) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0000 location-0003) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0002 location-0064) + (CONNECTED location-0066 location-0067) + (CONNECTED location-0046 location-0064) + (CONNECTED location-0029 location-0057) + (CONNECTED location-0028 location-0037) + (CONNECTED location-0013 location-0015) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + + (at robot-00 location-0039) + (battery robot-00 battery-0002) + (at robot-01 location-0052) + (battery robot-01 battery-0002) + (at robot-02 location-0050) + (battery robot-02 battery-0029) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0042) + (GUARD-CONFIG config-00 location-0043) + (GUARD-CONFIG config-00 location-0044) + (GUARD-CONFIG config-00 location-0045) + (GUARD-CONFIG config-00 location-0054) + (GUARD-CONFIG config-00 location-0055) + (GUARD-CONFIG config-00 location-0066) + (GUARD-CONFIG config-00 location-0067) + (GUARD-CONFIG config-00 location-0068) + (GUARD-CONFIG config-00 location-0069) + + (GUARD-CONFIG config-01 location-0000) + (GUARD-CONFIG config-01 location-0006) + (GUARD-CONFIG config-01 location-0017) + (GUARD-CONFIG config-01 location-0020) + (GUARD-CONFIG config-01 location-0025) + (GUARD-CONFIG config-01 location-0029) + (GUARD-CONFIG config-01 location-0038) + (GUARD-CONFIG config-01 location-0040) + (GUARD-CONFIG config-01 location-0041) + (GUARD-CONFIG config-01 location-0055) + (GUARD-CONFIG config-01 location-0056) + (GUARD-CONFIG config-01 location-0057) + (GUARD-CONFIG config-01 location-0058) + (GUARD-CONFIG config-01 location-0059) + (GUARD-CONFIG config-01 location-0060) + (GUARD-CONFIG config-01 location-0061) + + (GUARD-CONFIG config-02 location-0001) + (GUARD-CONFIG config-02 location-0002) + (GUARD-CONFIG config-02 location-0004) + (GUARD-CONFIG config-02 location-0013) + (GUARD-CONFIG config-02 location-0015) + (GUARD-CONFIG config-02 location-0016) + (GUARD-CONFIG config-02 location-0019) + (GUARD-CONFIG config-02 location-0020) + (GUARD-CONFIG config-02 location-0025) + (GUARD-CONFIG config-02 location-0026) + (GUARD-CONFIG config-02 location-0033) + (GUARD-CONFIG config-02 location-0046) + (GUARD-CONFIG config-02 location-0047) + (GUARD-CONFIG config-02 location-0048) + (GUARD-CONFIG config-02 location-0049) + (GUARD-CONFIG config-02 location-0064) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + (config-fullfilled config-02) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p14.pddl b/recharging-robots-sat23-adl/p14.pddl new file mode 100644 index 00000000..17e80e25 --- /dev/null +++ b/recharging-robots-sat23-adl/p14.pddl @@ -0,0 +1,216 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1307 4 2 1 8 30 1 p14.pddl p14.plan +;; Random seed: 1307 +(define (problem recharging-robots-cover-robots4-areas1-1307-8070) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0047 location-0053) + (CONNECTED location-0007 location-0017) + (CONNECTED location-0026 location-0030) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0024 location-0042) + (CONNECTED location-0028 location-0058) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0014 location-0022) + (CONNECTED location-0005 location-0019) + (CONNECTED location-0000 location-0005) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0023 location-0034) + (CONNECTED location-0014 location-0031) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0001 location-0024) + (CONNECTED location-0041 location-0051) + (CONNECTED location-0002 location-0032) + (CONNECTED location-0008 location-0048) + (CONNECTED location-0010 location-0045) + (CONNECTED location-0013 location-0044) + (CONNECTED location-0007 location-0037) + (CONNECTED location-0038 location-0055) + (CONNECTED location-0015 location-0053) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0016 location-0024) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0050 location-0056) + (CONNECTED location-0001 location-0044) + (CONNECTED location-0008 location-0059) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0014 location-0017) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0015 location-0046) + (CONNECTED location-0003 location-0026) + (CONNECTED location-0004 location-0025) + (CONNECTED location-0023 location-0047) + (CONNECTED location-0053 location-0057) + (CONNECTED location-0013 location-0021) + (CONNECTED location-0000 location-0030) + (CONNECTED location-0028 location-0046) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0019 location-0052) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0008 location-0061) + (CONNECTED location-0012 location-0022) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0003 location-0019) + (CONNECTED location-0004 location-0018) + (CONNECTED location-0005 location-0025) + (CONNECTED location-0015 location-0057) + (CONNECTED location-0049 location-0059) + (CONNECTED location-0001 location-0012) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0002 location-0020) + (CONNECTED location-0047 location-0052) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0025 location-0040) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0005 location-0018) + (CONNECTED location-0034 location-0048) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0010 location-0044) + (CONNECTED location-0028 location-0059) + (CONNECTED location-0009 location-0055) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0029 location-0033) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0023 location-0026) + (CONNECTED location-0006 location-0040) + (CONNECTED location-0003 location-0023) + (CONNECTED location-0023 location-0035) + (CONNECTED location-0014 location-0032) + (CONNECTED location-0040 location-0051) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0007 location-0011) + (CONNECTED location-0011 location-0036) + (CONNECTED location-0002 location-0033) + (CONNECTED location-0009 location-0057) + (CONNECTED location-0041 location-0055) + (CONNECTED location-0029 location-0035) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0020 location-0032) + (CONNECTED location-0021 location-0031) + (CONNECTED location-0004 location-0024) + (CONNECTED location-0006 location-0051) + (CONNECTED location-0017 location-0027) + (CONNECTED location-0010 location-0021) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0002 location-0017) + (CONNECTED location-0011 location-0029) + (CONNECTED location-0037 location-0048) + (CONNECTED location-0019 location-0051) + (CONNECTED location-0026 location-0029) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0005 location-0006) + (CONNECTED location-0018 location-0025) + (CONNECTED location-0017 location-0020) + (CONNECTED location-0019 location-0026) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0006 location-0019) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0012 location-0014) + (CONNECTED location-0029 location-0030) + (CONNECTED location-0041 location-0050) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0007 location-0036) + (CONNECTED location-0018 location-0045) + (CONNECTED location-0015 location-0058) + (CONNECTED location-0027 location-0032) + (CONNECTED location-0012 location-0044) + (CONNECTED location-0008 location-0037) + (CONNECTED location-0011 location-0033) + (CONNECTED location-0028 location-0049) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0009 location-0054) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0001 location-0043) + (CONNECTED location-0010 location-0018) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0000 location-0026) + (CONNECTED location-0004 location-0042) + (CONNECTED location-0009 location-0038) + (CONNECTED location-0011 location-0035) + (CONNECTED location-0003 location-0052) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0050 location-0057) + (CONNECTED location-0026 location-0035) + (CONNECTED location-0021 location-0030) + (CONNECTED location-0008 location-0060) + (CONNECTED location-0046 location-0053) + (CONNECTED location-0022 location-0031) + (CONNECTED location-0014 location-0027) + (CONNECTED location-0000 location-0010) + (CONNECTED location-0048 location-0059) + (CONNECTED location-0002 location-0007) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0023 location-0048) + (CONNECTED location-0013 location-0022) + (CONNECTED location-0013 location-0031) + (CONNECTED location-0015 location-0028) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0006 location-0025) + (CONNECTED location-0041 location-0056) + (CONNECTED location-0025 location-0039) + (CONNECTED location-0004 location-0016) + (CONNECTED location-0007 location-0033) + (CONNECTED location-0018 location-0042) + (CONNECTED location-0020 location-0027) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0000 location-0021) + (CONNECTED location-0003 location-0047) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + + (at robot-00 location-0020) + (battery robot-00 battery-0004) + (at robot-01 location-0018) + (battery robot-01 battery-0009) + (at robot-02 location-0035) + (battery robot-02 battery-0003) + (at robot-03 location-0000) + (battery robot-03 battery-0000) + + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0015) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0050) + (GUARD-CONFIG config-00 location-0053) + (GUARD-CONFIG config-00 location-0054) + (GUARD-CONFIG config-00 location-0056) + (GUARD-CONFIG config-00 location-0057) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p15.pddl b/recharging-robots-sat23-adl/p15.pddl new file mode 100644 index 00000000..23c71fcd --- /dev/null +++ b/recharging-robots-sat23-adl/p15.pddl @@ -0,0 +1,234 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1319 4 4 1 8 30 1 p15.pddl p15.plan +;; Random seed: 1319 +(define (problem recharging-robots-cover-robots4-areas1-1319-6386) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0008 location-0046) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0042 location-0048) + (CONNECTED location-0026 location-0039) + (CONNECTED location-0041 location-0058) + (CONNECTED location-0007 location-0026) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0022 location-0026) + (CONNECTED location-0038 location-0044) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0023 location-0025) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0040 location-0059) + (CONNECTED location-0006 location-0057) + (CONNECTED location-0004 location-0039) + (CONNECTED location-0003 location-0040) + (CONNECTED location-0014 location-0049) + (CONNECTED location-0010 location-0027) + (CONNECTED location-0012 location-0061) + (CONNECTED location-0016 location-0031) + (CONNECTED location-0010 location-0045) + (CONNECTED location-0018 location-0037) + (CONNECTED location-0012 location-0018) + (CONNECTED location-0005 location-0021) + (CONNECTED location-0012 location-0036) + (CONNECTED location-0004 location-0032) + (CONNECTED location-0010 location-0020) + (CONNECTED location-0006 location-0013) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0027 location-0045) + (CONNECTED location-0024 location-0028) + (CONNECTED location-0017 location-0044) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0011 location-0037) + (CONNECTED location-0000 location-0046) + (CONNECTED location-0011 location-0055) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0005 location-0014) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0022 location-0039) + (CONNECTED location-0036 location-0041) + (CONNECTED location-0013 location-0021) + (CONNECTED location-0015 location-0018) + (CONNECTED location-0034 location-0053) + (CONNECTED location-0024 location-0030) + (CONNECTED location-0019 location-0043) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0030 location-0043) + (CONNECTED location-0010 location-0049) + (CONNECTED location-0044 location-0051) + (CONNECTED location-0009 location-0060) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0022 location-0032) + (CONNECTED location-0015 location-0057) + (CONNECTED location-0001 location-0003) + (CONNECTED location-0029 location-0056) + (CONNECTED location-0023 location-0040) + (CONNECTED location-0006 location-0054) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0007 location-0016) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0027 location-0049) + (CONNECTED location-0042 location-0047) + (CONNECTED location-0036 location-0061) + (CONNECTED location-0025 location-0040) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0035 location-0053) + (CONNECTED location-0038 location-0052) + (CONNECTED location-0004 location-0038) + (CONNECTED location-0045 location-0048) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0011 location-0034) + (CONNECTED location-0016 location-0030) + (CONNECTED location-0020 location-0021) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0023 location-0026) + (CONNECTED location-0004 location-0022) + (CONNECTED location-0013 location-0055) + (CONNECTED location-0045 location-0050) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0025 location-0026) + (CONNECTED location-0017 location-0043) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0007 location-0032) + (CONNECTED location-0003 location-0025) + (CONNECTED location-0012 location-0037) + (CONNECTED location-0004 location-0033) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0002 location-0008) + (CONNECTED location-0019 location-0024) + (CONNECTED location-0010 location-0021) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0020 location-0053) + (CONNECTED location-0014 location-0046) + (CONNECTED location-0036 location-0058) + (CONNECTED location-0019 location-0042) + (CONNECTED location-0000 location-0047) + (CONNECTED location-0015 location-0029) + (CONNECTED location-0003 location-0009) + (CONNECTED location-0005 location-0006) + (CONNECTED location-0009 location-0059) + (CONNECTED location-0035 location-0041) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0004 location-0017) + (CONNECTED location-0011 location-0013) + (CONNECTED location-0018 location-0061) + (CONNECTED location-0017 location-0038) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0028 location-0047) + (CONNECTED location-0013 location-0034) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0009 location-0061) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0041 location-0059) + (CONNECTED location-0035 location-0052) + (CONNECTED location-0019 location-0028) + (CONNECTED location-0000 location-0024) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0006 location-0021) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0018 location-0029) + (CONNECTED location-0013 location-0054) + (CONNECTED location-0000 location-0008) + (CONNECTED location-0002 location-0005) + (CONNECTED location-0018 location-0056) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0002 location-0014) + (CONNECTED location-0017 location-0033) + (CONNECTED location-0020 location-0050) + (CONNECTED location-0028 location-0042) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0005 location-0049) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0035 location-0038) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0007 location-0031) + (CONNECTED location-0011 location-0056) + (CONNECTED location-0020 location-0034) + (CONNECTED location-0023 location-0039) + (CONNECTED location-0045 location-0051) + (CONNECTED location-0000 location-0028) + (CONNECTED location-0009 location-0040) + (CONNECTED location-0037 location-0056) + (CONNECTED location-0027 location-0048) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0033 location-0043) + (CONNECTED location-0010 location-0050) + (CONNECTED location-0002 location-0046) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0038 location-0051) + (CONNECTED location-0029 location-0057) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + + (at robot-00 location-0022) + (battery robot-00 battery-0004) + (at robot-01 location-0035) + (battery robot-01 battery-0007) + (at robot-02 location-0056) + (battery robot-02 battery-0006) + (at robot-03 location-0036) + (battery robot-03 battery-0005) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0008) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0013) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0019) + (GUARD-CONFIG config-00 location-0021) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0027) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0042) + (GUARD-CONFIG config-00 location-0043) + (GUARD-CONFIG config-00 location-0046) + (GUARD-CONFIG config-00 location-0047) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0049) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p16.pddl b/recharging-robots-sat23-adl/p16.pddl new file mode 100644 index 00000000..e6cf2fef --- /dev/null +++ b/recharging-robots-sat23-adl/p16.pddl @@ -0,0 +1,272 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1321 4 4 2 8 30 1 p16.pddl p16.plan +;; Random seed: 1321 +(define (problem recharging-robots-cover-robots4-areas2-1321-9679) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 battery-0034 battery-0035 battery-0036 battery-0037 battery-0038 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0032 location-0037) + (CONNECTED location-0016 location-0029) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0027 location-0059) + (CONNECTED location-0035 location-0042) + (CONNECTED location-0022 location-0026) + (CONNECTED location-0012 location-0025) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0008 location-0018) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0022 location-0035) + (CONNECTED location-0014 location-0040) + (CONNECTED location-0021 location-0055) + (CONNECTED location-0008 location-0039) + (CONNECTED location-0017 location-0051) + (CONNECTED location-0016 location-0031) + (CONNECTED location-0007 location-0028) + (CONNECTED location-0033 location-0047) + (CONNECTED location-0002 location-0041) + (CONNECTED location-0019 location-0057) + (CONNECTED location-0025 location-0052) + (CONNECTED location-0003 location-0033) + (CONNECTED location-0013 location-0019) + (CONNECTED location-0008 location-0032) + (CONNECTED location-0007 location-0012) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0016 location-0024) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0000 location-0046) + (CONNECTED location-0030 location-0059) + (CONNECTED location-0010 location-0056) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0005 location-0014) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0005 location-0023) + (CONNECTED location-0046 location-0061) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0001 location-0010) + (CONNECTED location-0024 location-0030) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0019 location-0052) + (CONNECTED location-0012 location-0013) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0002 location-0054) + (CONNECTED location-0049 location-0050) + (CONNECTED location-0003 location-0028) + (CONNECTED location-0009 location-0014) + (CONNECTED location-0001 location-0021) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0002 location-0020) + (CONNECTED location-0008 location-0036) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0017 location-0048) + (CONNECTED location-0028 location-0048) + (CONNECTED location-0047 location-0061) + (CONNECTED location-0027 location-0058) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0029 location-0031) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0031 location-0037) + (CONNECTED location-0015 location-0050) + (CONNECTED location-0001 location-0005) + (CONNECTED location-0019 location-0020) + (CONNECTED location-0002 location-0013) + (CONNECTED location-0036 location-0045) + (CONNECTED location-0001 location-0023) + (CONNECTED location-0008 location-0038) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0011 location-0034) + (CONNECTED location-0030 location-0047) + (CONNECTED location-0016 location-0030) + (CONNECTED location-0002 location-0040) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0012 location-0017) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0000 location-0061) + (CONNECTED location-0026 location-0043) + (CONNECTED location-0004 location-0022) + (CONNECTED location-0018 location-0039) + (CONNECTED location-0007 location-0048) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0000 location-0027) + (CONNECTED location-0003 location-0007) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0007 location-0041) + (CONNECTED location-0021 location-0040) + (CONNECTED location-0001 location-0009) + (CONNECTED location-0010 location-0021) + (CONNECTED location-0009 location-0023) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0011 location-0029) + (CONNECTED location-0005 location-0006) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0013 location-0041) + (CONNECTED location-0052 location-0057) + (CONNECTED location-0014 location-0018) + (CONNECTED location-0004 location-0026) + (CONNECTED location-0024 location-0059) + (CONNECTED location-0004 location-0035) + (CONNECTED location-0022 location-0034) + (CONNECTED location-0036 location-0042) + (CONNECTED location-0014 location-0039) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0012 location-0051) + (CONNECTED location-0011 location-0031) + (CONNECTED location-0005 location-0045) + (CONNECTED location-0028 location-0047) + (CONNECTED location-0013 location-0025) + (CONNECTED location-0032 location-0038) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0018 location-0036) + (CONNECTED location-0015 location-0049) + (CONNECTED location-0025 location-0051) + (CONNECTED location-0018 location-0045) + (CONNECTED location-0003 location-0032) + (CONNECTED location-0020 location-0057) + (CONNECTED location-0008 location-0037) + (CONNECTED location-0021 location-0056) + (CONNECTED location-0017 location-0049) + (CONNECTED location-0024 location-0027) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0026 location-0042) + (CONNECTED location-0007 location-0038) + (CONNECTED location-0015 location-0051) + (CONNECTED location-0022 location-0029) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0028 location-0033) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0015 location-0017) + (CONNECTED location-0006 location-0014) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0007 location-0013) + (CONNECTED location-0024 location-0029) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0026 location-0035) + (CONNECTED location-0026 location-0044) + (CONNECTED location-0030 location-0060) + (CONNECTED location-0031 location-0034) + (CONNECTED location-0040 location-0055) + (CONNECTED location-0012 location-0048) + (CONNECTED location-0014 location-0045) + (CONNECTED location-0009 location-0040) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0047 location-0060) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0000 location-0058) + (CONNECTED location-0002 location-0055) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0019 location-0025) + (CONNECTED location-0003 location-0038) + (CONNECTED location-0020 location-0054) + (CONNECTED location-0005 location-0044) + (CONNECTED location-0006 location-0009) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + (BATTERY-PREDECESSOR battery-0033 battery-0034) + (BATTERY-PREDECESSOR battery-0034 battery-0035) + (BATTERY-PREDECESSOR battery-0035 battery-0036) + (BATTERY-PREDECESSOR battery-0036 battery-0037) + (BATTERY-PREDECESSOR battery-0037 battery-0038) + + (at robot-00 location-0060) + (battery robot-00 battery-0021) + (at robot-01 location-0024) + (battery robot-01 battery-0006) + (at robot-02 location-0043) + (battery robot-02 battery-0007) + (at robot-03 location-0021) + (battery robot-03 battery-0004) + + (GUARD-CONFIG config-00 location-0001) + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0006) + (GUARD-CONFIG config-00 location-0008) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0037) + (GUARD-CONFIG config-00 location-0038) + (GUARD-CONFIG config-00 location-0039) + (GUARD-CONFIG config-00 location-0040) + (GUARD-CONFIG config-00 location-0042) + (GUARD-CONFIG config-00 location-0044) + (GUARD-CONFIG config-00 location-0045) + + (GUARD-CONFIG config-01 location-0000) + (GUARD-CONFIG config-01 location-0007) + (GUARD-CONFIG config-01 location-0012) + (GUARD-CONFIG config-01 location-0013) + (GUARD-CONFIG config-01 location-0015) + (GUARD-CONFIG config-01 location-0017) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0025) + (GUARD-CONFIG config-01 location-0028) + (GUARD-CONFIG config-01 location-0046) + (GUARD-CONFIG config-01 location-0047) + (GUARD-CONFIG config-01 location-0048) + (GUARD-CONFIG config-01 location-0049) + (GUARD-CONFIG config-01 location-0050) + (GUARD-CONFIG config-01 location-0051) + (GUARD-CONFIG config-01 location-0052) + (GUARD-CONFIG config-01 location-0053) + (GUARD-CONFIG config-01 location-0057) + (GUARD-CONFIG config-01 location-0061) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p17.pddl b/recharging-robots-sat23-adl/p17.pddl new file mode 100644 index 00000000..a3c69cde --- /dev/null +++ b/recharging-robots-sat23-adl/p17.pddl @@ -0,0 +1,235 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1327 5 3 1 8 30 1 p17.pddl p17.plan +;; Random seed: 1327 +(define (problem recharging-robots-cover-robots5-areas1-1327-9729) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 robot-04 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 - battery-level + config-00 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0006 location-0018) + (CONNECTED location-0047 location-0053) + (CONNECTED location-0027 location-0050) + (CONNECTED location-0015 location-0030) + (CONNECTED location-0026 location-0030) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0002 location-0048) + (CONNECTED location-0029 location-0032) + (CONNECTED location-0005 location-0010) + (CONNECTED location-0000 location-0005) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0004 location-0030) + (CONNECTED location-0039 location-0060) + (CONNECTED location-0015 location-0060) + (CONNECTED location-0009 location-0035) + (CONNECTED location-0001 location-0015) + (CONNECTED location-0030 location-0039) + (CONNECTED location-0025 location-0034) + (CONNECTED location-0028 location-0051) + (CONNECTED location-0024 location-0044) + (CONNECTED location-0025 location-0061) + (CONNECTED location-0003 location-0024) + (CONNECTED location-0012 location-0027) + (CONNECTED location-0000 location-0016) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0033 location-0040) + (CONNECTED location-0019 location-0050) + (CONNECTED location-0010 location-0056) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0012 location-0029) + (CONNECTED location-0003 location-0044) + (CONNECTED location-0010 location-0022) + (CONNECTED location-0047 location-0050) + (CONNECTED location-0027 location-0047) + (CONNECTED location-0017 location-0046) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0018 location-0023) + (CONNECTED location-0008 location-0052) + (CONNECTED location-0005 location-0007) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0035 location-0060) + (CONNECTED location-0026 location-0057) + (CONNECTED location-0012 location-0040) + (CONNECTED location-0021 location-0052) + (CONNECTED location-0019 location-0027) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0004 location-0054) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0000 location-0032) + (CONNECTED location-0008 location-0045) + (CONNECTED location-0014 location-0058) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0004 location-0011) + (CONNECTED location-0003 location-0021) + (CONNECTED location-0020 location-0037) + (CONNECTED location-0048 location-0053) + (CONNECTED location-0032 location-0057) + (CONNECTED location-0029 location-0040) + (CONNECTED location-0021 location-0045) + (CONNECTED location-0015 location-0059) + (CONNECTED location-0001 location-0023) + (CONNECTED location-0017 location-0041) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0002 location-0049) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0029 location-0033) + (CONNECTED location-0013 location-0046) + (CONNECTED location-0014 location-0023) + (CONNECTED location-0011 location-0018) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0025 location-0035) + (CONNECTED location-0011 location-0054) + (CONNECTED location-0012 location-0019) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0004 location-0015) + (CONNECTED location-0014 location-0025) + (CONNECTED location-0026 location-0054) + (CONNECTED location-0017 location-0027) + (CONNECTED location-0001 location-0018) + (CONNECTED location-0017 location-0036) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0000 location-0029) + (CONNECTED location-0005 location-0043) + (CONNECTED location-0008 location-0042) + (CONNECTED location-0023 location-0058) + (CONNECTED location-0009 location-0041) + (CONNECTED location-0019 location-0051) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0007 location-0043) + (CONNECTED location-0004 location-0026) + (CONNECTED location-0025 location-0058) + (CONNECTED location-0017 location-0020) + (CONNECTED location-0001 location-0011) + (CONNECTED location-0020 location-0046) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0017 location-0047) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0026 location-0031) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0035 location-0061) + (CONNECTED location-0001 location-0059) + (CONNECTED location-0016 location-0057) + (CONNECTED location-0010 location-0016) + (CONNECTED location-0011 location-0015) + (CONNECTED location-0008 location-0028) + (CONNECTED location-0019 location-0028) + (CONNECTED location-0002 location-0021) + (CONNECTED location-0031 location-0057) + (CONNECTED location-0009 location-0036) + (CONNECTED location-0000 location-0042) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0033 location-0039) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0016 location-0032) + (CONNECTED location-0005 location-0022) + (CONNECTED location-0008 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0014 location-0034) + (CONNECTED location-0028 location-0042) + (CONNECTED location-0022 location-0056) + (CONNECTED location-0009 location-0038) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0006 location-0014) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0006 location-0023) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0007 location-0022) + (CONNECTED location-0035 location-0038) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0008 location-0051) + (CONNECTED location-0030 location-0060) + (CONNECTED location-0010 location-0057) + (CONNECTED location-0002 location-0053) + (CONNECTED location-0000 location-0010) + (CONNECTED location-0000 location-0019) + (CONNECTED location-0003 location-0045) + (CONNECTED location-0005 location-0042) + (CONNECTED location-0000 location-0028) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0013 location-0049) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0020 location-0036) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0000 location-0012) + (CONNECTED location-0038 location-0060) + (CONNECTED location-0012 location-0041) + (CONNECTED location-0021 location-0053) + (CONNECTED location-0023 location-0059) + (CONNECTED location-0027 location-0041) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + + (at robot-00 location-0044) + (battery robot-00 battery-0007) + (at robot-01 location-0051) + (battery robot-01 battery-0003) + (at robot-02 location-0001) + (battery robot-02 battery-0006) + (at robot-03 location-0006) + (battery robot-03 battery-0006) + (at robot-04 location-0043) + (battery robot-04 battery-0001) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0012) + (GUARD-CONFIG config-00 location-0016) + (GUARD-CONFIG config-00 location-0019) + (GUARD-CONFIG config-00 location-0026) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0029) + (GUARD-CONFIG config-00 location-0030) + (GUARD-CONFIG config-00 location-0031) + (GUARD-CONFIG config-00 location-0032) + (GUARD-CONFIG config-00 location-0033) + (GUARD-CONFIG config-00 location-0039) + (GUARD-CONFIG config-00 location-0040) + (GUARD-CONFIG config-00 location-0042) + (GUARD-CONFIG config-00 location-0054) + (GUARD-CONFIG config-00 location-0056) + (GUARD-CONFIG config-00 location-0057) + +) +(:goal + (and + (config-fullfilled config-00) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p18.pddl b/recharging-robots-sat23-adl/p18.pddl new file mode 100644 index 00000000..fc8ec2c1 --- /dev/null +++ b/recharging-robots-sat23-adl/p18.pddl @@ -0,0 +1,294 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1361 5 5 2 8 30 1 p18.pddl p18.plan +;; Random seed: 1361 +(define (problem recharging-robots-cover-robots5-areas2-1361-7142) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 robot-04 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 battery-0034 battery-0035 battery-0036 battery-0037 battery-0038 battery-0039 battery-0040 battery-0041 battery-0042 battery-0043 battery-0044 battery-0045 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0015 location-0021) + (CONNECTED location-0010 location-0034) + (CONNECTED location-0027 location-0050) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0018 location-0026) + (CONNECTED location-0003 location-0013) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0004 location-0030) + (CONNECTED location-0009 location-0026) + (CONNECTED location-0011 location-0023) + (CONNECTED location-0005 location-0037) + (CONNECTED location-0024 location-0026) + (CONNECTED location-0033 location-0038) + (CONNECTED location-0013 location-0035) + (CONNECTED location-0024 location-0044) + (CONNECTED location-0019 location-0057) + (CONNECTED location-0007 location-0037) + (CONNECTED location-0016 location-0049) + (CONNECTED location-0004 location-0023) + (CONNECTED location-0031 location-0049) + (CONNECTED location-0029 location-0061) + (CONNECTED location-0010 location-0020) + (CONNECTED location-0014 location-0051) + (CONNECTED location-0001 location-0017) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0002 location-0025) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0004 location-0059) + (CONNECTED location-0025 location-0036) + (CONNECTED location-0011 location-0046) + (CONNECTED location-0008 location-0059) + (CONNECTED location-0030 location-0059) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0023 location-0029) + (CONNECTED location-0009 location-0012) + (CONNECTED location-0009 location-0021) + (CONNECTED location-0003 location-0035) + (CONNECTED location-0006 location-0061) + (CONNECTED location-0027 location-0047) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0000 location-0002) + (CONNECTED location-0005 location-0025) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0028 location-0039) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0016 location-0028) + (CONNECTED location-0042 location-0056) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0005 location-0009) + (CONNECTED location-0020 location-0028) + (CONNECTED location-0004 location-0011) + (CONNECTED location-0012 location-0024) + (CONNECTED location-0006 location-0038) + (CONNECTED location-0048 location-0053) + (CONNECTED location-0013 location-0053) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0021 location-0045) + (CONNECTED location-0028 location-0032) + (CONNECTED location-0008 location-0029) + (CONNECTED location-0000 location-0025) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0022 location-0055) + (CONNECTED location-0027 location-0051) + (CONNECTED location-0003 location-0051) + (CONNECTED location-0019 location-0056) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0012 location-0026) + (CONNECTED location-0007 location-0039) + (CONNECTED location-0004 location-0031) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0010 location-0028) + (CONNECTED location-0000 location-0036) + (CONNECTED location-0017 location-0061) + (CONNECTED location-0006 location-0033) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0015 location-0045) + (CONNECTED location-0033 location-0060) + (CONNECTED location-0018 location-0041) + (CONNECTED location-0001 location-0055) + (CONNECTED location-0022 location-0041) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0017 location-0054) + (CONNECTED location-0006 location-0017) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0012 location-0021) + (CONNECTED location-0007 location-0034) + (CONNECTED location-0018 location-0043) + (CONNECTED location-0015 location-0056) + (CONNECTED location-0022 location-0043) + (CONNECTED location-0029 location-0058) + (CONNECTED location-0028 location-0038) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0011 location-0031) + (CONNECTED location-0032 location-0038) + (CONNECTED location-0013 location-0034) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0011 location-0049) + (CONNECTED location-0024 location-0043) + (CONNECTED location-0026 location-0040) + (CONNECTED location-0010 location-0053) + (CONNECTED location-0013 location-0052) + (CONNECTED location-0016 location-0048) + (CONNECTED location-0020 location-0039) + (CONNECTED location-0010 location-0016) + (CONNECTED location-0012 location-0044) + (CONNECTED location-0041 location-0043) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0007 location-0020) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0032 location-0049) + (CONNECTED location-0016 location-0032) + (CONNECTED location-0015 location-0042) + (CONNECTED location-0008 location-0058) + (CONNECTED location-0001 location-0006) + (CONNECTED location-0002 location-0005) + (CONNECTED location-0019 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0022 location-0038) + (CONNECTED location-0023 location-0046) + (CONNECTED location-0006 location-0060) + (CONNECTED location-0003 location-0052) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0025 location-0037) + (CONNECTED location-0010 location-0048) + (CONNECTED location-0030 location-0060) + (CONNECTED location-0007 location-0040) + (CONNECTED location-0001 location-0054) + (CONNECTED location-0018 location-0040) + (CONNECTED location-0020 location-0034) + (CONNECTED location-0048 location-0050) + (CONNECTED location-0014 location-0027) + (CONNECTED location-0008 location-0023) + (CONNECTED location-0003 location-0036) + (CONNECTED location-0015 location-0019) + (CONNECTED location-0027 location-0048) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0018 location-0024) + (CONNECTED location-0001 location-0038) + (CONNECTED location-0026 location-0037) + (CONNECTED location-0042 location-0055) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0002 location-0009) + (CONNECTED location-0005 location-0026) + (CONNECTED location-0021 location-0044) + (CONNECTED location-0022 location-0042) + (CONNECTED location-0037 location-0040) + (CONNECTED location-0014 location-0047) + (CONNECTED location-0023 location-0059) + (CONNECTED location-0001 location-0022) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + (BATTERY-PREDECESSOR battery-0033 battery-0034) + (BATTERY-PREDECESSOR battery-0034 battery-0035) + (BATTERY-PREDECESSOR battery-0035 battery-0036) + (BATTERY-PREDECESSOR battery-0036 battery-0037) + (BATTERY-PREDECESSOR battery-0037 battery-0038) + (BATTERY-PREDECESSOR battery-0038 battery-0039) + (BATTERY-PREDECESSOR battery-0039 battery-0040) + (BATTERY-PREDECESSOR battery-0040 battery-0041) + (BATTERY-PREDECESSOR battery-0041 battery-0042) + (BATTERY-PREDECESSOR battery-0042 battery-0043) + (BATTERY-PREDECESSOR battery-0043 battery-0044) + (BATTERY-PREDECESSOR battery-0044 battery-0045) + + (at robot-00 location-0045) + (battery robot-00 battery-0001) + (at robot-01 location-0026) + (battery robot-01 battery-0002) + (at robot-02 location-0056) + (battery robot-02 battery-0002) + (at robot-03 location-0054) + (battery robot-03 battery-0027) + (at robot-04 location-0021) + (battery robot-04 battery-0013) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0002) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0005) + (GUARD-CONFIG config-00 location-0007) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0013) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0016) + (GUARD-CONFIG config-00 location-0020) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0027) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0034) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0037) + (GUARD-CONFIG config-00 location-0047) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0049) + (GUARD-CONFIG config-00 location-0050) + (GUARD-CONFIG config-00 location-0051) + (GUARD-CONFIG config-00 location-0052) + (GUARD-CONFIG config-00 location-0053) + + (GUARD-CONFIG config-01 location-0001) + (GUARD-CONFIG config-01 location-0004) + (GUARD-CONFIG config-01 location-0006) + (GUARD-CONFIG config-01 location-0007) + (GUARD-CONFIG config-01 location-0008) + (GUARD-CONFIG config-01 location-0010) + (GUARD-CONFIG config-01 location-0011) + (GUARD-CONFIG config-01 location-0016) + (GUARD-CONFIG config-01 location-0017) + (GUARD-CONFIG config-01 location-0022) + (GUARD-CONFIG config-01 location-0023) + (GUARD-CONFIG config-01 location-0028) + (GUARD-CONFIG config-01 location-0029) + (GUARD-CONFIG config-01 location-0030) + (GUARD-CONFIG config-01 location-0031) + (GUARD-CONFIG config-01 location-0032) + (GUARD-CONFIG config-01 location-0033) + (GUARD-CONFIG config-01 location-0038) + (GUARD-CONFIG config-01 location-0039) + (GUARD-CONFIG config-01 location-0041) + (GUARD-CONFIG config-01 location-0046) + (GUARD-CONFIG config-01 location-0048) + (GUARD-CONFIG config-01 location-0049) + (GUARD-CONFIG config-01 location-0058) + (GUARD-CONFIG config-01 location-0059) + (GUARD-CONFIG config-01 location-0060) + (GUARD-CONFIG config-01 location-0061) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p19.pddl b/recharging-robots-sat23-adl/p19.pddl new file mode 100644 index 00000000..947731b9 --- /dev/null +++ b/recharging-robots-sat23-adl/p19.pddl @@ -0,0 +1,329 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1367 5 5 3 8 30 1 p19.pddl p19.plan +;; Random seed: 1367 +(define (problem recharging-robots-cover-robots5-areas3-1367-6562) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 - location + robot-00 robot-01 robot-02 robot-03 robot-04 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 battery-0034 battery-0035 battery-0036 battery-0037 battery-0038 battery-0039 battery-0040 battery-0041 battery-0042 battery-0043 battery-0044 battery-0045 battery-0046 battery-0047 battery-0048 battery-0049 battery-0050 battery-0051 battery-0052 battery-0053 battery-0054 - battery-level + config-00 config-01 config-02 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0043 location-0046) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0018 location-0026) + (CONNECTED location-0033 location-0054) + (CONNECTED location-0010 location-0052) + (CONNECTED location-0029 location-0041) + (CONNECTED location-0020 location-0038) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0022 location-0035) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0000 location-0014) + (CONNECTED location-0022 location-0044) + (CONNECTED location-0000 location-0023) + (CONNECTED location-0014 location-0049) + (CONNECTED location-0001 location-0024) + (CONNECTED location-0006 location-0020) + (CONNECTED location-0042 location-0059) + (CONNECTED location-0009 location-0010) + (CONNECTED location-0040 location-0043) + (CONNECTED location-0014 location-0024) + (CONNECTED location-0029 location-0043) + (CONNECTED location-0021 location-0039) + (CONNECTED location-0023 location-0036) + (CONNECTED location-0039 location-0053) + (CONNECTED location-0005 location-0030) + (CONNECTED location-0025 location-0061) + (CONNECTED location-0006 location-0059) + (CONNECTED location-0004 location-0041) + (CONNECTED location-0001 location-0017) + (CONNECTED location-0019 location-0032) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0004 location-0059) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0027 location-0054) + (CONNECTED location-0018 location-0030) + (CONNECTED location-0044 location-0049) + (CONNECTED location-0025 location-0045) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0021 location-0050) + (CONNECTED location-0019 location-0034) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0027 location-0056) + (CONNECTED location-0002 location-0036) + (CONNECTED location-0003 location-0010) + (CONNECTED location-0030 location-0061) + (CONNECTED location-0022 location-0023) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0000 location-0002) + (CONNECTED location-0032 location-0055) + (CONNECTED location-0005 location-0016) + (CONNECTED location-0001 location-0003) + (CONNECTED location-0007 location-0053) + (CONNECTED location-0023 location-0049) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0034 location-0055) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0025 location-0031) + (CONNECTED location-0019 location-0045) + (CONNECTED location-0016 location-0028) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0009 location-0053) + (CONNECTED location-0012 location-0015) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0029 location-0040) + (CONNECTED location-0005 location-0018) + (CONNECTED location-0004 location-0020) + (CONNECTED location-0004 location-0029) + (CONNECTED location-0016 location-0058) + (CONNECTED location-0004 location-0038) + (CONNECTED location-0008 location-0020) + (CONNECTED location-0007 location-0009) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0008 location-0038) + (CONNECTED location-0025 location-0042) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0013 location-0046) + (CONNECTED location-0014 location-0023) + (CONNECTED location-0029 location-0042) + (CONNECTED location-0021 location-0038) + (CONNECTED location-0023 location-0035) + (CONNECTED location-0006 location-0058) + (CONNECTED location-0019 location-0022) + (CONNECTED location-0011 location-0018) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0011 location-0027) + (CONNECTED location-0002 location-0024) + (CONNECTED location-0036 location-0056) + (CONNECTED location-0000 location-0036) + (CONNECTED location-0037 location-0055) + (CONNECTED location-0032 location-0034) + (CONNECTED location-0026 location-0027) + (CONNECTED location-0004 location-0006) + (CONNECTED location-0011 location-0054) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0024 location-0048) + (CONNECTED location-0012 location-0028) + (CONNECTED location-0008 location-0015) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0002 location-0017) + (CONNECTED location-0006 location-0008) + (CONNECTED location-0005 location-0061) + (CONNECTED location-0003 location-0009) + (CONNECTED location-0032 location-0045) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0032 location-0054) + (CONNECTED location-0001 location-0048) + (CONNECTED location-0007 location-0043) + (CONNECTED location-0039 location-0050) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0019 location-0035) + (CONNECTED location-0014 location-0048) + (CONNECTED location-0019 location-0044) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0044 location-0046) + (CONNECTED location-0013 location-0043) + (CONNECTED location-0010 location-0053) + (CONNECTED location-0025 location-0060) + (CONNECTED location-0011 location-0033) + (CONNECTED location-0006 location-0012) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0012 location-0016) + (CONNECTED location-0042 location-0060) + (CONNECTED location-0008 location-0012) + (CONNECTED location-0017 location-0024) + (CONNECTED location-0008 location-0021) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0040 location-0053) + (CONNECTED location-0002 location-0014) + (CONNECTED location-0011 location-0026) + (CONNECTED location-0004 location-0042) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0009 location-0047) + (CONNECTED location-0007 location-0013) + (CONNECTED location-0005 location-0058) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0013 location-0047) + (CONNECTED location-0007 location-0040) + (CONNECTED location-0009 location-0013) + (CONNECTED location-0022 location-0049) + (CONNECTED location-0031 location-0061) + (CONNECTED location-0037 location-0056) + (CONNECTED location-0006 location-0016) + (CONNECTED location-0016 location-0018) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0015 location-0028) + (CONNECTED location-0027 location-0057) + (CONNECTED location-0018 location-0033) + (CONNECTED location-0001 location-0047) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0031 location-0045) + (CONNECTED location-0003 location-0047) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + (BATTERY-PREDECESSOR battery-0033 battery-0034) + (BATTERY-PREDECESSOR battery-0034 battery-0035) + (BATTERY-PREDECESSOR battery-0035 battery-0036) + (BATTERY-PREDECESSOR battery-0036 battery-0037) + (BATTERY-PREDECESSOR battery-0037 battery-0038) + (BATTERY-PREDECESSOR battery-0038 battery-0039) + (BATTERY-PREDECESSOR battery-0039 battery-0040) + (BATTERY-PREDECESSOR battery-0040 battery-0041) + (BATTERY-PREDECESSOR battery-0041 battery-0042) + (BATTERY-PREDECESSOR battery-0042 battery-0043) + (BATTERY-PREDECESSOR battery-0043 battery-0044) + (BATTERY-PREDECESSOR battery-0044 battery-0045) + (BATTERY-PREDECESSOR battery-0045 battery-0046) + (BATTERY-PREDECESSOR battery-0046 battery-0047) + (BATTERY-PREDECESSOR battery-0047 battery-0048) + (BATTERY-PREDECESSOR battery-0048 battery-0049) + (BATTERY-PREDECESSOR battery-0049 battery-0050) + (BATTERY-PREDECESSOR battery-0050 battery-0051) + (BATTERY-PREDECESSOR battery-0051 battery-0052) + (BATTERY-PREDECESSOR battery-0052 battery-0053) + (BATTERY-PREDECESSOR battery-0053 battery-0054) + + (at robot-00 location-0051) + (battery robot-00 battery-0009) + (at robot-01 location-0054) + (battery robot-01 battery-0006) + (at robot-02 location-0050) + (battery robot-02 battery-0022) + (at robot-03 location-0045) + (battery robot-03 battery-0004) + (at robot-04 location-0052) + (battery robot-04 battery-0013) + + (GUARD-CONFIG config-00 location-0001) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0004) + (GUARD-CONFIG config-00 location-0007) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0013) + (GUARD-CONFIG config-00 location-0014) + (GUARD-CONFIG config-00 location-0017) + (GUARD-CONFIG config-00 location-0019) + (GUARD-CONFIG config-00 location-0022) + (GUARD-CONFIG config-00 location-0023) + (GUARD-CONFIG config-00 location-0024) + (GUARD-CONFIG config-00 location-0025) + (GUARD-CONFIG config-00 location-0029) + (GUARD-CONFIG config-00 location-0039) + (GUARD-CONFIG config-00 location-0040) + (GUARD-CONFIG config-00 location-0042) + (GUARD-CONFIG config-00 location-0043) + (GUARD-CONFIG config-00 location-0044) + (GUARD-CONFIG config-00 location-0046) + (GUARD-CONFIG config-00 location-0047) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0049) + (GUARD-CONFIG config-00 location-0053) + + (GUARD-CONFIG config-01 location-0000) + (GUARD-CONFIG config-01 location-0001) + (GUARD-CONFIG config-01 location-0002) + (GUARD-CONFIG config-01 location-0003) + (GUARD-CONFIG config-01 location-0009) + (GUARD-CONFIG config-01 location-0011) + (GUARD-CONFIG config-01 location-0013) + (GUARD-CONFIG config-01 location-0014) + (GUARD-CONFIG config-01 location-0017) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0022) + (GUARD-CONFIG config-01 location-0023) + (GUARD-CONFIG config-01 location-0024) + (GUARD-CONFIG config-01 location-0026) + (GUARD-CONFIG config-01 location-0027) + (GUARD-CONFIG config-01 location-0032) + (GUARD-CONFIG config-01 location-0034) + (GUARD-CONFIG config-01 location-0035) + (GUARD-CONFIG config-01 location-0036) + (GUARD-CONFIG config-01 location-0037) + (GUARD-CONFIG config-01 location-0044) + (GUARD-CONFIG config-01 location-0046) + (GUARD-CONFIG config-01 location-0047) + (GUARD-CONFIG config-01 location-0048) + (GUARD-CONFIG config-01 location-0049) + (GUARD-CONFIG config-01 location-0055) + (GUARD-CONFIG config-01 location-0056) + (GUARD-CONFIG config-01 location-0057) + + (GUARD-CONFIG config-02 location-0004) + (GUARD-CONFIG config-02 location-0005) + (GUARD-CONFIG config-02 location-0006) + (GUARD-CONFIG config-02 location-0008) + (GUARD-CONFIG config-02 location-0011) + (GUARD-CONFIG config-02 location-0012) + (GUARD-CONFIG config-02 location-0015) + (GUARD-CONFIG config-02 location-0016) + (GUARD-CONFIG config-02 location-0018) + (GUARD-CONFIG config-02 location-0020) + (GUARD-CONFIG config-02 location-0021) + (GUARD-CONFIG config-02 location-0025) + (GUARD-CONFIG config-02 location-0026) + (GUARD-CONFIG config-02 location-0027) + (GUARD-CONFIG config-02 location-0028) + (GUARD-CONFIG config-02 location-0029) + (GUARD-CONFIG config-02 location-0030) + (GUARD-CONFIG config-02 location-0031) + (GUARD-CONFIG config-02 location-0032) + (GUARD-CONFIG config-02 location-0033) + (GUARD-CONFIG config-02 location-0038) + (GUARD-CONFIG config-02 location-0058) + (GUARD-CONFIG config-02 location-0059) + (GUARD-CONFIG config-02 location-0061) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + (config-fullfilled config-02) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/recharging-robots-sat23-adl/p20.pddl b/recharging-robots-sat23-adl/p20.pddl new file mode 100644 index 00000000..a8f278c3 --- /dev/null +++ b/recharging-robots-sat23-adl/p20.pddl @@ -0,0 +1,310 @@ +;; Genearated with: ../../../domain-recharging-robots/generator.py covers --random-seed 1373 6 5 2 10 30 1 p20.pddl p20.plan +;; Random seed: 1373 +(define (problem recharging-robots-cover-robots6-areas2-1373-1595) +(:domain recharging-robots) +(:objects + location-0000 location-0001 location-0002 location-0003 location-0004 location-0005 location-0006 location-0007 location-0008 location-0009 location-0010 location-0011 location-0012 location-0013 location-0014 location-0015 location-0016 location-0017 location-0018 location-0019 location-0020 location-0021 location-0022 location-0023 location-0024 location-0025 location-0026 location-0027 location-0028 location-0029 location-0030 location-0031 location-0032 location-0033 location-0034 location-0035 location-0036 location-0037 location-0038 location-0039 location-0040 location-0041 location-0042 location-0043 location-0044 location-0045 location-0046 location-0047 location-0048 location-0049 location-0050 location-0051 location-0052 location-0053 location-0054 location-0055 location-0056 location-0057 location-0058 location-0059 location-0060 location-0061 location-0062 location-0063 location-0064 location-0065 location-0066 location-0067 location-0068 location-0069 - location + robot-00 robot-01 robot-02 robot-03 robot-04 robot-05 - robot + battery-0000 battery-0001 battery-0002 battery-0003 battery-0004 battery-0005 battery-0006 battery-0007 battery-0008 battery-0009 battery-0010 battery-0011 battery-0012 battery-0013 battery-0014 battery-0015 battery-0016 battery-0017 battery-0018 battery-0019 battery-0020 battery-0021 battery-0022 battery-0023 battery-0024 battery-0025 battery-0026 battery-0027 battery-0028 battery-0029 battery-0030 battery-0031 battery-0032 battery-0033 battery-0034 battery-0035 battery-0036 battery-0037 battery-0038 battery-0039 battery-0040 battery-0041 battery-0042 battery-0043 battery-0044 battery-0045 - battery-level + config-00 config-01 - config +) +(:init + (= (move-cost) 1) + (= (recharge-cost) 1) + (= (total-cost) 0) + (CONNECTED location-0006 location-0018) + (CONNECTED location-0004 location-0055) + (CONNECTED location-0067 location-0068) + (CONNECTED location-0044 location-0045) + (CONNECTED location-0026 location-0039) + (CONNECTED location-0008 location-0055) + (CONNECTED location-0000 location-0060) + (CONNECTED location-0012 location-0025) + (CONNECTED location-0040 location-0041) + (CONNECTED location-0034 location-0037) + (CONNECTED location-0009 location-0017) + (CONNECTED location-0002 location-0066) + (CONNECTED location-0066 location-0069) + (CONNECTED location-0023 location-0043) + (CONNECTED location-0015 location-0023) + (CONNECTED location-0008 location-0039) + (CONNECTED location-0013 location-0035) + (CONNECTED location-0034 location-0067) + (CONNECTED location-0027 location-0061) + (CONNECTED location-0001 location-0051) + (CONNECTED location-0005 location-0067) + (CONNECTED location-0028 location-0069) + (CONNECTED location-0014 location-0024) + (CONNECTED location-0038 location-0055) + (CONNECTED location-0032 location-0069) + (CONNECTED location-0020 location-0058) + (CONNECTED location-0018 location-0067) + (CONNECTED location-0047 location-0048) + (CONNECTED location-0042 location-0043) + (CONNECTED location-0016 location-0033) + (CONNECTED location-0007 location-0030) + (CONNECTED location-0027 location-0063) + (CONNECTED location-0009 location-0049) + (CONNECTED location-0002 location-0043) + (CONNECTED location-0051 location-0057) + (CONNECTED location-0038 location-0039) + (CONNECTED location-0048 location-0049) + (CONNECTED location-0023 location-0029) + (CONNECTED location-0003 location-0026) + (CONNECTED location-0021 location-0032) + (CONNECTED location-0021 location-0050) + (CONNECTED location-0007 location-0069) + (CONNECTED location-0001 location-0028) + (CONNECTED location-0042 location-0045) + (CONNECTED location-0019 location-0052) + (CONNECTED location-0011 location-0048) + (CONNECTED location-0038 location-0041) + (CONNECTED location-0014 location-0019) + (CONNECTED location-0020 location-0035) + (CONNECTED location-0007 location-0044) + (CONNECTED location-0055 location-0056) + (CONNECTED location-0004 location-0054) + (CONNECTED location-0050 location-0051) + (CONNECTED location-0002 location-0029) + (CONNECTED location-0030 location-0045) + (CONNECTED location-0003 location-0058) + (CONNECTED location-0051 location-0052) + (CONNECTED location-0006 location-0029) + (CONNECTED location-0046 location-0047) + (CONNECTED location-0000 location-0059) + (CONNECTED location-0012 location-0024) + (CONNECTED location-0005 location-0018) + (CONNECTED location-0001 location-0069) + (CONNECTED location-0039 location-0062) + (CONNECTED location-0016 location-0021) + (CONNECTED location-0010 location-0035) + (CONNECTED location-0008 location-0038) + (CONNECTED location-0001 location-0032) + (CONNECTED location-0056 location-0057) + (CONNECTED location-0016 location-0030) + (CONNECTED location-0009 location-0046) + (CONNECTED location-0051 location-0054) + (CONNECTED location-0052 location-0053) + (CONNECTED location-0028 location-0068) + (CONNECTED location-0046 location-0049) + (CONNECTED location-0015 location-0043) + (CONNECTED location-0028 location-0034) + (CONNECTED location-0030 location-0031) + (CONNECTED location-0007 location-0066) + (CONNECTED location-0017 location-0034) + (CONNECTED location-0031 location-0069) + (CONNECTED location-0034 location-0068) + (CONNECTED location-0026 location-0036) + (CONNECTED location-0031 location-0032) + (CONNECTED location-0035 location-0048) + (CONNECTED location-0014 location-0025) + (CONNECTED location-0024 location-0057) + (CONNECTED location-0038 location-0056) + (CONNECTED location-0017 location-0018) + (CONNECTED location-0000 location-0020) + (CONNECTED location-0054 location-0055) + (CONNECTED location-0030 location-0033) + (CONNECTED location-0064 location-0065) + (CONNECTED location-0040 location-0065) + (CONNECTED location-0011 location-0047) + (CONNECTED location-0015 location-0029) + (CONNECTED location-0060 location-0061) + (CONNECTED location-0005 location-0006) + (CONNECTED location-0024 location-0041) + (CONNECTED location-0052 location-0057) + (CONNECTED location-0004 location-0008) + (CONNECTED location-0018 location-0034) + (CONNECTED location-0021 location-0033) + (CONNECTED location-0000 location-0013) + (CONNECTED location-0011 location-0013) + (CONNECTED location-0008 location-0026) + (CONNECTED location-0011 location-0022) + (CONNECTED location-0003 location-0039) + (CONNECTED location-0054 location-0057) + (CONNECTED location-0029 location-0067) + (CONNECTED location-0030 location-0044) + (CONNECTED location-0050 location-0053) + (CONNECTED location-0012 location-0014) + (CONNECTED location-0060 location-0063) + (CONNECTED location-0027 location-0060) + (CONNECTED location-0061 location-0062) + (CONNECTED location-0024 location-0052) + (CONNECTED location-0006 location-0046) + (CONNECTED location-0004 location-0028) + (CONNECTED location-0001 location-0004) + (CONNECTED location-0009 location-0018) + (CONNECTED location-0005 location-0029) + (CONNECTED location-0039 location-0061) + (CONNECTED location-0062 location-0063) + (CONNECTED location-0008 location-0037) + (CONNECTED location-0017 location-0049) + (CONNECTED location-0058 location-0059) + (CONNECTED location-0035 location-0036) + (CONNECTED location-0027 location-0062) + (CONNECTED location-0015 location-0042) + (CONNECTED location-0016 location-0050) + (CONNECTED location-0000 location-0063) + (CONNECTED location-0036 location-0037) + (CONNECTED location-0068 location-0069) + (CONNECTED location-0022 location-0047) + (CONNECTED location-0062 location-0065) + (CONNECTED location-0063 location-0064) + (CONNECTED location-0020 location-0059) + (CONNECTED location-0002 location-0023) + (CONNECTED location-0040 location-0062) + (CONNECTED location-0013 location-0020) + (CONNECTED location-0014 location-0052) + (CONNECTED location-0032 location-0033) + (CONNECTED location-0003 location-0061) + (CONNECTED location-0058 location-0061) + (CONNECTED location-0059 location-0060) + (CONNECTED location-0032 location-0051) + (CONNECTED location-0010 location-0048) + (CONNECTED location-0007 location-0031) + (CONNECTED location-0002 location-0044) + (CONNECTED location-0024 location-0056) + (CONNECTED location-0001 location-0054) + (CONNECTED location-0010 location-0011) + (CONNECTED location-0002 location-0007) + (CONNECTED location-0003 location-0036) + (CONNECTED location-0017 location-0035) + (CONNECTED location-0021 location-0051) + (CONNECTED location-0043 location-0044) + (CONNECTED location-0026 location-0037) + (CONNECTED location-0041 location-0056) + (CONNECTED location-0019 location-0053) + (CONNECTED location-0035 location-0049) + (CONNECTED location-0041 location-0065) + (CONNECTED location-0016 location-0045) + (CONNECTED location-0039 location-0040) + (CONNECTED location-0003 location-0020) + (CONNECTED location-0020 location-0036) + (CONNECTED location-0034 location-0035) + (CONNECTED location-0010 location-0013) + (CONNECTED location-0066 location-0067) + (CONNECTED location-0019 location-0025) + (CONNECTED location-0012 location-0041) + (CONNECTED location-0028 location-0037) + (CONNECTED location-0004 location-0037) + (CONNECTED location-0029 location-0066) + (CONNECTED location-0006 location-0009) + + (BATTERY-PREDECESSOR battery-0000 battery-0001) + (BATTERY-PREDECESSOR battery-0001 battery-0002) + (BATTERY-PREDECESSOR battery-0002 battery-0003) + (BATTERY-PREDECESSOR battery-0003 battery-0004) + (BATTERY-PREDECESSOR battery-0004 battery-0005) + (BATTERY-PREDECESSOR battery-0005 battery-0006) + (BATTERY-PREDECESSOR battery-0006 battery-0007) + (BATTERY-PREDECESSOR battery-0007 battery-0008) + (BATTERY-PREDECESSOR battery-0008 battery-0009) + (BATTERY-PREDECESSOR battery-0009 battery-0010) + (BATTERY-PREDECESSOR battery-0010 battery-0011) + (BATTERY-PREDECESSOR battery-0011 battery-0012) + (BATTERY-PREDECESSOR battery-0012 battery-0013) + (BATTERY-PREDECESSOR battery-0013 battery-0014) + (BATTERY-PREDECESSOR battery-0014 battery-0015) + (BATTERY-PREDECESSOR battery-0015 battery-0016) + (BATTERY-PREDECESSOR battery-0016 battery-0017) + (BATTERY-PREDECESSOR battery-0017 battery-0018) + (BATTERY-PREDECESSOR battery-0018 battery-0019) + (BATTERY-PREDECESSOR battery-0019 battery-0020) + (BATTERY-PREDECESSOR battery-0020 battery-0021) + (BATTERY-PREDECESSOR battery-0021 battery-0022) + (BATTERY-PREDECESSOR battery-0022 battery-0023) + (BATTERY-PREDECESSOR battery-0023 battery-0024) + (BATTERY-PREDECESSOR battery-0024 battery-0025) + (BATTERY-PREDECESSOR battery-0025 battery-0026) + (BATTERY-PREDECESSOR battery-0026 battery-0027) + (BATTERY-PREDECESSOR battery-0027 battery-0028) + (BATTERY-PREDECESSOR battery-0028 battery-0029) + (BATTERY-PREDECESSOR battery-0029 battery-0030) + (BATTERY-PREDECESSOR battery-0030 battery-0031) + (BATTERY-PREDECESSOR battery-0031 battery-0032) + (BATTERY-PREDECESSOR battery-0032 battery-0033) + (BATTERY-PREDECESSOR battery-0033 battery-0034) + (BATTERY-PREDECESSOR battery-0034 battery-0035) + (BATTERY-PREDECESSOR battery-0035 battery-0036) + (BATTERY-PREDECESSOR battery-0036 battery-0037) + (BATTERY-PREDECESSOR battery-0037 battery-0038) + (BATTERY-PREDECESSOR battery-0038 battery-0039) + (BATTERY-PREDECESSOR battery-0039 battery-0040) + (BATTERY-PREDECESSOR battery-0040 battery-0041) + (BATTERY-PREDECESSOR battery-0041 battery-0042) + (BATTERY-PREDECESSOR battery-0042 battery-0043) + (BATTERY-PREDECESSOR battery-0043 battery-0044) + (BATTERY-PREDECESSOR battery-0044 battery-0045) + + (at robot-00 location-0060) + (battery robot-00 battery-0013) + (at robot-01 location-0063) + (battery robot-01 battery-0005) + (at robot-02 location-0002) + (battery robot-02 battery-0006) + (at robot-03 location-0023) + (battery robot-03 battery-0003) + (at robot-04 location-0005) + (battery robot-04 battery-0014) + (at robot-05 location-0041) + (battery robot-05 battery-0004) + + (GUARD-CONFIG config-00 location-0000) + (GUARD-CONFIG config-00 location-0003) + (GUARD-CONFIG config-00 location-0009) + (GUARD-CONFIG config-00 location-0010) + (GUARD-CONFIG config-00 location-0011) + (GUARD-CONFIG config-00 location-0013) + (GUARD-CONFIG config-00 location-0017) + (GUARD-CONFIG config-00 location-0018) + (GUARD-CONFIG config-00 location-0020) + (GUARD-CONFIG config-00 location-0026) + (GUARD-CONFIG config-00 location-0028) + (GUARD-CONFIG config-00 location-0034) + (GUARD-CONFIG config-00 location-0035) + (GUARD-CONFIG config-00 location-0036) + (GUARD-CONFIG config-00 location-0037) + (GUARD-CONFIG config-00 location-0046) + (GUARD-CONFIG config-00 location-0047) + (GUARD-CONFIG config-00 location-0048) + (GUARD-CONFIG config-00 location-0049) + (GUARD-CONFIG config-00 location-0058) + (GUARD-CONFIG config-00 location-0059) + (GUARD-CONFIG config-00 location-0067) + (GUARD-CONFIG config-00 location-0068) + + (GUARD-CONFIG config-01 location-0001) + (GUARD-CONFIG config-01 location-0004) + (GUARD-CONFIG config-01 location-0007) + (GUARD-CONFIG config-01 location-0008) + (GUARD-CONFIG config-01 location-0012) + (GUARD-CONFIG config-01 location-0014) + (GUARD-CONFIG config-01 location-0016) + (GUARD-CONFIG config-01 location-0019) + (GUARD-CONFIG config-01 location-0021) + (GUARD-CONFIG config-01 location-0024) + (GUARD-CONFIG config-01 location-0025) + (GUARD-CONFIG config-01 location-0028) + (GUARD-CONFIG config-01 location-0030) + (GUARD-CONFIG config-01 location-0031) + (GUARD-CONFIG config-01 location-0032) + (GUARD-CONFIG config-01 location-0033) + (GUARD-CONFIG config-01 location-0050) + (GUARD-CONFIG config-01 location-0051) + (GUARD-CONFIG config-01 location-0052) + (GUARD-CONFIG config-01 location-0053) + (GUARD-CONFIG config-01 location-0054) + (GUARD-CONFIG config-01 location-0055) + (GUARD-CONFIG config-01 location-0056) + (GUARD-CONFIG config-01 location-0057) + (GUARD-CONFIG config-01 location-0069) + +) +(:goal + (and + (config-fullfilled config-00) + (config-fullfilled config-01) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/domain.pddl b/ricochet-robots-opt23-adl/domain.pddl new file mode 100644 index 00000000..e1997ac8 --- /dev/null +++ b/ricochet-robots-opt23-adl/domain.pddl @@ -0,0 +1,124 @@ +(define (domain ricochet-robots) +(:requirements :typing :adl :action-costs) + +(:types + robot - object + cell - object + direction - object +) + +(:predicates + ;; ?cnext is right next to ?c in the direction of ?dir + (NEXT ?c - cell ?cnext - cell ?dir - direction) + ;; moving from ?c in the direction ?dir is blocked + (BLOCKED ?c - cell ?dir - direction) + ;; Robot ?r is located in the cell ?c + (at ?r - robot ?c - cell) + ;; No robot is located in the cell ?c + (free ?c - cell) + ;; No robot is moving anywhere + (nothing-is-moving) + ;; Robot ?r is moving in the direction ?dir + (is-moving ?r - robot ?dir - direction) +) + +(:functions + (total-cost) - number + + ;; The costs of actions are configurable. + ;; If we want to count only the number of movements of robots instead of + ;; counting all steps from a cell to cell (as it would be in the real + ;; game), then we need to set + ;; (= (go-cost) 1) + ;; (= (step-cost) 0) + ;; (= (stop-cost) 0) + (go-cost) - number + (step-cost) - number + (stop-cost) - number +) + +;; Starts movement of the robot ?r in the direction ?dir +(:action go + :parameters (?r - robot ?dir - direction) + :precondition + (and + (nothing-is-moving) + + ;; If we want to make sure that the robot can actually make a step + ;; in the specified direction, then we need to add the following + ;; (and the corresponding parameters ?cfrom and ?cto): + ;; + ;; (at ?r ?cfrom) + ;; (NEXT ?cfrom ?cto ?dir) + ;; (free ?cto) + ;; (not (BLOCKED ?cfrom ?dir)) + ) + :effect + (and + (not (nothing-is-moving)) + (is-moving ?r ?dir) + (increase (total-cost) (go-cost)) + ) +) + +;; Make one step from the cell ?cfrom to the cell ?cto with the robot ?r +;; Robot is allowed to make the step only if it is the (only) one currently +;; moving, and it is moving in the direction ?dir +(:action step + :parameters (?r - robot ?cfrom - cell ?cto - cell ?dir - direction) + :precondition + (and + (is-moving ?r ?dir) + (at ?r ?cfrom) + (NEXT ?cfrom ?cto ?dir) + (free ?cto) + (not (BLOCKED ?cfrom ?dir)) + ) + :effect + (and + (not (at ?r ?cfrom)) + (free ?cfrom) + (not (free ?cto)) + (at ?r ?cto) + (increase (total-cost) (step-cost)) + ) +) + +;; Stopping of the robot is split between +;; (i) stop-at-barrier which stops the robot if it cannot move further due to +;; a barrier expressed with (BLOCKED ...) predicate +;; (ii) stop-at-robot which stops the robot if the next step is blocked by +;; another robot +(:action stop-at-barrier + :parameters (?r - robot ?cat - cell ?dir - direction) + :precondition + (and + (is-moving ?r ?dir) + (at ?r ?cat) + (BLOCKED ?cat ?dir) + ) + :effect + (and + (not (is-moving ?r ?dir)) + (nothing-is-moving) + (increase (total-cost) (stop-cost)) + ) +) + +(:action stop-at-robot + :parameters (?r - robot ?cat - cell ?cnext - cell ?dir - direction) + :precondition + (and + (is-moving ?r ?dir) + (at ?r ?cat) + (NEXT ?cat ?cnext ?dir) + (not (free ?cnext)) + ) + :effect + (and + (not (is-moving ?r ?dir)) + (nothing-is-moving) + (increase (total-cost) (stop-cost)) + ) +) +) diff --git a/ricochet-robots-opt23-adl/p01.pddl b/ricochet-robots-opt23-adl/p01.pddl new file mode 100644 index 00000000..ddee8870 --- /dev/null +++ b/ricochet-robots-opt23-adl/p01.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/008-ricochetrobot-13-0.asp +;; Generated from file 008-ricochetrobot-13-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | |G1| | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-13-912969) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-1 cell-10-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p02.pddl b/ricochet-robots-opt23-adl/p02.pddl new file mode 100644 index 00000000..2ed8dcaf --- /dev/null +++ b/ricochet-robots-opt23-adl/p02.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/012-ricochetrobot-15-0.asp +;; Generated from file 012-ricochetrobot-15-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | |G1| | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-15-31143) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-1 cell-12-13) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p03.pddl b/ricochet-robots-opt23-adl/p03.pddl new file mode 100644 index 00000000..65e02856 --- /dev/null +++ b/ricochet-robots-opt23-adl/p03.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/065-ricochetrobot-16-0.asp +;; Generated from file 065-ricochetrobot-16-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | |G3| | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-16-877751) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-11-11) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p04.pddl b/ricochet-robots-opt23-adl/p04.pddl new file mode 100644 index 00000000..1c1ebd6d --- /dev/null +++ b/ricochet-robots-opt23-adl/p04.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/199-ricochetrobot-17-0.asp +;; Generated from file 199-ricochetrobot-17-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | |G3| | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-17-508030) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-5-5) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p05.pddl b/ricochet-robots-opt23-adl/p05.pddl new file mode 100644 index 00000000..881d147c --- /dev/null +++ b/ricochet-robots-opt23-adl/p05.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/171-ricochetrobot-18-0.asp +;; Generated from file 171-ricochetrobot-18-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | |G4| | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-18-565148) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-4-14) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p06.pddl b/ricochet-robots-opt23-adl/p06.pddl new file mode 100644 index 00000000..67d5da6b --- /dev/null +++ b/ricochet-robots-opt23-adl/p06.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/105-ricochetrobot-19-0.asp +;; Generated from file 105-ricochetrobot-19-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | |G3| | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-19-68127) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-11-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p07.pddl b/ricochet-robots-opt23-adl/p07.pddl new file mode 100644 index 00000000..539d5076 --- /dev/null +++ b/ricochet-robots-opt23-adl/p07.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/239-ricochetrobot-20-0.asp +;; Generated from file 239-ricochetrobot-20-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | |G3| | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-20-552941) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-3-9) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p08.pddl b/ricochet-robots-opt23-adl/p08.pddl new file mode 100644 index 00000000..28b3c59a --- /dev/null +++ b/ricochet-robots-opt23-adl/p08.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/201-ricochetrobot-21-0.asp +;; Generated from file 201-ricochetrobot-21-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | |G3| x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-21-51387) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-9-15) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p09.pddl b/ricochet-robots-opt23-adl/p09.pddl new file mode 100644 index 00000000..98db39ca --- /dev/null +++ b/ricochet-robots-opt23-adl/p09.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/071-ricochetrobot-23-0.asp +;; Generated from file 071-ricochetrobot-23-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | |G3| | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-23-784454) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-6-3) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p10.pddl b/ricochet-robots-opt23-adl/p10.pddl new file mode 100644 index 00000000..deb63951 --- /dev/null +++ b/ricochet-robots-opt23-adl/p10.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/149-ricochetrobot-25-0.asp +;; Generated from file 149-ricochetrobot-25-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | |G3| | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-25-77136) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-12-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p11.pddl b/ricochet-robots-opt23-adl/p11.pddl new file mode 100644 index 00000000..83364333 --- /dev/null +++ b/ricochet-robots-opt23-adl/p11.pddl @@ -0,0 +1,568 @@ +;; Generated from file generate-572562.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | | | | | x +;; +--+xx+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+ +;; x | | | x | |R4| x x x +;; +--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | |G3| | |R2x +;; +--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+ +;; x |R1| xR3| | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-10x10-None-131599) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-10 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-10 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-10 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-10 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-10 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-10 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-10 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-10 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-10 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-10-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-10-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-10-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-10-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-10-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-10-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-10-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-10-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-10-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-10-10 east) + (BLOCKED cell-9-4 east) + (BLOCKED cell-10-4 west) + (BLOCKED cell-3-3 east) + (BLOCKED cell-4-3 west) + (BLOCKED cell-8-4 east) + (BLOCKED cell-9-4 west) + (BLOCKED cell-4-4 east) + (BLOCKED cell-5-4 west) + (BLOCKED cell-3-10 east) + (BLOCKED cell-4-10 west) + (BLOCKED cell-2-1 south) + (BLOCKED cell-2-2 north) + (BLOCKED cell-3-5 east) + (BLOCKED cell-4-5 west) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-9) + (free cell-10-10) + + (at robot-1 cell-2-10) ;; red + (at robot-2 cell-10-8) ;; blue + (at robot-3 cell-4-10) ;; green + (at robot-4 cell-7-4) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-7-8) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p12.pddl b/ricochet-robots-opt23-adl/p12.pddl new file mode 100644 index 00000000..9faa2143 --- /dev/null +++ b/ricochet-robots-opt23-adl/p12.pddl @@ -0,0 +1,848 @@ +;; Generated from file generate-573113.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | x | | | x | x +;; +--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x xG1| x | | | x x x | | x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | x x +;; +--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+--+--+--+--+ +;; x | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+ +;; x xR3| | | | | | | | | x x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | |R4| | | | | | | | x +;; +--+--+--+xx+--+xx+--+--+--+--+--+--+ +;; x | | x | x x | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | | x | |R1| | | | x +;; +--+--+--+--+--+xx+--+--+--+--+--+xx+ +;; x | | | | | |R2| | x | | x +;; +--+--+--+--+xx+xx+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+ +;; x x | | | | x | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-12x12-None-756584) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-12 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-12 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-12 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-12 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-12 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-12 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-12 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-12 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-12 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-12 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-12 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-12 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-12-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-12-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-12-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-12-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-12-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-12-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-12-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-12-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-12-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-12-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-12-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-12-12 east) + (BLOCKED cell-2-2 west) + (BLOCKED cell-1-2 east) + (BLOCKED cell-6-12 east) + (BLOCKED cell-7-12 west) + (BLOCKED cell-10-2 west) + (BLOCKED cell-9-2 east) + (BLOCKED cell-6-10 north) + (BLOCKED cell-6-9 south) + (BLOCKED cell-9-2 west) + (BLOCKED cell-8-2 east) + (BLOCKED cell-4-3 west) + (BLOCKED cell-3-3 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-1 east) + (BLOCKED cell-6-8 north) + (BLOCKED cell-6-7 south) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-1 east) + (BLOCKED cell-7-1 west) + (BLOCKED cell-2-12 west) + (BLOCKED cell-1-12 east) + (BLOCKED cell-9-10 east) + (BLOCKED cell-10-10 west) + (BLOCKED cell-5-9 east) + (BLOCKED cell-6-9 west) + (BLOCKED cell-7-5 east) + (BLOCKED cell-8-5 west) + (BLOCKED cell-6-8 west) + (BLOCKED cell-5-8 east) + (BLOCKED cell-12-10 south) + (BLOCKED cell-12-11 north) + (BLOCKED cell-2-4 south) + (BLOCKED cell-2-5 north) + (BLOCKED cell-6-2 north) + (BLOCKED cell-6-1 south) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-4-11 east) + (BLOCKED cell-5-11 west) + (BLOCKED cell-4-2 west) + (BLOCKED cell-3-2 east) + (BLOCKED cell-7-2 east) + (BLOCKED cell-8-2 west) + (BLOCKED cell-11-8 south) + (BLOCKED cell-11-9 north) + (BLOCKED cell-3-8 east) + (BLOCKED cell-4-8 west) + (BLOCKED cell-1-6 east) + (BLOCKED cell-2-6 west) + (BLOCKED cell-12-6 west) + (BLOCKED cell-11-6 east) + (BLOCKED cell-1-7 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-5-2 south) + (BLOCKED cell-5-3 north) + (BLOCKED cell-2-4 east) + (BLOCKED cell-3-4 west) + (BLOCKED cell-12-10 north) + (BLOCKED cell-12-9 south) + (BLOCKED cell-6-10 south) + (BLOCKED cell-6-11 north) + (BLOCKED cell-5-5 north) + (BLOCKED cell-5-4 south) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-3 east) + (BLOCKED cell-2-11 south) + (BLOCKED cell-2-12 north) + (BLOCKED cell-6-8 east) + (BLOCKED cell-7-8 west) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-11) + (free cell-7-12) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + + (at robot-1 cell-8-9) ;; red + (at robot-2 cell-7-10) ;; blue + (at robot-3 cell-2-6) ;; green + (at robot-4 cell-4-7) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-1 cell-2-2) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p13.pddl b/ricochet-robots-opt23-adl/p13.pddl new file mode 100644 index 00000000..875fdd15 --- /dev/null +++ b/ricochet-robots-opt23-adl/p13.pddl @@ -0,0 +1,1132 @@ +;; Generated from file generate-573675.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | x | x | x x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x x | | | | | | | | x x | | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | |R4x | x | x | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+xx+ +;; x | | | | | | | | | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | xG4| | | x | x | x +;; +--+--+xx+--+--+xx+--+--+--+--+--+--+xx+xx+ +;; x | | x | | | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | x x +;; +xx+--+--+--+--+--+--+--+xx+--+--+--+--+xx+ +;; x | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+xx+ +;; x | x | | | | | | | | | | x x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x x | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; xR2| | | x x | | | | x | | | x +;; +--+--+xx+--+--+--+--+--+--+--+xx+--+--+--+ +;; x | | | | x x | | | | | | | x +;; +--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | x | | | x | | | | |R1|R3x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-14x14-None-909247) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-14 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-14 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-14 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-14 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-14 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-14 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-14 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-14 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-14 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-14 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-14 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-14 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-14 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-14 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-14-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-14-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-14-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-14-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-14-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-14-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-14-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-14-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-14-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-14-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-14-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-14-14 east) + (BLOCKED cell-5-12 east) + (BLOCKED cell-6-12 west) + (BLOCKED cell-7-3 west) + (BLOCKED cell-6-3 east) + (BLOCKED cell-11-3 west) + (BLOCKED cell-10-3 east) + (BLOCKED cell-1-2 east) + (BLOCKED cell-2-2 west) + (BLOCKED cell-1-9 north) + (BLOCKED cell-1-8 south) + (BLOCKED cell-3-13 north) + (BLOCKED cell-3-12 south) + (BLOCKED cell-14-9 south) + (BLOCKED cell-14-10 north) + (BLOCKED cell-7-1 west) + (BLOCKED cell-6-1 east) + (BLOCKED cell-13-5 south) + (BLOCKED cell-13-6 north) + (BLOCKED cell-8-1 east) + (BLOCKED cell-9-1 west) + (BLOCKED cell-7-6 south) + (BLOCKED cell-7-7 north) + (BLOCKED cell-8-14 west) + (BLOCKED cell-7-14 east) + (BLOCKED cell-10-2 east) + (BLOCKED cell-11-2 west) + (BLOCKED cell-5-12 west) + (BLOCKED cell-4-12 east) + (BLOCKED cell-14-10 west) + (BLOCKED cell-13-10 east) + (BLOCKED cell-6-11 east) + (BLOCKED cell-7-11 west) + (BLOCKED cell-13-5 west) + (BLOCKED cell-12-5 east) + (BLOCKED cell-11-12 west) + (BLOCKED cell-10-12 east) + (BLOCKED cell-7-13 west) + (BLOCKED cell-6-13 east) + (BLOCKED cell-3-6 east) + (BLOCKED cell-4-6 west) + (BLOCKED cell-9-13 south) + (BLOCKED cell-9-14 north) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-12 south) + (BLOCKED cell-14-8 south) + (BLOCKED cell-14-9 north) + (BLOCKED cell-3-5 south) + (BLOCKED cell-3-6 north) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-2 south) + (BLOCKED cell-9-9 north) + (BLOCKED cell-9-8 south) + (BLOCKED cell-1-11 east) + (BLOCKED cell-2-11 west) + (BLOCKED cell-12-4 north) + (BLOCKED cell-12-3 south) + (BLOCKED cell-3-10 west) + (BLOCKED cell-2-10 east) + (BLOCKED cell-14-4 north) + (BLOCKED cell-14-3 south) + (BLOCKED cell-6-5 east) + (BLOCKED cell-7-5 west) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-1 east) + (BLOCKED cell-6-9 west) + (BLOCKED cell-5-9 east) + (BLOCKED cell-6-13 west) + (BLOCKED cell-5-13 east) + (BLOCKED cell-14-5 south) + (BLOCKED cell-14-6 north) + (BLOCKED cell-3-4 south) + (BLOCKED cell-3-5 north) + (BLOCKED cell-12-11 west) + (BLOCKED cell-11-11 east) + (BLOCKED cell-9-3 west) + (BLOCKED cell-8-3 east) + (BLOCKED cell-11-5 west) + (BLOCKED cell-10-5 east) + (BLOCKED cell-6-6 north) + (BLOCKED cell-6-5 south) + (BLOCKED cell-13-8 east) + (BLOCKED cell-14-8 west) + (BLOCKED cell-13-12 north) + (BLOCKED cell-13-11 south) + (BLOCKED cell-3-14 east) + (BLOCKED cell-4-14 west) + (BLOCKED cell-11-2 east) + (BLOCKED cell-12-2 west) + (BLOCKED cell-11-1 east) + (BLOCKED cell-12-1 west) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-13) + (free cell-1-14) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-6-1) + (free cell-6-2) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + + (at robot-1 cell-13-14) ;; red + (at robot-2 cell-1-12) ;; blue + (at robot-3 cell-14-14) ;; green + (at robot-4 cell-6-3) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-7-5) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p14.pddl b/ricochet-robots-opt23-adl/p14.pddl new file mode 100644 index 00000000..ccc7faf0 --- /dev/null +++ b/ricochet-robots-opt23-adl/p14.pddl @@ -0,0 +1,1416 @@ +;; Generated from file generate-574250.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | | | | | | | x | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | x | | | | | | | x | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | xG2| | | | x | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | |R2| x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+xx+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | |R3| x | | | | | | | | | x +;; +--+--+--+--+xx+xx+--+--+xx+--+--+xx+--+xx+--+--+ +;; x | | | | | | | | | x | | | | | x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | x | | | | | | |R4| | x +;; +--+--+--+xx+--+--+--+--+--+xx+--+--+--+--+xx+xx+ +;; x | | | | | | | | | | | x | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+xx+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | x | | | | x xR1| | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-None-446207) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-11-16 west) + (BLOCKED cell-10-16 east) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-16-12 south) + (BLOCKED cell-16-13 north) + (BLOCKED cell-4-9 south) + (BLOCKED cell-4-10 north) + (BLOCKED cell-7-2 north) + (BLOCKED cell-7-1 south) + (BLOCKED cell-10-4 west) + (BLOCKED cell-9-4 east) + (BLOCKED cell-5-12 north) + (BLOCKED cell-5-11 south) + (BLOCKED cell-10-13 south) + (BLOCKED cell-10-14 north) + (BLOCKED cell-3-2 west) + (BLOCKED cell-2-2 east) + (BLOCKED cell-13-15 north) + (BLOCKED cell-13-14 south) + (BLOCKED cell-1-4 north) + (BLOCKED cell-1-3 south) + (BLOCKED cell-9-7 north) + (BLOCKED cell-9-6 south) + (BLOCKED cell-7-7 south) + (BLOCKED cell-7-8 north) + (BLOCKED cell-10-12 south) + (BLOCKED cell-10-13 north) + (BLOCKED cell-9-16 east) + (BLOCKED cell-10-16 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-12-13 east) + (BLOCKED cell-13-13 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-10-11 east) + (BLOCKED cell-11-11 west) + (BLOCKED cell-13-1 west) + (BLOCKED cell-12-1 east) + (BLOCKED cell-7-10 west) + (BLOCKED cell-6-10 east) + (BLOCKED cell-15-13 north) + (BLOCKED cell-15-12 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-14 south) + (BLOCKED cell-4-12 south) + (BLOCKED cell-4-13 north) + (BLOCKED cell-12-11 north) + (BLOCKED cell-12-10 south) + (BLOCKED cell-13-3 west) + (BLOCKED cell-12-3 east) + (BLOCKED cell-1-15 south) + (BLOCKED cell-1-16 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-5-3 west) + (BLOCKED cell-4-3 east) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-10 south) + (BLOCKED cell-6-10 south) + (BLOCKED cell-6-11 north) + (BLOCKED cell-14-8 north) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-4 east) + (BLOCKED cell-15-4 west) + (BLOCKED cell-7-12 west) + (BLOCKED cell-6-12 east) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + + (at robot-1 cell-11-16) ;; red + (at robot-2 cell-15-5) ;; blue + (at robot-3 cell-5-10) ;; green + (at robot-4 cell-14-12) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-2 cell-10-4) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p15.pddl b/ricochet-robots-opt23-adl/p15.pddl new file mode 100644 index 00000000..d9bb890d --- /dev/null +++ b/ricochet-robots-opt23-adl/p15.pddl @@ -0,0 +1,1510 @@ +;; Generated from file generate-574250.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | x | | | | | x | | x x x x +;; +--+--+--+--+--+--+--+--+xx+--+xx+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+ +;; x | | | | | | | x | | x | | | | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x |G4| x | | | x | | | | | | | | x +;; +xx+--+xx+--+--+xx+--+--+xx+--+--+--+xx+--+--+--+ +;; x x | x | | | | x | | | | x | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+ +;; x | | x | | | | x | | | x x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+xx+--+xx+xx+ +;; x | | | | | x | | | | | | | x x x +;; +--+xx+xx+--+--+--+--+--+--+--+xx+--+--+xx+--+--+ +;; x | | x | | | x x | | | | | | | x +;; +--+--+--+--+--+--+--+--+xx+--+xx+xx+--+--+--+--+ +;; x x | | | | | x |R1| | | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | |R4| | | | | x +;; +--+--+xx+--+xx+--+--+xx+--+xx+xx+xx+--+--+--+--+ +;; x x | | | | | | |R2| | x x | | | x +;; +--+xx+--+--+--+--+--+--+--+xx+xx+--+xx+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+ +;; x x | | | | | x | | | | x | x x x +;; +xx+--+--+xx+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | | | | | | x | x | x x +;; +--+--+--+--+xx+--+--+--+--+xx+--+xx+--+--+--+--+ +;; x | | x | | | |R3| | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x x | | | | | | | | | | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-None-481062) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-9-9 north) + (BLOCKED cell-9-8 south) + (BLOCKED cell-13-11 west) + (BLOCKED cell-12-11 east) + (BLOCKED cell-2-12 north) + (BLOCKED cell-2-11 south) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-8-11 north) + (BLOCKED cell-8-10 south) + (BLOCKED cell-12-8 south) + (BLOCKED cell-12-9 north) + (BLOCKED cell-8-6 east) + (BLOCKED cell-9-6 west) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-1 east) + (BLOCKED cell-14-14 west) + (BLOCKED cell-13-14 east) + (BLOCKED cell-4-13 south) + (BLOCKED cell-4-14 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-9-5 west) + (BLOCKED cell-8-5 east) + (BLOCKED cell-16-13 west) + (BLOCKED cell-15-13 east) + (BLOCKED cell-16-7 west) + (BLOCKED cell-15-7 east) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-9-5 north) + (BLOCKED cell-9-4 south) + (BLOCKED cell-11-11 south) + (BLOCKED cell-11-12 north) + (BLOCKED cell-14-5 west) + (BLOCKED cell-13-5 east) + (BLOCKED cell-14-1 east) + (BLOCKED cell-15-1 west) + (BLOCKED cell-2-5 west) + (BLOCKED cell-1-5 east) + (BLOCKED cell-14-6 west) + (BLOCKED cell-13-6 east) + (BLOCKED cell-1-5 south) + (BLOCKED cell-1-6 north) + (BLOCKED cell-12-6 east) + (BLOCKED cell-13-6 west) + (BLOCKED cell-11-11 north) + (BLOCKED cell-11-10 south) + (BLOCKED cell-8-13 west) + (BLOCKED cell-7-13 east) + (BLOCKED cell-12-10 south) + (BLOCKED cell-12-11 north) + (BLOCKED cell-13-1 east) + (BLOCKED cell-14-1 west) + (BLOCKED cell-3-10 north) + (BLOCKED cell-3-9 south) + (BLOCKED cell-3-11 north) + (BLOCKED cell-3-10 south) + (BLOCKED cell-5-15 north) + (BLOCKED cell-5-14 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-14-7 south) + (BLOCKED cell-1-9 east) + (BLOCKED cell-2-9 west) + (BLOCKED cell-15-14 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-2-8 north) + (BLOCKED cell-2-7 south) + (BLOCKED cell-2-13 west) + (BLOCKED cell-1-13 east) + (BLOCKED cell-1-4 south) + (BLOCKED cell-1-5 north) + (BLOCKED cell-9-3 west) + (BLOCKED cell-8-3 east) + (BLOCKED cell-8-8 east) + (BLOCKED cell-9-8 west) + (BLOCKED cell-11-2 east) + (BLOCKED cell-12-2 west) + (BLOCKED cell-16-6 south) + (BLOCKED cell-16-7 north) + (BLOCKED cell-11-11 east) + (BLOCKED cell-12-11 west) + (BLOCKED cell-13-7 north) + (BLOCKED cell-13-6 south) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-13 east) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-4-8 west) + (BLOCKED cell-3-8 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 east) + (BLOCKED cell-3-8 north) + (BLOCKED cell-3-7 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-3-4 east) + (BLOCKED cell-4-4 west) + (BLOCKED cell-15-3 south) + (BLOCKED cell-15-4 north) + (BLOCKED cell-12-13 east) + (BLOCKED cell-13-13 west) + (BLOCKED cell-10-10 south) + (BLOCKED cell-10-11 north) + (BLOCKED cell-1-13 south) + (BLOCKED cell-1-14 north) + (BLOCKED cell-15-14 east) + (BLOCKED cell-16-14 west) + (BLOCKED cell-5-1 west) + (BLOCKED cell-4-1 east) + (BLOCKED cell-11-2 north) + (BLOCKED cell-11-1 south) + (BLOCKED cell-16-5 south) + (BLOCKED cell-16-6 north) + (BLOCKED cell-14-12 east) + (BLOCKED cell-15-12 west) + (BLOCKED cell-3-4 south) + (BLOCKED cell-3-5 north) + (BLOCKED cell-6-13 north) + (BLOCKED cell-6-12 south) + (BLOCKED cell-8-3 north) + (BLOCKED cell-8-2 south) + (BLOCKED cell-16-1 west) + (BLOCKED cell-15-1 east) + (BLOCKED cell-2-2 east) + (BLOCKED cell-3-2 west) + (BLOCKED cell-10-12 north) + (BLOCKED cell-10-11 south) + (BLOCKED cell-15-6 south) + (BLOCKED cell-15-7 north) + (BLOCKED cell-13-12 north) + (BLOCKED cell-13-11 south) + (BLOCKED cell-6-5 north) + (BLOCKED cell-6-4 south) + (BLOCKED cell-8-9 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-12-15 north) + (BLOCKED cell-12-14 south) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-3-5 east) + (BLOCKED cell-4-5 west) + (BLOCKED cell-2-11 west) + (BLOCKED cell-1-11 east) + (BLOCKED cell-9-2 north) + (BLOCKED cell-9-1 south) + (BLOCKED cell-13-5 north) + (BLOCKED cell-13-4 south) + (BLOCKED cell-1-16 east) + (BLOCKED cell-2-16 west) + (BLOCKED cell-3-6 east) + (BLOCKED cell-4-6 west) + (BLOCKED cell-11-8 south) + (BLOCKED cell-11-9 north) + (BLOCKED cell-12-14 west) + (BLOCKED cell-11-14 east) + (BLOCKED cell-2-4 north) + (BLOCKED cell-2-3 south) + (BLOCKED cell-6-7 east) + (BLOCKED cell-7-7 west) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-10) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + + (at robot-1 cell-9-9) ;; red + (at robot-2 cell-9-11) ;; blue + (at robot-3 cell-8-15) ;; green + (at robot-4 cell-11-10) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-2-4) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p16.pddl b/ricochet-robots-opt23-adl/p16.pddl new file mode 100644 index 00000000..0daf8282 --- /dev/null +++ b/ricochet-robots-opt23-adl/p16.pddl @@ -0,0 +1,1470 @@ +;; Generated from file generate-574250.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | | | | | | | | | | x x +;; +--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | x | x | | | x | | | | | x +;; +--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+xx+ +;; x | | | | xR2| | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | | | | x | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | x | | | x | | | | | | x +;; +--+--+--+--+--+--+--+--+xx+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | |R4| | x x x +;; +xx+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | x | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+xx+--+xx+ +;; x | | | | | | | | | | |R1| | | | x +;; +xx+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | x | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | x x | | x | | | | | x +;; +--+--+xx+--+--+--+--+xx+xx+--+--+--+xx+xx+--+--+ +;; x x | | x | | | | | | | | | | | x +;; +xx+--+--+--+--+--+xx+--+--+xx+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +--+--+--+--+--+xx+xx+--+--+--+xx+--+xx+--+xx+--+ +;; x | x | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | x |G2| x | | | | x x +;; +--+--+--+--+--+--+xx+--+xx+--+--+--+--+--+--+xx+ +;; x x | | | | | | | | | | | | | | x +;; +--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR3| | | x | | x x | | | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-None-426848) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-10-4 east) + (BLOCKED cell-11-4 west) + (BLOCKED cell-16-2 south) + (BLOCKED cell-16-3 north) + (BLOCKED cell-15-13 north) + (BLOCKED cell-15-12 south) + (BLOCKED cell-8-16 east) + (BLOCKED cell-9-16 west) + (BLOCKED cell-10-7 south) + (BLOCKED cell-10-8 north) + (BLOCKED cell-4-15 south) + (BLOCKED cell-4-16 north) + (BLOCKED cell-9-6 north) + (BLOCKED cell-9-5 south) + (BLOCKED cell-3-13 west) + (BLOCKED cell-2-13 east) + (BLOCKED cell-5-4 north) + (BLOCKED cell-5-3 south) + (BLOCKED cell-1-15 east) + (BLOCKED cell-2-15 west) + (BLOCKED cell-11-14 west) + (BLOCKED cell-10-14 east) + (BLOCKED cell-16-14 north) + (BLOCKED cell-16-13 south) + (BLOCKED cell-11-2 north) + (BLOCKED cell-11-1 south) + (BLOCKED cell-9-5 east) + (BLOCKED cell-10-5 west) + (BLOCKED cell-3-11 north) + (BLOCKED cell-3-10 south) + (BLOCKED cell-12-4 south) + (BLOCKED cell-12-5 north) + (BLOCKED cell-2-8 south) + (BLOCKED cell-2-9 north) + (BLOCKED cell-6-2 east) + (BLOCKED cell-7-2 west) + (BLOCKED cell-13-11 north) + (BLOCKED cell-13-10 south) + (BLOCKED cell-10-11 south) + (BLOCKED cell-10-12 north) + (BLOCKED cell-6-13 north) + (BLOCKED cell-6-12 south) + (BLOCKED cell-10-10 east) + (BLOCKED cell-11-10 west) + (BLOCKED cell-7-14 east) + (BLOCKED cell-8-14 west) + (BLOCKED cell-7-12 north) + (BLOCKED cell-7-11 south) + (BLOCKED cell-9-14 south) + (BLOCKED cell-9-15 north) + (BLOCKED cell-2-3 south) + (BLOCKED cell-2-4 north) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-9-3 north) + (BLOCKED cell-9-2 south) + (BLOCKED cell-16-14 south) + (BLOCKED cell-16-15 north) + (BLOCKED cell-7-10 west) + (BLOCKED cell-6-10 east) + (BLOCKED cell-7-12 south) + (BLOCKED cell-7-13 north) + (BLOCKED cell-5-5 east) + (BLOCKED cell-6-5 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-12-4 north) + (BLOCKED cell-12-3 south) + (BLOCKED cell-1-8 south) + (BLOCKED cell-1-9 north) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-10 south) + (BLOCKED cell-10-2 east) + (BLOCKED cell-11-2 west) + (BLOCKED cell-1-14 north) + (BLOCKED cell-1-13 south) + (BLOCKED cell-16-7 south) + (BLOCKED cell-16-8 north) + (BLOCKED cell-12-6 south) + (BLOCKED cell-12-7 north) + (BLOCKED cell-5-3 east) + (BLOCKED cell-6-3 west) + (BLOCKED cell-13-12 south) + (BLOCKED cell-13-13 north) + (BLOCKED cell-5-11 west) + (BLOCKED cell-4-11 east) + (BLOCKED cell-8-16 west) + (BLOCKED cell-7-16 east) + (BLOCKED cell-1-11 south) + (BLOCKED cell-1-12 north) + (BLOCKED cell-2-7 east) + (BLOCKED cell-3-7 west) + (BLOCKED cell-11-6 north) + (BLOCKED cell-11-5 south) + (BLOCKED cell-8-10 west) + (BLOCKED cell-7-10 east) + (BLOCKED cell-12-9 south) + (BLOCKED cell-12-10 north) + (BLOCKED cell-7-15 north) + (BLOCKED cell-7-14 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-10-9 east) + (BLOCKED cell-11-9 west) + (BLOCKED cell-15-6 east) + (BLOCKED cell-16-6 west) + (BLOCKED cell-16-14 west) + (BLOCKED cell-15-14 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 east) + (BLOCKED cell-14-6 east) + (BLOCKED cell-15-6 west) + (BLOCKED cell-2-11 west) + (BLOCKED cell-1-11 east) + (BLOCKED cell-8-11 north) + (BLOCKED cell-8-10 south) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-16-1 west) + (BLOCKED cell-15-1 east) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-7) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + + (at robot-1 cell-12-8) ;; red + (at robot-2 cell-6-3) ;; blue + (at robot-3 cell-1-16) ;; green + (at robot-4 cell-12-6) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-2 cell-9-14) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p17.pddl b/ricochet-robots-opt23-adl/p17.pddl new file mode 100644 index 00000000..b4929f7b --- /dev/null +++ b/ricochet-robots-opt23-adl/p17.pddl @@ -0,0 +1,1796 @@ +;; Generated from file generate-574857.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | x | | | | x | | | | | x x +;; +--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+ +;; x x x | | | | | | | | | x | x | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | |R4| | x |G2| | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | x x | x x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+--+--+--+xx+--+--+xx+--+--+--+ +;; x | | | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+xx+--+--+ +;; x | | | | | | | | | | | x | | | | | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | |R2| | | x +;; +--+--+xx+--+--+--+--+--+--+xx+--+--+--+--+xx+--+--+xx+ +;; x | x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+xx+xx+--+--+--+--+ +;; x x | | | x | | x | x | | | | | | | x +;; +--+xx+xx+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+ +;; x x | | | | | | |R3| | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | | | | | | |R1| | | | | | x +;; +--+xx+--+xx+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-18x18-None-582265) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-1-17 cell-1-18 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-2-17 cell-2-18 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-3-17 cell-3-18 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-4-17 cell-4-18 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-5-17 cell-5-18 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-6-17 cell-6-18 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-7-17 cell-7-18 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-8-17 cell-8-18 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-9-17 cell-9-18 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-10-17 cell-10-18 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-11-17 cell-11-18 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-12-17 cell-12-18 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-13-17 cell-13-18 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-14-17 cell-14-18 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-15-17 cell-15-18 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 cell-16-17 cell-16-18 cell-17-1 cell-17-2 cell-17-3 cell-17-4 cell-17-5 cell-17-6 cell-17-7 cell-17-8 cell-17-9 cell-17-10 cell-17-11 cell-17-12 cell-17-13 cell-17-14 cell-17-15 cell-17-16 cell-17-17 cell-17-18 cell-18-1 cell-18-2 cell-18-3 cell-18-4 cell-18-5 cell-18-6 cell-18-7 cell-18-8 cell-18-9 cell-18-10 cell-18-11 cell-18-12 cell-18-13 cell-18-14 cell-18-15 cell-18-16 cell-18-17 cell-18-18 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-1-16 cell-1-17 south) + (NEXT cell-1-17 cell-1-18 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-2-16 cell-2-17 south) + (NEXT cell-2-17 cell-2-18 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-3-16 cell-3-17 south) + (NEXT cell-3-17 cell-3-18 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-4-16 cell-4-17 south) + (NEXT cell-4-17 cell-4-18 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-5-16 cell-5-17 south) + (NEXT cell-5-17 cell-5-18 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-6-16 cell-6-17 south) + (NEXT cell-6-17 cell-6-18 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-7-16 cell-7-17 south) + (NEXT cell-7-17 cell-7-18 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-8-16 cell-8-17 south) + (NEXT cell-8-17 cell-8-18 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-9-16 cell-9-17 south) + (NEXT cell-9-17 cell-9-18 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-10-16 cell-10-17 south) + (NEXT cell-10-17 cell-10-18 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-11-16 cell-11-17 south) + (NEXT cell-11-17 cell-11-18 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-12-16 cell-12-17 south) + (NEXT cell-12-17 cell-12-18 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-13-16 cell-13-17 south) + (NEXT cell-13-17 cell-13-18 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-14-16 cell-14-17 south) + (NEXT cell-14-17 cell-14-18 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-15-16 cell-15-17 south) + (NEXT cell-15-17 cell-15-18 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-16-16 cell-16-17 south) + (NEXT cell-16-17 cell-16-18 south) + (NEXT cell-17-1 cell-17-2 south) + (NEXT cell-17-2 cell-17-3 south) + (NEXT cell-17-3 cell-17-4 south) + (NEXT cell-17-4 cell-17-5 south) + (NEXT cell-17-5 cell-17-6 south) + (NEXT cell-17-6 cell-17-7 south) + (NEXT cell-17-7 cell-17-8 south) + (NEXT cell-17-8 cell-17-9 south) + (NEXT cell-17-9 cell-17-10 south) + (NEXT cell-17-10 cell-17-11 south) + (NEXT cell-17-11 cell-17-12 south) + (NEXT cell-17-12 cell-17-13 south) + (NEXT cell-17-13 cell-17-14 south) + (NEXT cell-17-14 cell-17-15 south) + (NEXT cell-17-15 cell-17-16 south) + (NEXT cell-17-16 cell-17-17 south) + (NEXT cell-17-17 cell-17-18 south) + (NEXT cell-18-1 cell-18-2 south) + (NEXT cell-18-2 cell-18-3 south) + (NEXT cell-18-3 cell-18-4 south) + (NEXT cell-18-4 cell-18-5 south) + (NEXT cell-18-5 cell-18-6 south) + (NEXT cell-18-6 cell-18-7 south) + (NEXT cell-18-7 cell-18-8 south) + (NEXT cell-18-8 cell-18-9 south) + (NEXT cell-18-9 cell-18-10 south) + (NEXT cell-18-10 cell-18-11 south) + (NEXT cell-18-11 cell-18-12 south) + (NEXT cell-18-12 cell-18-13 south) + (NEXT cell-18-13 cell-18-14 south) + (NEXT cell-18-14 cell-18-15 south) + (NEXT cell-18-15 cell-18-16 south) + (NEXT cell-18-16 cell-18-17 south) + (NEXT cell-18-17 cell-18-18 south) + (NEXT cell-1-18 cell-1-17 north) + (NEXT cell-1-17 cell-1-16 north) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-18 cell-2-17 north) + (NEXT cell-2-17 cell-2-16 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-18 cell-3-17 north) + (NEXT cell-3-17 cell-3-16 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-18 cell-4-17 north) + (NEXT cell-4-17 cell-4-16 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-18 cell-5-17 north) + (NEXT cell-5-17 cell-5-16 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-18 cell-6-17 north) + (NEXT cell-6-17 cell-6-16 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-18 cell-7-17 north) + (NEXT cell-7-17 cell-7-16 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-18 cell-8-17 north) + (NEXT cell-8-17 cell-8-16 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-18 cell-9-17 north) + (NEXT cell-9-17 cell-9-16 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-18 cell-10-17 north) + (NEXT cell-10-17 cell-10-16 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-18 cell-11-17 north) + (NEXT cell-11-17 cell-11-16 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-18 cell-12-17 north) + (NEXT cell-12-17 cell-12-16 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-18 cell-13-17 north) + (NEXT cell-13-17 cell-13-16 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-18 cell-14-17 north) + (NEXT cell-14-17 cell-14-16 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-18 cell-15-17 north) + (NEXT cell-15-17 cell-15-16 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-18 cell-16-17 north) + (NEXT cell-16-17 cell-16-16 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-17-18 cell-17-17 north) + (NEXT cell-17-17 cell-17-16 north) + (NEXT cell-17-16 cell-17-15 north) + (NEXT cell-17-15 cell-17-14 north) + (NEXT cell-17-14 cell-17-13 north) + (NEXT cell-17-13 cell-17-12 north) + (NEXT cell-17-12 cell-17-11 north) + (NEXT cell-17-11 cell-17-10 north) + (NEXT cell-17-10 cell-17-9 north) + (NEXT cell-17-9 cell-17-8 north) + (NEXT cell-17-8 cell-17-7 north) + (NEXT cell-17-7 cell-17-6 north) + (NEXT cell-17-6 cell-17-5 north) + (NEXT cell-17-5 cell-17-4 north) + (NEXT cell-17-4 cell-17-3 north) + (NEXT cell-17-3 cell-17-2 north) + (NEXT cell-17-2 cell-17-1 north) + (NEXT cell-18-18 cell-18-17 north) + (NEXT cell-18-17 cell-18-16 north) + (NEXT cell-18-16 cell-18-15 north) + (NEXT cell-18-15 cell-18-14 north) + (NEXT cell-18-14 cell-18-13 north) + (NEXT cell-18-13 cell-18-12 north) + (NEXT cell-18-12 cell-18-11 north) + (NEXT cell-18-11 cell-18-10 north) + (NEXT cell-18-10 cell-18-9 north) + (NEXT cell-18-9 cell-18-8 north) + (NEXT cell-18-8 cell-18-7 north) + (NEXT cell-18-7 cell-18-6 north) + (NEXT cell-18-6 cell-18-5 north) + (NEXT cell-18-5 cell-18-4 north) + (NEXT cell-18-4 cell-18-3 north) + (NEXT cell-18-3 cell-18-2 north) + (NEXT cell-18-2 cell-18-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-16-1 cell-17-1 east) + (NEXT cell-17-1 cell-18-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-16-2 cell-17-2 east) + (NEXT cell-17-2 cell-18-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-16-3 cell-17-3 east) + (NEXT cell-17-3 cell-18-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-16-4 cell-17-4 east) + (NEXT cell-17-4 cell-18-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-16-5 cell-17-5 east) + (NEXT cell-17-5 cell-18-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-16-6 cell-17-6 east) + (NEXT cell-17-6 cell-18-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-16-7 cell-17-7 east) + (NEXT cell-17-7 cell-18-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-16-8 cell-17-8 east) + (NEXT cell-17-8 cell-18-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-16-9 cell-17-9 east) + (NEXT cell-17-9 cell-18-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-16-10 cell-17-10 east) + (NEXT cell-17-10 cell-18-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-16-11 cell-17-11 east) + (NEXT cell-17-11 cell-18-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-16-12 cell-17-12 east) + (NEXT cell-17-12 cell-18-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-16-13 cell-17-13 east) + (NEXT cell-17-13 cell-18-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-16-14 cell-17-14 east) + (NEXT cell-17-14 cell-18-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-16-15 cell-17-15 east) + (NEXT cell-17-15 cell-18-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-16 cell-17-16 east) + (NEXT cell-17-16 cell-18-16 east) + (NEXT cell-1-17 cell-2-17 east) + (NEXT cell-2-17 cell-3-17 east) + (NEXT cell-3-17 cell-4-17 east) + (NEXT cell-4-17 cell-5-17 east) + (NEXT cell-5-17 cell-6-17 east) + (NEXT cell-6-17 cell-7-17 east) + (NEXT cell-7-17 cell-8-17 east) + (NEXT cell-8-17 cell-9-17 east) + (NEXT cell-9-17 cell-10-17 east) + (NEXT cell-10-17 cell-11-17 east) + (NEXT cell-11-17 cell-12-17 east) + (NEXT cell-12-17 cell-13-17 east) + (NEXT cell-13-17 cell-14-17 east) + (NEXT cell-14-17 cell-15-17 east) + (NEXT cell-15-17 cell-16-17 east) + (NEXT cell-16-17 cell-17-17 east) + (NEXT cell-17-17 cell-18-17 east) + (NEXT cell-1-18 cell-2-18 east) + (NEXT cell-2-18 cell-3-18 east) + (NEXT cell-3-18 cell-4-18 east) + (NEXT cell-4-18 cell-5-18 east) + (NEXT cell-5-18 cell-6-18 east) + (NEXT cell-6-18 cell-7-18 east) + (NEXT cell-7-18 cell-8-18 east) + (NEXT cell-8-18 cell-9-18 east) + (NEXT cell-9-18 cell-10-18 east) + (NEXT cell-10-18 cell-11-18 east) + (NEXT cell-11-18 cell-12-18 east) + (NEXT cell-12-18 cell-13-18 east) + (NEXT cell-13-18 cell-14-18 east) + (NEXT cell-14-18 cell-15-18 east) + (NEXT cell-15-18 cell-16-18 east) + (NEXT cell-16-18 cell-17-18 east) + (NEXT cell-17-18 cell-18-18 east) + (NEXT cell-18-1 cell-17-1 west) + (NEXT cell-17-1 cell-16-1 west) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-18-2 cell-17-2 west) + (NEXT cell-17-2 cell-16-2 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-18-3 cell-17-3 west) + (NEXT cell-17-3 cell-16-3 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-18-4 cell-17-4 west) + (NEXT cell-17-4 cell-16-4 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-18-5 cell-17-5 west) + (NEXT cell-17-5 cell-16-5 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-18-6 cell-17-6 west) + (NEXT cell-17-6 cell-16-6 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-18-7 cell-17-7 west) + (NEXT cell-17-7 cell-16-7 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-18-8 cell-17-8 west) + (NEXT cell-17-8 cell-16-8 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-18-9 cell-17-9 west) + (NEXT cell-17-9 cell-16-9 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-18-10 cell-17-10 west) + (NEXT cell-17-10 cell-16-10 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-18-11 cell-17-11 west) + (NEXT cell-17-11 cell-16-11 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-18-12 cell-17-12 west) + (NEXT cell-17-12 cell-16-12 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-18-13 cell-17-13 west) + (NEXT cell-17-13 cell-16-13 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-18-14 cell-17-14 west) + (NEXT cell-17-14 cell-16-14 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-18-15 cell-17-15 west) + (NEXT cell-17-15 cell-16-15 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-18-16 cell-17-16 west) + (NEXT cell-17-16 cell-16-16 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + (NEXT cell-18-17 cell-17-17 west) + (NEXT cell-17-17 cell-16-17 west) + (NEXT cell-16-17 cell-15-17 west) + (NEXT cell-15-17 cell-14-17 west) + (NEXT cell-14-17 cell-13-17 west) + (NEXT cell-13-17 cell-12-17 west) + (NEXT cell-12-17 cell-11-17 west) + (NEXT cell-11-17 cell-10-17 west) + (NEXT cell-10-17 cell-9-17 west) + (NEXT cell-9-17 cell-8-17 west) + (NEXT cell-8-17 cell-7-17 west) + (NEXT cell-7-17 cell-6-17 west) + (NEXT cell-6-17 cell-5-17 west) + (NEXT cell-5-17 cell-4-17 west) + (NEXT cell-4-17 cell-3-17 west) + (NEXT cell-3-17 cell-2-17 west) + (NEXT cell-2-17 cell-1-17 west) + (NEXT cell-18-18 cell-17-18 west) + (NEXT cell-17-18 cell-16-18 west) + (NEXT cell-16-18 cell-15-18 west) + (NEXT cell-15-18 cell-14-18 west) + (NEXT cell-14-18 cell-13-18 west) + (NEXT cell-13-18 cell-12-18 west) + (NEXT cell-12-18 cell-11-18 west) + (NEXT cell-11-18 cell-10-18 west) + (NEXT cell-10-18 cell-9-18 west) + (NEXT cell-9-18 cell-8-18 west) + (NEXT cell-8-18 cell-7-18 west) + (NEXT cell-7-18 cell-6-18 west) + (NEXT cell-6-18 cell-5-18 west) + (NEXT cell-5-18 cell-4-18 west) + (NEXT cell-4-18 cell-3-18 west) + (NEXT cell-3-18 cell-2-18 west) + (NEXT cell-2-18 cell-1-18 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-18 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-18 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-18 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-18 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-18 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-18 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-18 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-18 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-18 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-18 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-18 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-18 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-18 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-18 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-18 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-18 south) + (BLOCKED cell-17-1 north) + (BLOCKED cell-17-18 south) + (BLOCKED cell-18-1 north) + (BLOCKED cell-18-18 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-18-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-18-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-18-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-18-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-18-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-18-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-18-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-18-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-18-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-18-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-18-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-18-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-18-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-18-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-18-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-18-16 east) + (BLOCKED cell-1-17 west) + (BLOCKED cell-18-17 east) + (BLOCKED cell-1-18 west) + (BLOCKED cell-18-18 east) + (BLOCKED cell-2-16 north) + (BLOCKED cell-2-15 south) + (BLOCKED cell-11-6 south) + (BLOCKED cell-11-7 north) + (BLOCKED cell-12-17 south) + (BLOCKED cell-12-18 north) + (BLOCKED cell-3-18 east) + (BLOCKED cell-4-18 west) + (BLOCKED cell-6-15 west) + (BLOCKED cell-5-15 east) + (BLOCKED cell-15-9 north) + (BLOCKED cell-15-8 south) + (BLOCKED cell-12-1 west) + (BLOCKED cell-11-1 east) + (BLOCKED cell-4-4 west) + (BLOCKED cell-3-4 east) + (BLOCKED cell-2-15 north) + (BLOCKED cell-2-14 south) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-3-2 west) + (BLOCKED cell-2-2 east) + (BLOCKED cell-1-8 north) + (BLOCKED cell-1-7 south) + (BLOCKED cell-2-17 south) + (BLOCKED cell-2-18 north) + (BLOCKED cell-12-11 east) + (BLOCKED cell-13-11 west) + (BLOCKED cell-12-10 north) + (BLOCKED cell-12-9 south) + (BLOCKED cell-13-5 west) + (BLOCKED cell-12-5 east) + (BLOCKED cell-17-16 south) + (BLOCKED cell-17-17 north) + (BLOCKED cell-16-2 north) + (BLOCKED cell-16-1 south) + (BLOCKED cell-1-2 east) + (BLOCKED cell-2-2 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-3-5 south) + (BLOCKED cell-3-6 north) + (BLOCKED cell-12-2 east) + (BLOCKED cell-13-2 west) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-18-6 south) + (BLOCKED cell-18-7 north) + (BLOCKED cell-9-15 west) + (BLOCKED cell-8-15 east) + (BLOCKED cell-17-1 east) + (BLOCKED cell-18-1 west) + (BLOCKED cell-4-17 south) + (BLOCKED cell-4-18 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-8-8 south) + (BLOCKED cell-8-9 north) + (BLOCKED cell-18-13 north) + (BLOCKED cell-18-12 south) + (BLOCKED cell-2-16 west) + (BLOCKED cell-1-16 east) + (BLOCKED cell-7-1 west) + (BLOCKED cell-6-1 east) + (BLOCKED cell-3-13 north) + (BLOCKED cell-3-12 south) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-12-9 north) + (BLOCKED cell-12-8 south) + (BLOCKED cell-14-14 south) + (BLOCKED cell-14-15 north) + (BLOCKED cell-2-13 east) + (BLOCKED cell-3-13 west) + (BLOCKED cell-13-11 north) + (BLOCKED cell-13-10 south) + (BLOCKED cell-16-11 north) + (BLOCKED cell-16-10 south) + (BLOCKED cell-17-13 south) + (BLOCKED cell-17-14 north) + (BLOCKED cell-16-16 north) + (BLOCKED cell-16-15 south) + (BLOCKED cell-17-7 east) + (BLOCKED cell-18-7 west) + (BLOCKED cell-15-12 south) + (BLOCKED cell-15-13 north) + (BLOCKED cell-2-12 north) + (BLOCKED cell-2-11 south) + (BLOCKED cell-8-10 east) + (BLOCKED cell-9-10 west) + (BLOCKED cell-4-1 south) + (BLOCKED cell-4-2 north) + (BLOCKED cell-5-3 east) + (BLOCKED cell-6-3 west) + (BLOCKED cell-15-7 east) + (BLOCKED cell-16-7 west) + (BLOCKED cell-12-5 south) + (BLOCKED cell-12-6 north) + (BLOCKED cell-10-13 north) + (BLOCKED cell-10-12 south) + (BLOCKED cell-2-15 west) + (BLOCKED cell-1-15 east) + (BLOCKED cell-13-15 north) + (BLOCKED cell-13-14 south) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-1-17) + (free cell-1-18) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-2-17) + (free cell-2-18) + (free cell-3-1) + (free cell-3-2) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-3-17) + (free cell-3-18) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-4-17) + (free cell-4-18) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-5-17) + (free cell-5-18) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-6-17) + (free cell-6-18) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-7-17) + (free cell-7-18) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-8-17) + (free cell-8-18) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-17) + (free cell-9-18) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-10-17) + (free cell-10-18) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-11-17) + (free cell-11-18) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-12-18) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-13-17) + (free cell-13-18) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-14-17) + (free cell-14-18) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-15-17) + (free cell-15-18) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + (free cell-16-17) + (free cell-16-18) + (free cell-17-1) + (free cell-17-2) + (free cell-17-3) + (free cell-17-4) + (free cell-17-5) + (free cell-17-6) + (free cell-17-7) + (free cell-17-8) + (free cell-17-9) + (free cell-17-10) + (free cell-17-11) + (free cell-17-12) + (free cell-17-13) + (free cell-17-14) + (free cell-17-15) + (free cell-17-16) + (free cell-17-17) + (free cell-17-18) + (free cell-18-1) + (free cell-18-2) + (free cell-18-3) + (free cell-18-4) + (free cell-18-5) + (free cell-18-6) + (free cell-18-7) + (free cell-18-8) + (free cell-18-9) + (free cell-18-10) + (free cell-18-11) + (free cell-18-12) + (free cell-18-13) + (free cell-18-14) + (free cell-18-15) + (free cell-18-16) + (free cell-18-17) + (free cell-18-18) + + (at robot-1 cell-12-17) ;; red + (at robot-2 cell-15-12) ;; blue + (at robot-3 cell-9-16) ;; green + (at robot-4 cell-3-3) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-2 cell-7-3) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p18.pddl b/ricochet-robots-opt23-adl/p18.pddl new file mode 100644 index 00000000..87eeb0b2 --- /dev/null +++ b/ricochet-robots-opt23-adl/p18.pddl @@ -0,0 +1,1780 @@ +;; Generated from file generate-574857.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | x | | | | | x | | | | | | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+ +;; x | | | | x x | | | | |R3| | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | x | |R2| x | | | | |G3| | x +;; +--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | x | | x x | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | | | x +;; +--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x x | | | | | | | | x | x | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | x x | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+ +;; x | | | | | | | | | | | | | | | | x x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x x | | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x x | | | x | | | | | | | | | | | | x +;; +--+xx+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+ +;; x | | | | x | | | | | | | | | | x | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+xx+--+--+--+--+xx+--+--+--+ +;; x | |R4| | | | | | | | | | | | | | | x +;; +--+--+--+--+xx+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+xx+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | x | | | | x | | | | |R1| | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-18x18-None-542747) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-1-17 cell-1-18 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-2-17 cell-2-18 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-3-17 cell-3-18 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-4-17 cell-4-18 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-5-17 cell-5-18 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-6-17 cell-6-18 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-7-17 cell-7-18 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-8-17 cell-8-18 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-9-17 cell-9-18 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-10-17 cell-10-18 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-11-17 cell-11-18 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-12-17 cell-12-18 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-13-17 cell-13-18 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-14-17 cell-14-18 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-15-17 cell-15-18 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 cell-16-17 cell-16-18 cell-17-1 cell-17-2 cell-17-3 cell-17-4 cell-17-5 cell-17-6 cell-17-7 cell-17-8 cell-17-9 cell-17-10 cell-17-11 cell-17-12 cell-17-13 cell-17-14 cell-17-15 cell-17-16 cell-17-17 cell-17-18 cell-18-1 cell-18-2 cell-18-3 cell-18-4 cell-18-5 cell-18-6 cell-18-7 cell-18-8 cell-18-9 cell-18-10 cell-18-11 cell-18-12 cell-18-13 cell-18-14 cell-18-15 cell-18-16 cell-18-17 cell-18-18 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-1-16 cell-1-17 south) + (NEXT cell-1-17 cell-1-18 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-2-16 cell-2-17 south) + (NEXT cell-2-17 cell-2-18 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-3-16 cell-3-17 south) + (NEXT cell-3-17 cell-3-18 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-4-16 cell-4-17 south) + (NEXT cell-4-17 cell-4-18 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-5-16 cell-5-17 south) + (NEXT cell-5-17 cell-5-18 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-6-16 cell-6-17 south) + (NEXT cell-6-17 cell-6-18 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-7-16 cell-7-17 south) + (NEXT cell-7-17 cell-7-18 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-8-16 cell-8-17 south) + (NEXT cell-8-17 cell-8-18 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-9-16 cell-9-17 south) + (NEXT cell-9-17 cell-9-18 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-10-16 cell-10-17 south) + (NEXT cell-10-17 cell-10-18 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-11-16 cell-11-17 south) + (NEXT cell-11-17 cell-11-18 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-12-16 cell-12-17 south) + (NEXT cell-12-17 cell-12-18 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-13-16 cell-13-17 south) + (NEXT cell-13-17 cell-13-18 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-14-16 cell-14-17 south) + (NEXT cell-14-17 cell-14-18 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-15-16 cell-15-17 south) + (NEXT cell-15-17 cell-15-18 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-16-16 cell-16-17 south) + (NEXT cell-16-17 cell-16-18 south) + (NEXT cell-17-1 cell-17-2 south) + (NEXT cell-17-2 cell-17-3 south) + (NEXT cell-17-3 cell-17-4 south) + (NEXT cell-17-4 cell-17-5 south) + (NEXT cell-17-5 cell-17-6 south) + (NEXT cell-17-6 cell-17-7 south) + (NEXT cell-17-7 cell-17-8 south) + (NEXT cell-17-8 cell-17-9 south) + (NEXT cell-17-9 cell-17-10 south) + (NEXT cell-17-10 cell-17-11 south) + (NEXT cell-17-11 cell-17-12 south) + (NEXT cell-17-12 cell-17-13 south) + (NEXT cell-17-13 cell-17-14 south) + (NEXT cell-17-14 cell-17-15 south) + (NEXT cell-17-15 cell-17-16 south) + (NEXT cell-17-16 cell-17-17 south) + (NEXT cell-17-17 cell-17-18 south) + (NEXT cell-18-1 cell-18-2 south) + (NEXT cell-18-2 cell-18-3 south) + (NEXT cell-18-3 cell-18-4 south) + (NEXT cell-18-4 cell-18-5 south) + (NEXT cell-18-5 cell-18-6 south) + (NEXT cell-18-6 cell-18-7 south) + (NEXT cell-18-7 cell-18-8 south) + (NEXT cell-18-8 cell-18-9 south) + (NEXT cell-18-9 cell-18-10 south) + (NEXT cell-18-10 cell-18-11 south) + (NEXT cell-18-11 cell-18-12 south) + (NEXT cell-18-12 cell-18-13 south) + (NEXT cell-18-13 cell-18-14 south) + (NEXT cell-18-14 cell-18-15 south) + (NEXT cell-18-15 cell-18-16 south) + (NEXT cell-18-16 cell-18-17 south) + (NEXT cell-18-17 cell-18-18 south) + (NEXT cell-1-18 cell-1-17 north) + (NEXT cell-1-17 cell-1-16 north) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-18 cell-2-17 north) + (NEXT cell-2-17 cell-2-16 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-18 cell-3-17 north) + (NEXT cell-3-17 cell-3-16 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-18 cell-4-17 north) + (NEXT cell-4-17 cell-4-16 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-18 cell-5-17 north) + (NEXT cell-5-17 cell-5-16 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-18 cell-6-17 north) + (NEXT cell-6-17 cell-6-16 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-18 cell-7-17 north) + (NEXT cell-7-17 cell-7-16 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-18 cell-8-17 north) + (NEXT cell-8-17 cell-8-16 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-18 cell-9-17 north) + (NEXT cell-9-17 cell-9-16 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-18 cell-10-17 north) + (NEXT cell-10-17 cell-10-16 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-18 cell-11-17 north) + (NEXT cell-11-17 cell-11-16 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-18 cell-12-17 north) + (NEXT cell-12-17 cell-12-16 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-18 cell-13-17 north) + (NEXT cell-13-17 cell-13-16 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-18 cell-14-17 north) + (NEXT cell-14-17 cell-14-16 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-18 cell-15-17 north) + (NEXT cell-15-17 cell-15-16 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-18 cell-16-17 north) + (NEXT cell-16-17 cell-16-16 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-17-18 cell-17-17 north) + (NEXT cell-17-17 cell-17-16 north) + (NEXT cell-17-16 cell-17-15 north) + (NEXT cell-17-15 cell-17-14 north) + (NEXT cell-17-14 cell-17-13 north) + (NEXT cell-17-13 cell-17-12 north) + (NEXT cell-17-12 cell-17-11 north) + (NEXT cell-17-11 cell-17-10 north) + (NEXT cell-17-10 cell-17-9 north) + (NEXT cell-17-9 cell-17-8 north) + (NEXT cell-17-8 cell-17-7 north) + (NEXT cell-17-7 cell-17-6 north) + (NEXT cell-17-6 cell-17-5 north) + (NEXT cell-17-5 cell-17-4 north) + (NEXT cell-17-4 cell-17-3 north) + (NEXT cell-17-3 cell-17-2 north) + (NEXT cell-17-2 cell-17-1 north) + (NEXT cell-18-18 cell-18-17 north) + (NEXT cell-18-17 cell-18-16 north) + (NEXT cell-18-16 cell-18-15 north) + (NEXT cell-18-15 cell-18-14 north) + (NEXT cell-18-14 cell-18-13 north) + (NEXT cell-18-13 cell-18-12 north) + (NEXT cell-18-12 cell-18-11 north) + (NEXT cell-18-11 cell-18-10 north) + (NEXT cell-18-10 cell-18-9 north) + (NEXT cell-18-9 cell-18-8 north) + (NEXT cell-18-8 cell-18-7 north) + (NEXT cell-18-7 cell-18-6 north) + (NEXT cell-18-6 cell-18-5 north) + (NEXT cell-18-5 cell-18-4 north) + (NEXT cell-18-4 cell-18-3 north) + (NEXT cell-18-3 cell-18-2 north) + (NEXT cell-18-2 cell-18-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-16-1 cell-17-1 east) + (NEXT cell-17-1 cell-18-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-16-2 cell-17-2 east) + (NEXT cell-17-2 cell-18-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-16-3 cell-17-3 east) + (NEXT cell-17-3 cell-18-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-16-4 cell-17-4 east) + (NEXT cell-17-4 cell-18-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-16-5 cell-17-5 east) + (NEXT cell-17-5 cell-18-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-16-6 cell-17-6 east) + (NEXT cell-17-6 cell-18-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-16-7 cell-17-7 east) + (NEXT cell-17-7 cell-18-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-16-8 cell-17-8 east) + (NEXT cell-17-8 cell-18-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-16-9 cell-17-9 east) + (NEXT cell-17-9 cell-18-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-16-10 cell-17-10 east) + (NEXT cell-17-10 cell-18-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-16-11 cell-17-11 east) + (NEXT cell-17-11 cell-18-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-16-12 cell-17-12 east) + (NEXT cell-17-12 cell-18-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-16-13 cell-17-13 east) + (NEXT cell-17-13 cell-18-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-16-14 cell-17-14 east) + (NEXT cell-17-14 cell-18-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-16-15 cell-17-15 east) + (NEXT cell-17-15 cell-18-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-16 cell-17-16 east) + (NEXT cell-17-16 cell-18-16 east) + (NEXT cell-1-17 cell-2-17 east) + (NEXT cell-2-17 cell-3-17 east) + (NEXT cell-3-17 cell-4-17 east) + (NEXT cell-4-17 cell-5-17 east) + (NEXT cell-5-17 cell-6-17 east) + (NEXT cell-6-17 cell-7-17 east) + (NEXT cell-7-17 cell-8-17 east) + (NEXT cell-8-17 cell-9-17 east) + (NEXT cell-9-17 cell-10-17 east) + (NEXT cell-10-17 cell-11-17 east) + (NEXT cell-11-17 cell-12-17 east) + (NEXT cell-12-17 cell-13-17 east) + (NEXT cell-13-17 cell-14-17 east) + (NEXT cell-14-17 cell-15-17 east) + (NEXT cell-15-17 cell-16-17 east) + (NEXT cell-16-17 cell-17-17 east) + (NEXT cell-17-17 cell-18-17 east) + (NEXT cell-1-18 cell-2-18 east) + (NEXT cell-2-18 cell-3-18 east) + (NEXT cell-3-18 cell-4-18 east) + (NEXT cell-4-18 cell-5-18 east) + (NEXT cell-5-18 cell-6-18 east) + (NEXT cell-6-18 cell-7-18 east) + (NEXT cell-7-18 cell-8-18 east) + (NEXT cell-8-18 cell-9-18 east) + (NEXT cell-9-18 cell-10-18 east) + (NEXT cell-10-18 cell-11-18 east) + (NEXT cell-11-18 cell-12-18 east) + (NEXT cell-12-18 cell-13-18 east) + (NEXT cell-13-18 cell-14-18 east) + (NEXT cell-14-18 cell-15-18 east) + (NEXT cell-15-18 cell-16-18 east) + (NEXT cell-16-18 cell-17-18 east) + (NEXT cell-17-18 cell-18-18 east) + (NEXT cell-18-1 cell-17-1 west) + (NEXT cell-17-1 cell-16-1 west) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-18-2 cell-17-2 west) + (NEXT cell-17-2 cell-16-2 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-18-3 cell-17-3 west) + (NEXT cell-17-3 cell-16-3 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-18-4 cell-17-4 west) + (NEXT cell-17-4 cell-16-4 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-18-5 cell-17-5 west) + (NEXT cell-17-5 cell-16-5 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-18-6 cell-17-6 west) + (NEXT cell-17-6 cell-16-6 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-18-7 cell-17-7 west) + (NEXT cell-17-7 cell-16-7 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-18-8 cell-17-8 west) + (NEXT cell-17-8 cell-16-8 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-18-9 cell-17-9 west) + (NEXT cell-17-9 cell-16-9 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-18-10 cell-17-10 west) + (NEXT cell-17-10 cell-16-10 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-18-11 cell-17-11 west) + (NEXT cell-17-11 cell-16-11 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-18-12 cell-17-12 west) + (NEXT cell-17-12 cell-16-12 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-18-13 cell-17-13 west) + (NEXT cell-17-13 cell-16-13 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-18-14 cell-17-14 west) + (NEXT cell-17-14 cell-16-14 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-18-15 cell-17-15 west) + (NEXT cell-17-15 cell-16-15 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-18-16 cell-17-16 west) + (NEXT cell-17-16 cell-16-16 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + (NEXT cell-18-17 cell-17-17 west) + (NEXT cell-17-17 cell-16-17 west) + (NEXT cell-16-17 cell-15-17 west) + (NEXT cell-15-17 cell-14-17 west) + (NEXT cell-14-17 cell-13-17 west) + (NEXT cell-13-17 cell-12-17 west) + (NEXT cell-12-17 cell-11-17 west) + (NEXT cell-11-17 cell-10-17 west) + (NEXT cell-10-17 cell-9-17 west) + (NEXT cell-9-17 cell-8-17 west) + (NEXT cell-8-17 cell-7-17 west) + (NEXT cell-7-17 cell-6-17 west) + (NEXT cell-6-17 cell-5-17 west) + (NEXT cell-5-17 cell-4-17 west) + (NEXT cell-4-17 cell-3-17 west) + (NEXT cell-3-17 cell-2-17 west) + (NEXT cell-2-17 cell-1-17 west) + (NEXT cell-18-18 cell-17-18 west) + (NEXT cell-17-18 cell-16-18 west) + (NEXT cell-16-18 cell-15-18 west) + (NEXT cell-15-18 cell-14-18 west) + (NEXT cell-14-18 cell-13-18 west) + (NEXT cell-13-18 cell-12-18 west) + (NEXT cell-12-18 cell-11-18 west) + (NEXT cell-11-18 cell-10-18 west) + (NEXT cell-10-18 cell-9-18 west) + (NEXT cell-9-18 cell-8-18 west) + (NEXT cell-8-18 cell-7-18 west) + (NEXT cell-7-18 cell-6-18 west) + (NEXT cell-6-18 cell-5-18 west) + (NEXT cell-5-18 cell-4-18 west) + (NEXT cell-4-18 cell-3-18 west) + (NEXT cell-3-18 cell-2-18 west) + (NEXT cell-2-18 cell-1-18 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-18 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-18 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-18 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-18 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-18 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-18 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-18 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-18 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-18 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-18 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-18 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-18 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-18 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-18 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-18 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-18 south) + (BLOCKED cell-17-1 north) + (BLOCKED cell-17-18 south) + (BLOCKED cell-18-1 north) + (BLOCKED cell-18-18 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-18-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-18-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-18-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-18-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-18-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-18-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-18-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-18-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-18-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-18-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-18-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-18-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-18-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-18-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-18-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-18-16 east) + (BLOCKED cell-1-17 west) + (BLOCKED cell-18-17 east) + (BLOCKED cell-1-18 west) + (BLOCKED cell-18-18 east) + (BLOCKED cell-5-14 east) + (BLOCKED cell-6-14 west) + (BLOCKED cell-1-15 south) + (BLOCKED cell-1-16 north) + (BLOCKED cell-9-18 east) + (BLOCKED cell-10-18 west) + (BLOCKED cell-13-18 north) + (BLOCKED cell-13-17 south) + (BLOCKED cell-13-5 west) + (BLOCKED cell-12-5 east) + (BLOCKED cell-9-5 west) + (BLOCKED cell-8-5 east) + (BLOCKED cell-17-9 south) + (BLOCKED cell-17-10 north) + (BLOCKED cell-6-10 east) + (BLOCKED cell-7-10 west) + (BLOCKED cell-13-7 west) + (BLOCKED cell-12-7 east) + (BLOCKED cell-5-1 east) + (BLOCKED cell-6-1 west) + (BLOCKED cell-18-2 north) + (BLOCKED cell-18-1 south) + (BLOCKED cell-17-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-5-16 south) + (BLOCKED cell-5-17 north) + (BLOCKED cell-14-15 west) + (BLOCKED cell-13-15 east) + (BLOCKED cell-4-6 south) + (BLOCKED cell-4-7 north) + (BLOCKED cell-17-9 east) + (BLOCKED cell-18-9 west) + (BLOCKED cell-12-17 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-4-18 north) + (BLOCKED cell-4-17 south) + (BLOCKED cell-11-4 west) + (BLOCKED cell-10-4 east) + (BLOCKED cell-5-13 east) + (BLOCKED cell-6-13 west) + (BLOCKED cell-10-7 east) + (BLOCKED cell-11-7 west) + (BLOCKED cell-5-8 east) + (BLOCKED cell-6-8 west) + (BLOCKED cell-15-6 west) + (BLOCKED cell-14-6 east) + (BLOCKED cell-10-15 south) + (BLOCKED cell-10-16 north) + (BLOCKED cell-5-2 east) + (BLOCKED cell-6-2 west) + (BLOCKED cell-9-13 south) + (BLOCKED cell-9-14 north) + (BLOCKED cell-7-4 north) + (BLOCKED cell-7-3 south) + (BLOCKED cell-8-12 east) + (BLOCKED cell-9-12 west) + (BLOCKED cell-6-2 east) + (BLOCKED cell-7-2 west) + (BLOCKED cell-9-4 south) + (BLOCKED cell-9-5 north) + (BLOCKED cell-15-15 south) + (BLOCKED cell-15-16 north) + (BLOCKED cell-16-9 north) + (BLOCKED cell-16-8 south) + (BLOCKED cell-5-8 west) + (BLOCKED cell-4-8 east) + (BLOCKED cell-2-14 north) + (BLOCKED cell-2-13 south) + (BLOCKED cell-2-12 west) + (BLOCKED cell-1-12 east) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-17-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-6-4 east) + (BLOCKED cell-7-4 west) + (BLOCKED cell-2-7 west) + (BLOCKED cell-1-7 east) + (BLOCKED cell-11-1 east) + (BLOCKED cell-12-1 west) + (BLOCKED cell-2-1 south) + (BLOCKED cell-2-2 north) + (BLOCKED cell-4-18 east) + (BLOCKED cell-5-18 west) + (BLOCKED cell-1-13 east) + (BLOCKED cell-2-13 west) + (BLOCKED cell-12-5 west) + (BLOCKED cell-11-5 east) + (BLOCKED cell-11-11 east) + (BLOCKED cell-12-11 west) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-1-17) + (free cell-1-18) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-2-17) + (free cell-2-18) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-17) + (free cell-3-18) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-4-17) + (free cell-4-18) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-5-17) + (free cell-5-18) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-6-17) + (free cell-6-18) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-7-17) + (free cell-7-18) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-8-17) + (free cell-8-18) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-9-17) + (free cell-9-18) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-10-17) + (free cell-10-18) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-11-17) + (free cell-11-18) + (free cell-12-1) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-12-17) + (free cell-12-18) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-13-17) + (free cell-13-18) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-14-17) + (free cell-14-18) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-15-17) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + (free cell-16-17) + (free cell-16-18) + (free cell-17-1) + (free cell-17-2) + (free cell-17-3) + (free cell-17-4) + (free cell-17-5) + (free cell-17-6) + (free cell-17-7) + (free cell-17-8) + (free cell-17-9) + (free cell-17-10) + (free cell-17-11) + (free cell-17-12) + (free cell-17-13) + (free cell-17-14) + (free cell-17-15) + (free cell-17-16) + (free cell-17-17) + (free cell-17-18) + (free cell-18-1) + (free cell-18-2) + (free cell-18-3) + (free cell-18-4) + (free cell-18-5) + (free cell-18-6) + (free cell-18-7) + (free cell-18-8) + (free cell-18-9) + (free cell-18-10) + (free cell-18-11) + (free cell-18-12) + (free cell-18-13) + (free cell-18-14) + (free cell-18-15) + (free cell-18-16) + (free cell-18-17) + (free cell-18-18) + + (at robot-1 cell-15-18) ;; red + (at robot-2 cell-9-4) ;; blue + (at robot-3 cell-12-2) ;; green + (at robot-4 cell-3-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-16-4) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p19.pddl b/ricochet-robots-opt23-adl/p19.pddl new file mode 100644 index 00000000..9e1ab1fe --- /dev/null +++ b/ricochet-robots-opt23-adl/p19.pddl @@ -0,0 +1,2226 @@ +;; Generated from file generate-576423.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | x | | | | | | | | | | x | | | | | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+ +;; x | | | | x | | x | | | | | | | | | | | x +;; +--+xx+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | x | | | | x x | | | | | | | | | x | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+xx+--+xx+ +;; x | | x x | | x x | | | | x | x | | | | x +;; +--+xx+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | | | | | | | |R2| | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+ +;; x x x | | | x | | x x | | | | | | x | | x +;; +--+--+--+--+xx+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+ +;; x | | | x | | | | | | | | | | | | | | | x +;; +--+--+--+xx+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | |R1| | | | x | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+xx+ +;; xR4| | | | | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+xx+--+--+--+--+--+xx+--+--+ +;; x | | | | | | | | | | | | | x | | | | x x +;; +--+xx+--+--+--+--+--+--+--+--+--+xx+--+xx+--+--+--+--+xx+--+ +;; x | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | x | | | | | | | x +;; +--+--+--+xx+--+--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+ +;; x | x | | | | | | | | | | | | x |R3| | | x +;; +--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | x | | |G4| x +;; +xx+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | x | | x | | | | | | | | | x x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | x | | | | | | | | | | | | x | | x +;; +--+--+--+--+--+--+--+xx+--+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | | | x | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-20x20-None-834918) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-1-17 cell-1-18 cell-1-19 cell-1-20 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-2-17 cell-2-18 cell-2-19 cell-2-20 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-3-17 cell-3-18 cell-3-19 cell-3-20 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-4-17 cell-4-18 cell-4-19 cell-4-20 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-5-17 cell-5-18 cell-5-19 cell-5-20 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-6-17 cell-6-18 cell-6-19 cell-6-20 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-7-17 cell-7-18 cell-7-19 cell-7-20 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-8-17 cell-8-18 cell-8-19 cell-8-20 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-9-17 cell-9-18 cell-9-19 cell-9-20 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-10-17 cell-10-18 cell-10-19 cell-10-20 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-11-17 cell-11-18 cell-11-19 cell-11-20 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-12-17 cell-12-18 cell-12-19 cell-12-20 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-13-17 cell-13-18 cell-13-19 cell-13-20 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-14-17 cell-14-18 cell-14-19 cell-14-20 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-15-17 cell-15-18 cell-15-19 cell-15-20 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 cell-16-17 cell-16-18 cell-16-19 cell-16-20 cell-17-1 cell-17-2 cell-17-3 cell-17-4 cell-17-5 cell-17-6 cell-17-7 cell-17-8 cell-17-9 cell-17-10 cell-17-11 cell-17-12 cell-17-13 cell-17-14 cell-17-15 cell-17-16 cell-17-17 cell-17-18 cell-17-19 cell-17-20 cell-18-1 cell-18-2 cell-18-3 cell-18-4 cell-18-5 cell-18-6 cell-18-7 cell-18-8 cell-18-9 cell-18-10 cell-18-11 cell-18-12 cell-18-13 cell-18-14 cell-18-15 cell-18-16 cell-18-17 cell-18-18 cell-18-19 cell-18-20 cell-19-1 cell-19-2 cell-19-3 cell-19-4 cell-19-5 cell-19-6 cell-19-7 cell-19-8 cell-19-9 cell-19-10 cell-19-11 cell-19-12 cell-19-13 cell-19-14 cell-19-15 cell-19-16 cell-19-17 cell-19-18 cell-19-19 cell-19-20 cell-20-1 cell-20-2 cell-20-3 cell-20-4 cell-20-5 cell-20-6 cell-20-7 cell-20-8 cell-20-9 cell-20-10 cell-20-11 cell-20-12 cell-20-13 cell-20-14 cell-20-15 cell-20-16 cell-20-17 cell-20-18 cell-20-19 cell-20-20 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-1-16 cell-1-17 south) + (NEXT cell-1-17 cell-1-18 south) + (NEXT cell-1-18 cell-1-19 south) + (NEXT cell-1-19 cell-1-20 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-2-16 cell-2-17 south) + (NEXT cell-2-17 cell-2-18 south) + (NEXT cell-2-18 cell-2-19 south) + (NEXT cell-2-19 cell-2-20 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-3-16 cell-3-17 south) + (NEXT cell-3-17 cell-3-18 south) + (NEXT cell-3-18 cell-3-19 south) + (NEXT cell-3-19 cell-3-20 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-4-16 cell-4-17 south) + (NEXT cell-4-17 cell-4-18 south) + (NEXT cell-4-18 cell-4-19 south) + (NEXT cell-4-19 cell-4-20 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-5-16 cell-5-17 south) + (NEXT cell-5-17 cell-5-18 south) + (NEXT cell-5-18 cell-5-19 south) + (NEXT cell-5-19 cell-5-20 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-6-16 cell-6-17 south) + (NEXT cell-6-17 cell-6-18 south) + (NEXT cell-6-18 cell-6-19 south) + (NEXT cell-6-19 cell-6-20 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-7-16 cell-7-17 south) + (NEXT cell-7-17 cell-7-18 south) + (NEXT cell-7-18 cell-7-19 south) + (NEXT cell-7-19 cell-7-20 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-8-16 cell-8-17 south) + (NEXT cell-8-17 cell-8-18 south) + (NEXT cell-8-18 cell-8-19 south) + (NEXT cell-8-19 cell-8-20 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-9-16 cell-9-17 south) + (NEXT cell-9-17 cell-9-18 south) + (NEXT cell-9-18 cell-9-19 south) + (NEXT cell-9-19 cell-9-20 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-10-16 cell-10-17 south) + (NEXT cell-10-17 cell-10-18 south) + (NEXT cell-10-18 cell-10-19 south) + (NEXT cell-10-19 cell-10-20 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-11-16 cell-11-17 south) + (NEXT cell-11-17 cell-11-18 south) + (NEXT cell-11-18 cell-11-19 south) + (NEXT cell-11-19 cell-11-20 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-12-16 cell-12-17 south) + (NEXT cell-12-17 cell-12-18 south) + (NEXT cell-12-18 cell-12-19 south) + (NEXT cell-12-19 cell-12-20 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-13-16 cell-13-17 south) + (NEXT cell-13-17 cell-13-18 south) + (NEXT cell-13-18 cell-13-19 south) + (NEXT cell-13-19 cell-13-20 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-14-16 cell-14-17 south) + (NEXT cell-14-17 cell-14-18 south) + (NEXT cell-14-18 cell-14-19 south) + (NEXT cell-14-19 cell-14-20 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-15-16 cell-15-17 south) + (NEXT cell-15-17 cell-15-18 south) + (NEXT cell-15-18 cell-15-19 south) + (NEXT cell-15-19 cell-15-20 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-16-16 cell-16-17 south) + (NEXT cell-16-17 cell-16-18 south) + (NEXT cell-16-18 cell-16-19 south) + (NEXT cell-16-19 cell-16-20 south) + (NEXT cell-17-1 cell-17-2 south) + (NEXT cell-17-2 cell-17-3 south) + (NEXT cell-17-3 cell-17-4 south) + (NEXT cell-17-4 cell-17-5 south) + (NEXT cell-17-5 cell-17-6 south) + (NEXT cell-17-6 cell-17-7 south) + (NEXT cell-17-7 cell-17-8 south) + (NEXT cell-17-8 cell-17-9 south) + (NEXT cell-17-9 cell-17-10 south) + (NEXT cell-17-10 cell-17-11 south) + (NEXT cell-17-11 cell-17-12 south) + (NEXT cell-17-12 cell-17-13 south) + (NEXT cell-17-13 cell-17-14 south) + (NEXT cell-17-14 cell-17-15 south) + (NEXT cell-17-15 cell-17-16 south) + (NEXT cell-17-16 cell-17-17 south) + (NEXT cell-17-17 cell-17-18 south) + (NEXT cell-17-18 cell-17-19 south) + (NEXT cell-17-19 cell-17-20 south) + (NEXT cell-18-1 cell-18-2 south) + (NEXT cell-18-2 cell-18-3 south) + (NEXT cell-18-3 cell-18-4 south) + (NEXT cell-18-4 cell-18-5 south) + (NEXT cell-18-5 cell-18-6 south) + (NEXT cell-18-6 cell-18-7 south) + (NEXT cell-18-7 cell-18-8 south) + (NEXT cell-18-8 cell-18-9 south) + (NEXT cell-18-9 cell-18-10 south) + (NEXT cell-18-10 cell-18-11 south) + (NEXT cell-18-11 cell-18-12 south) + (NEXT cell-18-12 cell-18-13 south) + (NEXT cell-18-13 cell-18-14 south) + (NEXT cell-18-14 cell-18-15 south) + (NEXT cell-18-15 cell-18-16 south) + (NEXT cell-18-16 cell-18-17 south) + (NEXT cell-18-17 cell-18-18 south) + (NEXT cell-18-18 cell-18-19 south) + (NEXT cell-18-19 cell-18-20 south) + (NEXT cell-19-1 cell-19-2 south) + (NEXT cell-19-2 cell-19-3 south) + (NEXT cell-19-3 cell-19-4 south) + (NEXT cell-19-4 cell-19-5 south) + (NEXT cell-19-5 cell-19-6 south) + (NEXT cell-19-6 cell-19-7 south) + (NEXT cell-19-7 cell-19-8 south) + (NEXT cell-19-8 cell-19-9 south) + (NEXT cell-19-9 cell-19-10 south) + (NEXT cell-19-10 cell-19-11 south) + (NEXT cell-19-11 cell-19-12 south) + (NEXT cell-19-12 cell-19-13 south) + (NEXT cell-19-13 cell-19-14 south) + (NEXT cell-19-14 cell-19-15 south) + (NEXT cell-19-15 cell-19-16 south) + (NEXT cell-19-16 cell-19-17 south) + (NEXT cell-19-17 cell-19-18 south) + (NEXT cell-19-18 cell-19-19 south) + (NEXT cell-19-19 cell-19-20 south) + (NEXT cell-20-1 cell-20-2 south) + (NEXT cell-20-2 cell-20-3 south) + (NEXT cell-20-3 cell-20-4 south) + (NEXT cell-20-4 cell-20-5 south) + (NEXT cell-20-5 cell-20-6 south) + (NEXT cell-20-6 cell-20-7 south) + (NEXT cell-20-7 cell-20-8 south) + (NEXT cell-20-8 cell-20-9 south) + (NEXT cell-20-9 cell-20-10 south) + (NEXT cell-20-10 cell-20-11 south) + (NEXT cell-20-11 cell-20-12 south) + (NEXT cell-20-12 cell-20-13 south) + (NEXT cell-20-13 cell-20-14 south) + (NEXT cell-20-14 cell-20-15 south) + (NEXT cell-20-15 cell-20-16 south) + (NEXT cell-20-16 cell-20-17 south) + (NEXT cell-20-17 cell-20-18 south) + (NEXT cell-20-18 cell-20-19 south) + (NEXT cell-20-19 cell-20-20 south) + (NEXT cell-1-20 cell-1-19 north) + (NEXT cell-1-19 cell-1-18 north) + (NEXT cell-1-18 cell-1-17 north) + (NEXT cell-1-17 cell-1-16 north) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-20 cell-2-19 north) + (NEXT cell-2-19 cell-2-18 north) + (NEXT cell-2-18 cell-2-17 north) + (NEXT cell-2-17 cell-2-16 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-20 cell-3-19 north) + (NEXT cell-3-19 cell-3-18 north) + (NEXT cell-3-18 cell-3-17 north) + (NEXT cell-3-17 cell-3-16 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-20 cell-4-19 north) + (NEXT cell-4-19 cell-4-18 north) + (NEXT cell-4-18 cell-4-17 north) + (NEXT cell-4-17 cell-4-16 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-20 cell-5-19 north) + (NEXT cell-5-19 cell-5-18 north) + (NEXT cell-5-18 cell-5-17 north) + (NEXT cell-5-17 cell-5-16 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-20 cell-6-19 north) + (NEXT cell-6-19 cell-6-18 north) + (NEXT cell-6-18 cell-6-17 north) + (NEXT cell-6-17 cell-6-16 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-20 cell-7-19 north) + (NEXT cell-7-19 cell-7-18 north) + (NEXT cell-7-18 cell-7-17 north) + (NEXT cell-7-17 cell-7-16 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-20 cell-8-19 north) + (NEXT cell-8-19 cell-8-18 north) + (NEXT cell-8-18 cell-8-17 north) + (NEXT cell-8-17 cell-8-16 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-20 cell-9-19 north) + (NEXT cell-9-19 cell-9-18 north) + (NEXT cell-9-18 cell-9-17 north) + (NEXT cell-9-17 cell-9-16 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-20 cell-10-19 north) + (NEXT cell-10-19 cell-10-18 north) + (NEXT cell-10-18 cell-10-17 north) + (NEXT cell-10-17 cell-10-16 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-20 cell-11-19 north) + (NEXT cell-11-19 cell-11-18 north) + (NEXT cell-11-18 cell-11-17 north) + (NEXT cell-11-17 cell-11-16 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-20 cell-12-19 north) + (NEXT cell-12-19 cell-12-18 north) + (NEXT cell-12-18 cell-12-17 north) + (NEXT cell-12-17 cell-12-16 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-20 cell-13-19 north) + (NEXT cell-13-19 cell-13-18 north) + (NEXT cell-13-18 cell-13-17 north) + (NEXT cell-13-17 cell-13-16 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-20 cell-14-19 north) + (NEXT cell-14-19 cell-14-18 north) + (NEXT cell-14-18 cell-14-17 north) + (NEXT cell-14-17 cell-14-16 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-20 cell-15-19 north) + (NEXT cell-15-19 cell-15-18 north) + (NEXT cell-15-18 cell-15-17 north) + (NEXT cell-15-17 cell-15-16 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-20 cell-16-19 north) + (NEXT cell-16-19 cell-16-18 north) + (NEXT cell-16-18 cell-16-17 north) + (NEXT cell-16-17 cell-16-16 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-17-20 cell-17-19 north) + (NEXT cell-17-19 cell-17-18 north) + (NEXT cell-17-18 cell-17-17 north) + (NEXT cell-17-17 cell-17-16 north) + (NEXT cell-17-16 cell-17-15 north) + (NEXT cell-17-15 cell-17-14 north) + (NEXT cell-17-14 cell-17-13 north) + (NEXT cell-17-13 cell-17-12 north) + (NEXT cell-17-12 cell-17-11 north) + (NEXT cell-17-11 cell-17-10 north) + (NEXT cell-17-10 cell-17-9 north) + (NEXT cell-17-9 cell-17-8 north) + (NEXT cell-17-8 cell-17-7 north) + (NEXT cell-17-7 cell-17-6 north) + (NEXT cell-17-6 cell-17-5 north) + (NEXT cell-17-5 cell-17-4 north) + (NEXT cell-17-4 cell-17-3 north) + (NEXT cell-17-3 cell-17-2 north) + (NEXT cell-17-2 cell-17-1 north) + (NEXT cell-18-20 cell-18-19 north) + (NEXT cell-18-19 cell-18-18 north) + (NEXT cell-18-18 cell-18-17 north) + (NEXT cell-18-17 cell-18-16 north) + (NEXT cell-18-16 cell-18-15 north) + (NEXT cell-18-15 cell-18-14 north) + (NEXT cell-18-14 cell-18-13 north) + (NEXT cell-18-13 cell-18-12 north) + (NEXT cell-18-12 cell-18-11 north) + (NEXT cell-18-11 cell-18-10 north) + (NEXT cell-18-10 cell-18-9 north) + (NEXT cell-18-9 cell-18-8 north) + (NEXT cell-18-8 cell-18-7 north) + (NEXT cell-18-7 cell-18-6 north) + (NEXT cell-18-6 cell-18-5 north) + (NEXT cell-18-5 cell-18-4 north) + (NEXT cell-18-4 cell-18-3 north) + (NEXT cell-18-3 cell-18-2 north) + (NEXT cell-18-2 cell-18-1 north) + (NEXT cell-19-20 cell-19-19 north) + (NEXT cell-19-19 cell-19-18 north) + (NEXT cell-19-18 cell-19-17 north) + (NEXT cell-19-17 cell-19-16 north) + (NEXT cell-19-16 cell-19-15 north) + (NEXT cell-19-15 cell-19-14 north) + (NEXT cell-19-14 cell-19-13 north) + (NEXT cell-19-13 cell-19-12 north) + (NEXT cell-19-12 cell-19-11 north) + (NEXT cell-19-11 cell-19-10 north) + (NEXT cell-19-10 cell-19-9 north) + (NEXT cell-19-9 cell-19-8 north) + (NEXT cell-19-8 cell-19-7 north) + (NEXT cell-19-7 cell-19-6 north) + (NEXT cell-19-6 cell-19-5 north) + (NEXT cell-19-5 cell-19-4 north) + (NEXT cell-19-4 cell-19-3 north) + (NEXT cell-19-3 cell-19-2 north) + (NEXT cell-19-2 cell-19-1 north) + (NEXT cell-20-20 cell-20-19 north) + (NEXT cell-20-19 cell-20-18 north) + (NEXT cell-20-18 cell-20-17 north) + (NEXT cell-20-17 cell-20-16 north) + (NEXT cell-20-16 cell-20-15 north) + (NEXT cell-20-15 cell-20-14 north) + (NEXT cell-20-14 cell-20-13 north) + (NEXT cell-20-13 cell-20-12 north) + (NEXT cell-20-12 cell-20-11 north) + (NEXT cell-20-11 cell-20-10 north) + (NEXT cell-20-10 cell-20-9 north) + (NEXT cell-20-9 cell-20-8 north) + (NEXT cell-20-8 cell-20-7 north) + (NEXT cell-20-7 cell-20-6 north) + (NEXT cell-20-6 cell-20-5 north) + (NEXT cell-20-5 cell-20-4 north) + (NEXT cell-20-4 cell-20-3 north) + (NEXT cell-20-3 cell-20-2 north) + (NEXT cell-20-2 cell-20-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-16-1 cell-17-1 east) + (NEXT cell-17-1 cell-18-1 east) + (NEXT cell-18-1 cell-19-1 east) + (NEXT cell-19-1 cell-20-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-16-2 cell-17-2 east) + (NEXT cell-17-2 cell-18-2 east) + (NEXT cell-18-2 cell-19-2 east) + (NEXT cell-19-2 cell-20-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-16-3 cell-17-3 east) + (NEXT cell-17-3 cell-18-3 east) + (NEXT cell-18-3 cell-19-3 east) + (NEXT cell-19-3 cell-20-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-16-4 cell-17-4 east) + (NEXT cell-17-4 cell-18-4 east) + (NEXT cell-18-4 cell-19-4 east) + (NEXT cell-19-4 cell-20-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-16-5 cell-17-5 east) + (NEXT cell-17-5 cell-18-5 east) + (NEXT cell-18-5 cell-19-5 east) + (NEXT cell-19-5 cell-20-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-16-6 cell-17-6 east) + (NEXT cell-17-6 cell-18-6 east) + (NEXT cell-18-6 cell-19-6 east) + (NEXT cell-19-6 cell-20-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-16-7 cell-17-7 east) + (NEXT cell-17-7 cell-18-7 east) + (NEXT cell-18-7 cell-19-7 east) + (NEXT cell-19-7 cell-20-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-16-8 cell-17-8 east) + (NEXT cell-17-8 cell-18-8 east) + (NEXT cell-18-8 cell-19-8 east) + (NEXT cell-19-8 cell-20-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-16-9 cell-17-9 east) + (NEXT cell-17-9 cell-18-9 east) + (NEXT cell-18-9 cell-19-9 east) + (NEXT cell-19-9 cell-20-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-16-10 cell-17-10 east) + (NEXT cell-17-10 cell-18-10 east) + (NEXT cell-18-10 cell-19-10 east) + (NEXT cell-19-10 cell-20-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-16-11 cell-17-11 east) + (NEXT cell-17-11 cell-18-11 east) + (NEXT cell-18-11 cell-19-11 east) + (NEXT cell-19-11 cell-20-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-16-12 cell-17-12 east) + (NEXT cell-17-12 cell-18-12 east) + (NEXT cell-18-12 cell-19-12 east) + (NEXT cell-19-12 cell-20-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-16-13 cell-17-13 east) + (NEXT cell-17-13 cell-18-13 east) + (NEXT cell-18-13 cell-19-13 east) + (NEXT cell-19-13 cell-20-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-16-14 cell-17-14 east) + (NEXT cell-17-14 cell-18-14 east) + (NEXT cell-18-14 cell-19-14 east) + (NEXT cell-19-14 cell-20-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-16-15 cell-17-15 east) + (NEXT cell-17-15 cell-18-15 east) + (NEXT cell-18-15 cell-19-15 east) + (NEXT cell-19-15 cell-20-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-16 cell-17-16 east) + (NEXT cell-17-16 cell-18-16 east) + (NEXT cell-18-16 cell-19-16 east) + (NEXT cell-19-16 cell-20-16 east) + (NEXT cell-1-17 cell-2-17 east) + (NEXT cell-2-17 cell-3-17 east) + (NEXT cell-3-17 cell-4-17 east) + (NEXT cell-4-17 cell-5-17 east) + (NEXT cell-5-17 cell-6-17 east) + (NEXT cell-6-17 cell-7-17 east) + (NEXT cell-7-17 cell-8-17 east) + (NEXT cell-8-17 cell-9-17 east) + (NEXT cell-9-17 cell-10-17 east) + (NEXT cell-10-17 cell-11-17 east) + (NEXT cell-11-17 cell-12-17 east) + (NEXT cell-12-17 cell-13-17 east) + (NEXT cell-13-17 cell-14-17 east) + (NEXT cell-14-17 cell-15-17 east) + (NEXT cell-15-17 cell-16-17 east) + (NEXT cell-16-17 cell-17-17 east) + (NEXT cell-17-17 cell-18-17 east) + (NEXT cell-18-17 cell-19-17 east) + (NEXT cell-19-17 cell-20-17 east) + (NEXT cell-1-18 cell-2-18 east) + (NEXT cell-2-18 cell-3-18 east) + (NEXT cell-3-18 cell-4-18 east) + (NEXT cell-4-18 cell-5-18 east) + (NEXT cell-5-18 cell-6-18 east) + (NEXT cell-6-18 cell-7-18 east) + (NEXT cell-7-18 cell-8-18 east) + (NEXT cell-8-18 cell-9-18 east) + (NEXT cell-9-18 cell-10-18 east) + (NEXT cell-10-18 cell-11-18 east) + (NEXT cell-11-18 cell-12-18 east) + (NEXT cell-12-18 cell-13-18 east) + (NEXT cell-13-18 cell-14-18 east) + (NEXT cell-14-18 cell-15-18 east) + (NEXT cell-15-18 cell-16-18 east) + (NEXT cell-16-18 cell-17-18 east) + (NEXT cell-17-18 cell-18-18 east) + (NEXT cell-18-18 cell-19-18 east) + (NEXT cell-19-18 cell-20-18 east) + (NEXT cell-1-19 cell-2-19 east) + (NEXT cell-2-19 cell-3-19 east) + (NEXT cell-3-19 cell-4-19 east) + (NEXT cell-4-19 cell-5-19 east) + (NEXT cell-5-19 cell-6-19 east) + (NEXT cell-6-19 cell-7-19 east) + (NEXT cell-7-19 cell-8-19 east) + (NEXT cell-8-19 cell-9-19 east) + (NEXT cell-9-19 cell-10-19 east) + (NEXT cell-10-19 cell-11-19 east) + (NEXT cell-11-19 cell-12-19 east) + (NEXT cell-12-19 cell-13-19 east) + (NEXT cell-13-19 cell-14-19 east) + (NEXT cell-14-19 cell-15-19 east) + (NEXT cell-15-19 cell-16-19 east) + (NEXT cell-16-19 cell-17-19 east) + (NEXT cell-17-19 cell-18-19 east) + (NEXT cell-18-19 cell-19-19 east) + (NEXT cell-19-19 cell-20-19 east) + (NEXT cell-1-20 cell-2-20 east) + (NEXT cell-2-20 cell-3-20 east) + (NEXT cell-3-20 cell-4-20 east) + (NEXT cell-4-20 cell-5-20 east) + (NEXT cell-5-20 cell-6-20 east) + (NEXT cell-6-20 cell-7-20 east) + (NEXT cell-7-20 cell-8-20 east) + (NEXT cell-8-20 cell-9-20 east) + (NEXT cell-9-20 cell-10-20 east) + (NEXT cell-10-20 cell-11-20 east) + (NEXT cell-11-20 cell-12-20 east) + (NEXT cell-12-20 cell-13-20 east) + (NEXT cell-13-20 cell-14-20 east) + (NEXT cell-14-20 cell-15-20 east) + (NEXT cell-15-20 cell-16-20 east) + (NEXT cell-16-20 cell-17-20 east) + (NEXT cell-17-20 cell-18-20 east) + (NEXT cell-18-20 cell-19-20 east) + (NEXT cell-19-20 cell-20-20 east) + (NEXT cell-20-1 cell-19-1 west) + (NEXT cell-19-1 cell-18-1 west) + (NEXT cell-18-1 cell-17-1 west) + (NEXT cell-17-1 cell-16-1 west) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-20-2 cell-19-2 west) + (NEXT cell-19-2 cell-18-2 west) + (NEXT cell-18-2 cell-17-2 west) + (NEXT cell-17-2 cell-16-2 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-20-3 cell-19-3 west) + (NEXT cell-19-3 cell-18-3 west) + (NEXT cell-18-3 cell-17-3 west) + (NEXT cell-17-3 cell-16-3 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-20-4 cell-19-4 west) + (NEXT cell-19-4 cell-18-4 west) + (NEXT cell-18-4 cell-17-4 west) + (NEXT cell-17-4 cell-16-4 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-20-5 cell-19-5 west) + (NEXT cell-19-5 cell-18-5 west) + (NEXT cell-18-5 cell-17-5 west) + (NEXT cell-17-5 cell-16-5 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-20-6 cell-19-6 west) + (NEXT cell-19-6 cell-18-6 west) + (NEXT cell-18-6 cell-17-6 west) + (NEXT cell-17-6 cell-16-6 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-20-7 cell-19-7 west) + (NEXT cell-19-7 cell-18-7 west) + (NEXT cell-18-7 cell-17-7 west) + (NEXT cell-17-7 cell-16-7 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-20-8 cell-19-8 west) + (NEXT cell-19-8 cell-18-8 west) + (NEXT cell-18-8 cell-17-8 west) + (NEXT cell-17-8 cell-16-8 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-20-9 cell-19-9 west) + (NEXT cell-19-9 cell-18-9 west) + (NEXT cell-18-9 cell-17-9 west) + (NEXT cell-17-9 cell-16-9 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-20-10 cell-19-10 west) + (NEXT cell-19-10 cell-18-10 west) + (NEXT cell-18-10 cell-17-10 west) + (NEXT cell-17-10 cell-16-10 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-20-11 cell-19-11 west) + (NEXT cell-19-11 cell-18-11 west) + (NEXT cell-18-11 cell-17-11 west) + (NEXT cell-17-11 cell-16-11 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-20-12 cell-19-12 west) + (NEXT cell-19-12 cell-18-12 west) + (NEXT cell-18-12 cell-17-12 west) + (NEXT cell-17-12 cell-16-12 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-20-13 cell-19-13 west) + (NEXT cell-19-13 cell-18-13 west) + (NEXT cell-18-13 cell-17-13 west) + (NEXT cell-17-13 cell-16-13 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-20-14 cell-19-14 west) + (NEXT cell-19-14 cell-18-14 west) + (NEXT cell-18-14 cell-17-14 west) + (NEXT cell-17-14 cell-16-14 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-20-15 cell-19-15 west) + (NEXT cell-19-15 cell-18-15 west) + (NEXT cell-18-15 cell-17-15 west) + (NEXT cell-17-15 cell-16-15 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-20-16 cell-19-16 west) + (NEXT cell-19-16 cell-18-16 west) + (NEXT cell-18-16 cell-17-16 west) + (NEXT cell-17-16 cell-16-16 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + (NEXT cell-20-17 cell-19-17 west) + (NEXT cell-19-17 cell-18-17 west) + (NEXT cell-18-17 cell-17-17 west) + (NEXT cell-17-17 cell-16-17 west) + (NEXT cell-16-17 cell-15-17 west) + (NEXT cell-15-17 cell-14-17 west) + (NEXT cell-14-17 cell-13-17 west) + (NEXT cell-13-17 cell-12-17 west) + (NEXT cell-12-17 cell-11-17 west) + (NEXT cell-11-17 cell-10-17 west) + (NEXT cell-10-17 cell-9-17 west) + (NEXT cell-9-17 cell-8-17 west) + (NEXT cell-8-17 cell-7-17 west) + (NEXT cell-7-17 cell-6-17 west) + (NEXT cell-6-17 cell-5-17 west) + (NEXT cell-5-17 cell-4-17 west) + (NEXT cell-4-17 cell-3-17 west) + (NEXT cell-3-17 cell-2-17 west) + (NEXT cell-2-17 cell-1-17 west) + (NEXT cell-20-18 cell-19-18 west) + (NEXT cell-19-18 cell-18-18 west) + (NEXT cell-18-18 cell-17-18 west) + (NEXT cell-17-18 cell-16-18 west) + (NEXT cell-16-18 cell-15-18 west) + (NEXT cell-15-18 cell-14-18 west) + (NEXT cell-14-18 cell-13-18 west) + (NEXT cell-13-18 cell-12-18 west) + (NEXT cell-12-18 cell-11-18 west) + (NEXT cell-11-18 cell-10-18 west) + (NEXT cell-10-18 cell-9-18 west) + (NEXT cell-9-18 cell-8-18 west) + (NEXT cell-8-18 cell-7-18 west) + (NEXT cell-7-18 cell-6-18 west) + (NEXT cell-6-18 cell-5-18 west) + (NEXT cell-5-18 cell-4-18 west) + (NEXT cell-4-18 cell-3-18 west) + (NEXT cell-3-18 cell-2-18 west) + (NEXT cell-2-18 cell-1-18 west) + (NEXT cell-20-19 cell-19-19 west) + (NEXT cell-19-19 cell-18-19 west) + (NEXT cell-18-19 cell-17-19 west) + (NEXT cell-17-19 cell-16-19 west) + (NEXT cell-16-19 cell-15-19 west) + (NEXT cell-15-19 cell-14-19 west) + (NEXT cell-14-19 cell-13-19 west) + (NEXT cell-13-19 cell-12-19 west) + (NEXT cell-12-19 cell-11-19 west) + (NEXT cell-11-19 cell-10-19 west) + (NEXT cell-10-19 cell-9-19 west) + (NEXT cell-9-19 cell-8-19 west) + (NEXT cell-8-19 cell-7-19 west) + (NEXT cell-7-19 cell-6-19 west) + (NEXT cell-6-19 cell-5-19 west) + (NEXT cell-5-19 cell-4-19 west) + (NEXT cell-4-19 cell-3-19 west) + (NEXT cell-3-19 cell-2-19 west) + (NEXT cell-2-19 cell-1-19 west) + (NEXT cell-20-20 cell-19-20 west) + (NEXT cell-19-20 cell-18-20 west) + (NEXT cell-18-20 cell-17-20 west) + (NEXT cell-17-20 cell-16-20 west) + (NEXT cell-16-20 cell-15-20 west) + (NEXT cell-15-20 cell-14-20 west) + (NEXT cell-14-20 cell-13-20 west) + (NEXT cell-13-20 cell-12-20 west) + (NEXT cell-12-20 cell-11-20 west) + (NEXT cell-11-20 cell-10-20 west) + (NEXT cell-10-20 cell-9-20 west) + (NEXT cell-9-20 cell-8-20 west) + (NEXT cell-8-20 cell-7-20 west) + (NEXT cell-7-20 cell-6-20 west) + (NEXT cell-6-20 cell-5-20 west) + (NEXT cell-5-20 cell-4-20 west) + (NEXT cell-4-20 cell-3-20 west) + (NEXT cell-3-20 cell-2-20 west) + (NEXT cell-2-20 cell-1-20 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-20 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-20 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-20 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-20 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-20 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-20 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-20 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-20 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-20 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-20 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-20 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-20 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-20 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-20 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-20 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-20 south) + (BLOCKED cell-17-1 north) + (BLOCKED cell-17-20 south) + (BLOCKED cell-18-1 north) + (BLOCKED cell-18-20 south) + (BLOCKED cell-19-1 north) + (BLOCKED cell-19-20 south) + (BLOCKED cell-20-1 north) + (BLOCKED cell-20-20 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-20-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-20-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-20-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-20-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-20-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-20-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-20-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-20-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-20-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-20-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-20-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-20-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-20-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-20-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-20-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-20-16 east) + (BLOCKED cell-1-17 west) + (BLOCKED cell-20-17 east) + (BLOCKED cell-1-18 west) + (BLOCKED cell-20-18 east) + (BLOCKED cell-1-19 west) + (BLOCKED cell-20-19 east) + (BLOCKED cell-1-20 west) + (BLOCKED cell-20-20 east) + (BLOCKED cell-14-4 west) + (BLOCKED cell-13-4 east) + (BLOCKED cell-10-6 west) + (BLOCKED cell-9-6 east) + (BLOCKED cell-2-4 south) + (BLOCKED cell-2-5 north) + (BLOCKED cell-5-6 south) + (BLOCKED cell-5-7 north) + (BLOCKED cell-9-16 east) + (BLOCKED cell-10-16 west) + (BLOCKED cell-7-3 east) + (BLOCKED cell-8-3 west) + (BLOCKED cell-1-16 north) + (BLOCKED cell-1-15 south) + (BLOCKED cell-17-17 east) + (BLOCKED cell-18-17 west) + (BLOCKED cell-13-18 north) + (BLOCKED cell-13-17 south) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-4 south) + (BLOCKED cell-12-10 north) + (BLOCKED cell-12-9 south) + (BLOCKED cell-5-7 west) + (BLOCKED cell-4-7 east) + (BLOCKED cell-18-6 west) + (BLOCKED cell-17-6 east) + (BLOCKED cell-6-16 east) + (BLOCKED cell-7-16 west) + (BLOCKED cell-18-4 north) + (BLOCKED cell-18-3 south) + (BLOCKED cell-2-2 north) + (BLOCKED cell-2-1 south) + (BLOCKED cell-17-9 north) + (BLOCKED cell-17-8 south) + (BLOCKED cell-14-10 east) + (BLOCKED cell-15-10 west) + (BLOCKED cell-8-3 east) + (BLOCKED cell-9-3 west) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 east) + (BLOCKED cell-19-16 east) + (BLOCKED cell-20-16 west) + (BLOCKED cell-20-9 north) + (BLOCKED cell-20-8 south) + (BLOCKED cell-15-1 west) + (BLOCKED cell-14-1 east) + (BLOCKED cell-18-3 east) + (BLOCKED cell-19-3 west) + (BLOCKED cell-4-4 west) + (BLOCKED cell-3-4 east) + (BLOCKED cell-12-20 north) + (BLOCKED cell-12-19 south) + (BLOCKED cell-12-11 north) + (BLOCKED cell-12-10 south) + (BLOCKED cell-7-6 west) + (BLOCKED cell-6-6 east) + (BLOCKED cell-14-14 north) + (BLOCKED cell-14-13 south) + (BLOCKED cell-18-18 north) + (BLOCKED cell-18-17 south) + (BLOCKED cell-17-1 south) + (BLOCKED cell-17-2 north) + (BLOCKED cell-5-2 east) + (BLOCKED cell-6-2 west) + (BLOCKED cell-16-18 south) + (BLOCKED cell-16-19 north) + (BLOCKED cell-2-14 east) + (BLOCKED cell-3-14 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-10 south) + (BLOCKED cell-8-2 east) + (BLOCKED cell-9-2 west) + (BLOCKED cell-20-3 south) + (BLOCKED cell-20-4 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-10-6 east) + (BLOCKED cell-11-6 west) + (BLOCKED cell-7-3 north) + (BLOCKED cell-7-2 south) + (BLOCKED cell-14-4 north) + (BLOCKED cell-14-3 south) + (BLOCKED cell-19-9 west) + (BLOCKED cell-18-9 east) + (BLOCKED cell-19-11 north) + (BLOCKED cell-19-10 south) + (BLOCKED cell-16-4 west) + (BLOCKED cell-15-4 east) + (BLOCKED cell-11-20 east) + (BLOCKED cell-12-20 west) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-4-17 east) + (BLOCKED cell-5-17 west) + (BLOCKED cell-9-4 west) + (BLOCKED cell-8-4 east) + (BLOCKED cell-19-10 east) + (BLOCKED cell-20-10 west) + (BLOCKED cell-18-10 north) + (BLOCKED cell-18-9 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-10 south) + (BLOCKED cell-16-15 west) + (BLOCKED cell-15-15 east) + (BLOCKED cell-9-19 east) + (BLOCKED cell-10-19 west) + (BLOCKED cell-11-14 south) + (BLOCKED cell-11-15 north) + (BLOCKED cell-1-6 east) + (BLOCKED cell-2-6 west) + (BLOCKED cell-13-13 south) + (BLOCKED cell-13-14 north) + (BLOCKED cell-7-12 north) + (BLOCKED cell-7-11 south) + (BLOCKED cell-10-16 north) + (BLOCKED cell-10-15 south) + (BLOCKED cell-5-17 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-11-15 east) + (BLOCKED cell-12-15 west) + (BLOCKED cell-16-14 west) + (BLOCKED cell-15-14 east) + (BLOCKED cell-4-13 south) + (BLOCKED cell-4-14 north) + (BLOCKED cell-3-1 east) + (BLOCKED cell-4-1 west) + (BLOCKED cell-2-6 east) + (BLOCKED cell-3-6 west) + (BLOCKED cell-11-7 north) + (BLOCKED cell-11-6 south) + (BLOCKED cell-8-18 north) + (BLOCKED cell-8-17 south) + (BLOCKED cell-10-6 north) + (BLOCKED cell-10-5 south) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-8 west) + (BLOCKED cell-4-4 east) + (BLOCKED cell-5-4 west) + (BLOCKED cell-13-13 west) + (BLOCKED cell-12-13 east) + (BLOCKED cell-16-2 south) + (BLOCKED cell-16-3 north) + (BLOCKED cell-7-10 north) + (BLOCKED cell-7-9 south) + (BLOCKED cell-3-13 north) + (BLOCKED cell-3-12 south) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-1-17) + (free cell-1-18) + (free cell-1-19) + (free cell-1-20) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-2-17) + (free cell-2-18) + (free cell-2-19) + (free cell-2-20) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-3-17) + (free cell-3-18) + (free cell-3-19) + (free cell-3-20) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-4-17) + (free cell-4-18) + (free cell-4-19) + (free cell-4-20) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-5-17) + (free cell-5-18) + (free cell-5-19) + (free cell-5-20) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-6-17) + (free cell-6-18) + (free cell-6-19) + (free cell-6-20) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-7-17) + (free cell-7-18) + (free cell-7-19) + (free cell-7-20) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-8-17) + (free cell-8-18) + (free cell-8-19) + (free cell-8-20) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-9-17) + (free cell-9-18) + (free cell-9-19) + (free cell-9-20) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-10-17) + (free cell-10-18) + (free cell-10-19) + (free cell-10-20) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-11-17) + (free cell-11-18) + (free cell-11-19) + (free cell-11-20) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-12-17) + (free cell-12-18) + (free cell-12-19) + (free cell-12-20) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-13-17) + (free cell-13-18) + (free cell-13-19) + (free cell-13-20) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-14-17) + (free cell-14-18) + (free cell-14-19) + (free cell-14-20) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-15-17) + (free cell-15-18) + (free cell-15-19) + (free cell-15-20) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + (free cell-16-17) + (free cell-16-18) + (free cell-16-19) + (free cell-16-20) + (free cell-17-1) + (free cell-17-2) + (free cell-17-3) + (free cell-17-4) + (free cell-17-5) + (free cell-17-6) + (free cell-17-7) + (free cell-17-8) + (free cell-17-9) + (free cell-17-10) + (free cell-17-11) + (free cell-17-12) + (free cell-17-13) + (free cell-17-15) + (free cell-17-16) + (free cell-17-17) + (free cell-17-18) + (free cell-17-19) + (free cell-17-20) + (free cell-18-1) + (free cell-18-2) + (free cell-18-3) + (free cell-18-4) + (free cell-18-5) + (free cell-18-6) + (free cell-18-7) + (free cell-18-8) + (free cell-18-9) + (free cell-18-10) + (free cell-18-11) + (free cell-18-12) + (free cell-18-13) + (free cell-18-14) + (free cell-18-15) + (free cell-18-16) + (free cell-18-17) + (free cell-18-18) + (free cell-18-19) + (free cell-18-20) + (free cell-19-1) + (free cell-19-2) + (free cell-19-3) + (free cell-19-4) + (free cell-19-5) + (free cell-19-6) + (free cell-19-7) + (free cell-19-8) + (free cell-19-9) + (free cell-19-10) + (free cell-19-11) + (free cell-19-12) + (free cell-19-13) + (free cell-19-14) + (free cell-19-15) + (free cell-19-16) + (free cell-19-17) + (free cell-19-18) + (free cell-19-19) + (free cell-19-20) + (free cell-20-1) + (free cell-20-2) + (free cell-20-3) + (free cell-20-4) + (free cell-20-5) + (free cell-20-6) + (free cell-20-7) + (free cell-20-8) + (free cell-20-9) + (free cell-20-10) + (free cell-20-11) + (free cell-20-12) + (free cell-20-13) + (free cell-20-14) + (free cell-20-15) + (free cell-20-16) + (free cell-20-17) + (free cell-20-18) + (free cell-20-19) + (free cell-20-20) + + (at robot-1 cell-5-8) ;; red + (at robot-2 cell-14-5) ;; blue + (at robot-3 cell-17-14) ;; green + (at robot-4 cell-1-9) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-19-15) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-opt23-adl/p20.pddl b/ricochet-robots-opt23-adl/p20.pddl new file mode 100644 index 00000000..3d035d53 --- /dev/null +++ b/ricochet-robots-opt23-adl/p20.pddl @@ -0,0 +1,2312 @@ +;; Generated from file generate-576423.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | x | | | | x | |R3| | | | | | x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x x x | | | | | | | | x | | | | | | x x x +;; +--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+xx+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+ +;; x | | | | | | | | | | |R1x | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+xx+--+xx+--+xx+--+xx+--+--+--+--+ +;; x | | | | | x | x | | | | x | | | | | | x +;; +--+--+--+--+--+--+--+--+xx+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | | x x | | | | | | | | | | | | | | x +;; +--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | x | | | | | | | | | | | x | | | | | x +;; +--+--+--+--+xx+xx+--+--+--+--+xx+--+--+xx+xx+--+--+--+--+--+ +;; x | | | x | | | x | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+xx+xx+--+xx+--+ +;; x x | | | | | | | | | | | x | | | | x | x +;; +--+--+xx+xx+xx+--+--+--+--+--+--+--+xx+--+--+--+xx+xx+--+--+ +;; x | | | | | | x | | | | |R4| x | | | | | x +;; +--+xx+--+--+--+--+xx+--+--+xx+--+--+--+xx+--+--+--+--+--+--+ +;; x xR2x | | | | | | | | | | | | | |G2| | | x +;; +xx+--+xx+--+xx+--+--+--+--+--+--+--+--+--+--+xx+--+--+xx+--+ +;; x x | | x | | | | | | x | x | | | | | | x +;; +--+xx+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+xx+--+xx+--+ +;; x | | | | | | | x | | x | | | | | | x x x +;; +--+--+--+--+--+--+--+xx+--+--+xx+--+--+--+--+xx+--+--+xx+--+ +;; x | | | x | | x x | | | | x | | | | | x x +;; +xx+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+xx+--+xx+--+ +;; x | | | | | x x | | x | | | | | | | x x x +;; +xx+--+--+--+--+xx+--+--+--+--+xx+xx+--+--+--+--+--+xx+--+--+ +;; x x x x | | | x | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | x | x | | | | | | | | | | | x +;; +--+--+--+--+--+xx+xx+xx+--+--+--+xx+--+--+--+--+--+--+--+--+ +;; x | | | x x | | | | | | | | | | x | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | | | x | | | | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+xx+--+xx+--+--+--+--+ +;; x | | | x | | | | | | | | | | | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-20x20-None-83965) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-1-17 cell-1-18 cell-1-19 cell-1-20 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-2-17 cell-2-18 cell-2-19 cell-2-20 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-3-17 cell-3-18 cell-3-19 cell-3-20 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-4-17 cell-4-18 cell-4-19 cell-4-20 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-5-17 cell-5-18 cell-5-19 cell-5-20 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-6-17 cell-6-18 cell-6-19 cell-6-20 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-7-17 cell-7-18 cell-7-19 cell-7-20 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-8-17 cell-8-18 cell-8-19 cell-8-20 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-9-17 cell-9-18 cell-9-19 cell-9-20 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-10-17 cell-10-18 cell-10-19 cell-10-20 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-11-17 cell-11-18 cell-11-19 cell-11-20 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-12-17 cell-12-18 cell-12-19 cell-12-20 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-13-17 cell-13-18 cell-13-19 cell-13-20 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-14-17 cell-14-18 cell-14-19 cell-14-20 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-15-17 cell-15-18 cell-15-19 cell-15-20 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 cell-16-17 cell-16-18 cell-16-19 cell-16-20 cell-17-1 cell-17-2 cell-17-3 cell-17-4 cell-17-5 cell-17-6 cell-17-7 cell-17-8 cell-17-9 cell-17-10 cell-17-11 cell-17-12 cell-17-13 cell-17-14 cell-17-15 cell-17-16 cell-17-17 cell-17-18 cell-17-19 cell-17-20 cell-18-1 cell-18-2 cell-18-3 cell-18-4 cell-18-5 cell-18-6 cell-18-7 cell-18-8 cell-18-9 cell-18-10 cell-18-11 cell-18-12 cell-18-13 cell-18-14 cell-18-15 cell-18-16 cell-18-17 cell-18-18 cell-18-19 cell-18-20 cell-19-1 cell-19-2 cell-19-3 cell-19-4 cell-19-5 cell-19-6 cell-19-7 cell-19-8 cell-19-9 cell-19-10 cell-19-11 cell-19-12 cell-19-13 cell-19-14 cell-19-15 cell-19-16 cell-19-17 cell-19-18 cell-19-19 cell-19-20 cell-20-1 cell-20-2 cell-20-3 cell-20-4 cell-20-5 cell-20-6 cell-20-7 cell-20-8 cell-20-9 cell-20-10 cell-20-11 cell-20-12 cell-20-13 cell-20-14 cell-20-15 cell-20-16 cell-20-17 cell-20-18 cell-20-19 cell-20-20 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-1-16 cell-1-17 south) + (NEXT cell-1-17 cell-1-18 south) + (NEXT cell-1-18 cell-1-19 south) + (NEXT cell-1-19 cell-1-20 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-2-16 cell-2-17 south) + (NEXT cell-2-17 cell-2-18 south) + (NEXT cell-2-18 cell-2-19 south) + (NEXT cell-2-19 cell-2-20 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-3-16 cell-3-17 south) + (NEXT cell-3-17 cell-3-18 south) + (NEXT cell-3-18 cell-3-19 south) + (NEXT cell-3-19 cell-3-20 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-4-16 cell-4-17 south) + (NEXT cell-4-17 cell-4-18 south) + (NEXT cell-4-18 cell-4-19 south) + (NEXT cell-4-19 cell-4-20 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-5-16 cell-5-17 south) + (NEXT cell-5-17 cell-5-18 south) + (NEXT cell-5-18 cell-5-19 south) + (NEXT cell-5-19 cell-5-20 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-6-16 cell-6-17 south) + (NEXT cell-6-17 cell-6-18 south) + (NEXT cell-6-18 cell-6-19 south) + (NEXT cell-6-19 cell-6-20 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-7-16 cell-7-17 south) + (NEXT cell-7-17 cell-7-18 south) + (NEXT cell-7-18 cell-7-19 south) + (NEXT cell-7-19 cell-7-20 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-8-16 cell-8-17 south) + (NEXT cell-8-17 cell-8-18 south) + (NEXT cell-8-18 cell-8-19 south) + (NEXT cell-8-19 cell-8-20 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-9-16 cell-9-17 south) + (NEXT cell-9-17 cell-9-18 south) + (NEXT cell-9-18 cell-9-19 south) + (NEXT cell-9-19 cell-9-20 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-10-16 cell-10-17 south) + (NEXT cell-10-17 cell-10-18 south) + (NEXT cell-10-18 cell-10-19 south) + (NEXT cell-10-19 cell-10-20 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-11-16 cell-11-17 south) + (NEXT cell-11-17 cell-11-18 south) + (NEXT cell-11-18 cell-11-19 south) + (NEXT cell-11-19 cell-11-20 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-12-16 cell-12-17 south) + (NEXT cell-12-17 cell-12-18 south) + (NEXT cell-12-18 cell-12-19 south) + (NEXT cell-12-19 cell-12-20 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-13-16 cell-13-17 south) + (NEXT cell-13-17 cell-13-18 south) + (NEXT cell-13-18 cell-13-19 south) + (NEXT cell-13-19 cell-13-20 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-14-16 cell-14-17 south) + (NEXT cell-14-17 cell-14-18 south) + (NEXT cell-14-18 cell-14-19 south) + (NEXT cell-14-19 cell-14-20 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-15-16 cell-15-17 south) + (NEXT cell-15-17 cell-15-18 south) + (NEXT cell-15-18 cell-15-19 south) + (NEXT cell-15-19 cell-15-20 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-16-16 cell-16-17 south) + (NEXT cell-16-17 cell-16-18 south) + (NEXT cell-16-18 cell-16-19 south) + (NEXT cell-16-19 cell-16-20 south) + (NEXT cell-17-1 cell-17-2 south) + (NEXT cell-17-2 cell-17-3 south) + (NEXT cell-17-3 cell-17-4 south) + (NEXT cell-17-4 cell-17-5 south) + (NEXT cell-17-5 cell-17-6 south) + (NEXT cell-17-6 cell-17-7 south) + (NEXT cell-17-7 cell-17-8 south) + (NEXT cell-17-8 cell-17-9 south) + (NEXT cell-17-9 cell-17-10 south) + (NEXT cell-17-10 cell-17-11 south) + (NEXT cell-17-11 cell-17-12 south) + (NEXT cell-17-12 cell-17-13 south) + (NEXT cell-17-13 cell-17-14 south) + (NEXT cell-17-14 cell-17-15 south) + (NEXT cell-17-15 cell-17-16 south) + (NEXT cell-17-16 cell-17-17 south) + (NEXT cell-17-17 cell-17-18 south) + (NEXT cell-17-18 cell-17-19 south) + (NEXT cell-17-19 cell-17-20 south) + (NEXT cell-18-1 cell-18-2 south) + (NEXT cell-18-2 cell-18-3 south) + (NEXT cell-18-3 cell-18-4 south) + (NEXT cell-18-4 cell-18-5 south) + (NEXT cell-18-5 cell-18-6 south) + (NEXT cell-18-6 cell-18-7 south) + (NEXT cell-18-7 cell-18-8 south) + (NEXT cell-18-8 cell-18-9 south) + (NEXT cell-18-9 cell-18-10 south) + (NEXT cell-18-10 cell-18-11 south) + (NEXT cell-18-11 cell-18-12 south) + (NEXT cell-18-12 cell-18-13 south) + (NEXT cell-18-13 cell-18-14 south) + (NEXT cell-18-14 cell-18-15 south) + (NEXT cell-18-15 cell-18-16 south) + (NEXT cell-18-16 cell-18-17 south) + (NEXT cell-18-17 cell-18-18 south) + (NEXT cell-18-18 cell-18-19 south) + (NEXT cell-18-19 cell-18-20 south) + (NEXT cell-19-1 cell-19-2 south) + (NEXT cell-19-2 cell-19-3 south) + (NEXT cell-19-3 cell-19-4 south) + (NEXT cell-19-4 cell-19-5 south) + (NEXT cell-19-5 cell-19-6 south) + (NEXT cell-19-6 cell-19-7 south) + (NEXT cell-19-7 cell-19-8 south) + (NEXT cell-19-8 cell-19-9 south) + (NEXT cell-19-9 cell-19-10 south) + (NEXT cell-19-10 cell-19-11 south) + (NEXT cell-19-11 cell-19-12 south) + (NEXT cell-19-12 cell-19-13 south) + (NEXT cell-19-13 cell-19-14 south) + (NEXT cell-19-14 cell-19-15 south) + (NEXT cell-19-15 cell-19-16 south) + (NEXT cell-19-16 cell-19-17 south) + (NEXT cell-19-17 cell-19-18 south) + (NEXT cell-19-18 cell-19-19 south) + (NEXT cell-19-19 cell-19-20 south) + (NEXT cell-20-1 cell-20-2 south) + (NEXT cell-20-2 cell-20-3 south) + (NEXT cell-20-3 cell-20-4 south) + (NEXT cell-20-4 cell-20-5 south) + (NEXT cell-20-5 cell-20-6 south) + (NEXT cell-20-6 cell-20-7 south) + (NEXT cell-20-7 cell-20-8 south) + (NEXT cell-20-8 cell-20-9 south) + (NEXT cell-20-9 cell-20-10 south) + (NEXT cell-20-10 cell-20-11 south) + (NEXT cell-20-11 cell-20-12 south) + (NEXT cell-20-12 cell-20-13 south) + (NEXT cell-20-13 cell-20-14 south) + (NEXT cell-20-14 cell-20-15 south) + (NEXT cell-20-15 cell-20-16 south) + (NEXT cell-20-16 cell-20-17 south) + (NEXT cell-20-17 cell-20-18 south) + (NEXT cell-20-18 cell-20-19 south) + (NEXT cell-20-19 cell-20-20 south) + (NEXT cell-1-20 cell-1-19 north) + (NEXT cell-1-19 cell-1-18 north) + (NEXT cell-1-18 cell-1-17 north) + (NEXT cell-1-17 cell-1-16 north) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-20 cell-2-19 north) + (NEXT cell-2-19 cell-2-18 north) + (NEXT cell-2-18 cell-2-17 north) + (NEXT cell-2-17 cell-2-16 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-20 cell-3-19 north) + (NEXT cell-3-19 cell-3-18 north) + (NEXT cell-3-18 cell-3-17 north) + (NEXT cell-3-17 cell-3-16 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-20 cell-4-19 north) + (NEXT cell-4-19 cell-4-18 north) + (NEXT cell-4-18 cell-4-17 north) + (NEXT cell-4-17 cell-4-16 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-20 cell-5-19 north) + (NEXT cell-5-19 cell-5-18 north) + (NEXT cell-5-18 cell-5-17 north) + (NEXT cell-5-17 cell-5-16 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-20 cell-6-19 north) + (NEXT cell-6-19 cell-6-18 north) + (NEXT cell-6-18 cell-6-17 north) + (NEXT cell-6-17 cell-6-16 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-20 cell-7-19 north) + (NEXT cell-7-19 cell-7-18 north) + (NEXT cell-7-18 cell-7-17 north) + (NEXT cell-7-17 cell-7-16 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-20 cell-8-19 north) + (NEXT cell-8-19 cell-8-18 north) + (NEXT cell-8-18 cell-8-17 north) + (NEXT cell-8-17 cell-8-16 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-20 cell-9-19 north) + (NEXT cell-9-19 cell-9-18 north) + (NEXT cell-9-18 cell-9-17 north) + (NEXT cell-9-17 cell-9-16 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-20 cell-10-19 north) + (NEXT cell-10-19 cell-10-18 north) + (NEXT cell-10-18 cell-10-17 north) + (NEXT cell-10-17 cell-10-16 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-20 cell-11-19 north) + (NEXT cell-11-19 cell-11-18 north) + (NEXT cell-11-18 cell-11-17 north) + (NEXT cell-11-17 cell-11-16 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-20 cell-12-19 north) + (NEXT cell-12-19 cell-12-18 north) + (NEXT cell-12-18 cell-12-17 north) + (NEXT cell-12-17 cell-12-16 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-20 cell-13-19 north) + (NEXT cell-13-19 cell-13-18 north) + (NEXT cell-13-18 cell-13-17 north) + (NEXT cell-13-17 cell-13-16 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-20 cell-14-19 north) + (NEXT cell-14-19 cell-14-18 north) + (NEXT cell-14-18 cell-14-17 north) + (NEXT cell-14-17 cell-14-16 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-20 cell-15-19 north) + (NEXT cell-15-19 cell-15-18 north) + (NEXT cell-15-18 cell-15-17 north) + (NEXT cell-15-17 cell-15-16 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-20 cell-16-19 north) + (NEXT cell-16-19 cell-16-18 north) + (NEXT cell-16-18 cell-16-17 north) + (NEXT cell-16-17 cell-16-16 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-17-20 cell-17-19 north) + (NEXT cell-17-19 cell-17-18 north) + (NEXT cell-17-18 cell-17-17 north) + (NEXT cell-17-17 cell-17-16 north) + (NEXT cell-17-16 cell-17-15 north) + (NEXT cell-17-15 cell-17-14 north) + (NEXT cell-17-14 cell-17-13 north) + (NEXT cell-17-13 cell-17-12 north) + (NEXT cell-17-12 cell-17-11 north) + (NEXT cell-17-11 cell-17-10 north) + (NEXT cell-17-10 cell-17-9 north) + (NEXT cell-17-9 cell-17-8 north) + (NEXT cell-17-8 cell-17-7 north) + (NEXT cell-17-7 cell-17-6 north) + (NEXT cell-17-6 cell-17-5 north) + (NEXT cell-17-5 cell-17-4 north) + (NEXT cell-17-4 cell-17-3 north) + (NEXT cell-17-3 cell-17-2 north) + (NEXT cell-17-2 cell-17-1 north) + (NEXT cell-18-20 cell-18-19 north) + (NEXT cell-18-19 cell-18-18 north) + (NEXT cell-18-18 cell-18-17 north) + (NEXT cell-18-17 cell-18-16 north) + (NEXT cell-18-16 cell-18-15 north) + (NEXT cell-18-15 cell-18-14 north) + (NEXT cell-18-14 cell-18-13 north) + (NEXT cell-18-13 cell-18-12 north) + (NEXT cell-18-12 cell-18-11 north) + (NEXT cell-18-11 cell-18-10 north) + (NEXT cell-18-10 cell-18-9 north) + (NEXT cell-18-9 cell-18-8 north) + (NEXT cell-18-8 cell-18-7 north) + (NEXT cell-18-7 cell-18-6 north) + (NEXT cell-18-6 cell-18-5 north) + (NEXT cell-18-5 cell-18-4 north) + (NEXT cell-18-4 cell-18-3 north) + (NEXT cell-18-3 cell-18-2 north) + (NEXT cell-18-2 cell-18-1 north) + (NEXT cell-19-20 cell-19-19 north) + (NEXT cell-19-19 cell-19-18 north) + (NEXT cell-19-18 cell-19-17 north) + (NEXT cell-19-17 cell-19-16 north) + (NEXT cell-19-16 cell-19-15 north) + (NEXT cell-19-15 cell-19-14 north) + (NEXT cell-19-14 cell-19-13 north) + (NEXT cell-19-13 cell-19-12 north) + (NEXT cell-19-12 cell-19-11 north) + (NEXT cell-19-11 cell-19-10 north) + (NEXT cell-19-10 cell-19-9 north) + (NEXT cell-19-9 cell-19-8 north) + (NEXT cell-19-8 cell-19-7 north) + (NEXT cell-19-7 cell-19-6 north) + (NEXT cell-19-6 cell-19-5 north) + (NEXT cell-19-5 cell-19-4 north) + (NEXT cell-19-4 cell-19-3 north) + (NEXT cell-19-3 cell-19-2 north) + (NEXT cell-19-2 cell-19-1 north) + (NEXT cell-20-20 cell-20-19 north) + (NEXT cell-20-19 cell-20-18 north) + (NEXT cell-20-18 cell-20-17 north) + (NEXT cell-20-17 cell-20-16 north) + (NEXT cell-20-16 cell-20-15 north) + (NEXT cell-20-15 cell-20-14 north) + (NEXT cell-20-14 cell-20-13 north) + (NEXT cell-20-13 cell-20-12 north) + (NEXT cell-20-12 cell-20-11 north) + (NEXT cell-20-11 cell-20-10 north) + (NEXT cell-20-10 cell-20-9 north) + (NEXT cell-20-9 cell-20-8 north) + (NEXT cell-20-8 cell-20-7 north) + (NEXT cell-20-7 cell-20-6 north) + (NEXT cell-20-6 cell-20-5 north) + (NEXT cell-20-5 cell-20-4 north) + (NEXT cell-20-4 cell-20-3 north) + (NEXT cell-20-3 cell-20-2 north) + (NEXT cell-20-2 cell-20-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-16-1 cell-17-1 east) + (NEXT cell-17-1 cell-18-1 east) + (NEXT cell-18-1 cell-19-1 east) + (NEXT cell-19-1 cell-20-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-16-2 cell-17-2 east) + (NEXT cell-17-2 cell-18-2 east) + (NEXT cell-18-2 cell-19-2 east) + (NEXT cell-19-2 cell-20-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-16-3 cell-17-3 east) + (NEXT cell-17-3 cell-18-3 east) + (NEXT cell-18-3 cell-19-3 east) + (NEXT cell-19-3 cell-20-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-16-4 cell-17-4 east) + (NEXT cell-17-4 cell-18-4 east) + (NEXT cell-18-4 cell-19-4 east) + (NEXT cell-19-4 cell-20-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-16-5 cell-17-5 east) + (NEXT cell-17-5 cell-18-5 east) + (NEXT cell-18-5 cell-19-5 east) + (NEXT cell-19-5 cell-20-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-16-6 cell-17-6 east) + (NEXT cell-17-6 cell-18-6 east) + (NEXT cell-18-6 cell-19-6 east) + (NEXT cell-19-6 cell-20-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-16-7 cell-17-7 east) + (NEXT cell-17-7 cell-18-7 east) + (NEXT cell-18-7 cell-19-7 east) + (NEXT cell-19-7 cell-20-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-16-8 cell-17-8 east) + (NEXT cell-17-8 cell-18-8 east) + (NEXT cell-18-8 cell-19-8 east) + (NEXT cell-19-8 cell-20-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-16-9 cell-17-9 east) + (NEXT cell-17-9 cell-18-9 east) + (NEXT cell-18-9 cell-19-9 east) + (NEXT cell-19-9 cell-20-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-16-10 cell-17-10 east) + (NEXT cell-17-10 cell-18-10 east) + (NEXT cell-18-10 cell-19-10 east) + (NEXT cell-19-10 cell-20-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-16-11 cell-17-11 east) + (NEXT cell-17-11 cell-18-11 east) + (NEXT cell-18-11 cell-19-11 east) + (NEXT cell-19-11 cell-20-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-16-12 cell-17-12 east) + (NEXT cell-17-12 cell-18-12 east) + (NEXT cell-18-12 cell-19-12 east) + (NEXT cell-19-12 cell-20-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-16-13 cell-17-13 east) + (NEXT cell-17-13 cell-18-13 east) + (NEXT cell-18-13 cell-19-13 east) + (NEXT cell-19-13 cell-20-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-16-14 cell-17-14 east) + (NEXT cell-17-14 cell-18-14 east) + (NEXT cell-18-14 cell-19-14 east) + (NEXT cell-19-14 cell-20-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-16-15 cell-17-15 east) + (NEXT cell-17-15 cell-18-15 east) + (NEXT cell-18-15 cell-19-15 east) + (NEXT cell-19-15 cell-20-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-16 cell-17-16 east) + (NEXT cell-17-16 cell-18-16 east) + (NEXT cell-18-16 cell-19-16 east) + (NEXT cell-19-16 cell-20-16 east) + (NEXT cell-1-17 cell-2-17 east) + (NEXT cell-2-17 cell-3-17 east) + (NEXT cell-3-17 cell-4-17 east) + (NEXT cell-4-17 cell-5-17 east) + (NEXT cell-5-17 cell-6-17 east) + (NEXT cell-6-17 cell-7-17 east) + (NEXT cell-7-17 cell-8-17 east) + (NEXT cell-8-17 cell-9-17 east) + (NEXT cell-9-17 cell-10-17 east) + (NEXT cell-10-17 cell-11-17 east) + (NEXT cell-11-17 cell-12-17 east) + (NEXT cell-12-17 cell-13-17 east) + (NEXT cell-13-17 cell-14-17 east) + (NEXT cell-14-17 cell-15-17 east) + (NEXT cell-15-17 cell-16-17 east) + (NEXT cell-16-17 cell-17-17 east) + (NEXT cell-17-17 cell-18-17 east) + (NEXT cell-18-17 cell-19-17 east) + (NEXT cell-19-17 cell-20-17 east) + (NEXT cell-1-18 cell-2-18 east) + (NEXT cell-2-18 cell-3-18 east) + (NEXT cell-3-18 cell-4-18 east) + (NEXT cell-4-18 cell-5-18 east) + (NEXT cell-5-18 cell-6-18 east) + (NEXT cell-6-18 cell-7-18 east) + (NEXT cell-7-18 cell-8-18 east) + (NEXT cell-8-18 cell-9-18 east) + (NEXT cell-9-18 cell-10-18 east) + (NEXT cell-10-18 cell-11-18 east) + (NEXT cell-11-18 cell-12-18 east) + (NEXT cell-12-18 cell-13-18 east) + (NEXT cell-13-18 cell-14-18 east) + (NEXT cell-14-18 cell-15-18 east) + (NEXT cell-15-18 cell-16-18 east) + (NEXT cell-16-18 cell-17-18 east) + (NEXT cell-17-18 cell-18-18 east) + (NEXT cell-18-18 cell-19-18 east) + (NEXT cell-19-18 cell-20-18 east) + (NEXT cell-1-19 cell-2-19 east) + (NEXT cell-2-19 cell-3-19 east) + (NEXT cell-3-19 cell-4-19 east) + (NEXT cell-4-19 cell-5-19 east) + (NEXT cell-5-19 cell-6-19 east) + (NEXT cell-6-19 cell-7-19 east) + (NEXT cell-7-19 cell-8-19 east) + (NEXT cell-8-19 cell-9-19 east) + (NEXT cell-9-19 cell-10-19 east) + (NEXT cell-10-19 cell-11-19 east) + (NEXT cell-11-19 cell-12-19 east) + (NEXT cell-12-19 cell-13-19 east) + (NEXT cell-13-19 cell-14-19 east) + (NEXT cell-14-19 cell-15-19 east) + (NEXT cell-15-19 cell-16-19 east) + (NEXT cell-16-19 cell-17-19 east) + (NEXT cell-17-19 cell-18-19 east) + (NEXT cell-18-19 cell-19-19 east) + (NEXT cell-19-19 cell-20-19 east) + (NEXT cell-1-20 cell-2-20 east) + (NEXT cell-2-20 cell-3-20 east) + (NEXT cell-3-20 cell-4-20 east) + (NEXT cell-4-20 cell-5-20 east) + (NEXT cell-5-20 cell-6-20 east) + (NEXT cell-6-20 cell-7-20 east) + (NEXT cell-7-20 cell-8-20 east) + (NEXT cell-8-20 cell-9-20 east) + (NEXT cell-9-20 cell-10-20 east) + (NEXT cell-10-20 cell-11-20 east) + (NEXT cell-11-20 cell-12-20 east) + (NEXT cell-12-20 cell-13-20 east) + (NEXT cell-13-20 cell-14-20 east) + (NEXT cell-14-20 cell-15-20 east) + (NEXT cell-15-20 cell-16-20 east) + (NEXT cell-16-20 cell-17-20 east) + (NEXT cell-17-20 cell-18-20 east) + (NEXT cell-18-20 cell-19-20 east) + (NEXT cell-19-20 cell-20-20 east) + (NEXT cell-20-1 cell-19-1 west) + (NEXT cell-19-1 cell-18-1 west) + (NEXT cell-18-1 cell-17-1 west) + (NEXT cell-17-1 cell-16-1 west) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-20-2 cell-19-2 west) + (NEXT cell-19-2 cell-18-2 west) + (NEXT cell-18-2 cell-17-2 west) + (NEXT cell-17-2 cell-16-2 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-20-3 cell-19-3 west) + (NEXT cell-19-3 cell-18-3 west) + (NEXT cell-18-3 cell-17-3 west) + (NEXT cell-17-3 cell-16-3 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-20-4 cell-19-4 west) + (NEXT cell-19-4 cell-18-4 west) + (NEXT cell-18-4 cell-17-4 west) + (NEXT cell-17-4 cell-16-4 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-20-5 cell-19-5 west) + (NEXT cell-19-5 cell-18-5 west) + (NEXT cell-18-5 cell-17-5 west) + (NEXT cell-17-5 cell-16-5 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-20-6 cell-19-6 west) + (NEXT cell-19-6 cell-18-6 west) + (NEXT cell-18-6 cell-17-6 west) + (NEXT cell-17-6 cell-16-6 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-20-7 cell-19-7 west) + (NEXT cell-19-7 cell-18-7 west) + (NEXT cell-18-7 cell-17-7 west) + (NEXT cell-17-7 cell-16-7 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-20-8 cell-19-8 west) + (NEXT cell-19-8 cell-18-8 west) + (NEXT cell-18-8 cell-17-8 west) + (NEXT cell-17-8 cell-16-8 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-20-9 cell-19-9 west) + (NEXT cell-19-9 cell-18-9 west) + (NEXT cell-18-9 cell-17-9 west) + (NEXT cell-17-9 cell-16-9 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-20-10 cell-19-10 west) + (NEXT cell-19-10 cell-18-10 west) + (NEXT cell-18-10 cell-17-10 west) + (NEXT cell-17-10 cell-16-10 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-20-11 cell-19-11 west) + (NEXT cell-19-11 cell-18-11 west) + (NEXT cell-18-11 cell-17-11 west) + (NEXT cell-17-11 cell-16-11 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-20-12 cell-19-12 west) + (NEXT cell-19-12 cell-18-12 west) + (NEXT cell-18-12 cell-17-12 west) + (NEXT cell-17-12 cell-16-12 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-20-13 cell-19-13 west) + (NEXT cell-19-13 cell-18-13 west) + (NEXT cell-18-13 cell-17-13 west) + (NEXT cell-17-13 cell-16-13 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-20-14 cell-19-14 west) + (NEXT cell-19-14 cell-18-14 west) + (NEXT cell-18-14 cell-17-14 west) + (NEXT cell-17-14 cell-16-14 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-20-15 cell-19-15 west) + (NEXT cell-19-15 cell-18-15 west) + (NEXT cell-18-15 cell-17-15 west) + (NEXT cell-17-15 cell-16-15 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-20-16 cell-19-16 west) + (NEXT cell-19-16 cell-18-16 west) + (NEXT cell-18-16 cell-17-16 west) + (NEXT cell-17-16 cell-16-16 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + (NEXT cell-20-17 cell-19-17 west) + (NEXT cell-19-17 cell-18-17 west) + (NEXT cell-18-17 cell-17-17 west) + (NEXT cell-17-17 cell-16-17 west) + (NEXT cell-16-17 cell-15-17 west) + (NEXT cell-15-17 cell-14-17 west) + (NEXT cell-14-17 cell-13-17 west) + (NEXT cell-13-17 cell-12-17 west) + (NEXT cell-12-17 cell-11-17 west) + (NEXT cell-11-17 cell-10-17 west) + (NEXT cell-10-17 cell-9-17 west) + (NEXT cell-9-17 cell-8-17 west) + (NEXT cell-8-17 cell-7-17 west) + (NEXT cell-7-17 cell-6-17 west) + (NEXT cell-6-17 cell-5-17 west) + (NEXT cell-5-17 cell-4-17 west) + (NEXT cell-4-17 cell-3-17 west) + (NEXT cell-3-17 cell-2-17 west) + (NEXT cell-2-17 cell-1-17 west) + (NEXT cell-20-18 cell-19-18 west) + (NEXT cell-19-18 cell-18-18 west) + (NEXT cell-18-18 cell-17-18 west) + (NEXT cell-17-18 cell-16-18 west) + (NEXT cell-16-18 cell-15-18 west) + (NEXT cell-15-18 cell-14-18 west) + (NEXT cell-14-18 cell-13-18 west) + (NEXT cell-13-18 cell-12-18 west) + (NEXT cell-12-18 cell-11-18 west) + (NEXT cell-11-18 cell-10-18 west) + (NEXT cell-10-18 cell-9-18 west) + (NEXT cell-9-18 cell-8-18 west) + (NEXT cell-8-18 cell-7-18 west) + (NEXT cell-7-18 cell-6-18 west) + (NEXT cell-6-18 cell-5-18 west) + (NEXT cell-5-18 cell-4-18 west) + (NEXT cell-4-18 cell-3-18 west) + (NEXT cell-3-18 cell-2-18 west) + (NEXT cell-2-18 cell-1-18 west) + (NEXT cell-20-19 cell-19-19 west) + (NEXT cell-19-19 cell-18-19 west) + (NEXT cell-18-19 cell-17-19 west) + (NEXT cell-17-19 cell-16-19 west) + (NEXT cell-16-19 cell-15-19 west) + (NEXT cell-15-19 cell-14-19 west) + (NEXT cell-14-19 cell-13-19 west) + (NEXT cell-13-19 cell-12-19 west) + (NEXT cell-12-19 cell-11-19 west) + (NEXT cell-11-19 cell-10-19 west) + (NEXT cell-10-19 cell-9-19 west) + (NEXT cell-9-19 cell-8-19 west) + (NEXT cell-8-19 cell-7-19 west) + (NEXT cell-7-19 cell-6-19 west) + (NEXT cell-6-19 cell-5-19 west) + (NEXT cell-5-19 cell-4-19 west) + (NEXT cell-4-19 cell-3-19 west) + (NEXT cell-3-19 cell-2-19 west) + (NEXT cell-2-19 cell-1-19 west) + (NEXT cell-20-20 cell-19-20 west) + (NEXT cell-19-20 cell-18-20 west) + (NEXT cell-18-20 cell-17-20 west) + (NEXT cell-17-20 cell-16-20 west) + (NEXT cell-16-20 cell-15-20 west) + (NEXT cell-15-20 cell-14-20 west) + (NEXT cell-14-20 cell-13-20 west) + (NEXT cell-13-20 cell-12-20 west) + (NEXT cell-12-20 cell-11-20 west) + (NEXT cell-11-20 cell-10-20 west) + (NEXT cell-10-20 cell-9-20 west) + (NEXT cell-9-20 cell-8-20 west) + (NEXT cell-8-20 cell-7-20 west) + (NEXT cell-7-20 cell-6-20 west) + (NEXT cell-6-20 cell-5-20 west) + (NEXT cell-5-20 cell-4-20 west) + (NEXT cell-4-20 cell-3-20 west) + (NEXT cell-3-20 cell-2-20 west) + (NEXT cell-2-20 cell-1-20 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-20 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-20 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-20 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-20 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-20 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-20 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-20 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-20 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-20 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-20 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-20 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-20 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-20 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-20 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-20 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-20 south) + (BLOCKED cell-17-1 north) + (BLOCKED cell-17-20 south) + (BLOCKED cell-18-1 north) + (BLOCKED cell-18-20 south) + (BLOCKED cell-19-1 north) + (BLOCKED cell-19-20 south) + (BLOCKED cell-20-1 north) + (BLOCKED cell-20-20 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-20-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-20-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-20-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-20-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-20-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-20-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-20-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-20-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-20-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-20-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-20-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-20-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-20-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-20-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-20-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-20-16 east) + (BLOCKED cell-1-17 west) + (BLOCKED cell-20-17 east) + (BLOCKED cell-1-18 west) + (BLOCKED cell-20-18 east) + (BLOCKED cell-1-19 west) + (BLOCKED cell-20-19 east) + (BLOCKED cell-1-20 west) + (BLOCKED cell-20-20 east) + (BLOCKED cell-9-6 north) + (BLOCKED cell-9-5 south) + (BLOCKED cell-6-18 north) + (BLOCKED cell-6-17 south) + (BLOCKED cell-7-17 west) + (BLOCKED cell-6-17 east) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-15 east) + (BLOCKED cell-6-6 south) + (BLOCKED cell-6-7 north) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-20-13 west) + (BLOCKED cell-19-13 east) + (BLOCKED cell-9-17 west) + (BLOCKED cell-8-17 east) + (BLOCKED cell-10-5 north) + (BLOCKED cell-10-4 south) + (BLOCKED cell-20-2 west) + (BLOCKED cell-19-2 east) + (BLOCKED cell-19-12 south) + (BLOCKED cell-19-13 north) + (BLOCKED cell-6-7 south) + (BLOCKED cell-6-8 north) + (BLOCKED cell-2-2 west) + (BLOCKED cell-1-2 east) + (BLOCKED cell-11-15 south) + (BLOCKED cell-11-16 north) + (BLOCKED cell-19-19 west) + (BLOCKED cell-18-19 east) + (BLOCKED cell-6-18 west) + (BLOCKED cell-5-18 east) + (BLOCKED cell-11-13 south) + (BLOCKED cell-11-14 north) + (BLOCKED cell-1-11 south) + (BLOCKED cell-1-12 north) + (BLOCKED cell-19-2 west) + (BLOCKED cell-18-2 east) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-6-15 south) + (BLOCKED cell-6-16 north) + (BLOCKED cell-7-18 north) + (BLOCKED cell-7-17 south) + (BLOCKED cell-10-11 north) + (BLOCKED cell-10-10 south) + (BLOCKED cell-16-18 east) + (BLOCKED cell-17-18 west) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-14-6 north) + (BLOCKED cell-14-5 south) + (BLOCKED cell-7-15 west) + (BLOCKED cell-6-15 east) + (BLOCKED cell-7-5 west) + (BLOCKED cell-6-5 east) + (BLOCKED cell-13-10 north) + (BLOCKED cell-13-9 south) + (BLOCKED cell-6-1 east) + (BLOCKED cell-7-1 west) + (BLOCKED cell-5-20 west) + (BLOCKED cell-4-20 east) + (BLOCKED cell-7-14 east) + (BLOCKED cell-8-14 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-12-17 south) + (BLOCKED cell-12-18 north) + (BLOCKED cell-8-13 south) + (BLOCKED cell-8-14 north) + (BLOCKED cell-2-9 west) + (BLOCKED cell-1-9 east) + (BLOCKED cell-18-13 east) + (BLOCKED cell-19-13 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-8-17 south) + (BLOCKED cell-8-18 north) + (BLOCKED cell-8-13 east) + (BLOCKED cell-9-13 west) + (BLOCKED cell-1-16 north) + (BLOCKED cell-1-15 south) + (BLOCKED cell-8-14 east) + (BLOCKED cell-9-14 west) + (BLOCKED cell-17-14 south) + (BLOCKED cell-17-15 north) + (BLOCKED cell-19-7 north) + (BLOCKED cell-19-6 south) + (BLOCKED cell-3-11 south) + (BLOCKED cell-3-12 north) + (BLOCKED cell-14-14 west) + (BLOCKED cell-13-14 east) + (BLOCKED cell-2-19 south) + (BLOCKED cell-2-20 north) + (BLOCKED cell-16-8 south) + (BLOCKED cell-16-9 north) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-16-19 south) + (BLOCKED cell-16-20 north) + (BLOCKED cell-18-15 east) + (BLOCKED cell-19-15 west) + (BLOCKED cell-14-20 north) + (BLOCKED cell-14-19 south) + (BLOCKED cell-17-12 south) + (BLOCKED cell-17-13 north) + (BLOCKED cell-7-10 east) + (BLOCKED cell-8-10 west) + (BLOCKED cell-4-14 east) + (BLOCKED cell-5-14 west) + (BLOCKED cell-5-11 south) + (BLOCKED cell-5-12 north) + (BLOCKED cell-3-2 west) + (BLOCKED cell-2-2 east) + (BLOCKED cell-16-11 south) + (BLOCKED cell-16-12 north) + (BLOCKED cell-17-4 north) + (BLOCKED cell-17-3 south) + (BLOCKED cell-4-4 north) + (BLOCKED cell-4-3 south) + (BLOCKED cell-8-16 west) + (BLOCKED cell-7-16 east) + (BLOCKED cell-18-9 east) + (BLOCKED cell-19-9 west) + (BLOCKED cell-13-9 east) + (BLOCKED cell-14-9 west) + (BLOCKED cell-19-13 south) + (BLOCKED cell-19-14 north) + (BLOCKED cell-19-12 north) + (BLOCKED cell-19-11 south) + (BLOCKED cell-10-13 north) + (BLOCKED cell-10-12 south) + (BLOCKED cell-14-4 south) + (BLOCKED cell-14-5 north) + (BLOCKED cell-15-7 south) + (BLOCKED cell-15-8 north) + (BLOCKED cell-5-12 west) + (BLOCKED cell-4-12 east) + (BLOCKED cell-5-18 west) + (BLOCKED cell-4-18 east) + (BLOCKED cell-1-14 south) + (BLOCKED cell-1-15 north) + (BLOCKED cell-14-19 north) + (BLOCKED cell-14-18 south) + (BLOCKED cell-1-11 east) + (BLOCKED cell-2-11 west) + (BLOCKED cell-5-19 east) + (BLOCKED cell-6-19 west) + (BLOCKED cell-13-12 east) + (BLOCKED cell-14-12 west) + (BLOCKED cell-16-14 north) + (BLOCKED cell-16-13 south) + (BLOCKED cell-3-10 north) + (BLOCKED cell-3-9 south) + (BLOCKED cell-9-5 west) + (BLOCKED cell-8-5 east) + (BLOCKED cell-10-9 north) + (BLOCKED cell-10-8 south) + (BLOCKED cell-6-14 south) + (BLOCKED cell-6-15 north) + (BLOCKED cell-13-5 east) + (BLOCKED cell-14-5 west) + (BLOCKED cell-11-2 east) + (BLOCKED cell-12-2 west) + (BLOCKED cell-20-14 west) + (BLOCKED cell-19-14 east) + (BLOCKED cell-12-13 west) + (BLOCKED cell-11-13 east) + (BLOCKED cell-13-2 south) + (BLOCKED cell-13-3 north) + (BLOCKED cell-5-6 east) + (BLOCKED cell-6-6 west) + (BLOCKED cell-8-8 east) + (BLOCKED cell-9-8 west) + (BLOCKED cell-17-10 north) + (BLOCKED cell-17-9 south) + (BLOCKED cell-4-10 north) + (BLOCKED cell-4-9 south) + (BLOCKED cell-2-12 west) + (BLOCKED cell-1-12 east) + (BLOCKED cell-3-16 east) + (BLOCKED cell-4-16 west) + (BLOCKED cell-19-15 east) + (BLOCKED cell-20-15 west) + (BLOCKED cell-2-13 north) + (BLOCKED cell-2-12 south) + (BLOCKED cell-7-11 north) + (BLOCKED cell-7-10 south) + (BLOCKED cell-19-3 west) + (BLOCKED cell-18-3 east) + (BLOCKED cell-5-7 south) + (BLOCKED cell-5-8 north) + (BLOCKED cell-15-10 west) + (BLOCKED cell-14-10 east) + (BLOCKED cell-19-8 south) + (BLOCKED cell-19-9 north) + (BLOCKED cell-5-9 south) + (BLOCKED cell-5-10 north) + (BLOCKED cell-8-15 west) + (BLOCKED cell-7-15 east) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-12-1 west) + (BLOCKED cell-11-1 east) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-3-16 west) + (BLOCKED cell-2-16 east) + (BLOCKED cell-18-16 north) + (BLOCKED cell-18-15 south) + (BLOCKED cell-12-4 east) + (BLOCKED cell-13-4 west) + (BLOCKED cell-4-6 east) + (BLOCKED cell-5-6 west) + (BLOCKED cell-1-16 east) + (BLOCKED cell-2-16 west) + (BLOCKED cell-4-8 east) + (BLOCKED cell-5-8 west) + (BLOCKED cell-18-9 south) + (BLOCKED cell-18-10 north) + (BLOCKED cell-12-5 north) + (BLOCKED cell-12-4 south) + (BLOCKED cell-15-17 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-3 north) + (BLOCKED cell-16-2 south) + (BLOCKED cell-19-15 north) + (BLOCKED cell-19-14 south) + (BLOCKED cell-2-7 east) + (BLOCKED cell-3-7 west) + (BLOCKED cell-12-15 south) + (BLOCKED cell-12-16 north) + (BLOCKED cell-1-5 north) + (BLOCKED cell-1-4 south) + (BLOCKED cell-17-9 north) + (BLOCKED cell-17-8 south) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-1-17) + (free cell-1-18) + (free cell-1-19) + (free cell-1-20) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-2-17) + (free cell-2-18) + (free cell-2-19) + (free cell-2-20) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-3-17) + (free cell-3-18) + (free cell-3-19) + (free cell-3-20) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-4-17) + (free cell-4-18) + (free cell-4-19) + (free cell-4-20) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-5-17) + (free cell-5-18) + (free cell-5-19) + (free cell-5-20) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-6-17) + (free cell-6-18) + (free cell-6-19) + (free cell-6-20) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-7-17) + (free cell-7-18) + (free cell-7-19) + (free cell-7-20) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-8-17) + (free cell-8-18) + (free cell-8-19) + (free cell-8-20) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-9-17) + (free cell-9-18) + (free cell-9-19) + (free cell-9-20) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-10-17) + (free cell-10-18) + (free cell-10-19) + (free cell-10-20) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-11-17) + (free cell-11-18) + (free cell-11-19) + (free cell-11-20) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-12-17) + (free cell-12-18) + (free cell-12-19) + (free cell-12-20) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-13-17) + (free cell-13-18) + (free cell-13-19) + (free cell-13-20) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-14-17) + (free cell-14-18) + (free cell-14-19) + (free cell-14-20) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-15-17) + (free cell-15-18) + (free cell-15-19) + (free cell-15-20) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + (free cell-16-17) + (free cell-16-18) + (free cell-16-19) + (free cell-16-20) + (free cell-17-1) + (free cell-17-2) + (free cell-17-3) + (free cell-17-4) + (free cell-17-5) + (free cell-17-6) + (free cell-17-7) + (free cell-17-8) + (free cell-17-9) + (free cell-17-10) + (free cell-17-11) + (free cell-17-12) + (free cell-17-13) + (free cell-17-14) + (free cell-17-15) + (free cell-17-16) + (free cell-17-17) + (free cell-17-18) + (free cell-17-19) + (free cell-17-20) + (free cell-18-1) + (free cell-18-2) + (free cell-18-3) + (free cell-18-4) + (free cell-18-5) + (free cell-18-6) + (free cell-18-7) + (free cell-18-8) + (free cell-18-9) + (free cell-18-10) + (free cell-18-11) + (free cell-18-12) + (free cell-18-13) + (free cell-18-14) + (free cell-18-15) + (free cell-18-16) + (free cell-18-17) + (free cell-18-18) + (free cell-18-19) + (free cell-18-20) + (free cell-19-1) + (free cell-19-2) + (free cell-19-3) + (free cell-19-4) + (free cell-19-5) + (free cell-19-6) + (free cell-19-7) + (free cell-19-8) + (free cell-19-9) + (free cell-19-10) + (free cell-19-11) + (free cell-19-12) + (free cell-19-13) + (free cell-19-14) + (free cell-19-15) + (free cell-19-16) + (free cell-19-17) + (free cell-19-18) + (free cell-19-19) + (free cell-19-20) + (free cell-20-1) + (free cell-20-2) + (free cell-20-3) + (free cell-20-4) + (free cell-20-5) + (free cell-20-6) + (free cell-20-7) + (free cell-20-8) + (free cell-20-9) + (free cell-20-10) + (free cell-20-11) + (free cell-20-12) + (free cell-20-13) + (free cell-20-14) + (free cell-20-15) + (free cell-20-16) + (free cell-20-17) + (free cell-20-18) + (free cell-20-19) + (free cell-20-20) + + (at robot-1 cell-12-4) ;; red + (at robot-2 cell-2-11) ;; blue + (at robot-3 cell-14-1) ;; green + (at robot-4 cell-13-10) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-2 cell-17-11) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/domain.pddl b/ricochet-robots-sat23-adl/domain.pddl new file mode 100644 index 00000000..e1997ac8 --- /dev/null +++ b/ricochet-robots-sat23-adl/domain.pddl @@ -0,0 +1,124 @@ +(define (domain ricochet-robots) +(:requirements :typing :adl :action-costs) + +(:types + robot - object + cell - object + direction - object +) + +(:predicates + ;; ?cnext is right next to ?c in the direction of ?dir + (NEXT ?c - cell ?cnext - cell ?dir - direction) + ;; moving from ?c in the direction ?dir is blocked + (BLOCKED ?c - cell ?dir - direction) + ;; Robot ?r is located in the cell ?c + (at ?r - robot ?c - cell) + ;; No robot is located in the cell ?c + (free ?c - cell) + ;; No robot is moving anywhere + (nothing-is-moving) + ;; Robot ?r is moving in the direction ?dir + (is-moving ?r - robot ?dir - direction) +) + +(:functions + (total-cost) - number + + ;; The costs of actions are configurable. + ;; If we want to count only the number of movements of robots instead of + ;; counting all steps from a cell to cell (as it would be in the real + ;; game), then we need to set + ;; (= (go-cost) 1) + ;; (= (step-cost) 0) + ;; (= (stop-cost) 0) + (go-cost) - number + (step-cost) - number + (stop-cost) - number +) + +;; Starts movement of the robot ?r in the direction ?dir +(:action go + :parameters (?r - robot ?dir - direction) + :precondition + (and + (nothing-is-moving) + + ;; If we want to make sure that the robot can actually make a step + ;; in the specified direction, then we need to add the following + ;; (and the corresponding parameters ?cfrom and ?cto): + ;; + ;; (at ?r ?cfrom) + ;; (NEXT ?cfrom ?cto ?dir) + ;; (free ?cto) + ;; (not (BLOCKED ?cfrom ?dir)) + ) + :effect + (and + (not (nothing-is-moving)) + (is-moving ?r ?dir) + (increase (total-cost) (go-cost)) + ) +) + +;; Make one step from the cell ?cfrom to the cell ?cto with the robot ?r +;; Robot is allowed to make the step only if it is the (only) one currently +;; moving, and it is moving in the direction ?dir +(:action step + :parameters (?r - robot ?cfrom - cell ?cto - cell ?dir - direction) + :precondition + (and + (is-moving ?r ?dir) + (at ?r ?cfrom) + (NEXT ?cfrom ?cto ?dir) + (free ?cto) + (not (BLOCKED ?cfrom ?dir)) + ) + :effect + (and + (not (at ?r ?cfrom)) + (free ?cfrom) + (not (free ?cto)) + (at ?r ?cto) + (increase (total-cost) (step-cost)) + ) +) + +;; Stopping of the robot is split between +;; (i) stop-at-barrier which stops the robot if it cannot move further due to +;; a barrier expressed with (BLOCKED ...) predicate +;; (ii) stop-at-robot which stops the robot if the next step is blocked by +;; another robot +(:action stop-at-barrier + :parameters (?r - robot ?cat - cell ?dir - direction) + :precondition + (and + (is-moving ?r ?dir) + (at ?r ?cat) + (BLOCKED ?cat ?dir) + ) + :effect + (and + (not (is-moving ?r ?dir)) + (nothing-is-moving) + (increase (total-cost) (stop-cost)) + ) +) + +(:action stop-at-robot + :parameters (?r - robot ?cat - cell ?cnext - cell ?dir - direction) + :precondition + (and + (is-moving ?r ?dir) + (at ?r ?cat) + (NEXT ?cat ?cnext ?dir) + (not (free ?cnext)) + ) + :effect + (and + (not (is-moving ?r ?dir)) + (nothing-is-moving) + (increase (total-cost) (stop-cost)) + ) +) +) diff --git a/ricochet-robots-sat23-adl/p01.pddl b/ricochet-robots-sat23-adl/p01.pddl new file mode 100644 index 00000000..3e374c02 --- /dev/null +++ b/ricochet-robots-sat23-adl/p01.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/005-ricochetrobot-13-0.asp +;; Generated from file 005-ricochetrobot-13-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | |G2| | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-13-241179) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-2 cell-3-8) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p02.pddl b/ricochet-robots-sat23-adl/p02.pddl new file mode 100644 index 00000000..29b5bd0a --- /dev/null +++ b/ricochet-robots-sat23-adl/p02.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/047-ricochetrobot-15-0.asp +;; Generated from file 047-ricochetrobot-15-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x |G4| | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-15-753474) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-5-15) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p03.pddl b/ricochet-robots-sat23-adl/p03.pddl new file mode 100644 index 00000000..7c3971be --- /dev/null +++ b/ricochet-robots-sat23-adl/p03.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/044-ricochetrobot-16-0.asp +;; Generated from file 044-ricochetrobot-16-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | |G3| | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-16-514327) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-7-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p04.pddl b/ricochet-robots-sat23-adl/p04.pddl new file mode 100644 index 00000000..6f4abc31 --- /dev/null +++ b/ricochet-robots-sat23-adl/p04.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/150-ricochetrobot-17-0.asp +;; Generated from file 150-ricochetrobot-17-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | |G4| | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-17-816757) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-14-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p05.pddl b/ricochet-robots-sat23-adl/p05.pddl new file mode 100644 index 00000000..7bf17592 --- /dev/null +++ b/ricochet-robots-sat23-adl/p05.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/153-ricochetrobot-18-0.asp +;; Generated from file 153-ricochetrobot-18-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | |G3| x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-18-796673) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-15-8) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p06.pddl b/ricochet-robots-sat23-adl/p06.pddl new file mode 100644 index 00000000..d6e83a4b --- /dev/null +++ b/ricochet-robots-sat23-adl/p06.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/190-ricochetrobot-19-0.asp +;; Generated from file 190-ricochetrobot-19-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | |G4| | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-19-384914) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-9-13) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p07.pddl b/ricochet-robots-sat23-adl/p07.pddl new file mode 100644 index 00000000..dd70dd58 --- /dev/null +++ b/ricochet-robots-sat23-adl/p07.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/048-ricochetrobot-19-0.asp +;; Generated from file 048-ricochetrobot-19-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | |G4| | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-19-340579) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-9-3) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p08.pddl b/ricochet-robots-sat23-adl/p08.pddl new file mode 100644 index 00000000..e8c7d2e9 --- /dev/null +++ b/ricochet-robots-sat23-adl/p08.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/004-ricochetrobot-20-0.asp +;; Generated from file 004-ricochetrobot-20-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | |G2| | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-20-888290) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-2 cell-11-11) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p09.pddl b/ricochet-robots-sat23-adl/p09.pddl new file mode 100644 index 00000000..49fdebb6 --- /dev/null +++ b/ricochet-robots-sat23-adl/p09.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/126-ricochetrobot-20-0.asp +;; Generated from file 126-ricochetrobot-20-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | |G3| x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-20-516868) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-7-11) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p10.pddl b/ricochet-robots-sat23-adl/p10.pddl new file mode 100644 index 00000000..ad780082 --- /dev/null +++ b/ricochet-robots-sat23-adl/p10.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/126-ricochetrobot-20-0.asp +;; Generated from file 126-ricochetrobot-20-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | |G3| x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-20-422774) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-7-11) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p11.pddl b/ricochet-robots-sat23-adl/p11.pddl new file mode 100644 index 00000000..9fba132d --- /dev/null +++ b/ricochet-robots-sat23-adl/p11.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/216-ricochetrobot-21-0.asp +;; Generated from file 216-ricochetrobot-21-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | |G2| | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-21-718270) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-2 cell-13-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p12.pddl b/ricochet-robots-sat23-adl/p12.pddl new file mode 100644 index 00000000..5b6af044 --- /dev/null +++ b/ricochet-robots-sat23-adl/p12.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/236-ricochetrobot-21-0.asp +;; Generated from file 236-ricochetrobot-21-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | |G1| | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-21-833139) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-1 cell-5-13) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p13.pddl b/ricochet-robots-sat23-adl/p13.pddl new file mode 100644 index 00000000..e9875f85 --- /dev/null +++ b/ricochet-robots-sat23-adl/p13.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/201-ricochetrobot-21-0.asp +;; Generated from file 201-ricochetrobot-21-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | |G3| x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-21-371416) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-9-15) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p14.pddl b/ricochet-robots-sat23-adl/p14.pddl new file mode 100644 index 00000000..2d0b52d0 --- /dev/null +++ b/ricochet-robots-sat23-adl/p14.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/120-ricochetrobot-22-0.asp +;; Generated from file 120-ricochetrobot-22-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | |G4| | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-22-662951) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-14-9) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p15.pddl b/ricochet-robots-sat23-adl/p15.pddl new file mode 100644 index 00000000..470ac836 --- /dev/null +++ b/ricochet-robots-sat23-adl/p15.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/120-ricochetrobot-22-0.asp +;; Generated from file 120-ricochetrobot-22-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | |G4| | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | | | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-22-378402) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-14-9) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p16.pddl b/ricochet-robots-sat23-adl/p16.pddl new file mode 100644 index 00000000..35927d54 --- /dev/null +++ b/ricochet-robots-sat23-adl/p16.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/206-ricochetrobot-25-0.asp +;; Generated from file 206-ricochetrobot-25-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | | |G1| | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-25-516524) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-1 cell-13-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p17.pddl b/ricochet-robots-sat23-adl/p17.pddl new file mode 100644 index 00000000..0650406c --- /dev/null +++ b/ricochet-robots-sat23-adl/p17.pddl @@ -0,0 +1,1447 @@ +;; From ASP domain-ricochet-robots/asp-2015/167-ricochetrobot-24-0.asp +;; Generated from file 167-ricochetrobot-24-0.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; xR1| x | | | | | | | x | | | | |R3x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | x | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+ +;; x | | | | | | x | | | | | | | | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | x | x +;; +--+--+--+xx+--+--+--+xx+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | x | x | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | x | x | | | | | | x +;; +--+--+--+--+--+--+--+xx+xx+--+--+--+--+--+--+xx+ +;; x | | | x | | | | | | |G4| | | | x +;; +--+xx+--+--+xx+--+--+--+xx+--+--+--+--+xx+--+--+ +;; x | x | | | | | x | | | | x | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | x | | | | x +;; +xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+ +;; x | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | x | | | | | | x | | | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; xR2| | | x | | | | | | | x | | |R4x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-16x16-24-963749) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 - cell + robot-2 robot-3 robot-1 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-16 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-16 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-16 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-16 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-16 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-16 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-16 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-16 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-16 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-16 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-16 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-16 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-16 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-16 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-16 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-16-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-16-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-16-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-16-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-16-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-16-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-16-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-16-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-16-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-16-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-16-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-16-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-16-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-16-16 east) + (BLOCKED cell-1-12 south) + (BLOCKED cell-1-13 north) + (BLOCKED cell-1-6 south) + (BLOCKED cell-1-7 north) + (BLOCKED cell-10-1 east) + (BLOCKED cell-11-1 west) + (BLOCKED cell-10-14 south) + (BLOCKED cell-10-15 north) + (BLOCKED cell-10-15 east) + (BLOCKED cell-11-15 west) + (BLOCKED cell-10-8 west) + (BLOCKED cell-9-8 east) + (BLOCKED cell-10-9 west) + (BLOCKED cell-9-9 east) + (BLOCKED cell-11-12 east) + (BLOCKED cell-12-12 west) + (BLOCKED cell-11-12 south) + (BLOCKED cell-11-13 north) + (BLOCKED cell-11-3 east) + (BLOCKED cell-12-3 west) + (BLOCKED cell-11-7 south) + (BLOCKED cell-11-8 north) + (BLOCKED cell-11-8 east) + (BLOCKED cell-12-8 west) + (BLOCKED cell-12-16 east) + (BLOCKED cell-13-16 west) + (BLOCKED cell-12-3 south) + (BLOCKED cell-12-4 north) + (BLOCKED cell-13-11 east) + (BLOCKED cell-14-11 west) + (BLOCKED cell-14-10 south) + (BLOCKED cell-14-11 north) + (BLOCKED cell-14-13 east) + (BLOCKED cell-15-13 west) + (BLOCKED cell-14-2 east) + (BLOCKED cell-15-2 west) + (BLOCKED cell-14-7 east) + (BLOCKED cell-15-7 west) + (BLOCKED cell-14-7 south) + (BLOCKED cell-14-8 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-15-13 south) + (BLOCKED cell-15-14 north) + (BLOCKED cell-16-4 south) + (BLOCKED cell-16-5 north) + (BLOCKED cell-16-9 south) + (BLOCKED cell-16-10 north) + (BLOCKED cell-2-1 east) + (BLOCKED cell-3-1 west) + (BLOCKED cell-2-10 south) + (BLOCKED cell-2-11 north) + (BLOCKED cell-2-11 east) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-2 south) + (BLOCKED cell-2-3 north) + (BLOCKED cell-2-3 east) + (BLOCKED cell-3-3 west) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-3-15 south) + (BLOCKED cell-3-16 north) + (BLOCKED cell-3-7 east) + (BLOCKED cell-4-7 west) + (BLOCKED cell-4-10 east) + (BLOCKED cell-5-10 west) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-7 south) + (BLOCKED cell-4-8 north) + (BLOCKED cell-5-1 south) + (BLOCKED cell-5-2 north) + (BLOCKED cell-5-10 south) + (BLOCKED cell-5-11 north) + (BLOCKED cell-6-14 east) + (BLOCKED cell-7-14 west) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-7-4 east) + (BLOCKED cell-8-4 west) + (BLOCKED cell-7-4 south) + (BLOCKED cell-7-5 north) + (BLOCKED cell-7-8 east) + (BLOCKED cell-8-8 west) + (BLOCKED cell-7-9 east) + (BLOCKED cell-8-9 west) + (BLOCKED cell-8-10 north) + (BLOCKED cell-8-9 south) + (BLOCKED cell-8-11 east) + (BLOCKED cell-9-11 west) + (BLOCKED cell-8-7 south) + (BLOCKED cell-8-8 north) + (BLOCKED cell-9-10 north) + (BLOCKED cell-9-9 south) + (BLOCKED cell-9-10 south) + (BLOCKED cell-9-11 north) + (BLOCKED cell-9-7 south) + (BLOCKED cell-9-8 north) + + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + + (at robot-1 cell-1-1) ;; red + (at robot-2 cell-1-16) ;; blue + (at robot-3 cell-16-1) ;; green + (at robot-4 cell-16-16) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-4 cell-12-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p18.pddl b/ricochet-robots-sat23-adl/p18.pddl new file mode 100644 index 00000000..e6221d08 --- /dev/null +++ b/ricochet-robots-sat23-adl/p18.pddl @@ -0,0 +1,1704 @@ +;; Generated from file generate-734160.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | x | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | |R1x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | |R2| | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | |R3| | | | | | | | x | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | |R4| | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | x | |G1| | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | x | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | x | | | | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-18x18-None-355907) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-1-17 cell-1-18 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-2-17 cell-2-18 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-3-17 cell-3-18 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-4-17 cell-4-18 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-5-17 cell-5-18 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-6-17 cell-6-18 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-7-17 cell-7-18 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-8-17 cell-8-18 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-9-17 cell-9-18 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-10-17 cell-10-18 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-11-17 cell-11-18 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-12-17 cell-12-18 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-13-17 cell-13-18 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-14-17 cell-14-18 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-15-17 cell-15-18 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 cell-16-17 cell-16-18 cell-17-1 cell-17-2 cell-17-3 cell-17-4 cell-17-5 cell-17-6 cell-17-7 cell-17-8 cell-17-9 cell-17-10 cell-17-11 cell-17-12 cell-17-13 cell-17-14 cell-17-15 cell-17-16 cell-17-17 cell-17-18 cell-18-1 cell-18-2 cell-18-3 cell-18-4 cell-18-5 cell-18-6 cell-18-7 cell-18-8 cell-18-9 cell-18-10 cell-18-11 cell-18-12 cell-18-13 cell-18-14 cell-18-15 cell-18-16 cell-18-17 cell-18-18 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-1-16 cell-1-17 south) + (NEXT cell-1-17 cell-1-18 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-2-16 cell-2-17 south) + (NEXT cell-2-17 cell-2-18 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-3-16 cell-3-17 south) + (NEXT cell-3-17 cell-3-18 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-4-16 cell-4-17 south) + (NEXT cell-4-17 cell-4-18 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-5-16 cell-5-17 south) + (NEXT cell-5-17 cell-5-18 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-6-16 cell-6-17 south) + (NEXT cell-6-17 cell-6-18 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-7-16 cell-7-17 south) + (NEXT cell-7-17 cell-7-18 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-8-16 cell-8-17 south) + (NEXT cell-8-17 cell-8-18 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-9-16 cell-9-17 south) + (NEXT cell-9-17 cell-9-18 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-10-16 cell-10-17 south) + (NEXT cell-10-17 cell-10-18 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-11-16 cell-11-17 south) + (NEXT cell-11-17 cell-11-18 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-12-16 cell-12-17 south) + (NEXT cell-12-17 cell-12-18 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-13-16 cell-13-17 south) + (NEXT cell-13-17 cell-13-18 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-14-16 cell-14-17 south) + (NEXT cell-14-17 cell-14-18 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-15-16 cell-15-17 south) + (NEXT cell-15-17 cell-15-18 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-16-16 cell-16-17 south) + (NEXT cell-16-17 cell-16-18 south) + (NEXT cell-17-1 cell-17-2 south) + (NEXT cell-17-2 cell-17-3 south) + (NEXT cell-17-3 cell-17-4 south) + (NEXT cell-17-4 cell-17-5 south) + (NEXT cell-17-5 cell-17-6 south) + (NEXT cell-17-6 cell-17-7 south) + (NEXT cell-17-7 cell-17-8 south) + (NEXT cell-17-8 cell-17-9 south) + (NEXT cell-17-9 cell-17-10 south) + (NEXT cell-17-10 cell-17-11 south) + (NEXT cell-17-11 cell-17-12 south) + (NEXT cell-17-12 cell-17-13 south) + (NEXT cell-17-13 cell-17-14 south) + (NEXT cell-17-14 cell-17-15 south) + (NEXT cell-17-15 cell-17-16 south) + (NEXT cell-17-16 cell-17-17 south) + (NEXT cell-17-17 cell-17-18 south) + (NEXT cell-18-1 cell-18-2 south) + (NEXT cell-18-2 cell-18-3 south) + (NEXT cell-18-3 cell-18-4 south) + (NEXT cell-18-4 cell-18-5 south) + (NEXT cell-18-5 cell-18-6 south) + (NEXT cell-18-6 cell-18-7 south) + (NEXT cell-18-7 cell-18-8 south) + (NEXT cell-18-8 cell-18-9 south) + (NEXT cell-18-9 cell-18-10 south) + (NEXT cell-18-10 cell-18-11 south) + (NEXT cell-18-11 cell-18-12 south) + (NEXT cell-18-12 cell-18-13 south) + (NEXT cell-18-13 cell-18-14 south) + (NEXT cell-18-14 cell-18-15 south) + (NEXT cell-18-15 cell-18-16 south) + (NEXT cell-18-16 cell-18-17 south) + (NEXT cell-18-17 cell-18-18 south) + (NEXT cell-1-18 cell-1-17 north) + (NEXT cell-1-17 cell-1-16 north) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-18 cell-2-17 north) + (NEXT cell-2-17 cell-2-16 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-18 cell-3-17 north) + (NEXT cell-3-17 cell-3-16 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-18 cell-4-17 north) + (NEXT cell-4-17 cell-4-16 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-18 cell-5-17 north) + (NEXT cell-5-17 cell-5-16 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-18 cell-6-17 north) + (NEXT cell-6-17 cell-6-16 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-18 cell-7-17 north) + (NEXT cell-7-17 cell-7-16 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-18 cell-8-17 north) + (NEXT cell-8-17 cell-8-16 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-18 cell-9-17 north) + (NEXT cell-9-17 cell-9-16 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-18 cell-10-17 north) + (NEXT cell-10-17 cell-10-16 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-18 cell-11-17 north) + (NEXT cell-11-17 cell-11-16 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-18 cell-12-17 north) + (NEXT cell-12-17 cell-12-16 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-18 cell-13-17 north) + (NEXT cell-13-17 cell-13-16 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-18 cell-14-17 north) + (NEXT cell-14-17 cell-14-16 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-18 cell-15-17 north) + (NEXT cell-15-17 cell-15-16 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-18 cell-16-17 north) + (NEXT cell-16-17 cell-16-16 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-17-18 cell-17-17 north) + (NEXT cell-17-17 cell-17-16 north) + (NEXT cell-17-16 cell-17-15 north) + (NEXT cell-17-15 cell-17-14 north) + (NEXT cell-17-14 cell-17-13 north) + (NEXT cell-17-13 cell-17-12 north) + (NEXT cell-17-12 cell-17-11 north) + (NEXT cell-17-11 cell-17-10 north) + (NEXT cell-17-10 cell-17-9 north) + (NEXT cell-17-9 cell-17-8 north) + (NEXT cell-17-8 cell-17-7 north) + (NEXT cell-17-7 cell-17-6 north) + (NEXT cell-17-6 cell-17-5 north) + (NEXT cell-17-5 cell-17-4 north) + (NEXT cell-17-4 cell-17-3 north) + (NEXT cell-17-3 cell-17-2 north) + (NEXT cell-17-2 cell-17-1 north) + (NEXT cell-18-18 cell-18-17 north) + (NEXT cell-18-17 cell-18-16 north) + (NEXT cell-18-16 cell-18-15 north) + (NEXT cell-18-15 cell-18-14 north) + (NEXT cell-18-14 cell-18-13 north) + (NEXT cell-18-13 cell-18-12 north) + (NEXT cell-18-12 cell-18-11 north) + (NEXT cell-18-11 cell-18-10 north) + (NEXT cell-18-10 cell-18-9 north) + (NEXT cell-18-9 cell-18-8 north) + (NEXT cell-18-8 cell-18-7 north) + (NEXT cell-18-7 cell-18-6 north) + (NEXT cell-18-6 cell-18-5 north) + (NEXT cell-18-5 cell-18-4 north) + (NEXT cell-18-4 cell-18-3 north) + (NEXT cell-18-3 cell-18-2 north) + (NEXT cell-18-2 cell-18-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-16-1 cell-17-1 east) + (NEXT cell-17-1 cell-18-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-16-2 cell-17-2 east) + (NEXT cell-17-2 cell-18-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-16-3 cell-17-3 east) + (NEXT cell-17-3 cell-18-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-16-4 cell-17-4 east) + (NEXT cell-17-4 cell-18-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-16-5 cell-17-5 east) + (NEXT cell-17-5 cell-18-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-16-6 cell-17-6 east) + (NEXT cell-17-6 cell-18-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-16-7 cell-17-7 east) + (NEXT cell-17-7 cell-18-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-16-8 cell-17-8 east) + (NEXT cell-17-8 cell-18-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-16-9 cell-17-9 east) + (NEXT cell-17-9 cell-18-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-16-10 cell-17-10 east) + (NEXT cell-17-10 cell-18-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-16-11 cell-17-11 east) + (NEXT cell-17-11 cell-18-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-16-12 cell-17-12 east) + (NEXT cell-17-12 cell-18-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-16-13 cell-17-13 east) + (NEXT cell-17-13 cell-18-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-16-14 cell-17-14 east) + (NEXT cell-17-14 cell-18-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-16-15 cell-17-15 east) + (NEXT cell-17-15 cell-18-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-16 cell-17-16 east) + (NEXT cell-17-16 cell-18-16 east) + (NEXT cell-1-17 cell-2-17 east) + (NEXT cell-2-17 cell-3-17 east) + (NEXT cell-3-17 cell-4-17 east) + (NEXT cell-4-17 cell-5-17 east) + (NEXT cell-5-17 cell-6-17 east) + (NEXT cell-6-17 cell-7-17 east) + (NEXT cell-7-17 cell-8-17 east) + (NEXT cell-8-17 cell-9-17 east) + (NEXT cell-9-17 cell-10-17 east) + (NEXT cell-10-17 cell-11-17 east) + (NEXT cell-11-17 cell-12-17 east) + (NEXT cell-12-17 cell-13-17 east) + (NEXT cell-13-17 cell-14-17 east) + (NEXT cell-14-17 cell-15-17 east) + (NEXT cell-15-17 cell-16-17 east) + (NEXT cell-16-17 cell-17-17 east) + (NEXT cell-17-17 cell-18-17 east) + (NEXT cell-1-18 cell-2-18 east) + (NEXT cell-2-18 cell-3-18 east) + (NEXT cell-3-18 cell-4-18 east) + (NEXT cell-4-18 cell-5-18 east) + (NEXT cell-5-18 cell-6-18 east) + (NEXT cell-6-18 cell-7-18 east) + (NEXT cell-7-18 cell-8-18 east) + (NEXT cell-8-18 cell-9-18 east) + (NEXT cell-9-18 cell-10-18 east) + (NEXT cell-10-18 cell-11-18 east) + (NEXT cell-11-18 cell-12-18 east) + (NEXT cell-12-18 cell-13-18 east) + (NEXT cell-13-18 cell-14-18 east) + (NEXT cell-14-18 cell-15-18 east) + (NEXT cell-15-18 cell-16-18 east) + (NEXT cell-16-18 cell-17-18 east) + (NEXT cell-17-18 cell-18-18 east) + (NEXT cell-18-1 cell-17-1 west) + (NEXT cell-17-1 cell-16-1 west) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-18-2 cell-17-2 west) + (NEXT cell-17-2 cell-16-2 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-18-3 cell-17-3 west) + (NEXT cell-17-3 cell-16-3 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-18-4 cell-17-4 west) + (NEXT cell-17-4 cell-16-4 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-18-5 cell-17-5 west) + (NEXT cell-17-5 cell-16-5 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-18-6 cell-17-6 west) + (NEXT cell-17-6 cell-16-6 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-18-7 cell-17-7 west) + (NEXT cell-17-7 cell-16-7 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-18-8 cell-17-8 west) + (NEXT cell-17-8 cell-16-8 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-18-9 cell-17-9 west) + (NEXT cell-17-9 cell-16-9 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-18-10 cell-17-10 west) + (NEXT cell-17-10 cell-16-10 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-18-11 cell-17-11 west) + (NEXT cell-17-11 cell-16-11 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-18-12 cell-17-12 west) + (NEXT cell-17-12 cell-16-12 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-18-13 cell-17-13 west) + (NEXT cell-17-13 cell-16-13 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-18-14 cell-17-14 west) + (NEXT cell-17-14 cell-16-14 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-18-15 cell-17-15 west) + (NEXT cell-17-15 cell-16-15 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-18-16 cell-17-16 west) + (NEXT cell-17-16 cell-16-16 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + (NEXT cell-18-17 cell-17-17 west) + (NEXT cell-17-17 cell-16-17 west) + (NEXT cell-16-17 cell-15-17 west) + (NEXT cell-15-17 cell-14-17 west) + (NEXT cell-14-17 cell-13-17 west) + (NEXT cell-13-17 cell-12-17 west) + (NEXT cell-12-17 cell-11-17 west) + (NEXT cell-11-17 cell-10-17 west) + (NEXT cell-10-17 cell-9-17 west) + (NEXT cell-9-17 cell-8-17 west) + (NEXT cell-8-17 cell-7-17 west) + (NEXT cell-7-17 cell-6-17 west) + (NEXT cell-6-17 cell-5-17 west) + (NEXT cell-5-17 cell-4-17 west) + (NEXT cell-4-17 cell-3-17 west) + (NEXT cell-3-17 cell-2-17 west) + (NEXT cell-2-17 cell-1-17 west) + (NEXT cell-18-18 cell-17-18 west) + (NEXT cell-17-18 cell-16-18 west) + (NEXT cell-16-18 cell-15-18 west) + (NEXT cell-15-18 cell-14-18 west) + (NEXT cell-14-18 cell-13-18 west) + (NEXT cell-13-18 cell-12-18 west) + (NEXT cell-12-18 cell-11-18 west) + (NEXT cell-11-18 cell-10-18 west) + (NEXT cell-10-18 cell-9-18 west) + (NEXT cell-9-18 cell-8-18 west) + (NEXT cell-8-18 cell-7-18 west) + (NEXT cell-7-18 cell-6-18 west) + (NEXT cell-6-18 cell-5-18 west) + (NEXT cell-5-18 cell-4-18 west) + (NEXT cell-4-18 cell-3-18 west) + (NEXT cell-3-18 cell-2-18 west) + (NEXT cell-2-18 cell-1-18 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-18 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-18 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-18 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-18 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-18 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-18 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-18 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-18 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-18 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-18 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-18 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-18 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-18 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-18 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-18 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-18 south) + (BLOCKED cell-17-1 north) + (BLOCKED cell-17-18 south) + (BLOCKED cell-18-1 north) + (BLOCKED cell-18-18 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-18-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-18-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-18-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-18-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-18-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-18-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-18-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-18-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-18-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-18-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-18-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-18-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-18-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-18-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-18-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-18-16 east) + (BLOCKED cell-1-17 west) + (BLOCKED cell-18-17 east) + (BLOCKED cell-1-18 west) + (BLOCKED cell-18-18 east) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-10-18 west) + (BLOCKED cell-9-18 east) + (BLOCKED cell-9-17 west) + (BLOCKED cell-8-17 east) + (BLOCKED cell-13-16 east) + (BLOCKED cell-14-16 west) + (BLOCKED cell-12-11 east) + (BLOCKED cell-13-11 west) + (BLOCKED cell-6-3 west) + (BLOCKED cell-5-3 east) + (BLOCKED cell-18-4 south) + (BLOCKED cell-18-5 north) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-1-17) + (free cell-1-18) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-2-17) + (free cell-2-18) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-3-17) + (free cell-3-18) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-4-17) + (free cell-4-18) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-5-17) + (free cell-5-18) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-6-17) + (free cell-6-18) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-7-17) + (free cell-7-18) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-8-17) + (free cell-8-18) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-9-17) + (free cell-9-18) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-10-17) + (free cell-10-18) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-11-17) + (free cell-11-18) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-12-17) + (free cell-12-18) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-13-17) + (free cell-13-18) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-14-17) + (free cell-14-18) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-15-17) + (free cell-15-18) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + (free cell-16-17) + (free cell-16-18) + (free cell-17-1) + (free cell-17-2) + (free cell-17-3) + (free cell-17-4) + (free cell-17-5) + (free cell-17-6) + (free cell-17-7) + (free cell-17-8) + (free cell-17-9) + (free cell-17-10) + (free cell-17-11) + (free cell-17-12) + (free cell-17-13) + (free cell-17-14) + (free cell-17-15) + (free cell-17-16) + (free cell-17-17) + (free cell-17-18) + (free cell-18-1) + (free cell-18-2) + (free cell-18-3) + (free cell-18-4) + (free cell-18-5) + (free cell-18-6) + (free cell-18-7) + (free cell-18-8) + (free cell-18-10) + (free cell-18-11) + (free cell-18-12) + (free cell-18-13) + (free cell-18-14) + (free cell-18-15) + (free cell-18-16) + (free cell-18-17) + (free cell-18-18) + + (at robot-1 cell-18-9) ;; red + (at robot-2 cell-16-10) ;; blue + (at robot-3 cell-4-11) ;; green + (at robot-4 cell-13-13) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-1 cell-16-16) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p19.pddl b/ricochet-robots-sat23-adl/p19.pddl new file mode 100644 index 00000000..2f2578a0 --- /dev/null +++ b/ricochet-robots-sat23-adl/p19.pddl @@ -0,0 +1,2172 @@ +;; Generated from file generate-736242.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+xx+--+ +;; x | x | x | | | | | | | | | | | x | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+ +;; x | | | | x | | | x | | | | | | | | | | x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x | | | | | | | x | | | x | | | x | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+xx+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | x | | | | | | | | | | x | | | x +;; +--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | x | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | |R3| | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+ +;; x | |G3| | | | | | x |R1| | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+ +;; x | x | | | | | | x | | | | | | | | | | x +;; +--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | x | | | x | x | | | |R2| | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+xx+--+xx+--+--+xx+--+--+ +;; x | | | | | | | | | | | | | | | |R4| | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+ +;; x | | | | | | | | | | | | x | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | x | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | x | | x | | | x +;; +--+--+xx+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+xx+ +;; x | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+xx+--+ +;; x | x | | | | | | | | | | | | | | | x | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | x | x x | | | | | | | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-20x20-None-665184) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-1-17 cell-1-18 cell-1-19 cell-1-20 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-2-17 cell-2-18 cell-2-19 cell-2-20 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-3-17 cell-3-18 cell-3-19 cell-3-20 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-4-17 cell-4-18 cell-4-19 cell-4-20 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-5-17 cell-5-18 cell-5-19 cell-5-20 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-6-17 cell-6-18 cell-6-19 cell-6-20 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-7-17 cell-7-18 cell-7-19 cell-7-20 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-8-17 cell-8-18 cell-8-19 cell-8-20 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-9-17 cell-9-18 cell-9-19 cell-9-20 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-10-17 cell-10-18 cell-10-19 cell-10-20 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-11-17 cell-11-18 cell-11-19 cell-11-20 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-12-17 cell-12-18 cell-12-19 cell-12-20 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-13-17 cell-13-18 cell-13-19 cell-13-20 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-14-17 cell-14-18 cell-14-19 cell-14-20 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-15-17 cell-15-18 cell-15-19 cell-15-20 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 cell-16-17 cell-16-18 cell-16-19 cell-16-20 cell-17-1 cell-17-2 cell-17-3 cell-17-4 cell-17-5 cell-17-6 cell-17-7 cell-17-8 cell-17-9 cell-17-10 cell-17-11 cell-17-12 cell-17-13 cell-17-14 cell-17-15 cell-17-16 cell-17-17 cell-17-18 cell-17-19 cell-17-20 cell-18-1 cell-18-2 cell-18-3 cell-18-4 cell-18-5 cell-18-6 cell-18-7 cell-18-8 cell-18-9 cell-18-10 cell-18-11 cell-18-12 cell-18-13 cell-18-14 cell-18-15 cell-18-16 cell-18-17 cell-18-18 cell-18-19 cell-18-20 cell-19-1 cell-19-2 cell-19-3 cell-19-4 cell-19-5 cell-19-6 cell-19-7 cell-19-8 cell-19-9 cell-19-10 cell-19-11 cell-19-12 cell-19-13 cell-19-14 cell-19-15 cell-19-16 cell-19-17 cell-19-18 cell-19-19 cell-19-20 cell-20-1 cell-20-2 cell-20-3 cell-20-4 cell-20-5 cell-20-6 cell-20-7 cell-20-8 cell-20-9 cell-20-10 cell-20-11 cell-20-12 cell-20-13 cell-20-14 cell-20-15 cell-20-16 cell-20-17 cell-20-18 cell-20-19 cell-20-20 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-1-16 cell-1-17 south) + (NEXT cell-1-17 cell-1-18 south) + (NEXT cell-1-18 cell-1-19 south) + (NEXT cell-1-19 cell-1-20 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-2-16 cell-2-17 south) + (NEXT cell-2-17 cell-2-18 south) + (NEXT cell-2-18 cell-2-19 south) + (NEXT cell-2-19 cell-2-20 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-3-16 cell-3-17 south) + (NEXT cell-3-17 cell-3-18 south) + (NEXT cell-3-18 cell-3-19 south) + (NEXT cell-3-19 cell-3-20 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-4-16 cell-4-17 south) + (NEXT cell-4-17 cell-4-18 south) + (NEXT cell-4-18 cell-4-19 south) + (NEXT cell-4-19 cell-4-20 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-5-16 cell-5-17 south) + (NEXT cell-5-17 cell-5-18 south) + (NEXT cell-5-18 cell-5-19 south) + (NEXT cell-5-19 cell-5-20 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-6-16 cell-6-17 south) + (NEXT cell-6-17 cell-6-18 south) + (NEXT cell-6-18 cell-6-19 south) + (NEXT cell-6-19 cell-6-20 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-7-16 cell-7-17 south) + (NEXT cell-7-17 cell-7-18 south) + (NEXT cell-7-18 cell-7-19 south) + (NEXT cell-7-19 cell-7-20 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-8-16 cell-8-17 south) + (NEXT cell-8-17 cell-8-18 south) + (NEXT cell-8-18 cell-8-19 south) + (NEXT cell-8-19 cell-8-20 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-9-16 cell-9-17 south) + (NEXT cell-9-17 cell-9-18 south) + (NEXT cell-9-18 cell-9-19 south) + (NEXT cell-9-19 cell-9-20 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-10-16 cell-10-17 south) + (NEXT cell-10-17 cell-10-18 south) + (NEXT cell-10-18 cell-10-19 south) + (NEXT cell-10-19 cell-10-20 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-11-16 cell-11-17 south) + (NEXT cell-11-17 cell-11-18 south) + (NEXT cell-11-18 cell-11-19 south) + (NEXT cell-11-19 cell-11-20 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-12-16 cell-12-17 south) + (NEXT cell-12-17 cell-12-18 south) + (NEXT cell-12-18 cell-12-19 south) + (NEXT cell-12-19 cell-12-20 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-13-16 cell-13-17 south) + (NEXT cell-13-17 cell-13-18 south) + (NEXT cell-13-18 cell-13-19 south) + (NEXT cell-13-19 cell-13-20 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-14-16 cell-14-17 south) + (NEXT cell-14-17 cell-14-18 south) + (NEXT cell-14-18 cell-14-19 south) + (NEXT cell-14-19 cell-14-20 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-15-16 cell-15-17 south) + (NEXT cell-15-17 cell-15-18 south) + (NEXT cell-15-18 cell-15-19 south) + (NEXT cell-15-19 cell-15-20 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-16-16 cell-16-17 south) + (NEXT cell-16-17 cell-16-18 south) + (NEXT cell-16-18 cell-16-19 south) + (NEXT cell-16-19 cell-16-20 south) + (NEXT cell-17-1 cell-17-2 south) + (NEXT cell-17-2 cell-17-3 south) + (NEXT cell-17-3 cell-17-4 south) + (NEXT cell-17-4 cell-17-5 south) + (NEXT cell-17-5 cell-17-6 south) + (NEXT cell-17-6 cell-17-7 south) + (NEXT cell-17-7 cell-17-8 south) + (NEXT cell-17-8 cell-17-9 south) + (NEXT cell-17-9 cell-17-10 south) + (NEXT cell-17-10 cell-17-11 south) + (NEXT cell-17-11 cell-17-12 south) + (NEXT cell-17-12 cell-17-13 south) + (NEXT cell-17-13 cell-17-14 south) + (NEXT cell-17-14 cell-17-15 south) + (NEXT cell-17-15 cell-17-16 south) + (NEXT cell-17-16 cell-17-17 south) + (NEXT cell-17-17 cell-17-18 south) + (NEXT cell-17-18 cell-17-19 south) + (NEXT cell-17-19 cell-17-20 south) + (NEXT cell-18-1 cell-18-2 south) + (NEXT cell-18-2 cell-18-3 south) + (NEXT cell-18-3 cell-18-4 south) + (NEXT cell-18-4 cell-18-5 south) + (NEXT cell-18-5 cell-18-6 south) + (NEXT cell-18-6 cell-18-7 south) + (NEXT cell-18-7 cell-18-8 south) + (NEXT cell-18-8 cell-18-9 south) + (NEXT cell-18-9 cell-18-10 south) + (NEXT cell-18-10 cell-18-11 south) + (NEXT cell-18-11 cell-18-12 south) + (NEXT cell-18-12 cell-18-13 south) + (NEXT cell-18-13 cell-18-14 south) + (NEXT cell-18-14 cell-18-15 south) + (NEXT cell-18-15 cell-18-16 south) + (NEXT cell-18-16 cell-18-17 south) + (NEXT cell-18-17 cell-18-18 south) + (NEXT cell-18-18 cell-18-19 south) + (NEXT cell-18-19 cell-18-20 south) + (NEXT cell-19-1 cell-19-2 south) + (NEXT cell-19-2 cell-19-3 south) + (NEXT cell-19-3 cell-19-4 south) + (NEXT cell-19-4 cell-19-5 south) + (NEXT cell-19-5 cell-19-6 south) + (NEXT cell-19-6 cell-19-7 south) + (NEXT cell-19-7 cell-19-8 south) + (NEXT cell-19-8 cell-19-9 south) + (NEXT cell-19-9 cell-19-10 south) + (NEXT cell-19-10 cell-19-11 south) + (NEXT cell-19-11 cell-19-12 south) + (NEXT cell-19-12 cell-19-13 south) + (NEXT cell-19-13 cell-19-14 south) + (NEXT cell-19-14 cell-19-15 south) + (NEXT cell-19-15 cell-19-16 south) + (NEXT cell-19-16 cell-19-17 south) + (NEXT cell-19-17 cell-19-18 south) + (NEXT cell-19-18 cell-19-19 south) + (NEXT cell-19-19 cell-19-20 south) + (NEXT cell-20-1 cell-20-2 south) + (NEXT cell-20-2 cell-20-3 south) + (NEXT cell-20-3 cell-20-4 south) + (NEXT cell-20-4 cell-20-5 south) + (NEXT cell-20-5 cell-20-6 south) + (NEXT cell-20-6 cell-20-7 south) + (NEXT cell-20-7 cell-20-8 south) + (NEXT cell-20-8 cell-20-9 south) + (NEXT cell-20-9 cell-20-10 south) + (NEXT cell-20-10 cell-20-11 south) + (NEXT cell-20-11 cell-20-12 south) + (NEXT cell-20-12 cell-20-13 south) + (NEXT cell-20-13 cell-20-14 south) + (NEXT cell-20-14 cell-20-15 south) + (NEXT cell-20-15 cell-20-16 south) + (NEXT cell-20-16 cell-20-17 south) + (NEXT cell-20-17 cell-20-18 south) + (NEXT cell-20-18 cell-20-19 south) + (NEXT cell-20-19 cell-20-20 south) + (NEXT cell-1-20 cell-1-19 north) + (NEXT cell-1-19 cell-1-18 north) + (NEXT cell-1-18 cell-1-17 north) + (NEXT cell-1-17 cell-1-16 north) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-20 cell-2-19 north) + (NEXT cell-2-19 cell-2-18 north) + (NEXT cell-2-18 cell-2-17 north) + (NEXT cell-2-17 cell-2-16 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-20 cell-3-19 north) + (NEXT cell-3-19 cell-3-18 north) + (NEXT cell-3-18 cell-3-17 north) + (NEXT cell-3-17 cell-3-16 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-20 cell-4-19 north) + (NEXT cell-4-19 cell-4-18 north) + (NEXT cell-4-18 cell-4-17 north) + (NEXT cell-4-17 cell-4-16 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-20 cell-5-19 north) + (NEXT cell-5-19 cell-5-18 north) + (NEXT cell-5-18 cell-5-17 north) + (NEXT cell-5-17 cell-5-16 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-20 cell-6-19 north) + (NEXT cell-6-19 cell-6-18 north) + (NEXT cell-6-18 cell-6-17 north) + (NEXT cell-6-17 cell-6-16 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-20 cell-7-19 north) + (NEXT cell-7-19 cell-7-18 north) + (NEXT cell-7-18 cell-7-17 north) + (NEXT cell-7-17 cell-7-16 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-20 cell-8-19 north) + (NEXT cell-8-19 cell-8-18 north) + (NEXT cell-8-18 cell-8-17 north) + (NEXT cell-8-17 cell-8-16 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-20 cell-9-19 north) + (NEXT cell-9-19 cell-9-18 north) + (NEXT cell-9-18 cell-9-17 north) + (NEXT cell-9-17 cell-9-16 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-20 cell-10-19 north) + (NEXT cell-10-19 cell-10-18 north) + (NEXT cell-10-18 cell-10-17 north) + (NEXT cell-10-17 cell-10-16 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-20 cell-11-19 north) + (NEXT cell-11-19 cell-11-18 north) + (NEXT cell-11-18 cell-11-17 north) + (NEXT cell-11-17 cell-11-16 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-20 cell-12-19 north) + (NEXT cell-12-19 cell-12-18 north) + (NEXT cell-12-18 cell-12-17 north) + (NEXT cell-12-17 cell-12-16 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-20 cell-13-19 north) + (NEXT cell-13-19 cell-13-18 north) + (NEXT cell-13-18 cell-13-17 north) + (NEXT cell-13-17 cell-13-16 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-20 cell-14-19 north) + (NEXT cell-14-19 cell-14-18 north) + (NEXT cell-14-18 cell-14-17 north) + (NEXT cell-14-17 cell-14-16 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-20 cell-15-19 north) + (NEXT cell-15-19 cell-15-18 north) + (NEXT cell-15-18 cell-15-17 north) + (NEXT cell-15-17 cell-15-16 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-20 cell-16-19 north) + (NEXT cell-16-19 cell-16-18 north) + (NEXT cell-16-18 cell-16-17 north) + (NEXT cell-16-17 cell-16-16 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-17-20 cell-17-19 north) + (NEXT cell-17-19 cell-17-18 north) + (NEXT cell-17-18 cell-17-17 north) + (NEXT cell-17-17 cell-17-16 north) + (NEXT cell-17-16 cell-17-15 north) + (NEXT cell-17-15 cell-17-14 north) + (NEXT cell-17-14 cell-17-13 north) + (NEXT cell-17-13 cell-17-12 north) + (NEXT cell-17-12 cell-17-11 north) + (NEXT cell-17-11 cell-17-10 north) + (NEXT cell-17-10 cell-17-9 north) + (NEXT cell-17-9 cell-17-8 north) + (NEXT cell-17-8 cell-17-7 north) + (NEXT cell-17-7 cell-17-6 north) + (NEXT cell-17-6 cell-17-5 north) + (NEXT cell-17-5 cell-17-4 north) + (NEXT cell-17-4 cell-17-3 north) + (NEXT cell-17-3 cell-17-2 north) + (NEXT cell-17-2 cell-17-1 north) + (NEXT cell-18-20 cell-18-19 north) + (NEXT cell-18-19 cell-18-18 north) + (NEXT cell-18-18 cell-18-17 north) + (NEXT cell-18-17 cell-18-16 north) + (NEXT cell-18-16 cell-18-15 north) + (NEXT cell-18-15 cell-18-14 north) + (NEXT cell-18-14 cell-18-13 north) + (NEXT cell-18-13 cell-18-12 north) + (NEXT cell-18-12 cell-18-11 north) + (NEXT cell-18-11 cell-18-10 north) + (NEXT cell-18-10 cell-18-9 north) + (NEXT cell-18-9 cell-18-8 north) + (NEXT cell-18-8 cell-18-7 north) + (NEXT cell-18-7 cell-18-6 north) + (NEXT cell-18-6 cell-18-5 north) + (NEXT cell-18-5 cell-18-4 north) + (NEXT cell-18-4 cell-18-3 north) + (NEXT cell-18-3 cell-18-2 north) + (NEXT cell-18-2 cell-18-1 north) + (NEXT cell-19-20 cell-19-19 north) + (NEXT cell-19-19 cell-19-18 north) + (NEXT cell-19-18 cell-19-17 north) + (NEXT cell-19-17 cell-19-16 north) + (NEXT cell-19-16 cell-19-15 north) + (NEXT cell-19-15 cell-19-14 north) + (NEXT cell-19-14 cell-19-13 north) + (NEXT cell-19-13 cell-19-12 north) + (NEXT cell-19-12 cell-19-11 north) + (NEXT cell-19-11 cell-19-10 north) + (NEXT cell-19-10 cell-19-9 north) + (NEXT cell-19-9 cell-19-8 north) + (NEXT cell-19-8 cell-19-7 north) + (NEXT cell-19-7 cell-19-6 north) + (NEXT cell-19-6 cell-19-5 north) + (NEXT cell-19-5 cell-19-4 north) + (NEXT cell-19-4 cell-19-3 north) + (NEXT cell-19-3 cell-19-2 north) + (NEXT cell-19-2 cell-19-1 north) + (NEXT cell-20-20 cell-20-19 north) + (NEXT cell-20-19 cell-20-18 north) + (NEXT cell-20-18 cell-20-17 north) + (NEXT cell-20-17 cell-20-16 north) + (NEXT cell-20-16 cell-20-15 north) + (NEXT cell-20-15 cell-20-14 north) + (NEXT cell-20-14 cell-20-13 north) + (NEXT cell-20-13 cell-20-12 north) + (NEXT cell-20-12 cell-20-11 north) + (NEXT cell-20-11 cell-20-10 north) + (NEXT cell-20-10 cell-20-9 north) + (NEXT cell-20-9 cell-20-8 north) + (NEXT cell-20-8 cell-20-7 north) + (NEXT cell-20-7 cell-20-6 north) + (NEXT cell-20-6 cell-20-5 north) + (NEXT cell-20-5 cell-20-4 north) + (NEXT cell-20-4 cell-20-3 north) + (NEXT cell-20-3 cell-20-2 north) + (NEXT cell-20-2 cell-20-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-16-1 cell-17-1 east) + (NEXT cell-17-1 cell-18-1 east) + (NEXT cell-18-1 cell-19-1 east) + (NEXT cell-19-1 cell-20-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-16-2 cell-17-2 east) + (NEXT cell-17-2 cell-18-2 east) + (NEXT cell-18-2 cell-19-2 east) + (NEXT cell-19-2 cell-20-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-16-3 cell-17-3 east) + (NEXT cell-17-3 cell-18-3 east) + (NEXT cell-18-3 cell-19-3 east) + (NEXT cell-19-3 cell-20-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-16-4 cell-17-4 east) + (NEXT cell-17-4 cell-18-4 east) + (NEXT cell-18-4 cell-19-4 east) + (NEXT cell-19-4 cell-20-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-16-5 cell-17-5 east) + (NEXT cell-17-5 cell-18-5 east) + (NEXT cell-18-5 cell-19-5 east) + (NEXT cell-19-5 cell-20-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-16-6 cell-17-6 east) + (NEXT cell-17-6 cell-18-6 east) + (NEXT cell-18-6 cell-19-6 east) + (NEXT cell-19-6 cell-20-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-16-7 cell-17-7 east) + (NEXT cell-17-7 cell-18-7 east) + (NEXT cell-18-7 cell-19-7 east) + (NEXT cell-19-7 cell-20-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-16-8 cell-17-8 east) + (NEXT cell-17-8 cell-18-8 east) + (NEXT cell-18-8 cell-19-8 east) + (NEXT cell-19-8 cell-20-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-16-9 cell-17-9 east) + (NEXT cell-17-9 cell-18-9 east) + (NEXT cell-18-9 cell-19-9 east) + (NEXT cell-19-9 cell-20-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-16-10 cell-17-10 east) + (NEXT cell-17-10 cell-18-10 east) + (NEXT cell-18-10 cell-19-10 east) + (NEXT cell-19-10 cell-20-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-16-11 cell-17-11 east) + (NEXT cell-17-11 cell-18-11 east) + (NEXT cell-18-11 cell-19-11 east) + (NEXT cell-19-11 cell-20-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-16-12 cell-17-12 east) + (NEXT cell-17-12 cell-18-12 east) + (NEXT cell-18-12 cell-19-12 east) + (NEXT cell-19-12 cell-20-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-16-13 cell-17-13 east) + (NEXT cell-17-13 cell-18-13 east) + (NEXT cell-18-13 cell-19-13 east) + (NEXT cell-19-13 cell-20-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-16-14 cell-17-14 east) + (NEXT cell-17-14 cell-18-14 east) + (NEXT cell-18-14 cell-19-14 east) + (NEXT cell-19-14 cell-20-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-16-15 cell-17-15 east) + (NEXT cell-17-15 cell-18-15 east) + (NEXT cell-18-15 cell-19-15 east) + (NEXT cell-19-15 cell-20-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-16 cell-17-16 east) + (NEXT cell-17-16 cell-18-16 east) + (NEXT cell-18-16 cell-19-16 east) + (NEXT cell-19-16 cell-20-16 east) + (NEXT cell-1-17 cell-2-17 east) + (NEXT cell-2-17 cell-3-17 east) + (NEXT cell-3-17 cell-4-17 east) + (NEXT cell-4-17 cell-5-17 east) + (NEXT cell-5-17 cell-6-17 east) + (NEXT cell-6-17 cell-7-17 east) + (NEXT cell-7-17 cell-8-17 east) + (NEXT cell-8-17 cell-9-17 east) + (NEXT cell-9-17 cell-10-17 east) + (NEXT cell-10-17 cell-11-17 east) + (NEXT cell-11-17 cell-12-17 east) + (NEXT cell-12-17 cell-13-17 east) + (NEXT cell-13-17 cell-14-17 east) + (NEXT cell-14-17 cell-15-17 east) + (NEXT cell-15-17 cell-16-17 east) + (NEXT cell-16-17 cell-17-17 east) + (NEXT cell-17-17 cell-18-17 east) + (NEXT cell-18-17 cell-19-17 east) + (NEXT cell-19-17 cell-20-17 east) + (NEXT cell-1-18 cell-2-18 east) + (NEXT cell-2-18 cell-3-18 east) + (NEXT cell-3-18 cell-4-18 east) + (NEXT cell-4-18 cell-5-18 east) + (NEXT cell-5-18 cell-6-18 east) + (NEXT cell-6-18 cell-7-18 east) + (NEXT cell-7-18 cell-8-18 east) + (NEXT cell-8-18 cell-9-18 east) + (NEXT cell-9-18 cell-10-18 east) + (NEXT cell-10-18 cell-11-18 east) + (NEXT cell-11-18 cell-12-18 east) + (NEXT cell-12-18 cell-13-18 east) + (NEXT cell-13-18 cell-14-18 east) + (NEXT cell-14-18 cell-15-18 east) + (NEXT cell-15-18 cell-16-18 east) + (NEXT cell-16-18 cell-17-18 east) + (NEXT cell-17-18 cell-18-18 east) + (NEXT cell-18-18 cell-19-18 east) + (NEXT cell-19-18 cell-20-18 east) + (NEXT cell-1-19 cell-2-19 east) + (NEXT cell-2-19 cell-3-19 east) + (NEXT cell-3-19 cell-4-19 east) + (NEXT cell-4-19 cell-5-19 east) + (NEXT cell-5-19 cell-6-19 east) + (NEXT cell-6-19 cell-7-19 east) + (NEXT cell-7-19 cell-8-19 east) + (NEXT cell-8-19 cell-9-19 east) + (NEXT cell-9-19 cell-10-19 east) + (NEXT cell-10-19 cell-11-19 east) + (NEXT cell-11-19 cell-12-19 east) + (NEXT cell-12-19 cell-13-19 east) + (NEXT cell-13-19 cell-14-19 east) + (NEXT cell-14-19 cell-15-19 east) + (NEXT cell-15-19 cell-16-19 east) + (NEXT cell-16-19 cell-17-19 east) + (NEXT cell-17-19 cell-18-19 east) + (NEXT cell-18-19 cell-19-19 east) + (NEXT cell-19-19 cell-20-19 east) + (NEXT cell-1-20 cell-2-20 east) + (NEXT cell-2-20 cell-3-20 east) + (NEXT cell-3-20 cell-4-20 east) + (NEXT cell-4-20 cell-5-20 east) + (NEXT cell-5-20 cell-6-20 east) + (NEXT cell-6-20 cell-7-20 east) + (NEXT cell-7-20 cell-8-20 east) + (NEXT cell-8-20 cell-9-20 east) + (NEXT cell-9-20 cell-10-20 east) + (NEXT cell-10-20 cell-11-20 east) + (NEXT cell-11-20 cell-12-20 east) + (NEXT cell-12-20 cell-13-20 east) + (NEXT cell-13-20 cell-14-20 east) + (NEXT cell-14-20 cell-15-20 east) + (NEXT cell-15-20 cell-16-20 east) + (NEXT cell-16-20 cell-17-20 east) + (NEXT cell-17-20 cell-18-20 east) + (NEXT cell-18-20 cell-19-20 east) + (NEXT cell-19-20 cell-20-20 east) + (NEXT cell-20-1 cell-19-1 west) + (NEXT cell-19-1 cell-18-1 west) + (NEXT cell-18-1 cell-17-1 west) + (NEXT cell-17-1 cell-16-1 west) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-20-2 cell-19-2 west) + (NEXT cell-19-2 cell-18-2 west) + (NEXT cell-18-2 cell-17-2 west) + (NEXT cell-17-2 cell-16-2 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-20-3 cell-19-3 west) + (NEXT cell-19-3 cell-18-3 west) + (NEXT cell-18-3 cell-17-3 west) + (NEXT cell-17-3 cell-16-3 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-20-4 cell-19-4 west) + (NEXT cell-19-4 cell-18-4 west) + (NEXT cell-18-4 cell-17-4 west) + (NEXT cell-17-4 cell-16-4 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-20-5 cell-19-5 west) + (NEXT cell-19-5 cell-18-5 west) + (NEXT cell-18-5 cell-17-5 west) + (NEXT cell-17-5 cell-16-5 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-20-6 cell-19-6 west) + (NEXT cell-19-6 cell-18-6 west) + (NEXT cell-18-6 cell-17-6 west) + (NEXT cell-17-6 cell-16-6 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-20-7 cell-19-7 west) + (NEXT cell-19-7 cell-18-7 west) + (NEXT cell-18-7 cell-17-7 west) + (NEXT cell-17-7 cell-16-7 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-20-8 cell-19-8 west) + (NEXT cell-19-8 cell-18-8 west) + (NEXT cell-18-8 cell-17-8 west) + (NEXT cell-17-8 cell-16-8 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-20-9 cell-19-9 west) + (NEXT cell-19-9 cell-18-9 west) + (NEXT cell-18-9 cell-17-9 west) + (NEXT cell-17-9 cell-16-9 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-20-10 cell-19-10 west) + (NEXT cell-19-10 cell-18-10 west) + (NEXT cell-18-10 cell-17-10 west) + (NEXT cell-17-10 cell-16-10 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-20-11 cell-19-11 west) + (NEXT cell-19-11 cell-18-11 west) + (NEXT cell-18-11 cell-17-11 west) + (NEXT cell-17-11 cell-16-11 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-20-12 cell-19-12 west) + (NEXT cell-19-12 cell-18-12 west) + (NEXT cell-18-12 cell-17-12 west) + (NEXT cell-17-12 cell-16-12 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-20-13 cell-19-13 west) + (NEXT cell-19-13 cell-18-13 west) + (NEXT cell-18-13 cell-17-13 west) + (NEXT cell-17-13 cell-16-13 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-20-14 cell-19-14 west) + (NEXT cell-19-14 cell-18-14 west) + (NEXT cell-18-14 cell-17-14 west) + (NEXT cell-17-14 cell-16-14 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-20-15 cell-19-15 west) + (NEXT cell-19-15 cell-18-15 west) + (NEXT cell-18-15 cell-17-15 west) + (NEXT cell-17-15 cell-16-15 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-20-16 cell-19-16 west) + (NEXT cell-19-16 cell-18-16 west) + (NEXT cell-18-16 cell-17-16 west) + (NEXT cell-17-16 cell-16-16 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + (NEXT cell-20-17 cell-19-17 west) + (NEXT cell-19-17 cell-18-17 west) + (NEXT cell-18-17 cell-17-17 west) + (NEXT cell-17-17 cell-16-17 west) + (NEXT cell-16-17 cell-15-17 west) + (NEXT cell-15-17 cell-14-17 west) + (NEXT cell-14-17 cell-13-17 west) + (NEXT cell-13-17 cell-12-17 west) + (NEXT cell-12-17 cell-11-17 west) + (NEXT cell-11-17 cell-10-17 west) + (NEXT cell-10-17 cell-9-17 west) + (NEXT cell-9-17 cell-8-17 west) + (NEXT cell-8-17 cell-7-17 west) + (NEXT cell-7-17 cell-6-17 west) + (NEXT cell-6-17 cell-5-17 west) + (NEXT cell-5-17 cell-4-17 west) + (NEXT cell-4-17 cell-3-17 west) + (NEXT cell-3-17 cell-2-17 west) + (NEXT cell-2-17 cell-1-17 west) + (NEXT cell-20-18 cell-19-18 west) + (NEXT cell-19-18 cell-18-18 west) + (NEXT cell-18-18 cell-17-18 west) + (NEXT cell-17-18 cell-16-18 west) + (NEXT cell-16-18 cell-15-18 west) + (NEXT cell-15-18 cell-14-18 west) + (NEXT cell-14-18 cell-13-18 west) + (NEXT cell-13-18 cell-12-18 west) + (NEXT cell-12-18 cell-11-18 west) + (NEXT cell-11-18 cell-10-18 west) + (NEXT cell-10-18 cell-9-18 west) + (NEXT cell-9-18 cell-8-18 west) + (NEXT cell-8-18 cell-7-18 west) + (NEXT cell-7-18 cell-6-18 west) + (NEXT cell-6-18 cell-5-18 west) + (NEXT cell-5-18 cell-4-18 west) + (NEXT cell-4-18 cell-3-18 west) + (NEXT cell-3-18 cell-2-18 west) + (NEXT cell-2-18 cell-1-18 west) + (NEXT cell-20-19 cell-19-19 west) + (NEXT cell-19-19 cell-18-19 west) + (NEXT cell-18-19 cell-17-19 west) + (NEXT cell-17-19 cell-16-19 west) + (NEXT cell-16-19 cell-15-19 west) + (NEXT cell-15-19 cell-14-19 west) + (NEXT cell-14-19 cell-13-19 west) + (NEXT cell-13-19 cell-12-19 west) + (NEXT cell-12-19 cell-11-19 west) + (NEXT cell-11-19 cell-10-19 west) + (NEXT cell-10-19 cell-9-19 west) + (NEXT cell-9-19 cell-8-19 west) + (NEXT cell-8-19 cell-7-19 west) + (NEXT cell-7-19 cell-6-19 west) + (NEXT cell-6-19 cell-5-19 west) + (NEXT cell-5-19 cell-4-19 west) + (NEXT cell-4-19 cell-3-19 west) + (NEXT cell-3-19 cell-2-19 west) + (NEXT cell-2-19 cell-1-19 west) + (NEXT cell-20-20 cell-19-20 west) + (NEXT cell-19-20 cell-18-20 west) + (NEXT cell-18-20 cell-17-20 west) + (NEXT cell-17-20 cell-16-20 west) + (NEXT cell-16-20 cell-15-20 west) + (NEXT cell-15-20 cell-14-20 west) + (NEXT cell-14-20 cell-13-20 west) + (NEXT cell-13-20 cell-12-20 west) + (NEXT cell-12-20 cell-11-20 west) + (NEXT cell-11-20 cell-10-20 west) + (NEXT cell-10-20 cell-9-20 west) + (NEXT cell-9-20 cell-8-20 west) + (NEXT cell-8-20 cell-7-20 west) + (NEXT cell-7-20 cell-6-20 west) + (NEXT cell-6-20 cell-5-20 west) + (NEXT cell-5-20 cell-4-20 west) + (NEXT cell-4-20 cell-3-20 west) + (NEXT cell-3-20 cell-2-20 west) + (NEXT cell-2-20 cell-1-20 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-20 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-20 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-20 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-20 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-20 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-20 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-20 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-20 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-20 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-20 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-20 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-20 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-20 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-20 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-20 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-20 south) + (BLOCKED cell-17-1 north) + (BLOCKED cell-17-20 south) + (BLOCKED cell-18-1 north) + (BLOCKED cell-18-20 south) + (BLOCKED cell-19-1 north) + (BLOCKED cell-19-20 south) + (BLOCKED cell-20-1 north) + (BLOCKED cell-20-20 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-20-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-20-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-20-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-20-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-20-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-20-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-20-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-20-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-20-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-20-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-20-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-20-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-20-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-20-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-20-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-20-16 east) + (BLOCKED cell-1-17 west) + (BLOCKED cell-20-17 east) + (BLOCKED cell-1-18 west) + (BLOCKED cell-20-18 east) + (BLOCKED cell-1-19 west) + (BLOCKED cell-20-19 east) + (BLOCKED cell-1-20 west) + (BLOCKED cell-20-20 east) + (BLOCKED cell-5-3 south) + (BLOCKED cell-5-4 north) + (BLOCKED cell-4-20 west) + (BLOCKED cell-3-20 east) + (BLOCKED cell-7-12 west) + (BLOCKED cell-6-12 east) + (BLOCKED cell-10-5 north) + (BLOCKED cell-10-4 south) + (BLOCKED cell-15-13 north) + (BLOCKED cell-15-12 south) + (BLOCKED cell-16-19 north) + (BLOCKED cell-16-18 south) + (BLOCKED cell-3-11 west) + (BLOCKED cell-2-11 east) + (BLOCKED cell-13-5 north) + (BLOCKED cell-13-4 south) + (BLOCKED cell-12-12 east) + (BLOCKED cell-13-12 west) + (BLOCKED cell-11-18 north) + (BLOCKED cell-11-17 south) + (BLOCKED cell-20-9 south) + (BLOCKED cell-20-10 north) + (BLOCKED cell-17-6 west) + (BLOCKED cell-16-6 east) + (BLOCKED cell-5-2 west) + (BLOCKED cell-4-2 east) + (BLOCKED cell-16-4 east) + (BLOCKED cell-17-4 west) + (BLOCKED cell-8-4 east) + (BLOCKED cell-9-4 west) + (BLOCKED cell-13-7 west) + (BLOCKED cell-12-7 east) + (BLOCKED cell-2-20 north) + (BLOCKED cell-2-19 south) + (BLOCKED cell-6-3 west) + (BLOCKED cell-5-3 east) + (BLOCKED cell-8-20 west) + (BLOCKED cell-7-20 east) + (BLOCKED cell-19-3 south) + (BLOCKED cell-19-4 north) + (BLOCKED cell-6-20 west) + (BLOCKED cell-5-20 east) + (BLOCKED cell-13-14 east) + (BLOCKED cell-14-14 west) + (BLOCKED cell-14-17 west) + (BLOCKED cell-13-17 east) + (BLOCKED cell-8-20 east) + (BLOCKED cell-9-20 west) + (BLOCKED cell-11-12 west) + (BLOCKED cell-10-12 east) + (BLOCKED cell-3-18 north) + (BLOCKED cell-3-17 south) + (BLOCKED cell-3-7 north) + (BLOCKED cell-3-6 south) + (BLOCKED cell-13-12 south) + (BLOCKED cell-13-13 north) + (BLOCKED cell-11-2 north) + (BLOCKED cell-11-1 south) + (BLOCKED cell-18-14 north) + (BLOCKED cell-18-13 south) + (BLOCKED cell-17-2 south) + (BLOCKED cell-17-3 north) + (BLOCKED cell-13-4 west) + (BLOCKED cell-12-4 east) + (BLOCKED cell-6-6 west) + (BLOCKED cell-5-6 east) + (BLOCKED cell-10-11 west) + (BLOCKED cell-9-11 east) + (BLOCKED cell-19-18 south) + (BLOCKED cell-19-19 north) + (BLOCKED cell-2-19 east) + (BLOCKED cell-3-19 west) + (BLOCKED cell-17-2 west) + (BLOCKED cell-16-2 east) + (BLOCKED cell-20-17 south) + (BLOCKED cell-20-18 north) + (BLOCKED cell-9-10 east) + (BLOCKED cell-10-10 west) + (BLOCKED cell-4-19 north) + (BLOCKED cell-4-18 south) + (BLOCKED cell-18-13 north) + (BLOCKED cell-18-12 south) + (BLOCKED cell-19-15 west) + (BLOCKED cell-18-15 east) + (BLOCKED cell-18-19 east) + (BLOCKED cell-19-19 west) + (BLOCKED cell-9-3 east) + (BLOCKED cell-10-3 west) + (BLOCKED cell-16-17 east) + (BLOCKED cell-17-17 west) + (BLOCKED cell-19-2 north) + (BLOCKED cell-19-1 south) + (BLOCKED cell-6-11 south) + (BLOCKED cell-6-12 north) + (BLOCKED cell-2-2 east) + (BLOCKED cell-3-2 west) + (BLOCKED cell-11-11 north) + (BLOCKED cell-11-10 south) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-1-17) + (free cell-1-18) + (free cell-1-19) + (free cell-1-20) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-12) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-2-17) + (free cell-2-18) + (free cell-2-19) + (free cell-2-20) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-3-17) + (free cell-3-18) + (free cell-3-19) + (free cell-3-20) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-4-17) + (free cell-4-18) + (free cell-4-19) + (free cell-4-20) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-6) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-5-17) + (free cell-5-18) + (free cell-5-19) + (free cell-5-20) + (free cell-6-1) + (free cell-6-2) + (free cell-6-3) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-6-17) + (free cell-6-18) + (free cell-6-19) + (free cell-6-20) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-7-17) + (free cell-7-18) + (free cell-7-19) + (free cell-7-20) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-8-17) + (free cell-8-18) + (free cell-8-19) + (free cell-8-20) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-9-17) + (free cell-9-18) + (free cell-9-19) + (free cell-9-20) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-10-17) + (free cell-10-18) + (free cell-10-19) + (free cell-10-20) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-11-17) + (free cell-11-18) + (free cell-11-19) + (free cell-11-20) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-12-17) + (free cell-12-18) + (free cell-12-19) + (free cell-12-20) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-13-17) + (free cell-13-18) + (free cell-13-19) + (free cell-13-20) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-14-17) + (free cell-14-18) + (free cell-14-19) + (free cell-14-20) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-15-17) + (free cell-15-18) + (free cell-15-19) + (free cell-15-20) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + (free cell-16-17) + (free cell-16-18) + (free cell-16-19) + (free cell-16-20) + (free cell-17-1) + (free cell-17-2) + (free cell-17-3) + (free cell-17-4) + (free cell-17-5) + (free cell-17-6) + (free cell-17-7) + (free cell-17-8) + (free cell-17-9) + (free cell-17-10) + (free cell-17-11) + (free cell-17-14) + (free cell-17-15) + (free cell-17-16) + (free cell-17-17) + (free cell-17-18) + (free cell-17-19) + (free cell-17-20) + (free cell-18-1) + (free cell-18-2) + (free cell-18-3) + (free cell-18-4) + (free cell-18-5) + (free cell-18-6) + (free cell-18-7) + (free cell-18-8) + (free cell-18-9) + (free cell-18-10) + (free cell-18-11) + (free cell-18-12) + (free cell-18-13) + (free cell-18-14) + (free cell-18-15) + (free cell-18-16) + (free cell-18-17) + (free cell-18-18) + (free cell-18-19) + (free cell-18-20) + (free cell-19-1) + (free cell-19-2) + (free cell-19-3) + (free cell-19-4) + (free cell-19-5) + (free cell-19-6) + (free cell-19-7) + (free cell-19-8) + (free cell-19-9) + (free cell-19-10) + (free cell-19-11) + (free cell-19-12) + (free cell-19-13) + (free cell-19-14) + (free cell-19-15) + (free cell-19-16) + (free cell-19-17) + (free cell-19-18) + (free cell-19-19) + (free cell-19-20) + (free cell-20-1) + (free cell-20-2) + (free cell-20-3) + (free cell-20-4) + (free cell-20-5) + (free cell-20-6) + (free cell-20-7) + (free cell-20-8) + (free cell-20-9) + (free cell-20-10) + (free cell-20-11) + (free cell-20-12) + (free cell-20-13) + (free cell-20-14) + (free cell-20-15) + (free cell-20-16) + (free cell-20-17) + (free cell-20-18) + (free cell-20-19) + (free cell-20-20) + + (at robot-1 cell-11-10) ;; red + (at robot-2 cell-17-12) ;; blue + (at robot-3 cell-16-9) ;; green + (at robot-4 cell-17-13) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-3 cell-3-10) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/ricochet-robots-sat23-adl/p20.pddl b/ricochet-robots-sat23-adl/p20.pddl new file mode 100644 index 00000000..8ef3ca36 --- /dev/null +++ b/ricochet-robots-sat23-adl/p20.pddl @@ -0,0 +1,2608 @@ +;; Generated from file generate-741972.asp from the ASP competition 2015 +;; +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ +;; x | | | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+ +;; x | | x | | x | | | | | | | | x | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+xx+xx+--+--+xx+--+xx+--+--+--+--+--+ +;; x | | | | |R4| | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+ +;; x | | | | x | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+xx+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+xx+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | |R3| | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | |G2| | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | x | | x | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+xx+--+--+--+--+--+xx+--+--+--+--+--+--+xx+--+--+xx+--+--+ +;; x | x | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+ +;; x | | | | | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x |R1| | x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+xx+--+ +;; x x | | | | | | | | | | | x | x | | | | | | x +;; +--+--+--+xx+--+--+xx+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | x x | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | | | | | | | | | | | x +;; +--+xx+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | x | | | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+xx+--+--+xx+xx+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | x | | | | | | | | | | | | | | | x +;; +--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | x | | | | | | x | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | x | | | | | | | | |R2| | | x | | | | | x +;; +--+--+--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+--+--+ +;; x | | | | | | | | | | | | | | | | x | | | | x +;; +--+--+--+--+--+--+--+--+xx+--+--+--+--+--+--+--+--+--+xx+--+--+--+ +;; x | | | | | | | | | | | | | | | | | | | | | x +;; +xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+xx+ + +(define (problem ricochet-robots-22x22-None-565391) +(:domain ricochet-robots) + +(:objects + cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-1-12 cell-1-13 cell-1-14 cell-1-15 cell-1-16 cell-1-17 cell-1-18 cell-1-19 cell-1-20 cell-1-21 cell-1-22 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-2-12 cell-2-13 cell-2-14 cell-2-15 cell-2-16 cell-2-17 cell-2-18 cell-2-19 cell-2-20 cell-2-21 cell-2-22 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-3-12 cell-3-13 cell-3-14 cell-3-15 cell-3-16 cell-3-17 cell-3-18 cell-3-19 cell-3-20 cell-3-21 cell-3-22 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-4-12 cell-4-13 cell-4-14 cell-4-15 cell-4-16 cell-4-17 cell-4-18 cell-4-19 cell-4-20 cell-4-21 cell-4-22 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-5-12 cell-5-13 cell-5-14 cell-5-15 cell-5-16 cell-5-17 cell-5-18 cell-5-19 cell-5-20 cell-5-21 cell-5-22 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-6-12 cell-6-13 cell-6-14 cell-6-15 cell-6-16 cell-6-17 cell-6-18 cell-6-19 cell-6-20 cell-6-21 cell-6-22 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-7-12 cell-7-13 cell-7-14 cell-7-15 cell-7-16 cell-7-17 cell-7-18 cell-7-19 cell-7-20 cell-7-21 cell-7-22 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-8-12 cell-8-13 cell-8-14 cell-8-15 cell-8-16 cell-8-17 cell-8-18 cell-8-19 cell-8-20 cell-8-21 cell-8-22 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-9-11 cell-9-12 cell-9-13 cell-9-14 cell-9-15 cell-9-16 cell-9-17 cell-9-18 cell-9-19 cell-9-20 cell-9-21 cell-9-22 cell-10-1 cell-10-2 cell-10-3 cell-10-4 cell-10-5 cell-10-6 cell-10-7 cell-10-8 cell-10-9 cell-10-10 cell-10-11 cell-10-12 cell-10-13 cell-10-14 cell-10-15 cell-10-16 cell-10-17 cell-10-18 cell-10-19 cell-10-20 cell-10-21 cell-10-22 cell-11-1 cell-11-2 cell-11-3 cell-11-4 cell-11-5 cell-11-6 cell-11-7 cell-11-8 cell-11-9 cell-11-10 cell-11-11 cell-11-12 cell-11-13 cell-11-14 cell-11-15 cell-11-16 cell-11-17 cell-11-18 cell-11-19 cell-11-20 cell-11-21 cell-11-22 cell-12-1 cell-12-2 cell-12-3 cell-12-4 cell-12-5 cell-12-6 cell-12-7 cell-12-8 cell-12-9 cell-12-10 cell-12-11 cell-12-12 cell-12-13 cell-12-14 cell-12-15 cell-12-16 cell-12-17 cell-12-18 cell-12-19 cell-12-20 cell-12-21 cell-12-22 cell-13-1 cell-13-2 cell-13-3 cell-13-4 cell-13-5 cell-13-6 cell-13-7 cell-13-8 cell-13-9 cell-13-10 cell-13-11 cell-13-12 cell-13-13 cell-13-14 cell-13-15 cell-13-16 cell-13-17 cell-13-18 cell-13-19 cell-13-20 cell-13-21 cell-13-22 cell-14-1 cell-14-2 cell-14-3 cell-14-4 cell-14-5 cell-14-6 cell-14-7 cell-14-8 cell-14-9 cell-14-10 cell-14-11 cell-14-12 cell-14-13 cell-14-14 cell-14-15 cell-14-16 cell-14-17 cell-14-18 cell-14-19 cell-14-20 cell-14-21 cell-14-22 cell-15-1 cell-15-2 cell-15-3 cell-15-4 cell-15-5 cell-15-6 cell-15-7 cell-15-8 cell-15-9 cell-15-10 cell-15-11 cell-15-12 cell-15-13 cell-15-14 cell-15-15 cell-15-16 cell-15-17 cell-15-18 cell-15-19 cell-15-20 cell-15-21 cell-15-22 cell-16-1 cell-16-2 cell-16-3 cell-16-4 cell-16-5 cell-16-6 cell-16-7 cell-16-8 cell-16-9 cell-16-10 cell-16-11 cell-16-12 cell-16-13 cell-16-14 cell-16-15 cell-16-16 cell-16-17 cell-16-18 cell-16-19 cell-16-20 cell-16-21 cell-16-22 cell-17-1 cell-17-2 cell-17-3 cell-17-4 cell-17-5 cell-17-6 cell-17-7 cell-17-8 cell-17-9 cell-17-10 cell-17-11 cell-17-12 cell-17-13 cell-17-14 cell-17-15 cell-17-16 cell-17-17 cell-17-18 cell-17-19 cell-17-20 cell-17-21 cell-17-22 cell-18-1 cell-18-2 cell-18-3 cell-18-4 cell-18-5 cell-18-6 cell-18-7 cell-18-8 cell-18-9 cell-18-10 cell-18-11 cell-18-12 cell-18-13 cell-18-14 cell-18-15 cell-18-16 cell-18-17 cell-18-18 cell-18-19 cell-18-20 cell-18-21 cell-18-22 cell-19-1 cell-19-2 cell-19-3 cell-19-4 cell-19-5 cell-19-6 cell-19-7 cell-19-8 cell-19-9 cell-19-10 cell-19-11 cell-19-12 cell-19-13 cell-19-14 cell-19-15 cell-19-16 cell-19-17 cell-19-18 cell-19-19 cell-19-20 cell-19-21 cell-19-22 cell-20-1 cell-20-2 cell-20-3 cell-20-4 cell-20-5 cell-20-6 cell-20-7 cell-20-8 cell-20-9 cell-20-10 cell-20-11 cell-20-12 cell-20-13 cell-20-14 cell-20-15 cell-20-16 cell-20-17 cell-20-18 cell-20-19 cell-20-20 cell-20-21 cell-20-22 cell-21-1 cell-21-2 cell-21-3 cell-21-4 cell-21-5 cell-21-6 cell-21-7 cell-21-8 cell-21-9 cell-21-10 cell-21-11 cell-21-12 cell-21-13 cell-21-14 cell-21-15 cell-21-16 cell-21-17 cell-21-18 cell-21-19 cell-21-20 cell-21-21 cell-21-22 cell-22-1 cell-22-2 cell-22-3 cell-22-4 cell-22-5 cell-22-6 cell-22-7 cell-22-8 cell-22-9 cell-22-10 cell-22-11 cell-22-12 cell-22-13 cell-22-14 cell-22-15 cell-22-16 cell-22-17 cell-22-18 cell-22-19 cell-22-20 cell-22-21 cell-22-22 - cell + robot-1 robot-2 robot-3 robot-4 - robot + west east north south - direction +) + +(:init + (NEXT cell-1-1 cell-1-2 south) + (NEXT cell-1-2 cell-1-3 south) + (NEXT cell-1-3 cell-1-4 south) + (NEXT cell-1-4 cell-1-5 south) + (NEXT cell-1-5 cell-1-6 south) + (NEXT cell-1-6 cell-1-7 south) + (NEXT cell-1-7 cell-1-8 south) + (NEXT cell-1-8 cell-1-9 south) + (NEXT cell-1-9 cell-1-10 south) + (NEXT cell-1-10 cell-1-11 south) + (NEXT cell-1-11 cell-1-12 south) + (NEXT cell-1-12 cell-1-13 south) + (NEXT cell-1-13 cell-1-14 south) + (NEXT cell-1-14 cell-1-15 south) + (NEXT cell-1-15 cell-1-16 south) + (NEXT cell-1-16 cell-1-17 south) + (NEXT cell-1-17 cell-1-18 south) + (NEXT cell-1-18 cell-1-19 south) + (NEXT cell-1-19 cell-1-20 south) + (NEXT cell-1-20 cell-1-21 south) + (NEXT cell-1-21 cell-1-22 south) + (NEXT cell-2-1 cell-2-2 south) + (NEXT cell-2-2 cell-2-3 south) + (NEXT cell-2-3 cell-2-4 south) + (NEXT cell-2-4 cell-2-5 south) + (NEXT cell-2-5 cell-2-6 south) + (NEXT cell-2-6 cell-2-7 south) + (NEXT cell-2-7 cell-2-8 south) + (NEXT cell-2-8 cell-2-9 south) + (NEXT cell-2-9 cell-2-10 south) + (NEXT cell-2-10 cell-2-11 south) + (NEXT cell-2-11 cell-2-12 south) + (NEXT cell-2-12 cell-2-13 south) + (NEXT cell-2-13 cell-2-14 south) + (NEXT cell-2-14 cell-2-15 south) + (NEXT cell-2-15 cell-2-16 south) + (NEXT cell-2-16 cell-2-17 south) + (NEXT cell-2-17 cell-2-18 south) + (NEXT cell-2-18 cell-2-19 south) + (NEXT cell-2-19 cell-2-20 south) + (NEXT cell-2-20 cell-2-21 south) + (NEXT cell-2-21 cell-2-22 south) + (NEXT cell-3-1 cell-3-2 south) + (NEXT cell-3-2 cell-3-3 south) + (NEXT cell-3-3 cell-3-4 south) + (NEXT cell-3-4 cell-3-5 south) + (NEXT cell-3-5 cell-3-6 south) + (NEXT cell-3-6 cell-3-7 south) + (NEXT cell-3-7 cell-3-8 south) + (NEXT cell-3-8 cell-3-9 south) + (NEXT cell-3-9 cell-3-10 south) + (NEXT cell-3-10 cell-3-11 south) + (NEXT cell-3-11 cell-3-12 south) + (NEXT cell-3-12 cell-3-13 south) + (NEXT cell-3-13 cell-3-14 south) + (NEXT cell-3-14 cell-3-15 south) + (NEXT cell-3-15 cell-3-16 south) + (NEXT cell-3-16 cell-3-17 south) + (NEXT cell-3-17 cell-3-18 south) + (NEXT cell-3-18 cell-3-19 south) + (NEXT cell-3-19 cell-3-20 south) + (NEXT cell-3-20 cell-3-21 south) + (NEXT cell-3-21 cell-3-22 south) + (NEXT cell-4-1 cell-4-2 south) + (NEXT cell-4-2 cell-4-3 south) + (NEXT cell-4-3 cell-4-4 south) + (NEXT cell-4-4 cell-4-5 south) + (NEXT cell-4-5 cell-4-6 south) + (NEXT cell-4-6 cell-4-7 south) + (NEXT cell-4-7 cell-4-8 south) + (NEXT cell-4-8 cell-4-9 south) + (NEXT cell-4-9 cell-4-10 south) + (NEXT cell-4-10 cell-4-11 south) + (NEXT cell-4-11 cell-4-12 south) + (NEXT cell-4-12 cell-4-13 south) + (NEXT cell-4-13 cell-4-14 south) + (NEXT cell-4-14 cell-4-15 south) + (NEXT cell-4-15 cell-4-16 south) + (NEXT cell-4-16 cell-4-17 south) + (NEXT cell-4-17 cell-4-18 south) + (NEXT cell-4-18 cell-4-19 south) + (NEXT cell-4-19 cell-4-20 south) + (NEXT cell-4-20 cell-4-21 south) + (NEXT cell-4-21 cell-4-22 south) + (NEXT cell-5-1 cell-5-2 south) + (NEXT cell-5-2 cell-5-3 south) + (NEXT cell-5-3 cell-5-4 south) + (NEXT cell-5-4 cell-5-5 south) + (NEXT cell-5-5 cell-5-6 south) + (NEXT cell-5-6 cell-5-7 south) + (NEXT cell-5-7 cell-5-8 south) + (NEXT cell-5-8 cell-5-9 south) + (NEXT cell-5-9 cell-5-10 south) + (NEXT cell-5-10 cell-5-11 south) + (NEXT cell-5-11 cell-5-12 south) + (NEXT cell-5-12 cell-5-13 south) + (NEXT cell-5-13 cell-5-14 south) + (NEXT cell-5-14 cell-5-15 south) + (NEXT cell-5-15 cell-5-16 south) + (NEXT cell-5-16 cell-5-17 south) + (NEXT cell-5-17 cell-5-18 south) + (NEXT cell-5-18 cell-5-19 south) + (NEXT cell-5-19 cell-5-20 south) + (NEXT cell-5-20 cell-5-21 south) + (NEXT cell-5-21 cell-5-22 south) + (NEXT cell-6-1 cell-6-2 south) + (NEXT cell-6-2 cell-6-3 south) + (NEXT cell-6-3 cell-6-4 south) + (NEXT cell-6-4 cell-6-5 south) + (NEXT cell-6-5 cell-6-6 south) + (NEXT cell-6-6 cell-6-7 south) + (NEXT cell-6-7 cell-6-8 south) + (NEXT cell-6-8 cell-6-9 south) + (NEXT cell-6-9 cell-6-10 south) + (NEXT cell-6-10 cell-6-11 south) + (NEXT cell-6-11 cell-6-12 south) + (NEXT cell-6-12 cell-6-13 south) + (NEXT cell-6-13 cell-6-14 south) + (NEXT cell-6-14 cell-6-15 south) + (NEXT cell-6-15 cell-6-16 south) + (NEXT cell-6-16 cell-6-17 south) + (NEXT cell-6-17 cell-6-18 south) + (NEXT cell-6-18 cell-6-19 south) + (NEXT cell-6-19 cell-6-20 south) + (NEXT cell-6-20 cell-6-21 south) + (NEXT cell-6-21 cell-6-22 south) + (NEXT cell-7-1 cell-7-2 south) + (NEXT cell-7-2 cell-7-3 south) + (NEXT cell-7-3 cell-7-4 south) + (NEXT cell-7-4 cell-7-5 south) + (NEXT cell-7-5 cell-7-6 south) + (NEXT cell-7-6 cell-7-7 south) + (NEXT cell-7-7 cell-7-8 south) + (NEXT cell-7-8 cell-7-9 south) + (NEXT cell-7-9 cell-7-10 south) + (NEXT cell-7-10 cell-7-11 south) + (NEXT cell-7-11 cell-7-12 south) + (NEXT cell-7-12 cell-7-13 south) + (NEXT cell-7-13 cell-7-14 south) + (NEXT cell-7-14 cell-7-15 south) + (NEXT cell-7-15 cell-7-16 south) + (NEXT cell-7-16 cell-7-17 south) + (NEXT cell-7-17 cell-7-18 south) + (NEXT cell-7-18 cell-7-19 south) + (NEXT cell-7-19 cell-7-20 south) + (NEXT cell-7-20 cell-7-21 south) + (NEXT cell-7-21 cell-7-22 south) + (NEXT cell-8-1 cell-8-2 south) + (NEXT cell-8-2 cell-8-3 south) + (NEXT cell-8-3 cell-8-4 south) + (NEXT cell-8-4 cell-8-5 south) + (NEXT cell-8-5 cell-8-6 south) + (NEXT cell-8-6 cell-8-7 south) + (NEXT cell-8-7 cell-8-8 south) + (NEXT cell-8-8 cell-8-9 south) + (NEXT cell-8-9 cell-8-10 south) + (NEXT cell-8-10 cell-8-11 south) + (NEXT cell-8-11 cell-8-12 south) + (NEXT cell-8-12 cell-8-13 south) + (NEXT cell-8-13 cell-8-14 south) + (NEXT cell-8-14 cell-8-15 south) + (NEXT cell-8-15 cell-8-16 south) + (NEXT cell-8-16 cell-8-17 south) + (NEXT cell-8-17 cell-8-18 south) + (NEXT cell-8-18 cell-8-19 south) + (NEXT cell-8-19 cell-8-20 south) + (NEXT cell-8-20 cell-8-21 south) + (NEXT cell-8-21 cell-8-22 south) + (NEXT cell-9-1 cell-9-2 south) + (NEXT cell-9-2 cell-9-3 south) + (NEXT cell-9-3 cell-9-4 south) + (NEXT cell-9-4 cell-9-5 south) + (NEXT cell-9-5 cell-9-6 south) + (NEXT cell-9-6 cell-9-7 south) + (NEXT cell-9-7 cell-9-8 south) + (NEXT cell-9-8 cell-9-9 south) + (NEXT cell-9-9 cell-9-10 south) + (NEXT cell-9-10 cell-9-11 south) + (NEXT cell-9-11 cell-9-12 south) + (NEXT cell-9-12 cell-9-13 south) + (NEXT cell-9-13 cell-9-14 south) + (NEXT cell-9-14 cell-9-15 south) + (NEXT cell-9-15 cell-9-16 south) + (NEXT cell-9-16 cell-9-17 south) + (NEXT cell-9-17 cell-9-18 south) + (NEXT cell-9-18 cell-9-19 south) + (NEXT cell-9-19 cell-9-20 south) + (NEXT cell-9-20 cell-9-21 south) + (NEXT cell-9-21 cell-9-22 south) + (NEXT cell-10-1 cell-10-2 south) + (NEXT cell-10-2 cell-10-3 south) + (NEXT cell-10-3 cell-10-4 south) + (NEXT cell-10-4 cell-10-5 south) + (NEXT cell-10-5 cell-10-6 south) + (NEXT cell-10-6 cell-10-7 south) + (NEXT cell-10-7 cell-10-8 south) + (NEXT cell-10-8 cell-10-9 south) + (NEXT cell-10-9 cell-10-10 south) + (NEXT cell-10-10 cell-10-11 south) + (NEXT cell-10-11 cell-10-12 south) + (NEXT cell-10-12 cell-10-13 south) + (NEXT cell-10-13 cell-10-14 south) + (NEXT cell-10-14 cell-10-15 south) + (NEXT cell-10-15 cell-10-16 south) + (NEXT cell-10-16 cell-10-17 south) + (NEXT cell-10-17 cell-10-18 south) + (NEXT cell-10-18 cell-10-19 south) + (NEXT cell-10-19 cell-10-20 south) + (NEXT cell-10-20 cell-10-21 south) + (NEXT cell-10-21 cell-10-22 south) + (NEXT cell-11-1 cell-11-2 south) + (NEXT cell-11-2 cell-11-3 south) + (NEXT cell-11-3 cell-11-4 south) + (NEXT cell-11-4 cell-11-5 south) + (NEXT cell-11-5 cell-11-6 south) + (NEXT cell-11-6 cell-11-7 south) + (NEXT cell-11-7 cell-11-8 south) + (NEXT cell-11-8 cell-11-9 south) + (NEXT cell-11-9 cell-11-10 south) + (NEXT cell-11-10 cell-11-11 south) + (NEXT cell-11-11 cell-11-12 south) + (NEXT cell-11-12 cell-11-13 south) + (NEXT cell-11-13 cell-11-14 south) + (NEXT cell-11-14 cell-11-15 south) + (NEXT cell-11-15 cell-11-16 south) + (NEXT cell-11-16 cell-11-17 south) + (NEXT cell-11-17 cell-11-18 south) + (NEXT cell-11-18 cell-11-19 south) + (NEXT cell-11-19 cell-11-20 south) + (NEXT cell-11-20 cell-11-21 south) + (NEXT cell-11-21 cell-11-22 south) + (NEXT cell-12-1 cell-12-2 south) + (NEXT cell-12-2 cell-12-3 south) + (NEXT cell-12-3 cell-12-4 south) + (NEXT cell-12-4 cell-12-5 south) + (NEXT cell-12-5 cell-12-6 south) + (NEXT cell-12-6 cell-12-7 south) + (NEXT cell-12-7 cell-12-8 south) + (NEXT cell-12-8 cell-12-9 south) + (NEXT cell-12-9 cell-12-10 south) + (NEXT cell-12-10 cell-12-11 south) + (NEXT cell-12-11 cell-12-12 south) + (NEXT cell-12-12 cell-12-13 south) + (NEXT cell-12-13 cell-12-14 south) + (NEXT cell-12-14 cell-12-15 south) + (NEXT cell-12-15 cell-12-16 south) + (NEXT cell-12-16 cell-12-17 south) + (NEXT cell-12-17 cell-12-18 south) + (NEXT cell-12-18 cell-12-19 south) + (NEXT cell-12-19 cell-12-20 south) + (NEXT cell-12-20 cell-12-21 south) + (NEXT cell-12-21 cell-12-22 south) + (NEXT cell-13-1 cell-13-2 south) + (NEXT cell-13-2 cell-13-3 south) + (NEXT cell-13-3 cell-13-4 south) + (NEXT cell-13-4 cell-13-5 south) + (NEXT cell-13-5 cell-13-6 south) + (NEXT cell-13-6 cell-13-7 south) + (NEXT cell-13-7 cell-13-8 south) + (NEXT cell-13-8 cell-13-9 south) + (NEXT cell-13-9 cell-13-10 south) + (NEXT cell-13-10 cell-13-11 south) + (NEXT cell-13-11 cell-13-12 south) + (NEXT cell-13-12 cell-13-13 south) + (NEXT cell-13-13 cell-13-14 south) + (NEXT cell-13-14 cell-13-15 south) + (NEXT cell-13-15 cell-13-16 south) + (NEXT cell-13-16 cell-13-17 south) + (NEXT cell-13-17 cell-13-18 south) + (NEXT cell-13-18 cell-13-19 south) + (NEXT cell-13-19 cell-13-20 south) + (NEXT cell-13-20 cell-13-21 south) + (NEXT cell-13-21 cell-13-22 south) + (NEXT cell-14-1 cell-14-2 south) + (NEXT cell-14-2 cell-14-3 south) + (NEXT cell-14-3 cell-14-4 south) + (NEXT cell-14-4 cell-14-5 south) + (NEXT cell-14-5 cell-14-6 south) + (NEXT cell-14-6 cell-14-7 south) + (NEXT cell-14-7 cell-14-8 south) + (NEXT cell-14-8 cell-14-9 south) + (NEXT cell-14-9 cell-14-10 south) + (NEXT cell-14-10 cell-14-11 south) + (NEXT cell-14-11 cell-14-12 south) + (NEXT cell-14-12 cell-14-13 south) + (NEXT cell-14-13 cell-14-14 south) + (NEXT cell-14-14 cell-14-15 south) + (NEXT cell-14-15 cell-14-16 south) + (NEXT cell-14-16 cell-14-17 south) + (NEXT cell-14-17 cell-14-18 south) + (NEXT cell-14-18 cell-14-19 south) + (NEXT cell-14-19 cell-14-20 south) + (NEXT cell-14-20 cell-14-21 south) + (NEXT cell-14-21 cell-14-22 south) + (NEXT cell-15-1 cell-15-2 south) + (NEXT cell-15-2 cell-15-3 south) + (NEXT cell-15-3 cell-15-4 south) + (NEXT cell-15-4 cell-15-5 south) + (NEXT cell-15-5 cell-15-6 south) + (NEXT cell-15-6 cell-15-7 south) + (NEXT cell-15-7 cell-15-8 south) + (NEXT cell-15-8 cell-15-9 south) + (NEXT cell-15-9 cell-15-10 south) + (NEXT cell-15-10 cell-15-11 south) + (NEXT cell-15-11 cell-15-12 south) + (NEXT cell-15-12 cell-15-13 south) + (NEXT cell-15-13 cell-15-14 south) + (NEXT cell-15-14 cell-15-15 south) + (NEXT cell-15-15 cell-15-16 south) + (NEXT cell-15-16 cell-15-17 south) + (NEXT cell-15-17 cell-15-18 south) + (NEXT cell-15-18 cell-15-19 south) + (NEXT cell-15-19 cell-15-20 south) + (NEXT cell-15-20 cell-15-21 south) + (NEXT cell-15-21 cell-15-22 south) + (NEXT cell-16-1 cell-16-2 south) + (NEXT cell-16-2 cell-16-3 south) + (NEXT cell-16-3 cell-16-4 south) + (NEXT cell-16-4 cell-16-5 south) + (NEXT cell-16-5 cell-16-6 south) + (NEXT cell-16-6 cell-16-7 south) + (NEXT cell-16-7 cell-16-8 south) + (NEXT cell-16-8 cell-16-9 south) + (NEXT cell-16-9 cell-16-10 south) + (NEXT cell-16-10 cell-16-11 south) + (NEXT cell-16-11 cell-16-12 south) + (NEXT cell-16-12 cell-16-13 south) + (NEXT cell-16-13 cell-16-14 south) + (NEXT cell-16-14 cell-16-15 south) + (NEXT cell-16-15 cell-16-16 south) + (NEXT cell-16-16 cell-16-17 south) + (NEXT cell-16-17 cell-16-18 south) + (NEXT cell-16-18 cell-16-19 south) + (NEXT cell-16-19 cell-16-20 south) + (NEXT cell-16-20 cell-16-21 south) + (NEXT cell-16-21 cell-16-22 south) + (NEXT cell-17-1 cell-17-2 south) + (NEXT cell-17-2 cell-17-3 south) + (NEXT cell-17-3 cell-17-4 south) + (NEXT cell-17-4 cell-17-5 south) + (NEXT cell-17-5 cell-17-6 south) + (NEXT cell-17-6 cell-17-7 south) + (NEXT cell-17-7 cell-17-8 south) + (NEXT cell-17-8 cell-17-9 south) + (NEXT cell-17-9 cell-17-10 south) + (NEXT cell-17-10 cell-17-11 south) + (NEXT cell-17-11 cell-17-12 south) + (NEXT cell-17-12 cell-17-13 south) + (NEXT cell-17-13 cell-17-14 south) + (NEXT cell-17-14 cell-17-15 south) + (NEXT cell-17-15 cell-17-16 south) + (NEXT cell-17-16 cell-17-17 south) + (NEXT cell-17-17 cell-17-18 south) + (NEXT cell-17-18 cell-17-19 south) + (NEXT cell-17-19 cell-17-20 south) + (NEXT cell-17-20 cell-17-21 south) + (NEXT cell-17-21 cell-17-22 south) + (NEXT cell-18-1 cell-18-2 south) + (NEXT cell-18-2 cell-18-3 south) + (NEXT cell-18-3 cell-18-4 south) + (NEXT cell-18-4 cell-18-5 south) + (NEXT cell-18-5 cell-18-6 south) + (NEXT cell-18-6 cell-18-7 south) + (NEXT cell-18-7 cell-18-8 south) + (NEXT cell-18-8 cell-18-9 south) + (NEXT cell-18-9 cell-18-10 south) + (NEXT cell-18-10 cell-18-11 south) + (NEXT cell-18-11 cell-18-12 south) + (NEXT cell-18-12 cell-18-13 south) + (NEXT cell-18-13 cell-18-14 south) + (NEXT cell-18-14 cell-18-15 south) + (NEXT cell-18-15 cell-18-16 south) + (NEXT cell-18-16 cell-18-17 south) + (NEXT cell-18-17 cell-18-18 south) + (NEXT cell-18-18 cell-18-19 south) + (NEXT cell-18-19 cell-18-20 south) + (NEXT cell-18-20 cell-18-21 south) + (NEXT cell-18-21 cell-18-22 south) + (NEXT cell-19-1 cell-19-2 south) + (NEXT cell-19-2 cell-19-3 south) + (NEXT cell-19-3 cell-19-4 south) + (NEXT cell-19-4 cell-19-5 south) + (NEXT cell-19-5 cell-19-6 south) + (NEXT cell-19-6 cell-19-7 south) + (NEXT cell-19-7 cell-19-8 south) + (NEXT cell-19-8 cell-19-9 south) + (NEXT cell-19-9 cell-19-10 south) + (NEXT cell-19-10 cell-19-11 south) + (NEXT cell-19-11 cell-19-12 south) + (NEXT cell-19-12 cell-19-13 south) + (NEXT cell-19-13 cell-19-14 south) + (NEXT cell-19-14 cell-19-15 south) + (NEXT cell-19-15 cell-19-16 south) + (NEXT cell-19-16 cell-19-17 south) + (NEXT cell-19-17 cell-19-18 south) + (NEXT cell-19-18 cell-19-19 south) + (NEXT cell-19-19 cell-19-20 south) + (NEXT cell-19-20 cell-19-21 south) + (NEXT cell-19-21 cell-19-22 south) + (NEXT cell-20-1 cell-20-2 south) + (NEXT cell-20-2 cell-20-3 south) + (NEXT cell-20-3 cell-20-4 south) + (NEXT cell-20-4 cell-20-5 south) + (NEXT cell-20-5 cell-20-6 south) + (NEXT cell-20-6 cell-20-7 south) + (NEXT cell-20-7 cell-20-8 south) + (NEXT cell-20-8 cell-20-9 south) + (NEXT cell-20-9 cell-20-10 south) + (NEXT cell-20-10 cell-20-11 south) + (NEXT cell-20-11 cell-20-12 south) + (NEXT cell-20-12 cell-20-13 south) + (NEXT cell-20-13 cell-20-14 south) + (NEXT cell-20-14 cell-20-15 south) + (NEXT cell-20-15 cell-20-16 south) + (NEXT cell-20-16 cell-20-17 south) + (NEXT cell-20-17 cell-20-18 south) + (NEXT cell-20-18 cell-20-19 south) + (NEXT cell-20-19 cell-20-20 south) + (NEXT cell-20-20 cell-20-21 south) + (NEXT cell-20-21 cell-20-22 south) + (NEXT cell-21-1 cell-21-2 south) + (NEXT cell-21-2 cell-21-3 south) + (NEXT cell-21-3 cell-21-4 south) + (NEXT cell-21-4 cell-21-5 south) + (NEXT cell-21-5 cell-21-6 south) + (NEXT cell-21-6 cell-21-7 south) + (NEXT cell-21-7 cell-21-8 south) + (NEXT cell-21-8 cell-21-9 south) + (NEXT cell-21-9 cell-21-10 south) + (NEXT cell-21-10 cell-21-11 south) + (NEXT cell-21-11 cell-21-12 south) + (NEXT cell-21-12 cell-21-13 south) + (NEXT cell-21-13 cell-21-14 south) + (NEXT cell-21-14 cell-21-15 south) + (NEXT cell-21-15 cell-21-16 south) + (NEXT cell-21-16 cell-21-17 south) + (NEXT cell-21-17 cell-21-18 south) + (NEXT cell-21-18 cell-21-19 south) + (NEXT cell-21-19 cell-21-20 south) + (NEXT cell-21-20 cell-21-21 south) + (NEXT cell-21-21 cell-21-22 south) + (NEXT cell-22-1 cell-22-2 south) + (NEXT cell-22-2 cell-22-3 south) + (NEXT cell-22-3 cell-22-4 south) + (NEXT cell-22-4 cell-22-5 south) + (NEXT cell-22-5 cell-22-6 south) + (NEXT cell-22-6 cell-22-7 south) + (NEXT cell-22-7 cell-22-8 south) + (NEXT cell-22-8 cell-22-9 south) + (NEXT cell-22-9 cell-22-10 south) + (NEXT cell-22-10 cell-22-11 south) + (NEXT cell-22-11 cell-22-12 south) + (NEXT cell-22-12 cell-22-13 south) + (NEXT cell-22-13 cell-22-14 south) + (NEXT cell-22-14 cell-22-15 south) + (NEXT cell-22-15 cell-22-16 south) + (NEXT cell-22-16 cell-22-17 south) + (NEXT cell-22-17 cell-22-18 south) + (NEXT cell-22-18 cell-22-19 south) + (NEXT cell-22-19 cell-22-20 south) + (NEXT cell-22-20 cell-22-21 south) + (NEXT cell-22-21 cell-22-22 south) + (NEXT cell-1-22 cell-1-21 north) + (NEXT cell-1-21 cell-1-20 north) + (NEXT cell-1-20 cell-1-19 north) + (NEXT cell-1-19 cell-1-18 north) + (NEXT cell-1-18 cell-1-17 north) + (NEXT cell-1-17 cell-1-16 north) + (NEXT cell-1-16 cell-1-15 north) + (NEXT cell-1-15 cell-1-14 north) + (NEXT cell-1-14 cell-1-13 north) + (NEXT cell-1-13 cell-1-12 north) + (NEXT cell-1-12 cell-1-11 north) + (NEXT cell-1-11 cell-1-10 north) + (NEXT cell-1-10 cell-1-9 north) + (NEXT cell-1-9 cell-1-8 north) + (NEXT cell-1-8 cell-1-7 north) + (NEXT cell-1-7 cell-1-6 north) + (NEXT cell-1-6 cell-1-5 north) + (NEXT cell-1-5 cell-1-4 north) + (NEXT cell-1-4 cell-1-3 north) + (NEXT cell-1-3 cell-1-2 north) + (NEXT cell-1-2 cell-1-1 north) + (NEXT cell-2-22 cell-2-21 north) + (NEXT cell-2-21 cell-2-20 north) + (NEXT cell-2-20 cell-2-19 north) + (NEXT cell-2-19 cell-2-18 north) + (NEXT cell-2-18 cell-2-17 north) + (NEXT cell-2-17 cell-2-16 north) + (NEXT cell-2-16 cell-2-15 north) + (NEXT cell-2-15 cell-2-14 north) + (NEXT cell-2-14 cell-2-13 north) + (NEXT cell-2-13 cell-2-12 north) + (NEXT cell-2-12 cell-2-11 north) + (NEXT cell-2-11 cell-2-10 north) + (NEXT cell-2-10 cell-2-9 north) + (NEXT cell-2-9 cell-2-8 north) + (NEXT cell-2-8 cell-2-7 north) + (NEXT cell-2-7 cell-2-6 north) + (NEXT cell-2-6 cell-2-5 north) + (NEXT cell-2-5 cell-2-4 north) + (NEXT cell-2-4 cell-2-3 north) + (NEXT cell-2-3 cell-2-2 north) + (NEXT cell-2-2 cell-2-1 north) + (NEXT cell-3-22 cell-3-21 north) + (NEXT cell-3-21 cell-3-20 north) + (NEXT cell-3-20 cell-3-19 north) + (NEXT cell-3-19 cell-3-18 north) + (NEXT cell-3-18 cell-3-17 north) + (NEXT cell-3-17 cell-3-16 north) + (NEXT cell-3-16 cell-3-15 north) + (NEXT cell-3-15 cell-3-14 north) + (NEXT cell-3-14 cell-3-13 north) + (NEXT cell-3-13 cell-3-12 north) + (NEXT cell-3-12 cell-3-11 north) + (NEXT cell-3-11 cell-3-10 north) + (NEXT cell-3-10 cell-3-9 north) + (NEXT cell-3-9 cell-3-8 north) + (NEXT cell-3-8 cell-3-7 north) + (NEXT cell-3-7 cell-3-6 north) + (NEXT cell-3-6 cell-3-5 north) + (NEXT cell-3-5 cell-3-4 north) + (NEXT cell-3-4 cell-3-3 north) + (NEXT cell-3-3 cell-3-2 north) + (NEXT cell-3-2 cell-3-1 north) + (NEXT cell-4-22 cell-4-21 north) + (NEXT cell-4-21 cell-4-20 north) + (NEXT cell-4-20 cell-4-19 north) + (NEXT cell-4-19 cell-4-18 north) + (NEXT cell-4-18 cell-4-17 north) + (NEXT cell-4-17 cell-4-16 north) + (NEXT cell-4-16 cell-4-15 north) + (NEXT cell-4-15 cell-4-14 north) + (NEXT cell-4-14 cell-4-13 north) + (NEXT cell-4-13 cell-4-12 north) + (NEXT cell-4-12 cell-4-11 north) + (NEXT cell-4-11 cell-4-10 north) + (NEXT cell-4-10 cell-4-9 north) + (NEXT cell-4-9 cell-4-8 north) + (NEXT cell-4-8 cell-4-7 north) + (NEXT cell-4-7 cell-4-6 north) + (NEXT cell-4-6 cell-4-5 north) + (NEXT cell-4-5 cell-4-4 north) + (NEXT cell-4-4 cell-4-3 north) + (NEXT cell-4-3 cell-4-2 north) + (NEXT cell-4-2 cell-4-1 north) + (NEXT cell-5-22 cell-5-21 north) + (NEXT cell-5-21 cell-5-20 north) + (NEXT cell-5-20 cell-5-19 north) + (NEXT cell-5-19 cell-5-18 north) + (NEXT cell-5-18 cell-5-17 north) + (NEXT cell-5-17 cell-5-16 north) + (NEXT cell-5-16 cell-5-15 north) + (NEXT cell-5-15 cell-5-14 north) + (NEXT cell-5-14 cell-5-13 north) + (NEXT cell-5-13 cell-5-12 north) + (NEXT cell-5-12 cell-5-11 north) + (NEXT cell-5-11 cell-5-10 north) + (NEXT cell-5-10 cell-5-9 north) + (NEXT cell-5-9 cell-5-8 north) + (NEXT cell-5-8 cell-5-7 north) + (NEXT cell-5-7 cell-5-6 north) + (NEXT cell-5-6 cell-5-5 north) + (NEXT cell-5-5 cell-5-4 north) + (NEXT cell-5-4 cell-5-3 north) + (NEXT cell-5-3 cell-5-2 north) + (NEXT cell-5-2 cell-5-1 north) + (NEXT cell-6-22 cell-6-21 north) + (NEXT cell-6-21 cell-6-20 north) + (NEXT cell-6-20 cell-6-19 north) + (NEXT cell-6-19 cell-6-18 north) + (NEXT cell-6-18 cell-6-17 north) + (NEXT cell-6-17 cell-6-16 north) + (NEXT cell-6-16 cell-6-15 north) + (NEXT cell-6-15 cell-6-14 north) + (NEXT cell-6-14 cell-6-13 north) + (NEXT cell-6-13 cell-6-12 north) + (NEXT cell-6-12 cell-6-11 north) + (NEXT cell-6-11 cell-6-10 north) + (NEXT cell-6-10 cell-6-9 north) + (NEXT cell-6-9 cell-6-8 north) + (NEXT cell-6-8 cell-6-7 north) + (NEXT cell-6-7 cell-6-6 north) + (NEXT cell-6-6 cell-6-5 north) + (NEXT cell-6-5 cell-6-4 north) + (NEXT cell-6-4 cell-6-3 north) + (NEXT cell-6-3 cell-6-2 north) + (NEXT cell-6-2 cell-6-1 north) + (NEXT cell-7-22 cell-7-21 north) + (NEXT cell-7-21 cell-7-20 north) + (NEXT cell-7-20 cell-7-19 north) + (NEXT cell-7-19 cell-7-18 north) + (NEXT cell-7-18 cell-7-17 north) + (NEXT cell-7-17 cell-7-16 north) + (NEXT cell-7-16 cell-7-15 north) + (NEXT cell-7-15 cell-7-14 north) + (NEXT cell-7-14 cell-7-13 north) + (NEXT cell-7-13 cell-7-12 north) + (NEXT cell-7-12 cell-7-11 north) + (NEXT cell-7-11 cell-7-10 north) + (NEXT cell-7-10 cell-7-9 north) + (NEXT cell-7-9 cell-7-8 north) + (NEXT cell-7-8 cell-7-7 north) + (NEXT cell-7-7 cell-7-6 north) + (NEXT cell-7-6 cell-7-5 north) + (NEXT cell-7-5 cell-7-4 north) + (NEXT cell-7-4 cell-7-3 north) + (NEXT cell-7-3 cell-7-2 north) + (NEXT cell-7-2 cell-7-1 north) + (NEXT cell-8-22 cell-8-21 north) + (NEXT cell-8-21 cell-8-20 north) + (NEXT cell-8-20 cell-8-19 north) + (NEXT cell-8-19 cell-8-18 north) + (NEXT cell-8-18 cell-8-17 north) + (NEXT cell-8-17 cell-8-16 north) + (NEXT cell-8-16 cell-8-15 north) + (NEXT cell-8-15 cell-8-14 north) + (NEXT cell-8-14 cell-8-13 north) + (NEXT cell-8-13 cell-8-12 north) + (NEXT cell-8-12 cell-8-11 north) + (NEXT cell-8-11 cell-8-10 north) + (NEXT cell-8-10 cell-8-9 north) + (NEXT cell-8-9 cell-8-8 north) + (NEXT cell-8-8 cell-8-7 north) + (NEXT cell-8-7 cell-8-6 north) + (NEXT cell-8-6 cell-8-5 north) + (NEXT cell-8-5 cell-8-4 north) + (NEXT cell-8-4 cell-8-3 north) + (NEXT cell-8-3 cell-8-2 north) + (NEXT cell-8-2 cell-8-1 north) + (NEXT cell-9-22 cell-9-21 north) + (NEXT cell-9-21 cell-9-20 north) + (NEXT cell-9-20 cell-9-19 north) + (NEXT cell-9-19 cell-9-18 north) + (NEXT cell-9-18 cell-9-17 north) + (NEXT cell-9-17 cell-9-16 north) + (NEXT cell-9-16 cell-9-15 north) + (NEXT cell-9-15 cell-9-14 north) + (NEXT cell-9-14 cell-9-13 north) + (NEXT cell-9-13 cell-9-12 north) + (NEXT cell-9-12 cell-9-11 north) + (NEXT cell-9-11 cell-9-10 north) + (NEXT cell-9-10 cell-9-9 north) + (NEXT cell-9-9 cell-9-8 north) + (NEXT cell-9-8 cell-9-7 north) + (NEXT cell-9-7 cell-9-6 north) + (NEXT cell-9-6 cell-9-5 north) + (NEXT cell-9-5 cell-9-4 north) + (NEXT cell-9-4 cell-9-3 north) + (NEXT cell-9-3 cell-9-2 north) + (NEXT cell-9-2 cell-9-1 north) + (NEXT cell-10-22 cell-10-21 north) + (NEXT cell-10-21 cell-10-20 north) + (NEXT cell-10-20 cell-10-19 north) + (NEXT cell-10-19 cell-10-18 north) + (NEXT cell-10-18 cell-10-17 north) + (NEXT cell-10-17 cell-10-16 north) + (NEXT cell-10-16 cell-10-15 north) + (NEXT cell-10-15 cell-10-14 north) + (NEXT cell-10-14 cell-10-13 north) + (NEXT cell-10-13 cell-10-12 north) + (NEXT cell-10-12 cell-10-11 north) + (NEXT cell-10-11 cell-10-10 north) + (NEXT cell-10-10 cell-10-9 north) + (NEXT cell-10-9 cell-10-8 north) + (NEXT cell-10-8 cell-10-7 north) + (NEXT cell-10-7 cell-10-6 north) + (NEXT cell-10-6 cell-10-5 north) + (NEXT cell-10-5 cell-10-4 north) + (NEXT cell-10-4 cell-10-3 north) + (NEXT cell-10-3 cell-10-2 north) + (NEXT cell-10-2 cell-10-1 north) + (NEXT cell-11-22 cell-11-21 north) + (NEXT cell-11-21 cell-11-20 north) + (NEXT cell-11-20 cell-11-19 north) + (NEXT cell-11-19 cell-11-18 north) + (NEXT cell-11-18 cell-11-17 north) + (NEXT cell-11-17 cell-11-16 north) + (NEXT cell-11-16 cell-11-15 north) + (NEXT cell-11-15 cell-11-14 north) + (NEXT cell-11-14 cell-11-13 north) + (NEXT cell-11-13 cell-11-12 north) + (NEXT cell-11-12 cell-11-11 north) + (NEXT cell-11-11 cell-11-10 north) + (NEXT cell-11-10 cell-11-9 north) + (NEXT cell-11-9 cell-11-8 north) + (NEXT cell-11-8 cell-11-7 north) + (NEXT cell-11-7 cell-11-6 north) + (NEXT cell-11-6 cell-11-5 north) + (NEXT cell-11-5 cell-11-4 north) + (NEXT cell-11-4 cell-11-3 north) + (NEXT cell-11-3 cell-11-2 north) + (NEXT cell-11-2 cell-11-1 north) + (NEXT cell-12-22 cell-12-21 north) + (NEXT cell-12-21 cell-12-20 north) + (NEXT cell-12-20 cell-12-19 north) + (NEXT cell-12-19 cell-12-18 north) + (NEXT cell-12-18 cell-12-17 north) + (NEXT cell-12-17 cell-12-16 north) + (NEXT cell-12-16 cell-12-15 north) + (NEXT cell-12-15 cell-12-14 north) + (NEXT cell-12-14 cell-12-13 north) + (NEXT cell-12-13 cell-12-12 north) + (NEXT cell-12-12 cell-12-11 north) + (NEXT cell-12-11 cell-12-10 north) + (NEXT cell-12-10 cell-12-9 north) + (NEXT cell-12-9 cell-12-8 north) + (NEXT cell-12-8 cell-12-7 north) + (NEXT cell-12-7 cell-12-6 north) + (NEXT cell-12-6 cell-12-5 north) + (NEXT cell-12-5 cell-12-4 north) + (NEXT cell-12-4 cell-12-3 north) + (NEXT cell-12-3 cell-12-2 north) + (NEXT cell-12-2 cell-12-1 north) + (NEXT cell-13-22 cell-13-21 north) + (NEXT cell-13-21 cell-13-20 north) + (NEXT cell-13-20 cell-13-19 north) + (NEXT cell-13-19 cell-13-18 north) + (NEXT cell-13-18 cell-13-17 north) + (NEXT cell-13-17 cell-13-16 north) + (NEXT cell-13-16 cell-13-15 north) + (NEXT cell-13-15 cell-13-14 north) + (NEXT cell-13-14 cell-13-13 north) + (NEXT cell-13-13 cell-13-12 north) + (NEXT cell-13-12 cell-13-11 north) + (NEXT cell-13-11 cell-13-10 north) + (NEXT cell-13-10 cell-13-9 north) + (NEXT cell-13-9 cell-13-8 north) + (NEXT cell-13-8 cell-13-7 north) + (NEXT cell-13-7 cell-13-6 north) + (NEXT cell-13-6 cell-13-5 north) + (NEXT cell-13-5 cell-13-4 north) + (NEXT cell-13-4 cell-13-3 north) + (NEXT cell-13-3 cell-13-2 north) + (NEXT cell-13-2 cell-13-1 north) + (NEXT cell-14-22 cell-14-21 north) + (NEXT cell-14-21 cell-14-20 north) + (NEXT cell-14-20 cell-14-19 north) + (NEXT cell-14-19 cell-14-18 north) + (NEXT cell-14-18 cell-14-17 north) + (NEXT cell-14-17 cell-14-16 north) + (NEXT cell-14-16 cell-14-15 north) + (NEXT cell-14-15 cell-14-14 north) + (NEXT cell-14-14 cell-14-13 north) + (NEXT cell-14-13 cell-14-12 north) + (NEXT cell-14-12 cell-14-11 north) + (NEXT cell-14-11 cell-14-10 north) + (NEXT cell-14-10 cell-14-9 north) + (NEXT cell-14-9 cell-14-8 north) + (NEXT cell-14-8 cell-14-7 north) + (NEXT cell-14-7 cell-14-6 north) + (NEXT cell-14-6 cell-14-5 north) + (NEXT cell-14-5 cell-14-4 north) + (NEXT cell-14-4 cell-14-3 north) + (NEXT cell-14-3 cell-14-2 north) + (NEXT cell-14-2 cell-14-1 north) + (NEXT cell-15-22 cell-15-21 north) + (NEXT cell-15-21 cell-15-20 north) + (NEXT cell-15-20 cell-15-19 north) + (NEXT cell-15-19 cell-15-18 north) + (NEXT cell-15-18 cell-15-17 north) + (NEXT cell-15-17 cell-15-16 north) + (NEXT cell-15-16 cell-15-15 north) + (NEXT cell-15-15 cell-15-14 north) + (NEXT cell-15-14 cell-15-13 north) + (NEXT cell-15-13 cell-15-12 north) + (NEXT cell-15-12 cell-15-11 north) + (NEXT cell-15-11 cell-15-10 north) + (NEXT cell-15-10 cell-15-9 north) + (NEXT cell-15-9 cell-15-8 north) + (NEXT cell-15-8 cell-15-7 north) + (NEXT cell-15-7 cell-15-6 north) + (NEXT cell-15-6 cell-15-5 north) + (NEXT cell-15-5 cell-15-4 north) + (NEXT cell-15-4 cell-15-3 north) + (NEXT cell-15-3 cell-15-2 north) + (NEXT cell-15-2 cell-15-1 north) + (NEXT cell-16-22 cell-16-21 north) + (NEXT cell-16-21 cell-16-20 north) + (NEXT cell-16-20 cell-16-19 north) + (NEXT cell-16-19 cell-16-18 north) + (NEXT cell-16-18 cell-16-17 north) + (NEXT cell-16-17 cell-16-16 north) + (NEXT cell-16-16 cell-16-15 north) + (NEXT cell-16-15 cell-16-14 north) + (NEXT cell-16-14 cell-16-13 north) + (NEXT cell-16-13 cell-16-12 north) + (NEXT cell-16-12 cell-16-11 north) + (NEXT cell-16-11 cell-16-10 north) + (NEXT cell-16-10 cell-16-9 north) + (NEXT cell-16-9 cell-16-8 north) + (NEXT cell-16-8 cell-16-7 north) + (NEXT cell-16-7 cell-16-6 north) + (NEXT cell-16-6 cell-16-5 north) + (NEXT cell-16-5 cell-16-4 north) + (NEXT cell-16-4 cell-16-3 north) + (NEXT cell-16-3 cell-16-2 north) + (NEXT cell-16-2 cell-16-1 north) + (NEXT cell-17-22 cell-17-21 north) + (NEXT cell-17-21 cell-17-20 north) + (NEXT cell-17-20 cell-17-19 north) + (NEXT cell-17-19 cell-17-18 north) + (NEXT cell-17-18 cell-17-17 north) + (NEXT cell-17-17 cell-17-16 north) + (NEXT cell-17-16 cell-17-15 north) + (NEXT cell-17-15 cell-17-14 north) + (NEXT cell-17-14 cell-17-13 north) + (NEXT cell-17-13 cell-17-12 north) + (NEXT cell-17-12 cell-17-11 north) + (NEXT cell-17-11 cell-17-10 north) + (NEXT cell-17-10 cell-17-9 north) + (NEXT cell-17-9 cell-17-8 north) + (NEXT cell-17-8 cell-17-7 north) + (NEXT cell-17-7 cell-17-6 north) + (NEXT cell-17-6 cell-17-5 north) + (NEXT cell-17-5 cell-17-4 north) + (NEXT cell-17-4 cell-17-3 north) + (NEXT cell-17-3 cell-17-2 north) + (NEXT cell-17-2 cell-17-1 north) + (NEXT cell-18-22 cell-18-21 north) + (NEXT cell-18-21 cell-18-20 north) + (NEXT cell-18-20 cell-18-19 north) + (NEXT cell-18-19 cell-18-18 north) + (NEXT cell-18-18 cell-18-17 north) + (NEXT cell-18-17 cell-18-16 north) + (NEXT cell-18-16 cell-18-15 north) + (NEXT cell-18-15 cell-18-14 north) + (NEXT cell-18-14 cell-18-13 north) + (NEXT cell-18-13 cell-18-12 north) + (NEXT cell-18-12 cell-18-11 north) + (NEXT cell-18-11 cell-18-10 north) + (NEXT cell-18-10 cell-18-9 north) + (NEXT cell-18-9 cell-18-8 north) + (NEXT cell-18-8 cell-18-7 north) + (NEXT cell-18-7 cell-18-6 north) + (NEXT cell-18-6 cell-18-5 north) + (NEXT cell-18-5 cell-18-4 north) + (NEXT cell-18-4 cell-18-3 north) + (NEXT cell-18-3 cell-18-2 north) + (NEXT cell-18-2 cell-18-1 north) + (NEXT cell-19-22 cell-19-21 north) + (NEXT cell-19-21 cell-19-20 north) + (NEXT cell-19-20 cell-19-19 north) + (NEXT cell-19-19 cell-19-18 north) + (NEXT cell-19-18 cell-19-17 north) + (NEXT cell-19-17 cell-19-16 north) + (NEXT cell-19-16 cell-19-15 north) + (NEXT cell-19-15 cell-19-14 north) + (NEXT cell-19-14 cell-19-13 north) + (NEXT cell-19-13 cell-19-12 north) + (NEXT cell-19-12 cell-19-11 north) + (NEXT cell-19-11 cell-19-10 north) + (NEXT cell-19-10 cell-19-9 north) + (NEXT cell-19-9 cell-19-8 north) + (NEXT cell-19-8 cell-19-7 north) + (NEXT cell-19-7 cell-19-6 north) + (NEXT cell-19-6 cell-19-5 north) + (NEXT cell-19-5 cell-19-4 north) + (NEXT cell-19-4 cell-19-3 north) + (NEXT cell-19-3 cell-19-2 north) + (NEXT cell-19-2 cell-19-1 north) + (NEXT cell-20-22 cell-20-21 north) + (NEXT cell-20-21 cell-20-20 north) + (NEXT cell-20-20 cell-20-19 north) + (NEXT cell-20-19 cell-20-18 north) + (NEXT cell-20-18 cell-20-17 north) + (NEXT cell-20-17 cell-20-16 north) + (NEXT cell-20-16 cell-20-15 north) + (NEXT cell-20-15 cell-20-14 north) + (NEXT cell-20-14 cell-20-13 north) + (NEXT cell-20-13 cell-20-12 north) + (NEXT cell-20-12 cell-20-11 north) + (NEXT cell-20-11 cell-20-10 north) + (NEXT cell-20-10 cell-20-9 north) + (NEXT cell-20-9 cell-20-8 north) + (NEXT cell-20-8 cell-20-7 north) + (NEXT cell-20-7 cell-20-6 north) + (NEXT cell-20-6 cell-20-5 north) + (NEXT cell-20-5 cell-20-4 north) + (NEXT cell-20-4 cell-20-3 north) + (NEXT cell-20-3 cell-20-2 north) + (NEXT cell-20-2 cell-20-1 north) + (NEXT cell-21-22 cell-21-21 north) + (NEXT cell-21-21 cell-21-20 north) + (NEXT cell-21-20 cell-21-19 north) + (NEXT cell-21-19 cell-21-18 north) + (NEXT cell-21-18 cell-21-17 north) + (NEXT cell-21-17 cell-21-16 north) + (NEXT cell-21-16 cell-21-15 north) + (NEXT cell-21-15 cell-21-14 north) + (NEXT cell-21-14 cell-21-13 north) + (NEXT cell-21-13 cell-21-12 north) + (NEXT cell-21-12 cell-21-11 north) + (NEXT cell-21-11 cell-21-10 north) + (NEXT cell-21-10 cell-21-9 north) + (NEXT cell-21-9 cell-21-8 north) + (NEXT cell-21-8 cell-21-7 north) + (NEXT cell-21-7 cell-21-6 north) + (NEXT cell-21-6 cell-21-5 north) + (NEXT cell-21-5 cell-21-4 north) + (NEXT cell-21-4 cell-21-3 north) + (NEXT cell-21-3 cell-21-2 north) + (NEXT cell-21-2 cell-21-1 north) + (NEXT cell-22-22 cell-22-21 north) + (NEXT cell-22-21 cell-22-20 north) + (NEXT cell-22-20 cell-22-19 north) + (NEXT cell-22-19 cell-22-18 north) + (NEXT cell-22-18 cell-22-17 north) + (NEXT cell-22-17 cell-22-16 north) + (NEXT cell-22-16 cell-22-15 north) + (NEXT cell-22-15 cell-22-14 north) + (NEXT cell-22-14 cell-22-13 north) + (NEXT cell-22-13 cell-22-12 north) + (NEXT cell-22-12 cell-22-11 north) + (NEXT cell-22-11 cell-22-10 north) + (NEXT cell-22-10 cell-22-9 north) + (NEXT cell-22-9 cell-22-8 north) + (NEXT cell-22-8 cell-22-7 north) + (NEXT cell-22-7 cell-22-6 north) + (NEXT cell-22-6 cell-22-5 north) + (NEXT cell-22-5 cell-22-4 north) + (NEXT cell-22-4 cell-22-3 north) + (NEXT cell-22-3 cell-22-2 north) + (NEXT cell-22-2 cell-22-1 north) + (NEXT cell-1-1 cell-2-1 east) + (NEXT cell-2-1 cell-3-1 east) + (NEXT cell-3-1 cell-4-1 east) + (NEXT cell-4-1 cell-5-1 east) + (NEXT cell-5-1 cell-6-1 east) + (NEXT cell-6-1 cell-7-1 east) + (NEXT cell-7-1 cell-8-1 east) + (NEXT cell-8-1 cell-9-1 east) + (NEXT cell-9-1 cell-10-1 east) + (NEXT cell-10-1 cell-11-1 east) + (NEXT cell-11-1 cell-12-1 east) + (NEXT cell-12-1 cell-13-1 east) + (NEXT cell-13-1 cell-14-1 east) + (NEXT cell-14-1 cell-15-1 east) + (NEXT cell-15-1 cell-16-1 east) + (NEXT cell-16-1 cell-17-1 east) + (NEXT cell-17-1 cell-18-1 east) + (NEXT cell-18-1 cell-19-1 east) + (NEXT cell-19-1 cell-20-1 east) + (NEXT cell-20-1 cell-21-1 east) + (NEXT cell-21-1 cell-22-1 east) + (NEXT cell-1-2 cell-2-2 east) + (NEXT cell-2-2 cell-3-2 east) + (NEXT cell-3-2 cell-4-2 east) + (NEXT cell-4-2 cell-5-2 east) + (NEXT cell-5-2 cell-6-2 east) + (NEXT cell-6-2 cell-7-2 east) + (NEXT cell-7-2 cell-8-2 east) + (NEXT cell-8-2 cell-9-2 east) + (NEXT cell-9-2 cell-10-2 east) + (NEXT cell-10-2 cell-11-2 east) + (NEXT cell-11-2 cell-12-2 east) + (NEXT cell-12-2 cell-13-2 east) + (NEXT cell-13-2 cell-14-2 east) + (NEXT cell-14-2 cell-15-2 east) + (NEXT cell-15-2 cell-16-2 east) + (NEXT cell-16-2 cell-17-2 east) + (NEXT cell-17-2 cell-18-2 east) + (NEXT cell-18-2 cell-19-2 east) + (NEXT cell-19-2 cell-20-2 east) + (NEXT cell-20-2 cell-21-2 east) + (NEXT cell-21-2 cell-22-2 east) + (NEXT cell-1-3 cell-2-3 east) + (NEXT cell-2-3 cell-3-3 east) + (NEXT cell-3-3 cell-4-3 east) + (NEXT cell-4-3 cell-5-3 east) + (NEXT cell-5-3 cell-6-3 east) + (NEXT cell-6-3 cell-7-3 east) + (NEXT cell-7-3 cell-8-3 east) + (NEXT cell-8-3 cell-9-3 east) + (NEXT cell-9-3 cell-10-3 east) + (NEXT cell-10-3 cell-11-3 east) + (NEXT cell-11-3 cell-12-3 east) + (NEXT cell-12-3 cell-13-3 east) + (NEXT cell-13-3 cell-14-3 east) + (NEXT cell-14-3 cell-15-3 east) + (NEXT cell-15-3 cell-16-3 east) + (NEXT cell-16-3 cell-17-3 east) + (NEXT cell-17-3 cell-18-3 east) + (NEXT cell-18-3 cell-19-3 east) + (NEXT cell-19-3 cell-20-3 east) + (NEXT cell-20-3 cell-21-3 east) + (NEXT cell-21-3 cell-22-3 east) + (NEXT cell-1-4 cell-2-4 east) + (NEXT cell-2-4 cell-3-4 east) + (NEXT cell-3-4 cell-4-4 east) + (NEXT cell-4-4 cell-5-4 east) + (NEXT cell-5-4 cell-6-4 east) + (NEXT cell-6-4 cell-7-4 east) + (NEXT cell-7-4 cell-8-4 east) + (NEXT cell-8-4 cell-9-4 east) + (NEXT cell-9-4 cell-10-4 east) + (NEXT cell-10-4 cell-11-4 east) + (NEXT cell-11-4 cell-12-4 east) + (NEXT cell-12-4 cell-13-4 east) + (NEXT cell-13-4 cell-14-4 east) + (NEXT cell-14-4 cell-15-4 east) + (NEXT cell-15-4 cell-16-4 east) + (NEXT cell-16-4 cell-17-4 east) + (NEXT cell-17-4 cell-18-4 east) + (NEXT cell-18-4 cell-19-4 east) + (NEXT cell-19-4 cell-20-4 east) + (NEXT cell-20-4 cell-21-4 east) + (NEXT cell-21-4 cell-22-4 east) + (NEXT cell-1-5 cell-2-5 east) + (NEXT cell-2-5 cell-3-5 east) + (NEXT cell-3-5 cell-4-5 east) + (NEXT cell-4-5 cell-5-5 east) + (NEXT cell-5-5 cell-6-5 east) + (NEXT cell-6-5 cell-7-5 east) + (NEXT cell-7-5 cell-8-5 east) + (NEXT cell-8-5 cell-9-5 east) + (NEXT cell-9-5 cell-10-5 east) + (NEXT cell-10-5 cell-11-5 east) + (NEXT cell-11-5 cell-12-5 east) + (NEXT cell-12-5 cell-13-5 east) + (NEXT cell-13-5 cell-14-5 east) + (NEXT cell-14-5 cell-15-5 east) + (NEXT cell-15-5 cell-16-5 east) + (NEXT cell-16-5 cell-17-5 east) + (NEXT cell-17-5 cell-18-5 east) + (NEXT cell-18-5 cell-19-5 east) + (NEXT cell-19-5 cell-20-5 east) + (NEXT cell-20-5 cell-21-5 east) + (NEXT cell-21-5 cell-22-5 east) + (NEXT cell-1-6 cell-2-6 east) + (NEXT cell-2-6 cell-3-6 east) + (NEXT cell-3-6 cell-4-6 east) + (NEXT cell-4-6 cell-5-6 east) + (NEXT cell-5-6 cell-6-6 east) + (NEXT cell-6-6 cell-7-6 east) + (NEXT cell-7-6 cell-8-6 east) + (NEXT cell-8-6 cell-9-6 east) + (NEXT cell-9-6 cell-10-6 east) + (NEXT cell-10-6 cell-11-6 east) + (NEXT cell-11-6 cell-12-6 east) + (NEXT cell-12-6 cell-13-6 east) + (NEXT cell-13-6 cell-14-6 east) + (NEXT cell-14-6 cell-15-6 east) + (NEXT cell-15-6 cell-16-6 east) + (NEXT cell-16-6 cell-17-6 east) + (NEXT cell-17-6 cell-18-6 east) + (NEXT cell-18-6 cell-19-6 east) + (NEXT cell-19-6 cell-20-6 east) + (NEXT cell-20-6 cell-21-6 east) + (NEXT cell-21-6 cell-22-6 east) + (NEXT cell-1-7 cell-2-7 east) + (NEXT cell-2-7 cell-3-7 east) + (NEXT cell-3-7 cell-4-7 east) + (NEXT cell-4-7 cell-5-7 east) + (NEXT cell-5-7 cell-6-7 east) + (NEXT cell-6-7 cell-7-7 east) + (NEXT cell-7-7 cell-8-7 east) + (NEXT cell-8-7 cell-9-7 east) + (NEXT cell-9-7 cell-10-7 east) + (NEXT cell-10-7 cell-11-7 east) + (NEXT cell-11-7 cell-12-7 east) + (NEXT cell-12-7 cell-13-7 east) + (NEXT cell-13-7 cell-14-7 east) + (NEXT cell-14-7 cell-15-7 east) + (NEXT cell-15-7 cell-16-7 east) + (NEXT cell-16-7 cell-17-7 east) + (NEXT cell-17-7 cell-18-7 east) + (NEXT cell-18-7 cell-19-7 east) + (NEXT cell-19-7 cell-20-7 east) + (NEXT cell-20-7 cell-21-7 east) + (NEXT cell-21-7 cell-22-7 east) + (NEXT cell-1-8 cell-2-8 east) + (NEXT cell-2-8 cell-3-8 east) + (NEXT cell-3-8 cell-4-8 east) + (NEXT cell-4-8 cell-5-8 east) + (NEXT cell-5-8 cell-6-8 east) + (NEXT cell-6-8 cell-7-8 east) + (NEXT cell-7-8 cell-8-8 east) + (NEXT cell-8-8 cell-9-8 east) + (NEXT cell-9-8 cell-10-8 east) + (NEXT cell-10-8 cell-11-8 east) + (NEXT cell-11-8 cell-12-8 east) + (NEXT cell-12-8 cell-13-8 east) + (NEXT cell-13-8 cell-14-8 east) + (NEXT cell-14-8 cell-15-8 east) + (NEXT cell-15-8 cell-16-8 east) + (NEXT cell-16-8 cell-17-8 east) + (NEXT cell-17-8 cell-18-8 east) + (NEXT cell-18-8 cell-19-8 east) + (NEXT cell-19-8 cell-20-8 east) + (NEXT cell-20-8 cell-21-8 east) + (NEXT cell-21-8 cell-22-8 east) + (NEXT cell-1-9 cell-2-9 east) + (NEXT cell-2-9 cell-3-9 east) + (NEXT cell-3-9 cell-4-9 east) + (NEXT cell-4-9 cell-5-9 east) + (NEXT cell-5-9 cell-6-9 east) + (NEXT cell-6-9 cell-7-9 east) + (NEXT cell-7-9 cell-8-9 east) + (NEXT cell-8-9 cell-9-9 east) + (NEXT cell-9-9 cell-10-9 east) + (NEXT cell-10-9 cell-11-9 east) + (NEXT cell-11-9 cell-12-9 east) + (NEXT cell-12-9 cell-13-9 east) + (NEXT cell-13-9 cell-14-9 east) + (NEXT cell-14-9 cell-15-9 east) + (NEXT cell-15-9 cell-16-9 east) + (NEXT cell-16-9 cell-17-9 east) + (NEXT cell-17-9 cell-18-9 east) + (NEXT cell-18-9 cell-19-9 east) + (NEXT cell-19-9 cell-20-9 east) + (NEXT cell-20-9 cell-21-9 east) + (NEXT cell-21-9 cell-22-9 east) + (NEXT cell-1-10 cell-2-10 east) + (NEXT cell-2-10 cell-3-10 east) + (NEXT cell-3-10 cell-4-10 east) + (NEXT cell-4-10 cell-5-10 east) + (NEXT cell-5-10 cell-6-10 east) + (NEXT cell-6-10 cell-7-10 east) + (NEXT cell-7-10 cell-8-10 east) + (NEXT cell-8-10 cell-9-10 east) + (NEXT cell-9-10 cell-10-10 east) + (NEXT cell-10-10 cell-11-10 east) + (NEXT cell-11-10 cell-12-10 east) + (NEXT cell-12-10 cell-13-10 east) + (NEXT cell-13-10 cell-14-10 east) + (NEXT cell-14-10 cell-15-10 east) + (NEXT cell-15-10 cell-16-10 east) + (NEXT cell-16-10 cell-17-10 east) + (NEXT cell-17-10 cell-18-10 east) + (NEXT cell-18-10 cell-19-10 east) + (NEXT cell-19-10 cell-20-10 east) + (NEXT cell-20-10 cell-21-10 east) + (NEXT cell-21-10 cell-22-10 east) + (NEXT cell-1-11 cell-2-11 east) + (NEXT cell-2-11 cell-3-11 east) + (NEXT cell-3-11 cell-4-11 east) + (NEXT cell-4-11 cell-5-11 east) + (NEXT cell-5-11 cell-6-11 east) + (NEXT cell-6-11 cell-7-11 east) + (NEXT cell-7-11 cell-8-11 east) + (NEXT cell-8-11 cell-9-11 east) + (NEXT cell-9-11 cell-10-11 east) + (NEXT cell-10-11 cell-11-11 east) + (NEXT cell-11-11 cell-12-11 east) + (NEXT cell-12-11 cell-13-11 east) + (NEXT cell-13-11 cell-14-11 east) + (NEXT cell-14-11 cell-15-11 east) + (NEXT cell-15-11 cell-16-11 east) + (NEXT cell-16-11 cell-17-11 east) + (NEXT cell-17-11 cell-18-11 east) + (NEXT cell-18-11 cell-19-11 east) + (NEXT cell-19-11 cell-20-11 east) + (NEXT cell-20-11 cell-21-11 east) + (NEXT cell-21-11 cell-22-11 east) + (NEXT cell-1-12 cell-2-12 east) + (NEXT cell-2-12 cell-3-12 east) + (NEXT cell-3-12 cell-4-12 east) + (NEXT cell-4-12 cell-5-12 east) + (NEXT cell-5-12 cell-6-12 east) + (NEXT cell-6-12 cell-7-12 east) + (NEXT cell-7-12 cell-8-12 east) + (NEXT cell-8-12 cell-9-12 east) + (NEXT cell-9-12 cell-10-12 east) + (NEXT cell-10-12 cell-11-12 east) + (NEXT cell-11-12 cell-12-12 east) + (NEXT cell-12-12 cell-13-12 east) + (NEXT cell-13-12 cell-14-12 east) + (NEXT cell-14-12 cell-15-12 east) + (NEXT cell-15-12 cell-16-12 east) + (NEXT cell-16-12 cell-17-12 east) + (NEXT cell-17-12 cell-18-12 east) + (NEXT cell-18-12 cell-19-12 east) + (NEXT cell-19-12 cell-20-12 east) + (NEXT cell-20-12 cell-21-12 east) + (NEXT cell-21-12 cell-22-12 east) + (NEXT cell-1-13 cell-2-13 east) + (NEXT cell-2-13 cell-3-13 east) + (NEXT cell-3-13 cell-4-13 east) + (NEXT cell-4-13 cell-5-13 east) + (NEXT cell-5-13 cell-6-13 east) + (NEXT cell-6-13 cell-7-13 east) + (NEXT cell-7-13 cell-8-13 east) + (NEXT cell-8-13 cell-9-13 east) + (NEXT cell-9-13 cell-10-13 east) + (NEXT cell-10-13 cell-11-13 east) + (NEXT cell-11-13 cell-12-13 east) + (NEXT cell-12-13 cell-13-13 east) + (NEXT cell-13-13 cell-14-13 east) + (NEXT cell-14-13 cell-15-13 east) + (NEXT cell-15-13 cell-16-13 east) + (NEXT cell-16-13 cell-17-13 east) + (NEXT cell-17-13 cell-18-13 east) + (NEXT cell-18-13 cell-19-13 east) + (NEXT cell-19-13 cell-20-13 east) + (NEXT cell-20-13 cell-21-13 east) + (NEXT cell-21-13 cell-22-13 east) + (NEXT cell-1-14 cell-2-14 east) + (NEXT cell-2-14 cell-3-14 east) + (NEXT cell-3-14 cell-4-14 east) + (NEXT cell-4-14 cell-5-14 east) + (NEXT cell-5-14 cell-6-14 east) + (NEXT cell-6-14 cell-7-14 east) + (NEXT cell-7-14 cell-8-14 east) + (NEXT cell-8-14 cell-9-14 east) + (NEXT cell-9-14 cell-10-14 east) + (NEXT cell-10-14 cell-11-14 east) + (NEXT cell-11-14 cell-12-14 east) + (NEXT cell-12-14 cell-13-14 east) + (NEXT cell-13-14 cell-14-14 east) + (NEXT cell-14-14 cell-15-14 east) + (NEXT cell-15-14 cell-16-14 east) + (NEXT cell-16-14 cell-17-14 east) + (NEXT cell-17-14 cell-18-14 east) + (NEXT cell-18-14 cell-19-14 east) + (NEXT cell-19-14 cell-20-14 east) + (NEXT cell-20-14 cell-21-14 east) + (NEXT cell-21-14 cell-22-14 east) + (NEXT cell-1-15 cell-2-15 east) + (NEXT cell-2-15 cell-3-15 east) + (NEXT cell-3-15 cell-4-15 east) + (NEXT cell-4-15 cell-5-15 east) + (NEXT cell-5-15 cell-6-15 east) + (NEXT cell-6-15 cell-7-15 east) + (NEXT cell-7-15 cell-8-15 east) + (NEXT cell-8-15 cell-9-15 east) + (NEXT cell-9-15 cell-10-15 east) + (NEXT cell-10-15 cell-11-15 east) + (NEXT cell-11-15 cell-12-15 east) + (NEXT cell-12-15 cell-13-15 east) + (NEXT cell-13-15 cell-14-15 east) + (NEXT cell-14-15 cell-15-15 east) + (NEXT cell-15-15 cell-16-15 east) + (NEXT cell-16-15 cell-17-15 east) + (NEXT cell-17-15 cell-18-15 east) + (NEXT cell-18-15 cell-19-15 east) + (NEXT cell-19-15 cell-20-15 east) + (NEXT cell-20-15 cell-21-15 east) + (NEXT cell-21-15 cell-22-15 east) + (NEXT cell-1-16 cell-2-16 east) + (NEXT cell-2-16 cell-3-16 east) + (NEXT cell-3-16 cell-4-16 east) + (NEXT cell-4-16 cell-5-16 east) + (NEXT cell-5-16 cell-6-16 east) + (NEXT cell-6-16 cell-7-16 east) + (NEXT cell-7-16 cell-8-16 east) + (NEXT cell-8-16 cell-9-16 east) + (NEXT cell-9-16 cell-10-16 east) + (NEXT cell-10-16 cell-11-16 east) + (NEXT cell-11-16 cell-12-16 east) + (NEXT cell-12-16 cell-13-16 east) + (NEXT cell-13-16 cell-14-16 east) + (NEXT cell-14-16 cell-15-16 east) + (NEXT cell-15-16 cell-16-16 east) + (NEXT cell-16-16 cell-17-16 east) + (NEXT cell-17-16 cell-18-16 east) + (NEXT cell-18-16 cell-19-16 east) + (NEXT cell-19-16 cell-20-16 east) + (NEXT cell-20-16 cell-21-16 east) + (NEXT cell-21-16 cell-22-16 east) + (NEXT cell-1-17 cell-2-17 east) + (NEXT cell-2-17 cell-3-17 east) + (NEXT cell-3-17 cell-4-17 east) + (NEXT cell-4-17 cell-5-17 east) + (NEXT cell-5-17 cell-6-17 east) + (NEXT cell-6-17 cell-7-17 east) + (NEXT cell-7-17 cell-8-17 east) + (NEXT cell-8-17 cell-9-17 east) + (NEXT cell-9-17 cell-10-17 east) + (NEXT cell-10-17 cell-11-17 east) + (NEXT cell-11-17 cell-12-17 east) + (NEXT cell-12-17 cell-13-17 east) + (NEXT cell-13-17 cell-14-17 east) + (NEXT cell-14-17 cell-15-17 east) + (NEXT cell-15-17 cell-16-17 east) + (NEXT cell-16-17 cell-17-17 east) + (NEXT cell-17-17 cell-18-17 east) + (NEXT cell-18-17 cell-19-17 east) + (NEXT cell-19-17 cell-20-17 east) + (NEXT cell-20-17 cell-21-17 east) + (NEXT cell-21-17 cell-22-17 east) + (NEXT cell-1-18 cell-2-18 east) + (NEXT cell-2-18 cell-3-18 east) + (NEXT cell-3-18 cell-4-18 east) + (NEXT cell-4-18 cell-5-18 east) + (NEXT cell-5-18 cell-6-18 east) + (NEXT cell-6-18 cell-7-18 east) + (NEXT cell-7-18 cell-8-18 east) + (NEXT cell-8-18 cell-9-18 east) + (NEXT cell-9-18 cell-10-18 east) + (NEXT cell-10-18 cell-11-18 east) + (NEXT cell-11-18 cell-12-18 east) + (NEXT cell-12-18 cell-13-18 east) + (NEXT cell-13-18 cell-14-18 east) + (NEXT cell-14-18 cell-15-18 east) + (NEXT cell-15-18 cell-16-18 east) + (NEXT cell-16-18 cell-17-18 east) + (NEXT cell-17-18 cell-18-18 east) + (NEXT cell-18-18 cell-19-18 east) + (NEXT cell-19-18 cell-20-18 east) + (NEXT cell-20-18 cell-21-18 east) + (NEXT cell-21-18 cell-22-18 east) + (NEXT cell-1-19 cell-2-19 east) + (NEXT cell-2-19 cell-3-19 east) + (NEXT cell-3-19 cell-4-19 east) + (NEXT cell-4-19 cell-5-19 east) + (NEXT cell-5-19 cell-6-19 east) + (NEXT cell-6-19 cell-7-19 east) + (NEXT cell-7-19 cell-8-19 east) + (NEXT cell-8-19 cell-9-19 east) + (NEXT cell-9-19 cell-10-19 east) + (NEXT cell-10-19 cell-11-19 east) + (NEXT cell-11-19 cell-12-19 east) + (NEXT cell-12-19 cell-13-19 east) + (NEXT cell-13-19 cell-14-19 east) + (NEXT cell-14-19 cell-15-19 east) + (NEXT cell-15-19 cell-16-19 east) + (NEXT cell-16-19 cell-17-19 east) + (NEXT cell-17-19 cell-18-19 east) + (NEXT cell-18-19 cell-19-19 east) + (NEXT cell-19-19 cell-20-19 east) + (NEXT cell-20-19 cell-21-19 east) + (NEXT cell-21-19 cell-22-19 east) + (NEXT cell-1-20 cell-2-20 east) + (NEXT cell-2-20 cell-3-20 east) + (NEXT cell-3-20 cell-4-20 east) + (NEXT cell-4-20 cell-5-20 east) + (NEXT cell-5-20 cell-6-20 east) + (NEXT cell-6-20 cell-7-20 east) + (NEXT cell-7-20 cell-8-20 east) + (NEXT cell-8-20 cell-9-20 east) + (NEXT cell-9-20 cell-10-20 east) + (NEXT cell-10-20 cell-11-20 east) + (NEXT cell-11-20 cell-12-20 east) + (NEXT cell-12-20 cell-13-20 east) + (NEXT cell-13-20 cell-14-20 east) + (NEXT cell-14-20 cell-15-20 east) + (NEXT cell-15-20 cell-16-20 east) + (NEXT cell-16-20 cell-17-20 east) + (NEXT cell-17-20 cell-18-20 east) + (NEXT cell-18-20 cell-19-20 east) + (NEXT cell-19-20 cell-20-20 east) + (NEXT cell-20-20 cell-21-20 east) + (NEXT cell-21-20 cell-22-20 east) + (NEXT cell-1-21 cell-2-21 east) + (NEXT cell-2-21 cell-3-21 east) + (NEXT cell-3-21 cell-4-21 east) + (NEXT cell-4-21 cell-5-21 east) + (NEXT cell-5-21 cell-6-21 east) + (NEXT cell-6-21 cell-7-21 east) + (NEXT cell-7-21 cell-8-21 east) + (NEXT cell-8-21 cell-9-21 east) + (NEXT cell-9-21 cell-10-21 east) + (NEXT cell-10-21 cell-11-21 east) + (NEXT cell-11-21 cell-12-21 east) + (NEXT cell-12-21 cell-13-21 east) + (NEXT cell-13-21 cell-14-21 east) + (NEXT cell-14-21 cell-15-21 east) + (NEXT cell-15-21 cell-16-21 east) + (NEXT cell-16-21 cell-17-21 east) + (NEXT cell-17-21 cell-18-21 east) + (NEXT cell-18-21 cell-19-21 east) + (NEXT cell-19-21 cell-20-21 east) + (NEXT cell-20-21 cell-21-21 east) + (NEXT cell-21-21 cell-22-21 east) + (NEXT cell-1-22 cell-2-22 east) + (NEXT cell-2-22 cell-3-22 east) + (NEXT cell-3-22 cell-4-22 east) + (NEXT cell-4-22 cell-5-22 east) + (NEXT cell-5-22 cell-6-22 east) + (NEXT cell-6-22 cell-7-22 east) + (NEXT cell-7-22 cell-8-22 east) + (NEXT cell-8-22 cell-9-22 east) + (NEXT cell-9-22 cell-10-22 east) + (NEXT cell-10-22 cell-11-22 east) + (NEXT cell-11-22 cell-12-22 east) + (NEXT cell-12-22 cell-13-22 east) + (NEXT cell-13-22 cell-14-22 east) + (NEXT cell-14-22 cell-15-22 east) + (NEXT cell-15-22 cell-16-22 east) + (NEXT cell-16-22 cell-17-22 east) + (NEXT cell-17-22 cell-18-22 east) + (NEXT cell-18-22 cell-19-22 east) + (NEXT cell-19-22 cell-20-22 east) + (NEXT cell-20-22 cell-21-22 east) + (NEXT cell-21-22 cell-22-22 east) + (NEXT cell-22-1 cell-21-1 west) + (NEXT cell-21-1 cell-20-1 west) + (NEXT cell-20-1 cell-19-1 west) + (NEXT cell-19-1 cell-18-1 west) + (NEXT cell-18-1 cell-17-1 west) + (NEXT cell-17-1 cell-16-1 west) + (NEXT cell-16-1 cell-15-1 west) + (NEXT cell-15-1 cell-14-1 west) + (NEXT cell-14-1 cell-13-1 west) + (NEXT cell-13-1 cell-12-1 west) + (NEXT cell-12-1 cell-11-1 west) + (NEXT cell-11-1 cell-10-1 west) + (NEXT cell-10-1 cell-9-1 west) + (NEXT cell-9-1 cell-8-1 west) + (NEXT cell-8-1 cell-7-1 west) + (NEXT cell-7-1 cell-6-1 west) + (NEXT cell-6-1 cell-5-1 west) + (NEXT cell-5-1 cell-4-1 west) + (NEXT cell-4-1 cell-3-1 west) + (NEXT cell-3-1 cell-2-1 west) + (NEXT cell-2-1 cell-1-1 west) + (NEXT cell-22-2 cell-21-2 west) + (NEXT cell-21-2 cell-20-2 west) + (NEXT cell-20-2 cell-19-2 west) + (NEXT cell-19-2 cell-18-2 west) + (NEXT cell-18-2 cell-17-2 west) + (NEXT cell-17-2 cell-16-2 west) + (NEXT cell-16-2 cell-15-2 west) + (NEXT cell-15-2 cell-14-2 west) + (NEXT cell-14-2 cell-13-2 west) + (NEXT cell-13-2 cell-12-2 west) + (NEXT cell-12-2 cell-11-2 west) + (NEXT cell-11-2 cell-10-2 west) + (NEXT cell-10-2 cell-9-2 west) + (NEXT cell-9-2 cell-8-2 west) + (NEXT cell-8-2 cell-7-2 west) + (NEXT cell-7-2 cell-6-2 west) + (NEXT cell-6-2 cell-5-2 west) + (NEXT cell-5-2 cell-4-2 west) + (NEXT cell-4-2 cell-3-2 west) + (NEXT cell-3-2 cell-2-2 west) + (NEXT cell-2-2 cell-1-2 west) + (NEXT cell-22-3 cell-21-3 west) + (NEXT cell-21-3 cell-20-3 west) + (NEXT cell-20-3 cell-19-3 west) + (NEXT cell-19-3 cell-18-3 west) + (NEXT cell-18-3 cell-17-3 west) + (NEXT cell-17-3 cell-16-3 west) + (NEXT cell-16-3 cell-15-3 west) + (NEXT cell-15-3 cell-14-3 west) + (NEXT cell-14-3 cell-13-3 west) + (NEXT cell-13-3 cell-12-3 west) + (NEXT cell-12-3 cell-11-3 west) + (NEXT cell-11-3 cell-10-3 west) + (NEXT cell-10-3 cell-9-3 west) + (NEXT cell-9-3 cell-8-3 west) + (NEXT cell-8-3 cell-7-3 west) + (NEXT cell-7-3 cell-6-3 west) + (NEXT cell-6-3 cell-5-3 west) + (NEXT cell-5-3 cell-4-3 west) + (NEXT cell-4-3 cell-3-3 west) + (NEXT cell-3-3 cell-2-3 west) + (NEXT cell-2-3 cell-1-3 west) + (NEXT cell-22-4 cell-21-4 west) + (NEXT cell-21-4 cell-20-4 west) + (NEXT cell-20-4 cell-19-4 west) + (NEXT cell-19-4 cell-18-4 west) + (NEXT cell-18-4 cell-17-4 west) + (NEXT cell-17-4 cell-16-4 west) + (NEXT cell-16-4 cell-15-4 west) + (NEXT cell-15-4 cell-14-4 west) + (NEXT cell-14-4 cell-13-4 west) + (NEXT cell-13-4 cell-12-4 west) + (NEXT cell-12-4 cell-11-4 west) + (NEXT cell-11-4 cell-10-4 west) + (NEXT cell-10-4 cell-9-4 west) + (NEXT cell-9-4 cell-8-4 west) + (NEXT cell-8-4 cell-7-4 west) + (NEXT cell-7-4 cell-6-4 west) + (NEXT cell-6-4 cell-5-4 west) + (NEXT cell-5-4 cell-4-4 west) + (NEXT cell-4-4 cell-3-4 west) + (NEXT cell-3-4 cell-2-4 west) + (NEXT cell-2-4 cell-1-4 west) + (NEXT cell-22-5 cell-21-5 west) + (NEXT cell-21-5 cell-20-5 west) + (NEXT cell-20-5 cell-19-5 west) + (NEXT cell-19-5 cell-18-5 west) + (NEXT cell-18-5 cell-17-5 west) + (NEXT cell-17-5 cell-16-5 west) + (NEXT cell-16-5 cell-15-5 west) + (NEXT cell-15-5 cell-14-5 west) + (NEXT cell-14-5 cell-13-5 west) + (NEXT cell-13-5 cell-12-5 west) + (NEXT cell-12-5 cell-11-5 west) + (NEXT cell-11-5 cell-10-5 west) + (NEXT cell-10-5 cell-9-5 west) + (NEXT cell-9-5 cell-8-5 west) + (NEXT cell-8-5 cell-7-5 west) + (NEXT cell-7-5 cell-6-5 west) + (NEXT cell-6-5 cell-5-5 west) + (NEXT cell-5-5 cell-4-5 west) + (NEXT cell-4-5 cell-3-5 west) + (NEXT cell-3-5 cell-2-5 west) + (NEXT cell-2-5 cell-1-5 west) + (NEXT cell-22-6 cell-21-6 west) + (NEXT cell-21-6 cell-20-6 west) + (NEXT cell-20-6 cell-19-6 west) + (NEXT cell-19-6 cell-18-6 west) + (NEXT cell-18-6 cell-17-6 west) + (NEXT cell-17-6 cell-16-6 west) + (NEXT cell-16-6 cell-15-6 west) + (NEXT cell-15-6 cell-14-6 west) + (NEXT cell-14-6 cell-13-6 west) + (NEXT cell-13-6 cell-12-6 west) + (NEXT cell-12-6 cell-11-6 west) + (NEXT cell-11-6 cell-10-6 west) + (NEXT cell-10-6 cell-9-6 west) + (NEXT cell-9-6 cell-8-6 west) + (NEXT cell-8-6 cell-7-6 west) + (NEXT cell-7-6 cell-6-6 west) + (NEXT cell-6-6 cell-5-6 west) + (NEXT cell-5-6 cell-4-6 west) + (NEXT cell-4-6 cell-3-6 west) + (NEXT cell-3-6 cell-2-6 west) + (NEXT cell-2-6 cell-1-6 west) + (NEXT cell-22-7 cell-21-7 west) + (NEXT cell-21-7 cell-20-7 west) + (NEXT cell-20-7 cell-19-7 west) + (NEXT cell-19-7 cell-18-7 west) + (NEXT cell-18-7 cell-17-7 west) + (NEXT cell-17-7 cell-16-7 west) + (NEXT cell-16-7 cell-15-7 west) + (NEXT cell-15-7 cell-14-7 west) + (NEXT cell-14-7 cell-13-7 west) + (NEXT cell-13-7 cell-12-7 west) + (NEXT cell-12-7 cell-11-7 west) + (NEXT cell-11-7 cell-10-7 west) + (NEXT cell-10-7 cell-9-7 west) + (NEXT cell-9-7 cell-8-7 west) + (NEXT cell-8-7 cell-7-7 west) + (NEXT cell-7-7 cell-6-7 west) + (NEXT cell-6-7 cell-5-7 west) + (NEXT cell-5-7 cell-4-7 west) + (NEXT cell-4-7 cell-3-7 west) + (NEXT cell-3-7 cell-2-7 west) + (NEXT cell-2-7 cell-1-7 west) + (NEXT cell-22-8 cell-21-8 west) + (NEXT cell-21-8 cell-20-8 west) + (NEXT cell-20-8 cell-19-8 west) + (NEXT cell-19-8 cell-18-8 west) + (NEXT cell-18-8 cell-17-8 west) + (NEXT cell-17-8 cell-16-8 west) + (NEXT cell-16-8 cell-15-8 west) + (NEXT cell-15-8 cell-14-8 west) + (NEXT cell-14-8 cell-13-8 west) + (NEXT cell-13-8 cell-12-8 west) + (NEXT cell-12-8 cell-11-8 west) + (NEXT cell-11-8 cell-10-8 west) + (NEXT cell-10-8 cell-9-8 west) + (NEXT cell-9-8 cell-8-8 west) + (NEXT cell-8-8 cell-7-8 west) + (NEXT cell-7-8 cell-6-8 west) + (NEXT cell-6-8 cell-5-8 west) + (NEXT cell-5-8 cell-4-8 west) + (NEXT cell-4-8 cell-3-8 west) + (NEXT cell-3-8 cell-2-8 west) + (NEXT cell-2-8 cell-1-8 west) + (NEXT cell-22-9 cell-21-9 west) + (NEXT cell-21-9 cell-20-9 west) + (NEXT cell-20-9 cell-19-9 west) + (NEXT cell-19-9 cell-18-9 west) + (NEXT cell-18-9 cell-17-9 west) + (NEXT cell-17-9 cell-16-9 west) + (NEXT cell-16-9 cell-15-9 west) + (NEXT cell-15-9 cell-14-9 west) + (NEXT cell-14-9 cell-13-9 west) + (NEXT cell-13-9 cell-12-9 west) + (NEXT cell-12-9 cell-11-9 west) + (NEXT cell-11-9 cell-10-9 west) + (NEXT cell-10-9 cell-9-9 west) + (NEXT cell-9-9 cell-8-9 west) + (NEXT cell-8-9 cell-7-9 west) + (NEXT cell-7-9 cell-6-9 west) + (NEXT cell-6-9 cell-5-9 west) + (NEXT cell-5-9 cell-4-9 west) + (NEXT cell-4-9 cell-3-9 west) + (NEXT cell-3-9 cell-2-9 west) + (NEXT cell-2-9 cell-1-9 west) + (NEXT cell-22-10 cell-21-10 west) + (NEXT cell-21-10 cell-20-10 west) + (NEXT cell-20-10 cell-19-10 west) + (NEXT cell-19-10 cell-18-10 west) + (NEXT cell-18-10 cell-17-10 west) + (NEXT cell-17-10 cell-16-10 west) + (NEXT cell-16-10 cell-15-10 west) + (NEXT cell-15-10 cell-14-10 west) + (NEXT cell-14-10 cell-13-10 west) + (NEXT cell-13-10 cell-12-10 west) + (NEXT cell-12-10 cell-11-10 west) + (NEXT cell-11-10 cell-10-10 west) + (NEXT cell-10-10 cell-9-10 west) + (NEXT cell-9-10 cell-8-10 west) + (NEXT cell-8-10 cell-7-10 west) + (NEXT cell-7-10 cell-6-10 west) + (NEXT cell-6-10 cell-5-10 west) + (NEXT cell-5-10 cell-4-10 west) + (NEXT cell-4-10 cell-3-10 west) + (NEXT cell-3-10 cell-2-10 west) + (NEXT cell-2-10 cell-1-10 west) + (NEXT cell-22-11 cell-21-11 west) + (NEXT cell-21-11 cell-20-11 west) + (NEXT cell-20-11 cell-19-11 west) + (NEXT cell-19-11 cell-18-11 west) + (NEXT cell-18-11 cell-17-11 west) + (NEXT cell-17-11 cell-16-11 west) + (NEXT cell-16-11 cell-15-11 west) + (NEXT cell-15-11 cell-14-11 west) + (NEXT cell-14-11 cell-13-11 west) + (NEXT cell-13-11 cell-12-11 west) + (NEXT cell-12-11 cell-11-11 west) + (NEXT cell-11-11 cell-10-11 west) + (NEXT cell-10-11 cell-9-11 west) + (NEXT cell-9-11 cell-8-11 west) + (NEXT cell-8-11 cell-7-11 west) + (NEXT cell-7-11 cell-6-11 west) + (NEXT cell-6-11 cell-5-11 west) + (NEXT cell-5-11 cell-4-11 west) + (NEXT cell-4-11 cell-3-11 west) + (NEXT cell-3-11 cell-2-11 west) + (NEXT cell-2-11 cell-1-11 west) + (NEXT cell-22-12 cell-21-12 west) + (NEXT cell-21-12 cell-20-12 west) + (NEXT cell-20-12 cell-19-12 west) + (NEXT cell-19-12 cell-18-12 west) + (NEXT cell-18-12 cell-17-12 west) + (NEXT cell-17-12 cell-16-12 west) + (NEXT cell-16-12 cell-15-12 west) + (NEXT cell-15-12 cell-14-12 west) + (NEXT cell-14-12 cell-13-12 west) + (NEXT cell-13-12 cell-12-12 west) + (NEXT cell-12-12 cell-11-12 west) + (NEXT cell-11-12 cell-10-12 west) + (NEXT cell-10-12 cell-9-12 west) + (NEXT cell-9-12 cell-8-12 west) + (NEXT cell-8-12 cell-7-12 west) + (NEXT cell-7-12 cell-6-12 west) + (NEXT cell-6-12 cell-5-12 west) + (NEXT cell-5-12 cell-4-12 west) + (NEXT cell-4-12 cell-3-12 west) + (NEXT cell-3-12 cell-2-12 west) + (NEXT cell-2-12 cell-1-12 west) + (NEXT cell-22-13 cell-21-13 west) + (NEXT cell-21-13 cell-20-13 west) + (NEXT cell-20-13 cell-19-13 west) + (NEXT cell-19-13 cell-18-13 west) + (NEXT cell-18-13 cell-17-13 west) + (NEXT cell-17-13 cell-16-13 west) + (NEXT cell-16-13 cell-15-13 west) + (NEXT cell-15-13 cell-14-13 west) + (NEXT cell-14-13 cell-13-13 west) + (NEXT cell-13-13 cell-12-13 west) + (NEXT cell-12-13 cell-11-13 west) + (NEXT cell-11-13 cell-10-13 west) + (NEXT cell-10-13 cell-9-13 west) + (NEXT cell-9-13 cell-8-13 west) + (NEXT cell-8-13 cell-7-13 west) + (NEXT cell-7-13 cell-6-13 west) + (NEXT cell-6-13 cell-5-13 west) + (NEXT cell-5-13 cell-4-13 west) + (NEXT cell-4-13 cell-3-13 west) + (NEXT cell-3-13 cell-2-13 west) + (NEXT cell-2-13 cell-1-13 west) + (NEXT cell-22-14 cell-21-14 west) + (NEXT cell-21-14 cell-20-14 west) + (NEXT cell-20-14 cell-19-14 west) + (NEXT cell-19-14 cell-18-14 west) + (NEXT cell-18-14 cell-17-14 west) + (NEXT cell-17-14 cell-16-14 west) + (NEXT cell-16-14 cell-15-14 west) + (NEXT cell-15-14 cell-14-14 west) + (NEXT cell-14-14 cell-13-14 west) + (NEXT cell-13-14 cell-12-14 west) + (NEXT cell-12-14 cell-11-14 west) + (NEXT cell-11-14 cell-10-14 west) + (NEXT cell-10-14 cell-9-14 west) + (NEXT cell-9-14 cell-8-14 west) + (NEXT cell-8-14 cell-7-14 west) + (NEXT cell-7-14 cell-6-14 west) + (NEXT cell-6-14 cell-5-14 west) + (NEXT cell-5-14 cell-4-14 west) + (NEXT cell-4-14 cell-3-14 west) + (NEXT cell-3-14 cell-2-14 west) + (NEXT cell-2-14 cell-1-14 west) + (NEXT cell-22-15 cell-21-15 west) + (NEXT cell-21-15 cell-20-15 west) + (NEXT cell-20-15 cell-19-15 west) + (NEXT cell-19-15 cell-18-15 west) + (NEXT cell-18-15 cell-17-15 west) + (NEXT cell-17-15 cell-16-15 west) + (NEXT cell-16-15 cell-15-15 west) + (NEXT cell-15-15 cell-14-15 west) + (NEXT cell-14-15 cell-13-15 west) + (NEXT cell-13-15 cell-12-15 west) + (NEXT cell-12-15 cell-11-15 west) + (NEXT cell-11-15 cell-10-15 west) + (NEXT cell-10-15 cell-9-15 west) + (NEXT cell-9-15 cell-8-15 west) + (NEXT cell-8-15 cell-7-15 west) + (NEXT cell-7-15 cell-6-15 west) + (NEXT cell-6-15 cell-5-15 west) + (NEXT cell-5-15 cell-4-15 west) + (NEXT cell-4-15 cell-3-15 west) + (NEXT cell-3-15 cell-2-15 west) + (NEXT cell-2-15 cell-1-15 west) + (NEXT cell-22-16 cell-21-16 west) + (NEXT cell-21-16 cell-20-16 west) + (NEXT cell-20-16 cell-19-16 west) + (NEXT cell-19-16 cell-18-16 west) + (NEXT cell-18-16 cell-17-16 west) + (NEXT cell-17-16 cell-16-16 west) + (NEXT cell-16-16 cell-15-16 west) + (NEXT cell-15-16 cell-14-16 west) + (NEXT cell-14-16 cell-13-16 west) + (NEXT cell-13-16 cell-12-16 west) + (NEXT cell-12-16 cell-11-16 west) + (NEXT cell-11-16 cell-10-16 west) + (NEXT cell-10-16 cell-9-16 west) + (NEXT cell-9-16 cell-8-16 west) + (NEXT cell-8-16 cell-7-16 west) + (NEXT cell-7-16 cell-6-16 west) + (NEXT cell-6-16 cell-5-16 west) + (NEXT cell-5-16 cell-4-16 west) + (NEXT cell-4-16 cell-3-16 west) + (NEXT cell-3-16 cell-2-16 west) + (NEXT cell-2-16 cell-1-16 west) + (NEXT cell-22-17 cell-21-17 west) + (NEXT cell-21-17 cell-20-17 west) + (NEXT cell-20-17 cell-19-17 west) + (NEXT cell-19-17 cell-18-17 west) + (NEXT cell-18-17 cell-17-17 west) + (NEXT cell-17-17 cell-16-17 west) + (NEXT cell-16-17 cell-15-17 west) + (NEXT cell-15-17 cell-14-17 west) + (NEXT cell-14-17 cell-13-17 west) + (NEXT cell-13-17 cell-12-17 west) + (NEXT cell-12-17 cell-11-17 west) + (NEXT cell-11-17 cell-10-17 west) + (NEXT cell-10-17 cell-9-17 west) + (NEXT cell-9-17 cell-8-17 west) + (NEXT cell-8-17 cell-7-17 west) + (NEXT cell-7-17 cell-6-17 west) + (NEXT cell-6-17 cell-5-17 west) + (NEXT cell-5-17 cell-4-17 west) + (NEXT cell-4-17 cell-3-17 west) + (NEXT cell-3-17 cell-2-17 west) + (NEXT cell-2-17 cell-1-17 west) + (NEXT cell-22-18 cell-21-18 west) + (NEXT cell-21-18 cell-20-18 west) + (NEXT cell-20-18 cell-19-18 west) + (NEXT cell-19-18 cell-18-18 west) + (NEXT cell-18-18 cell-17-18 west) + (NEXT cell-17-18 cell-16-18 west) + (NEXT cell-16-18 cell-15-18 west) + (NEXT cell-15-18 cell-14-18 west) + (NEXT cell-14-18 cell-13-18 west) + (NEXT cell-13-18 cell-12-18 west) + (NEXT cell-12-18 cell-11-18 west) + (NEXT cell-11-18 cell-10-18 west) + (NEXT cell-10-18 cell-9-18 west) + (NEXT cell-9-18 cell-8-18 west) + (NEXT cell-8-18 cell-7-18 west) + (NEXT cell-7-18 cell-6-18 west) + (NEXT cell-6-18 cell-5-18 west) + (NEXT cell-5-18 cell-4-18 west) + (NEXT cell-4-18 cell-3-18 west) + (NEXT cell-3-18 cell-2-18 west) + (NEXT cell-2-18 cell-1-18 west) + (NEXT cell-22-19 cell-21-19 west) + (NEXT cell-21-19 cell-20-19 west) + (NEXT cell-20-19 cell-19-19 west) + (NEXT cell-19-19 cell-18-19 west) + (NEXT cell-18-19 cell-17-19 west) + (NEXT cell-17-19 cell-16-19 west) + (NEXT cell-16-19 cell-15-19 west) + (NEXT cell-15-19 cell-14-19 west) + (NEXT cell-14-19 cell-13-19 west) + (NEXT cell-13-19 cell-12-19 west) + (NEXT cell-12-19 cell-11-19 west) + (NEXT cell-11-19 cell-10-19 west) + (NEXT cell-10-19 cell-9-19 west) + (NEXT cell-9-19 cell-8-19 west) + (NEXT cell-8-19 cell-7-19 west) + (NEXT cell-7-19 cell-6-19 west) + (NEXT cell-6-19 cell-5-19 west) + (NEXT cell-5-19 cell-4-19 west) + (NEXT cell-4-19 cell-3-19 west) + (NEXT cell-3-19 cell-2-19 west) + (NEXT cell-2-19 cell-1-19 west) + (NEXT cell-22-20 cell-21-20 west) + (NEXT cell-21-20 cell-20-20 west) + (NEXT cell-20-20 cell-19-20 west) + (NEXT cell-19-20 cell-18-20 west) + (NEXT cell-18-20 cell-17-20 west) + (NEXT cell-17-20 cell-16-20 west) + (NEXT cell-16-20 cell-15-20 west) + (NEXT cell-15-20 cell-14-20 west) + (NEXT cell-14-20 cell-13-20 west) + (NEXT cell-13-20 cell-12-20 west) + (NEXT cell-12-20 cell-11-20 west) + (NEXT cell-11-20 cell-10-20 west) + (NEXT cell-10-20 cell-9-20 west) + (NEXT cell-9-20 cell-8-20 west) + (NEXT cell-8-20 cell-7-20 west) + (NEXT cell-7-20 cell-6-20 west) + (NEXT cell-6-20 cell-5-20 west) + (NEXT cell-5-20 cell-4-20 west) + (NEXT cell-4-20 cell-3-20 west) + (NEXT cell-3-20 cell-2-20 west) + (NEXT cell-2-20 cell-1-20 west) + (NEXT cell-22-21 cell-21-21 west) + (NEXT cell-21-21 cell-20-21 west) + (NEXT cell-20-21 cell-19-21 west) + (NEXT cell-19-21 cell-18-21 west) + (NEXT cell-18-21 cell-17-21 west) + (NEXT cell-17-21 cell-16-21 west) + (NEXT cell-16-21 cell-15-21 west) + (NEXT cell-15-21 cell-14-21 west) + (NEXT cell-14-21 cell-13-21 west) + (NEXT cell-13-21 cell-12-21 west) + (NEXT cell-12-21 cell-11-21 west) + (NEXT cell-11-21 cell-10-21 west) + (NEXT cell-10-21 cell-9-21 west) + (NEXT cell-9-21 cell-8-21 west) + (NEXT cell-8-21 cell-7-21 west) + (NEXT cell-7-21 cell-6-21 west) + (NEXT cell-6-21 cell-5-21 west) + (NEXT cell-5-21 cell-4-21 west) + (NEXT cell-4-21 cell-3-21 west) + (NEXT cell-3-21 cell-2-21 west) + (NEXT cell-2-21 cell-1-21 west) + (NEXT cell-22-22 cell-21-22 west) + (NEXT cell-21-22 cell-20-22 west) + (NEXT cell-20-22 cell-19-22 west) + (NEXT cell-19-22 cell-18-22 west) + (NEXT cell-18-22 cell-17-22 west) + (NEXT cell-17-22 cell-16-22 west) + (NEXT cell-16-22 cell-15-22 west) + (NEXT cell-15-22 cell-14-22 west) + (NEXT cell-14-22 cell-13-22 west) + (NEXT cell-13-22 cell-12-22 west) + (NEXT cell-12-22 cell-11-22 west) + (NEXT cell-11-22 cell-10-22 west) + (NEXT cell-10-22 cell-9-22 west) + (NEXT cell-9-22 cell-8-22 west) + (NEXT cell-8-22 cell-7-22 west) + (NEXT cell-7-22 cell-6-22 west) + (NEXT cell-6-22 cell-5-22 west) + (NEXT cell-5-22 cell-4-22 west) + (NEXT cell-4-22 cell-3-22 west) + (NEXT cell-3-22 cell-2-22 west) + (NEXT cell-2-22 cell-1-22 west) + + (BLOCKED cell-1-1 north) + (BLOCKED cell-1-22 south) + (BLOCKED cell-2-1 north) + (BLOCKED cell-2-22 south) + (BLOCKED cell-3-1 north) + (BLOCKED cell-3-22 south) + (BLOCKED cell-4-1 north) + (BLOCKED cell-4-22 south) + (BLOCKED cell-5-1 north) + (BLOCKED cell-5-22 south) + (BLOCKED cell-6-1 north) + (BLOCKED cell-6-22 south) + (BLOCKED cell-7-1 north) + (BLOCKED cell-7-22 south) + (BLOCKED cell-8-1 north) + (BLOCKED cell-8-22 south) + (BLOCKED cell-9-1 north) + (BLOCKED cell-9-22 south) + (BLOCKED cell-10-1 north) + (BLOCKED cell-10-22 south) + (BLOCKED cell-11-1 north) + (BLOCKED cell-11-22 south) + (BLOCKED cell-12-1 north) + (BLOCKED cell-12-22 south) + (BLOCKED cell-13-1 north) + (BLOCKED cell-13-22 south) + (BLOCKED cell-14-1 north) + (BLOCKED cell-14-22 south) + (BLOCKED cell-15-1 north) + (BLOCKED cell-15-22 south) + (BLOCKED cell-16-1 north) + (BLOCKED cell-16-22 south) + (BLOCKED cell-17-1 north) + (BLOCKED cell-17-22 south) + (BLOCKED cell-18-1 north) + (BLOCKED cell-18-22 south) + (BLOCKED cell-19-1 north) + (BLOCKED cell-19-22 south) + (BLOCKED cell-20-1 north) + (BLOCKED cell-20-22 south) + (BLOCKED cell-21-1 north) + (BLOCKED cell-21-22 south) + (BLOCKED cell-22-1 north) + (BLOCKED cell-22-22 south) + (BLOCKED cell-1-1 west) + (BLOCKED cell-22-1 east) + (BLOCKED cell-1-2 west) + (BLOCKED cell-22-2 east) + (BLOCKED cell-1-3 west) + (BLOCKED cell-22-3 east) + (BLOCKED cell-1-4 west) + (BLOCKED cell-22-4 east) + (BLOCKED cell-1-5 west) + (BLOCKED cell-22-5 east) + (BLOCKED cell-1-6 west) + (BLOCKED cell-22-6 east) + (BLOCKED cell-1-7 west) + (BLOCKED cell-22-7 east) + (BLOCKED cell-1-8 west) + (BLOCKED cell-22-8 east) + (BLOCKED cell-1-9 west) + (BLOCKED cell-22-9 east) + (BLOCKED cell-1-10 west) + (BLOCKED cell-22-10 east) + (BLOCKED cell-1-11 west) + (BLOCKED cell-22-11 east) + (BLOCKED cell-1-12 west) + (BLOCKED cell-22-12 east) + (BLOCKED cell-1-13 west) + (BLOCKED cell-22-13 east) + (BLOCKED cell-1-14 west) + (BLOCKED cell-22-14 east) + (BLOCKED cell-1-15 west) + (BLOCKED cell-22-15 east) + (BLOCKED cell-1-16 west) + (BLOCKED cell-22-16 east) + (BLOCKED cell-1-17 west) + (BLOCKED cell-22-17 east) + (BLOCKED cell-1-18 west) + (BLOCKED cell-22-18 east) + (BLOCKED cell-1-19 west) + (BLOCKED cell-22-19 east) + (BLOCKED cell-1-20 west) + (BLOCKED cell-22-20 east) + (BLOCKED cell-1-21 west) + (BLOCKED cell-22-21 east) + (BLOCKED cell-1-22 west) + (BLOCKED cell-22-22 east) + (BLOCKED cell-17-10 north) + (BLOCKED cell-17-9 south) + (BLOCKED cell-10-10 north) + (BLOCKED cell-10-9 south) + (BLOCKED cell-2-13 west) + (BLOCKED cell-1-13 east) + (BLOCKED cell-14-8 west) + (BLOCKED cell-13-8 east) + (BLOCKED cell-18-19 west) + (BLOCKED cell-17-19 east) + (BLOCKED cell-5-11 south) + (BLOCKED cell-5-12 north) + (BLOCKED cell-3-20 east) + (BLOCKED cell-4-20 west) + (BLOCKED cell-10-17 north) + (BLOCKED cell-10-16 south) + (BLOCKED cell-9-16 south) + (BLOCKED cell-9-17 north) + (BLOCKED cell-21-13 north) + (BLOCKED cell-21-12 south) + (BLOCKED cell-14-5 north) + (BLOCKED cell-14-4 south) + (BLOCKED cell-11-8 west) + (BLOCKED cell-10-8 east) + (BLOCKED cell-20-18 east) + (BLOCKED cell-21-18 west) + (BLOCKED cell-13-18 east) + (BLOCKED cell-14-18 west) + (BLOCKED cell-19-14 west) + (BLOCKED cell-18-14 east) + (BLOCKED cell-15-13 east) + (BLOCKED cell-16-13 west) + (BLOCKED cell-16-2 west) + (BLOCKED cell-15-2 east) + (BLOCKED cell-16-14 north) + (BLOCKED cell-16-13 south) + (BLOCKED cell-6-11 north) + (BLOCKED cell-6-10 south) + (BLOCKED cell-7-13 south) + (BLOCKED cell-7-14 north) + (BLOCKED cell-9-22 north) + (BLOCKED cell-9-21 south) + (BLOCKED cell-13-15 north) + (BLOCKED cell-13-14 south) + (BLOCKED cell-4-6 north) + (BLOCKED cell-4-5 south) + (BLOCKED cell-18-21 west) + (BLOCKED cell-17-21 east) + (BLOCKED cell-6-5 south) + (BLOCKED cell-6-6 north) + (BLOCKED cell-2-10 east) + (BLOCKED cell-3-10 west) + (BLOCKED cell-17-3 north) + (BLOCKED cell-17-2 south) + (BLOCKED cell-15-2 south) + (BLOCKED cell-15-3 north) + (BLOCKED cell-6-2 east) + (BLOCKED cell-7-2 west) + (BLOCKED cell-2-16 north) + (BLOCKED cell-2-15 south) + (BLOCKED cell-18-14 west) + (BLOCKED cell-17-14 east) + (BLOCKED cell-5-12 south) + (BLOCKED cell-5-13 north) + (BLOCKED cell-15-1 south) + (BLOCKED cell-15-2 north) + (BLOCKED cell-13-13 east) + (BLOCKED cell-14-13 west) + (BLOCKED cell-11-3 north) + (BLOCKED cell-11-2 south) + (BLOCKED cell-20-10 south) + (BLOCKED cell-20-11 north) + (BLOCKED cell-4-9 south) + (BLOCKED cell-4-10 north) + (BLOCKED cell-3-15 east) + (BLOCKED cell-4-15 west) + (BLOCKED cell-6-16 south) + (BLOCKED cell-6-17 north) + (BLOCKED cell-10-17 south) + (BLOCKED cell-10-18 north) + (BLOCKED cell-11-8 south) + (BLOCKED cell-11-9 north) + (BLOCKED cell-6-4 west) + (BLOCKED cell-5-4 east) + (BLOCKED cell-11-21 north) + (BLOCKED cell-11-20 south) + (BLOCKED cell-4-16 east) + (BLOCKED cell-5-16 west) + (BLOCKED cell-12-3 north) + (BLOCKED cell-12-2 south) + (BLOCKED cell-10-6 south) + (BLOCKED cell-10-7 north) + (BLOCKED cell-19-22 north) + (BLOCKED cell-19-21 south) + (BLOCKED cell-6-17 east) + (BLOCKED cell-7-17 west) + (BLOCKED cell-4-14 north) + (BLOCKED cell-4-13 south) + (BLOCKED cell-22-4 north) + (BLOCKED cell-22-3 south) + (BLOCKED cell-10-5 north) + (BLOCKED cell-10-4 south) + (BLOCKED cell-3-2 east) + (BLOCKED cell-4-2 west) + (BLOCKED cell-5-12 west) + (BLOCKED cell-4-12 east) + (BLOCKED cell-20-10 north) + (BLOCKED cell-20-9 south) + (BLOCKED cell-16-20 east) + (BLOCKED cell-17-20 west) + + (free cell-1-1) + (free cell-1-2) + (free cell-1-3) + (free cell-1-4) + (free cell-1-5) + (free cell-1-6) + (free cell-1-7) + (free cell-1-8) + (free cell-1-9) + (free cell-1-10) + (free cell-1-11) + (free cell-1-12) + (free cell-1-13) + (free cell-1-14) + (free cell-1-15) + (free cell-1-16) + (free cell-1-17) + (free cell-1-18) + (free cell-1-19) + (free cell-1-20) + (free cell-1-21) + (free cell-1-22) + (free cell-2-1) + (free cell-2-2) + (free cell-2-3) + (free cell-2-4) + (free cell-2-5) + (free cell-2-6) + (free cell-2-7) + (free cell-2-8) + (free cell-2-9) + (free cell-2-10) + (free cell-2-11) + (free cell-2-13) + (free cell-2-14) + (free cell-2-15) + (free cell-2-16) + (free cell-2-17) + (free cell-2-18) + (free cell-2-19) + (free cell-2-20) + (free cell-2-21) + (free cell-2-22) + (free cell-3-1) + (free cell-3-2) + (free cell-3-3) + (free cell-3-4) + (free cell-3-5) + (free cell-3-6) + (free cell-3-7) + (free cell-3-8) + (free cell-3-9) + (free cell-3-10) + (free cell-3-11) + (free cell-3-12) + (free cell-3-13) + (free cell-3-14) + (free cell-3-15) + (free cell-3-16) + (free cell-3-17) + (free cell-3-18) + (free cell-3-19) + (free cell-3-20) + (free cell-3-21) + (free cell-3-22) + (free cell-4-1) + (free cell-4-2) + (free cell-4-3) + (free cell-4-4) + (free cell-4-5) + (free cell-4-6) + (free cell-4-7) + (free cell-4-8) + (free cell-4-9) + (free cell-4-10) + (free cell-4-11) + (free cell-4-12) + (free cell-4-13) + (free cell-4-14) + (free cell-4-15) + (free cell-4-16) + (free cell-4-17) + (free cell-4-18) + (free cell-4-19) + (free cell-4-20) + (free cell-4-21) + (free cell-4-22) + (free cell-5-1) + (free cell-5-2) + (free cell-5-3) + (free cell-5-4) + (free cell-5-5) + (free cell-5-7) + (free cell-5-8) + (free cell-5-9) + (free cell-5-10) + (free cell-5-11) + (free cell-5-12) + (free cell-5-13) + (free cell-5-14) + (free cell-5-15) + (free cell-5-16) + (free cell-5-17) + (free cell-5-18) + (free cell-5-19) + (free cell-5-20) + (free cell-5-21) + (free cell-5-22) + (free cell-6-1) + (free cell-6-2) + (free cell-6-4) + (free cell-6-5) + (free cell-6-6) + (free cell-6-7) + (free cell-6-8) + (free cell-6-9) + (free cell-6-10) + (free cell-6-11) + (free cell-6-12) + (free cell-6-13) + (free cell-6-14) + (free cell-6-15) + (free cell-6-16) + (free cell-6-17) + (free cell-6-18) + (free cell-6-19) + (free cell-6-20) + (free cell-6-21) + (free cell-6-22) + (free cell-7-1) + (free cell-7-2) + (free cell-7-3) + (free cell-7-4) + (free cell-7-5) + (free cell-7-6) + (free cell-7-7) + (free cell-7-8) + (free cell-7-9) + (free cell-7-10) + (free cell-7-11) + (free cell-7-12) + (free cell-7-13) + (free cell-7-14) + (free cell-7-15) + (free cell-7-16) + (free cell-7-17) + (free cell-7-18) + (free cell-7-19) + (free cell-7-20) + (free cell-7-21) + (free cell-7-22) + (free cell-8-1) + (free cell-8-2) + (free cell-8-3) + (free cell-8-4) + (free cell-8-5) + (free cell-8-6) + (free cell-8-7) + (free cell-8-8) + (free cell-8-9) + (free cell-8-10) + (free cell-8-11) + (free cell-8-12) + (free cell-8-13) + (free cell-8-14) + (free cell-8-15) + (free cell-8-16) + (free cell-8-17) + (free cell-8-18) + (free cell-8-19) + (free cell-8-20) + (free cell-8-21) + (free cell-8-22) + (free cell-9-1) + (free cell-9-2) + (free cell-9-3) + (free cell-9-4) + (free cell-9-5) + (free cell-9-6) + (free cell-9-7) + (free cell-9-8) + (free cell-9-9) + (free cell-9-10) + (free cell-9-11) + (free cell-9-12) + (free cell-9-13) + (free cell-9-14) + (free cell-9-15) + (free cell-9-16) + (free cell-9-17) + (free cell-9-18) + (free cell-9-19) + (free cell-9-20) + (free cell-9-21) + (free cell-9-22) + (free cell-10-1) + (free cell-10-2) + (free cell-10-3) + (free cell-10-4) + (free cell-10-5) + (free cell-10-6) + (free cell-10-7) + (free cell-10-8) + (free cell-10-9) + (free cell-10-10) + (free cell-10-11) + (free cell-10-12) + (free cell-10-13) + (free cell-10-14) + (free cell-10-15) + (free cell-10-16) + (free cell-10-17) + (free cell-10-18) + (free cell-10-19) + (free cell-10-20) + (free cell-10-21) + (free cell-10-22) + (free cell-11-1) + (free cell-11-2) + (free cell-11-3) + (free cell-11-4) + (free cell-11-5) + (free cell-11-6) + (free cell-11-7) + (free cell-11-8) + (free cell-11-9) + (free cell-11-10) + (free cell-11-11) + (free cell-11-12) + (free cell-11-13) + (free cell-11-14) + (free cell-11-15) + (free cell-11-16) + (free cell-11-17) + (free cell-11-18) + (free cell-11-19) + (free cell-11-20) + (free cell-11-21) + (free cell-11-22) + (free cell-12-1) + (free cell-12-2) + (free cell-12-3) + (free cell-12-4) + (free cell-12-5) + (free cell-12-6) + (free cell-12-7) + (free cell-12-8) + (free cell-12-9) + (free cell-12-10) + (free cell-12-11) + (free cell-12-12) + (free cell-12-13) + (free cell-12-14) + (free cell-12-15) + (free cell-12-16) + (free cell-12-17) + (free cell-12-18) + (free cell-12-19) + (free cell-12-20) + (free cell-12-21) + (free cell-12-22) + (free cell-13-1) + (free cell-13-2) + (free cell-13-3) + (free cell-13-4) + (free cell-13-5) + (free cell-13-6) + (free cell-13-7) + (free cell-13-8) + (free cell-13-9) + (free cell-13-10) + (free cell-13-11) + (free cell-13-12) + (free cell-13-13) + (free cell-13-14) + (free cell-13-15) + (free cell-13-16) + (free cell-13-17) + (free cell-13-18) + (free cell-13-19) + (free cell-13-21) + (free cell-13-22) + (free cell-14-1) + (free cell-14-2) + (free cell-14-3) + (free cell-14-4) + (free cell-14-5) + (free cell-14-6) + (free cell-14-7) + (free cell-14-8) + (free cell-14-9) + (free cell-14-10) + (free cell-14-11) + (free cell-14-12) + (free cell-14-13) + (free cell-14-14) + (free cell-14-15) + (free cell-14-16) + (free cell-14-17) + (free cell-14-18) + (free cell-14-19) + (free cell-14-20) + (free cell-14-21) + (free cell-14-22) + (free cell-15-1) + (free cell-15-2) + (free cell-15-3) + (free cell-15-4) + (free cell-15-5) + (free cell-15-6) + (free cell-15-7) + (free cell-15-8) + (free cell-15-9) + (free cell-15-10) + (free cell-15-11) + (free cell-15-12) + (free cell-15-13) + (free cell-15-14) + (free cell-15-15) + (free cell-15-16) + (free cell-15-17) + (free cell-15-18) + (free cell-15-19) + (free cell-15-20) + (free cell-15-21) + (free cell-15-22) + (free cell-16-1) + (free cell-16-2) + (free cell-16-3) + (free cell-16-4) + (free cell-16-5) + (free cell-16-6) + (free cell-16-7) + (free cell-16-8) + (free cell-16-9) + (free cell-16-10) + (free cell-16-11) + (free cell-16-12) + (free cell-16-13) + (free cell-16-14) + (free cell-16-15) + (free cell-16-16) + (free cell-16-17) + (free cell-16-18) + (free cell-16-19) + (free cell-16-20) + (free cell-16-21) + (free cell-16-22) + (free cell-17-1) + (free cell-17-2) + (free cell-17-3) + (free cell-17-4) + (free cell-17-5) + (free cell-17-6) + (free cell-17-7) + (free cell-17-8) + (free cell-17-9) + (free cell-17-10) + (free cell-17-11) + (free cell-17-12) + (free cell-17-13) + (free cell-17-14) + (free cell-17-15) + (free cell-17-16) + (free cell-17-17) + (free cell-17-18) + (free cell-17-19) + (free cell-17-20) + (free cell-17-21) + (free cell-17-22) + (free cell-18-1) + (free cell-18-2) + (free cell-18-3) + (free cell-18-4) + (free cell-18-5) + (free cell-18-6) + (free cell-18-7) + (free cell-18-8) + (free cell-18-9) + (free cell-18-10) + (free cell-18-11) + (free cell-18-12) + (free cell-18-13) + (free cell-18-14) + (free cell-18-15) + (free cell-18-16) + (free cell-18-17) + (free cell-18-18) + (free cell-18-19) + (free cell-18-20) + (free cell-18-21) + (free cell-18-22) + (free cell-19-1) + (free cell-19-2) + (free cell-19-3) + (free cell-19-4) + (free cell-19-5) + (free cell-19-6) + (free cell-19-7) + (free cell-19-8) + (free cell-19-9) + (free cell-19-10) + (free cell-19-11) + (free cell-19-12) + (free cell-19-13) + (free cell-19-14) + (free cell-19-15) + (free cell-19-16) + (free cell-19-17) + (free cell-19-18) + (free cell-19-19) + (free cell-19-20) + (free cell-19-21) + (free cell-19-22) + (free cell-20-1) + (free cell-20-2) + (free cell-20-3) + (free cell-20-4) + (free cell-20-5) + (free cell-20-6) + (free cell-20-7) + (free cell-20-8) + (free cell-20-9) + (free cell-20-10) + (free cell-20-11) + (free cell-20-12) + (free cell-20-13) + (free cell-20-14) + (free cell-20-15) + (free cell-20-16) + (free cell-20-17) + (free cell-20-18) + (free cell-20-19) + (free cell-20-20) + (free cell-20-21) + (free cell-20-22) + (free cell-21-1) + (free cell-21-2) + (free cell-21-3) + (free cell-21-4) + (free cell-21-5) + (free cell-21-6) + (free cell-21-7) + (free cell-21-8) + (free cell-21-9) + (free cell-21-10) + (free cell-21-11) + (free cell-21-12) + (free cell-21-13) + (free cell-21-14) + (free cell-21-15) + (free cell-21-16) + (free cell-21-17) + (free cell-21-18) + (free cell-21-19) + (free cell-21-20) + (free cell-21-21) + (free cell-21-22) + (free cell-22-1) + (free cell-22-2) + (free cell-22-3) + (free cell-22-4) + (free cell-22-5) + (free cell-22-6) + (free cell-22-7) + (free cell-22-8) + (free cell-22-9) + (free cell-22-10) + (free cell-22-11) + (free cell-22-12) + (free cell-22-13) + (free cell-22-14) + (free cell-22-15) + (free cell-22-16) + (free cell-22-17) + (free cell-22-18) + (free cell-22-19) + (free cell-22-20) + (free cell-22-21) + (free cell-22-22) + + (at robot-1 cell-2-12) ;; red + (at robot-2 cell-13-20) ;; blue + (at robot-3 cell-5-6) ;; green + (at robot-4 cell-6-3) ;; yellow + + (nothing-is-moving) + + (= (total-cost) 0) + (= (go-cost) 1) + (= (step-cost) 0) + (= (stop-cost) 0) +) +(:goal + (and + (at robot-2 cell-14-7) + (nothing-is-moving) + ) +) +(:metric minimize (total-cost)) +) + diff --git a/rubiks-cube-opt23-adl/domain.pddl b/rubiks-cube-opt23-adl/domain.pddl new file mode 100644 index 00000000..3ededa65 --- /dev/null +++ b/rubiks-cube-opt23-adl/domain.pddl @@ -0,0 +1,242 @@ +;; 12-action variant +(define + (domain rubiks-cube) + (:requirements :adl) + (:predicates + (cube1 ?x ?y ?z) + (cube2 ?x ?y ?z) + (cube3 ?x ?y ?z) + (cube4 ?x ?y ?z) + (cube5 ?x ?y ?z) + (cube6 ?x ?y ?z) + (cube7 ?x ?y ?z) + (cube8 ?x ?y ?z) + (edge12 ?y ?z) + (edge13 ?x ?z) + (edge15 ?x ?y) + (edge26 ?x ?y) + (edge24 ?x ?z) + (edge48 ?x ?y) + (edge34 ?y ?z) + (edge37 ?x ?y) + (edge56 ?y ?z) + (edge57 ?x ?z) + (edge68 ?x ?z) + (edge78 ?y ?z) + ) + + (:action R + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube7 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube8 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube6 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube5 ?y ?x ?z)))) + + (forall (?x ?z) (when (edge57 ?x ?z) (and (not (edge57 ?x ?z)) (edge78 ?x ?z)))) + (forall (?y ?z) (when (edge78 ?y ?z) (and (not (edge78 ?y ?z)) (edge68 ?y ?z)))) + (forall (?x ?z) (when (edge68 ?x ?z) (and (not (edge68 ?x ?z)) (edge56 ?x ?z)))) + (forall (?y ?z) (when (edge56 ?y ?z) (and (not (edge56 ?y ?z)) (edge57 ?y ?z)))) + + ) + ) + + (:action Rrev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube6 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube8 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube7 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube5 ?y ?x ?z)))) + + (forall (?x ?z) (when (edge57 ?x ?z) (and (not (edge57 ?x ?z)) (edge56 ?x ?z)))) + (forall (?y ?z) (when (edge78 ?y ?z) (and (not (edge78 ?y ?z)) (edge57 ?y ?z)))) + (forall (?x ?z) (when (edge68 ?x ?z) (and (not (edge68 ?x ?z)) (edge78 ?x ?z)))) + (forall (?y ?z) (when (edge56 ?y ?z) (and (not (edge56 ?y ?z)) (edge68 ?y ?z)))) + + ) + ) + + (:action L + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) + (and (not (cube1 ?x ?y ?z)) (cube2 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) + (and (not (cube3 ?x ?y ?z)) (cube1 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) + (and (not (cube4 ?x ?y ?z)) (cube3 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) + (and (not (cube2 ?x ?y ?z)) (cube4 ?y ?x ?z)))) + + (forall (?x ?z) (when (edge13 ?x ?z) + (and (not (edge13 ?x ?z)) (edge12 ?x ?z)))) + (forall (?y ?z) (when (edge34 ?y ?z) + (and (not (edge34 ?y ?z)) (edge13 ?y ?z)))) + (forall (?x ?z) (when (edge24 ?x ?z) + (and (not (edge24 ?x ?z)) (edge34 ?x ?z)))) + (forall (?y ?z) (when (edge12 ?y ?z) + (and (not (edge12 ?y ?z)) (edge24 ?y ?z)))) + + ) + ) + + (:action Lrev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube3 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube4 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube2 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube1 ?y ?x ?z)))) + + (forall (?x ?z) (when (edge13 ?x ?z) (and (not (edge13 ?x ?z)) (edge34 ?x ?z)))) + (forall (?y ?z) (when (edge34 ?y ?z) (and (not (edge34 ?y ?z)) (edge24 ?y ?z)))) + (forall (?x ?z) (when (edge24 ?x ?z) (and (not (edge24 ?x ?z)) (edge12 ?x ?z)))) + (forall (?y ?z) (when (edge12 ?y ?z) (and (not (edge12 ?y ?z)) (edge13 ?y ?z)))) + ) + ) + + (:action D + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube6 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube8 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube4 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube2 ?x ?z ?y)))) + + (forall (?x ?y) (when (edge26 ?x ?y) (and (not (edge26 ?x ?y)) (edge68 ?x ?y)))) + (forall (?x ?z) (when (edge68 ?x ?z) (and (not (edge68 ?x ?z)) (edge48 ?x ?z)))) + (forall (?x ?y) (when (edge48 ?x ?y) (and (not (edge48 ?x ?y)) (edge24 ?x ?y)))) + (forall (?x ?z) (when (edge24 ?x ?z) (and (not (edge24 ?x ?z)) (edge26 ?x ?z)))) + ) + ) + + (:action Drev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube4 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube8 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube6 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube2 ?x ?z ?y)))) + + (forall (?x ?y) (when (edge26 ?x ?y) (and (not (edge26 ?x ?y)) (edge24 ?x ?y)))) + (forall (?x ?z) (when (edge68 ?x ?z) (and (not (edge68 ?x ?z)) (edge26 ?x ?z)))) + (forall (?x ?y) (when (edge48 ?x ?y) (and (not (edge48 ?x ?y)) (edge68 ?x ?y)))) + (forall (?x ?z) (when (edge24 ?x ?z) (and (not (edge24 ?x ?z)) (edge48 ?x ?z)))) + ) + ) + + (:action U + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube3 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube1 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube5 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube7 ?x ?z ?y)))) + + (forall (?x ?y) (when (edge15 ?x ?y) (and (not (edge15 ?x ?y)) (edge13 ?x ?y)))) + (forall (?x ?z) (when (edge57 ?x ?z) (and (not (edge57 ?x ?z)) (edge15 ?x ?z)))) + (forall (?x ?y) (when (edge37 ?x ?y) (and (not (edge37 ?x ?y)) (edge57 ?x ?y)))) + (forall (?x ?z) (when (edge13 ?x ?z) (and (not (edge13 ?x ?z)) (edge37 ?x ?z)))) + ) + ) + + (:action Urev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube5 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube7 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube3 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube1 ?x ?z ?y)))) + + (forall (?x ?y) (when (edge15 ?x ?y) (and (not (edge15 ?x ?y)) (edge57 ?x ?y)))) + (forall (?x ?z) (when (edge57 ?x ?z) (and (not (edge57 ?x ?z)) (edge37 ?x ?z)))) + (forall (?x ?y) (when (edge37 ?x ?y) (and (not (edge37 ?x ?y)) (edge13 ?x ?y)))) + (forall (?x ?z) (when (edge13 ?x ?z) (and (not (edge13 ?x ?z)) (edge15 ?x ?z)))) + ) + ) + + (:action F + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube5 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube6 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube2 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube1 ?z ?y ?x) ))) + + (forall (?x ?y) (when (edge15 ?x ?y) (and (not (edge15 ?x ?y)) (edge56 ?y ?x)))) + (forall (?y ?z) (when (edge56 ?y ?z) (and (not (edge56 ?y ?z)) (edge26 ?z ?y)))) + (forall (?x ?y) (when (edge26 ?x ?y) (and (not (edge26 ?x ?y)) (edge12 ?y ?x)))) + (forall (?y ?z) (when (edge12 ?y ?z) (and (not (edge12 ?y ?z)) (edge15 ?z ?y)))) + ) + ) + + (:action Frev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube2 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube6 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube5 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube1 ?z ?y ?x) ))) + + (forall (?x ?y) (when (edge15 ?x ?y) (and (not (edge15 ?x ?y)) (edge12 ?y ?x)))) + (forall (?y ?z) (when (edge56 ?y ?z) (and (not (edge56 ?y ?z)) (edge15 ?z ?y)))) + (forall (?x ?y) (when (edge26 ?x ?y) (and (not (edge26 ?x ?y)) (edge56 ?y ?x)))) + (forall (?y ?z) (when (edge12 ?y ?z) (and (not (edge12 ?y ?z)) (edge26 ?z ?y)))) + ) + ) + + (:action B + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube4 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube3 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube7 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube8 ?z ?y ?x) ))) + + (forall (?x ?y) (when (edge37 ?x ?y) (and (not (edge37 ?x ?y)) (edge34 ?y ?x)))) + (forall (?y ?z) (when (edge78 ?y ?z) (and (not (edge78 ?y ?z)) (edge37 ?z ?y)))) + (forall (?x ?y) (when (edge48 ?x ?y) (and (not (edge48 ?x ?y)) (edge78 ?y ?x)))) + (forall (?y ?z) (when (edge34 ?y ?z) (and (not (edge34 ?y ?z)) (edge48 ?z ?y)))) + ) + ) + + (:action Brev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube7 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube8 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube4 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube3 ?z ?y ?x) ))) + + (forall (?x ?y) (when (edge37 ?x ?y) (and (not (edge37 ?x ?y)) (edge78 ?y ?x)))) + (forall (?y ?z) (when (edge78 ?y ?z) (and (not (edge78 ?y ?z)) (edge48 ?z ?y)))) + (forall (?x ?y) (when (edge48 ?x ?y) (and (not (edge48 ?x ?y)) (edge34 ?y ?x)))) + (forall (?y ?z) (when (edge34 ?y ?z) (and (not (edge34 ?y ?z)) (edge37 ?z ?y)))) + ) + ) +) diff --git a/rubiks-cube-opt23-adl/p01.pddl b/rubiks-cube-opt23-adl/p01.pddl new file mode 100644 index 00000000..33621ea1 --- /dev/null +++ b/rubiks-cube-opt23-adl/p01.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 4007 -o p01-4007.pddl -p p01-4007.plan 1 +(define +(problem rubiks-cube-shuffle-1) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red white blue) + (cube2 orange blue yellow) + (cube3 red yellow blue) + (cube4 orange green yellow) + (cube5 red white green) + (cube6 orange blue white) + (cube7 red yellow green) + (cube8 orange green white) + (edge12 white blue) + (edge24 orange yellow) + (edge34 yellow blue) + (edge13 red blue) + (edge15 red white) + (edge26 orange blue) + (edge48 orange green) + (edge37 red yellow) + (edge56 white green) + (edge68 orange white) + (edge78 yellow green) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p02.pddl b/rubiks-cube-opt23-adl/p02.pddl new file mode 100644 index 00000000..8131af1e --- /dev/null +++ b/rubiks-cube-opt23-adl/p02.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p02-2999.pddl -p p02-2999.plan 2 +(define +(problem rubiks-cube-shuffle-2) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 blue white orange) + (cube2 green white orange) + (cube3 red blue white) + (cube4 orange yellow blue) + (cube5 white green red) + (cube6 yellow green red) + (cube7 red blue yellow) + (cube8 orange yellow green) + (edge12 white orange) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red white) + (edge15 blue white) + (edge26 green white) + (edge48 orange yellow) + (edge37 red blue) + (edge56 green red) + (edge68 orange green) + (edge78 yellow green) + (edge57 red yellow) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p03.pddl b/rubiks-cube-opt23-adl/p03.pddl new file mode 100644 index 00000000..c2885232 --- /dev/null +++ b/rubiks-cube-opt23-adl/p03.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p03-1087.pddl -p p03-1087.plan 3 +(define +(problem rubiks-cube-shuffle-3) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 white green orange) + (cube2 yellow green orange) + (cube3 green yellow red) + (cube4 blue yellow red) + (cube5 blue white red) + (cube6 green white red) + (cube7 yellow blue orange) + (cube8 white blue orange) + (edge12 green orange) + (edge24 orange white) + (edge34 yellow red) + (edge13 red blue) + (edge15 blue white) + (edge26 green white) + (edge48 blue yellow) + (edge37 green yellow) + (edge56 white red) + (edge68 orange yellow) + (edge78 blue orange) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p04.pddl b/rubiks-cube-opt23-adl/p04.pddl new file mode 100644 index 00000000..71fb0d6c --- /dev/null +++ b/rubiks-cube-opt23-adl/p04.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p04-1129.pddl -p p04-1129.plan 4 +(define +(problem rubiks-cube-shuffle-4) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 blue orange yellow) + (cube2 white red blue) + (cube3 blue red yellow) + (cube4 green orange white) + (cube5 blue orange white) + (cube6 orange green yellow) + (cube7 red green white) + (cube8 green yellow red) + (edge12 white orange) + (edge24 green white) + (edge34 red yellow) + (edge13 white blue) + (edge15 blue orange) + (edge26 orange green) + (edge48 yellow blue) + (edge37 red green) + (edge56 blue red) + (edge68 orange yellow) + (edge78 yellow green) + (edge57 red white) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p05.pddl b/rubiks-cube-opt23-adl/p05.pddl new file mode 100644 index 00000000..1bd57188 --- /dev/null +++ b/rubiks-cube-opt23-adl/p05.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p05-2999.pddl -p p05-2999.plan 5 +(define +(problem rubiks-cube-shuffle-5) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red white blue) + (cube2 green white orange) + (cube3 red yellow blue) + (cube4 orange green yellow) + (cube5 blue orange white) + (cube6 green white red) + (cube7 red yellow green) + (cube8 blue yellow orange) + (edge12 white orange) + (edge24 orange blue) + (edge34 green yellow) + (edge13 red blue) + (edge15 red white) + (edge26 green white) + (edge48 blue yellow) + (edge37 green orange) + (edge56 red yellow) + (edge68 green red) + (edge78 yellow orange) + (edge57 blue white) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p06.pddl b/rubiks-cube-opt23-adl/p06.pddl new file mode 100644 index 00000000..ebedd180 --- /dev/null +++ b/rubiks-cube-opt23-adl/p06.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 4007 -o p06-4007.pddl -p p06-4007.plan 6 +(define +(problem rubiks-cube-shuffle-6) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 yellow green red) + (cube2 red yellow blue) + (cube3 orange green white) + (cube4 yellow blue orange) + (cube5 blue white red) + (cube6 white orange blue) + (cube7 white red green) + (cube8 green orange yellow) + (edge12 yellow blue) + (edge24 red blue) + (edge34 blue orange) + (edge13 yellow red) + (edge15 blue white) + (edge26 orange yellow) + (edge48 green orange) + (edge37 green yellow) + (edge56 white red) + (edge68 green white) + (edge78 white orange) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p07.pddl b/rubiks-cube-opt23-adl/p07.pddl new file mode 100644 index 00000000..d3e881d3 --- /dev/null +++ b/rubiks-cube-opt23-adl/p07.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p07-1087.pddl -p p07-1087.plan 7 +(define +(problem rubiks-cube-shuffle-7) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red white blue) + (cube2 white green red) + (cube3 yellow blue red) + (cube4 red yellow green) + (cube5 blue orange white) + (cube6 green yellow orange) + (cube7 yellow blue orange) + (cube8 green white orange) + (edge12 white blue) + (edge24 blue red) + (edge34 orange white) + (edge13 yellow red) + (edge15 red white) + (edge26 blue yellow) + (edge48 green white) + (edge37 green yellow) + (edge56 yellow orange) + (edge68 green orange) + (edge78 blue orange) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p08.pddl b/rubiks-cube-opt23-adl/p08.pddl new file mode 100644 index 00000000..06c4b3f3 --- /dev/null +++ b/rubiks-cube-opt23-adl/p08.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p08-1129.pddl -p p08-1129.plan 8 +(define +(problem rubiks-cube-shuffle-8) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 blue yellow red) + (cube2 orange white blue) + (cube3 red white green) + (cube4 white blue red) + (cube5 blue yellow orange) + (cube6 white green orange) + (cube7 yellow orange green) + (cube8 green yellow red) + (edge12 white orange) + (edge24 orange green) + (edge34 green yellow) + (edge13 red green) + (edge15 white blue) + (edge26 blue red) + (edge48 green white) + (edge37 yellow orange) + (edge56 red white) + (edge68 yellow red) + (edge78 blue yellow) + (edge57 blue orange) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p09.pddl b/rubiks-cube-opt23-adl/p09.pddl new file mode 100644 index 00000000..918ae138 --- /dev/null +++ b/rubiks-cube-opt23-adl/p09.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p09-2999.pddl -p p09-2999.plan 9 +(define +(problem rubiks-cube-shuffle-9) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 orange white green) + (cube2 white blue orange) + (cube3 green orange yellow) + (cube4 blue yellow red) + (cube5 yellow red green) + (cube6 white blue red) + (cube7 yellow blue orange) + (cube8 white green red) + (edge12 white green) + (edge24 yellow red) + (edge34 orange green) + (edge13 red blue) + (edge15 orange white) + (edge26 green red) + (edge48 yellow green) + (edge37 yellow blue) + (edge56 blue white) + (edge68 white red) + (edge78 blue orange) + (edge57 yellow orange) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p10.pddl b/rubiks-cube-opt23-adl/p10.pddl new file mode 100644 index 00000000..fab1ad07 --- /dev/null +++ b/rubiks-cube-opt23-adl/p10.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 4007 -o p10-4007.pddl -p p10-4007.plan 10 +(define +(problem rubiks-cube-shuffle-10) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red yellow green) + (cube2 green red white) + (cube3 blue red yellow) + (cube4 red white blue) + (cube5 orange yellow green) + (cube6 orange blue white) + (cube7 orange white green) + (cube8 yellow orange blue) + (edge12 blue white) + (edge24 yellow blue) + (edge34 orange yellow) + (edge13 blue orange) + (edge15 white orange) + (edge26 white red) + (edge48 red blue) + (edge37 yellow red) + (edge56 red green) + (edge68 green orange) + (edge78 green white) + (edge57 green yellow) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p11.pddl b/rubiks-cube-opt23-adl/p11.pddl new file mode 100644 index 00000000..3253ec9a --- /dev/null +++ b/rubiks-cube-opt23-adl/p11.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p11-1129.pddl -p p11-1129.plan 11 +(define +(problem rubiks-cube-shuffle-11) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red green white) + (cube2 white red blue) + (cube3 yellow green orange) + (cube4 green red yellow) + (cube5 orange blue yellow) + (cube6 red blue yellow) + (cube7 orange white green) + (cube8 blue orange white) + (edge12 blue white) + (edge24 green white) + (edge34 green yellow) + (edge13 yellow orange) + (edge15 red green) + (edge26 orange green) + (edge48 yellow red) + (edge37 blue orange) + (edge56 red blue) + (edge68 orange white) + (edge78 blue yellow) + (edge57 white red) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p12.pddl b/rubiks-cube-opt23-adl/p12.pddl new file mode 100644 index 00000000..b88ec0e5 --- /dev/null +++ b/rubiks-cube-opt23-adl/p12.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p12-2999.pddl -p p12-2999.plan 12 +(define +(problem rubiks-cube-shuffle-12) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 yellow red blue) + (cube2 blue orange white) + (cube3 green orange yellow) + (cube4 white red green) + (cube5 red green yellow) + (cube6 red white blue) + (cube7 white green orange) + (cube8 blue yellow orange) + (edge12 red yellow) + (edge24 yellow green) + (edge34 orange green) + (edge13 red blue) + (edge15 green white) + (edge26 white blue) + (edge48 white red) + (edge37 yellow blue) + (edge56 green red) + (edge68 blue orange) + (edge78 yellow orange) + (edge57 white orange) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p13.pddl b/rubiks-cube-opt23-adl/p13.pddl new file mode 100644 index 00000000..eeb1504f --- /dev/null +++ b/rubiks-cube-opt23-adl/p13.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p13-1087.pddl -p p13-1087.plan 13 +(define +(problem rubiks-cube-shuffle-13) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 white green orange) + (cube2 blue yellow orange) + (cube3 green red white) + (cube4 red blue yellow) + (cube5 blue white red) + (cube6 orange blue white) + (cube7 yellow green red) + (cube8 yellow green orange) + (edge12 green red) + (edge24 blue red) + (edge34 yellow red) + (edge13 yellow blue) + (edge15 blue white) + (edge26 yellow green) + (edge48 white orange) + (edge37 orange blue) + (edge56 white red) + (edge68 yellow orange) + (edge78 green orange) + (edge57 white green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p14.pddl b/rubiks-cube-opt23-adl/p14.pddl new file mode 100644 index 00000000..98dcde7c --- /dev/null +++ b/rubiks-cube-opt23-adl/p14.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p14-1129.pddl -p p14-1129.plan 14 +(define +(problem rubiks-cube-shuffle-14) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 green yellow orange) + (cube2 green red white) + (cube3 blue white red) + (cube4 yellow blue orange) + (cube5 white orange green) + (cube6 blue yellow red) + (cube7 orange blue white) + (cube8 green yellow red) + (edge12 yellow orange) + (edge24 blue white) + (edge34 orange green) + (edge13 green yellow) + (edge15 red green) + (edge26 red blue) + (edge48 green white) + (edge37 blue orange) + (edge56 white red) + (edge68 yellow red) + (edge78 orange white) + (edge57 blue yellow) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p15.pddl b/rubiks-cube-opt23-adl/p15.pddl new file mode 100644 index 00000000..5b3abdd9 --- /dev/null +++ b/rubiks-cube-opt23-adl/p15.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p15-2999.pddl -p p15-2999.plan 15 +(define +(problem rubiks-cube-shuffle-15) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 green white red) + (cube2 blue red yellow) + (cube3 yellow green orange) + (cube4 orange yellow blue) + (cube5 yellow red green) + (cube6 white orange blue) + (cube7 blue red white) + (cube8 orange green white) + (edge12 white green) + (edge24 yellow green) + (edge34 red white) + (edge13 green orange) + (edge15 red blue) + (edge26 yellow red) + (edge48 orange yellow) + (edge37 white orange) + (edge56 blue white) + (edge68 blue orange) + (edge78 blue yellow) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p16.pddl b/rubiks-cube-opt23-adl/p16.pddl new file mode 100644 index 00000000..23c67a12 --- /dev/null +++ b/rubiks-cube-opt23-adl/p16.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p16-1087.pddl -p p16-1087.plan 16 +(define +(problem rubiks-cube-shuffle-16) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red yellow green) + (cube2 yellow orange blue) + (cube3 blue red yellow) + (cube4 yellow orange green) + (cube5 white orange green) + (cube6 white red green) + (cube7 blue red white) + (cube8 orange white blue) + (edge12 orange blue) + (edge24 white orange) + (edge34 blue red) + (edge13 yellow red) + (edge15 yellow blue) + (edge26 green red) + (edge48 yellow orange) + (edge37 white green) + (edge56 white red) + (edge68 yellow green) + (edge78 green orange) + (edge57 blue white) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p17.pddl b/rubiks-cube-opt23-adl/p17.pddl new file mode 100644 index 00000000..80675022 --- /dev/null +++ b/rubiks-cube-opt23-adl/p17.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 4007 -o p17-4007.pddl -p p17-4007.plan 17 +(define +(problem rubiks-cube-shuffle-17) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 green yellow orange) + (cube2 green yellow red) + (cube3 red white green) + (cube4 green orange white) + (cube5 red blue white) + (cube6 orange yellow blue) + (cube7 blue white orange) + (cube8 red yellow blue) + (edge12 yellow blue) + (edge24 white red) + (edge34 green orange) + (edge13 blue orange) + (edge15 green white) + (edge26 red green) + (edge48 yellow green) + (edge37 blue white) + (edge56 white orange) + (edge68 red yellow) + (edge78 orange yellow) + (edge57 red blue) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p18.pddl b/rubiks-cube-opt23-adl/p18.pddl new file mode 100644 index 00000000..967a06ae --- /dev/null +++ b/rubiks-cube-opt23-adl/p18.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p18-2999.pddl -p p18-2999.plan 18 +(define +(problem rubiks-cube-shuffle-18) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red green white) + (cube2 blue orange white) + (cube3 yellow blue red) + (cube4 orange green yellow) + (cube5 white orange green) + (cube6 green red yellow) + (cube7 white blue red) + (cube8 blue yellow orange) + (edge12 red yellow) + (edge24 yellow green) + (edge34 orange white) + (edge13 green white) + (edge15 red green) + (edge26 white blue) + (edge48 white red) + (edge37 green orange) + (edge56 blue red) + (edge68 blue orange) + (edge78 yellow orange) + (edge57 yellow blue) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p19.pddl b/rubiks-cube-opt23-adl/p19.pddl new file mode 100644 index 00000000..1e4b338b --- /dev/null +++ b/rubiks-cube-opt23-adl/p19.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p19-1087.pddl -p p19-1087.plan 19 +(define +(problem rubiks-cube-shuffle-19) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 green red yellow) + (cube2 green red white) + (cube3 blue white red) + (cube4 orange yellow blue) + (cube5 yellow green orange) + (cube6 blue yellow red) + (cube7 white green orange) + (cube8 orange white blue) + (edge12 red green) + (edge24 orange blue) + (edge34 white orange) + (edge13 white green) + (edge15 red yellow) + (edge26 red white) + (edge48 yellow orange) + (edge37 blue white) + (edge56 red blue) + (edge68 yellow green) + (edge78 green orange) + (edge57 yellow blue) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-opt23-adl/p20.pddl b/rubiks-cube-opt23-adl/p20.pddl new file mode 100644 index 00000000..aaecec62 --- /dev/null +++ b/rubiks-cube-opt23-adl/p20.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p20-1129.pddl -p p20-1129.plan 20 +(define +(problem rubiks-cube-shuffle-20) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 orange white green) + (cube2 green orange yellow) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red blue white) + (cube6 white orange blue) + (cube7 yellow green red) + (cube8 white green red) + (edge12 blue yellow) + (edge24 yellow orange) + (edge34 green white) + (edge13 red yellow) + (edge15 yellow green) + (edge26 blue white) + (edge48 white orange) + (edge37 red green) + (edge56 blue orange) + (edge68 white red) + (edge78 red blue) + (edge57 green orange) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/domain.pddl b/rubiks-cube-sat23-adl/domain.pddl new file mode 100644 index 00000000..3ededa65 --- /dev/null +++ b/rubiks-cube-sat23-adl/domain.pddl @@ -0,0 +1,242 @@ +;; 12-action variant +(define + (domain rubiks-cube) + (:requirements :adl) + (:predicates + (cube1 ?x ?y ?z) + (cube2 ?x ?y ?z) + (cube3 ?x ?y ?z) + (cube4 ?x ?y ?z) + (cube5 ?x ?y ?z) + (cube6 ?x ?y ?z) + (cube7 ?x ?y ?z) + (cube8 ?x ?y ?z) + (edge12 ?y ?z) + (edge13 ?x ?z) + (edge15 ?x ?y) + (edge26 ?x ?y) + (edge24 ?x ?z) + (edge48 ?x ?y) + (edge34 ?y ?z) + (edge37 ?x ?y) + (edge56 ?y ?z) + (edge57 ?x ?z) + (edge68 ?x ?z) + (edge78 ?y ?z) + ) + + (:action R + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube7 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube8 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube6 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube5 ?y ?x ?z)))) + + (forall (?x ?z) (when (edge57 ?x ?z) (and (not (edge57 ?x ?z)) (edge78 ?x ?z)))) + (forall (?y ?z) (when (edge78 ?y ?z) (and (not (edge78 ?y ?z)) (edge68 ?y ?z)))) + (forall (?x ?z) (when (edge68 ?x ?z) (and (not (edge68 ?x ?z)) (edge56 ?x ?z)))) + (forall (?y ?z) (when (edge56 ?y ?z) (and (not (edge56 ?y ?z)) (edge57 ?y ?z)))) + + ) + ) + + (:action Rrev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube6 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube8 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube7 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube5 ?y ?x ?z)))) + + (forall (?x ?z) (when (edge57 ?x ?z) (and (not (edge57 ?x ?z)) (edge56 ?x ?z)))) + (forall (?y ?z) (when (edge78 ?y ?z) (and (not (edge78 ?y ?z)) (edge57 ?y ?z)))) + (forall (?x ?z) (when (edge68 ?x ?z) (and (not (edge68 ?x ?z)) (edge78 ?x ?z)))) + (forall (?y ?z) (when (edge56 ?y ?z) (and (not (edge56 ?y ?z)) (edge68 ?y ?z)))) + + ) + ) + + (:action L + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) + (and (not (cube1 ?x ?y ?z)) (cube2 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) + (and (not (cube3 ?x ?y ?z)) (cube1 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) + (and (not (cube4 ?x ?y ?z)) (cube3 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) + (and (not (cube2 ?x ?y ?z)) (cube4 ?y ?x ?z)))) + + (forall (?x ?z) (when (edge13 ?x ?z) + (and (not (edge13 ?x ?z)) (edge12 ?x ?z)))) + (forall (?y ?z) (when (edge34 ?y ?z) + (and (not (edge34 ?y ?z)) (edge13 ?y ?z)))) + (forall (?x ?z) (when (edge24 ?x ?z) + (and (not (edge24 ?x ?z)) (edge34 ?x ?z)))) + (forall (?y ?z) (when (edge12 ?y ?z) + (and (not (edge12 ?y ?z)) (edge24 ?y ?z)))) + + ) + ) + + (:action Lrev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube3 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube4 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube2 ?y ?x ?z)))) + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube1 ?y ?x ?z)))) + + (forall (?x ?z) (when (edge13 ?x ?z) (and (not (edge13 ?x ?z)) (edge34 ?x ?z)))) + (forall (?y ?z) (when (edge34 ?y ?z) (and (not (edge34 ?y ?z)) (edge24 ?y ?z)))) + (forall (?x ?z) (when (edge24 ?x ?z) (and (not (edge24 ?x ?z)) (edge12 ?x ?z)))) + (forall (?y ?z) (when (edge12 ?y ?z) (and (not (edge12 ?y ?z)) (edge13 ?y ?z)))) + ) + ) + + (:action D + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube6 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube8 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube4 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube2 ?x ?z ?y)))) + + (forall (?x ?y) (when (edge26 ?x ?y) (and (not (edge26 ?x ?y)) (edge68 ?x ?y)))) + (forall (?x ?z) (when (edge68 ?x ?z) (and (not (edge68 ?x ?z)) (edge48 ?x ?z)))) + (forall (?x ?y) (when (edge48 ?x ?y) (and (not (edge48 ?x ?y)) (edge24 ?x ?y)))) + (forall (?x ?z) (when (edge24 ?x ?z) (and (not (edge24 ?x ?z)) (edge26 ?x ?z)))) + ) + ) + + (:action Drev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube4 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube8 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube6 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube2 ?x ?z ?y)))) + + (forall (?x ?y) (when (edge26 ?x ?y) (and (not (edge26 ?x ?y)) (edge24 ?x ?y)))) + (forall (?x ?z) (when (edge68 ?x ?z) (and (not (edge68 ?x ?z)) (edge26 ?x ?z)))) + (forall (?x ?y) (when (edge48 ?x ?y) (and (not (edge48 ?x ?y)) (edge68 ?x ?y)))) + (forall (?x ?z) (when (edge24 ?x ?z) (and (not (edge24 ?x ?z)) (edge48 ?x ?z)))) + ) + ) + + (:action U + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube3 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube1 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube5 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube7 ?x ?z ?y)))) + + (forall (?x ?y) (when (edge15 ?x ?y) (and (not (edge15 ?x ?y)) (edge13 ?x ?y)))) + (forall (?x ?z) (when (edge57 ?x ?z) (and (not (edge57 ?x ?z)) (edge15 ?x ?z)))) + (forall (?x ?y) (when (edge37 ?x ?y) (and (not (edge37 ?x ?y)) (edge57 ?x ?y)))) + (forall (?x ?z) (when (edge13 ?x ?z) (and (not (edge13 ?x ?z)) (edge37 ?x ?z)))) + ) + ) + + (:action Urev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube5 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube7 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube3 ?x ?z ?y)))) + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube1 ?x ?z ?y)))) + + (forall (?x ?y) (when (edge15 ?x ?y) (and (not (edge15 ?x ?y)) (edge57 ?x ?y)))) + (forall (?x ?z) (when (edge57 ?x ?z) (and (not (edge57 ?x ?z)) (edge37 ?x ?z)))) + (forall (?x ?y) (when (edge37 ?x ?y) (and (not (edge37 ?x ?y)) (edge13 ?x ?y)))) + (forall (?x ?z) (when (edge13 ?x ?z) (and (not (edge13 ?x ?z)) (edge15 ?x ?z)))) + ) + ) + + (:action F + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube5 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube6 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube2 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube1 ?z ?y ?x) ))) + + (forall (?x ?y) (when (edge15 ?x ?y) (and (not (edge15 ?x ?y)) (edge56 ?y ?x)))) + (forall (?y ?z) (when (edge56 ?y ?z) (and (not (edge56 ?y ?z)) (edge26 ?z ?y)))) + (forall (?x ?y) (when (edge26 ?x ?y) (and (not (edge26 ?x ?y)) (edge12 ?y ?x)))) + (forall (?y ?z) (when (edge12 ?y ?z) (and (not (edge12 ?y ?z)) (edge15 ?z ?y)))) + ) + ) + + (:action Frev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube1 ?x ?y ?z) (and (not (cube1 ?x ?y ?z)) (cube2 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube2 ?x ?y ?z) (and (not (cube2 ?x ?y ?z)) (cube6 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube6 ?x ?y ?z) (and (not (cube6 ?x ?y ?z)) (cube5 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube5 ?x ?y ?z) (and (not (cube5 ?x ?y ?z)) (cube1 ?z ?y ?x) ))) + + (forall (?x ?y) (when (edge15 ?x ?y) (and (not (edge15 ?x ?y)) (edge12 ?y ?x)))) + (forall (?y ?z) (when (edge56 ?y ?z) (and (not (edge56 ?y ?z)) (edge15 ?z ?y)))) + (forall (?x ?y) (when (edge26 ?x ?y) (and (not (edge26 ?x ?y)) (edge56 ?y ?x)))) + (forall (?y ?z) (when (edge12 ?y ?z) (and (not (edge12 ?y ?z)) (edge26 ?z ?y)))) + ) + ) + + (:action B + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube4 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube3 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube7 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube8 ?z ?y ?x) ))) + + (forall (?x ?y) (when (edge37 ?x ?y) (and (not (edge37 ?x ?y)) (edge34 ?y ?x)))) + (forall (?y ?z) (when (edge78 ?y ?z) (and (not (edge78 ?y ?z)) (edge37 ?z ?y)))) + (forall (?x ?y) (when (edge48 ?x ?y) (and (not (edge48 ?x ?y)) (edge78 ?y ?x)))) + (forall (?y ?z) (when (edge34 ?y ?z) (and (not (edge34 ?y ?z)) (edge48 ?z ?y)))) + ) + ) + + (:action Brev + :parameters () + :precondition (and) + :effect + (and + (forall (?x ?y ?z) (when (cube3 ?x ?y ?z) (and (not (cube3 ?x ?y ?z)) (cube7 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube7 ?x ?y ?z) (and (not (cube7 ?x ?y ?z)) (cube8 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube8 ?x ?y ?z) (and (not (cube8 ?x ?y ?z)) (cube4 ?z ?y ?x) ))) + (forall (?x ?y ?z) (when (cube4 ?x ?y ?z) (and (not (cube4 ?x ?y ?z)) (cube3 ?z ?y ?x) ))) + + (forall (?x ?y) (when (edge37 ?x ?y) (and (not (edge37 ?x ?y)) (edge78 ?y ?x)))) + (forall (?y ?z) (when (edge78 ?y ?z) (and (not (edge78 ?y ?z)) (edge48 ?z ?y)))) + (forall (?x ?y) (when (edge48 ?x ?y) (and (not (edge48 ?x ?y)) (edge34 ?y ?x)))) + (forall (?y ?z) (when (edge34 ?y ?z) (and (not (edge34 ?y ?z)) (edge37 ?z ?y)))) + ) + ) +) diff --git a/rubiks-cube-sat23-adl/p01.pddl b/rubiks-cube-sat23-adl/p01.pddl new file mode 100644 index 00000000..33621ea1 --- /dev/null +++ b/rubiks-cube-sat23-adl/p01.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 4007 -o p01-4007.pddl -p p01-4007.plan 1 +(define +(problem rubiks-cube-shuffle-1) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red white blue) + (cube2 orange blue yellow) + (cube3 red yellow blue) + (cube4 orange green yellow) + (cube5 red white green) + (cube6 orange blue white) + (cube7 red yellow green) + (cube8 orange green white) + (edge12 white blue) + (edge24 orange yellow) + (edge34 yellow blue) + (edge13 red blue) + (edge15 red white) + (edge26 orange blue) + (edge48 orange green) + (edge37 red yellow) + (edge56 white green) + (edge68 orange white) + (edge78 yellow green) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p02.pddl b/rubiks-cube-sat23-adl/p02.pddl new file mode 100644 index 00000000..8131af1e --- /dev/null +++ b/rubiks-cube-sat23-adl/p02.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p02-2999.pddl -p p02-2999.plan 2 +(define +(problem rubiks-cube-shuffle-2) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 blue white orange) + (cube2 green white orange) + (cube3 red blue white) + (cube4 orange yellow blue) + (cube5 white green red) + (cube6 yellow green red) + (cube7 red blue yellow) + (cube8 orange yellow green) + (edge12 white orange) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red white) + (edge15 blue white) + (edge26 green white) + (edge48 orange yellow) + (edge37 red blue) + (edge56 green red) + (edge68 orange green) + (edge78 yellow green) + (edge57 red yellow) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p03.pddl b/rubiks-cube-sat23-adl/p03.pddl new file mode 100644 index 00000000..c2885232 --- /dev/null +++ b/rubiks-cube-sat23-adl/p03.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p03-1087.pddl -p p03-1087.plan 3 +(define +(problem rubiks-cube-shuffle-3) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 white green orange) + (cube2 yellow green orange) + (cube3 green yellow red) + (cube4 blue yellow red) + (cube5 blue white red) + (cube6 green white red) + (cube7 yellow blue orange) + (cube8 white blue orange) + (edge12 green orange) + (edge24 orange white) + (edge34 yellow red) + (edge13 red blue) + (edge15 blue white) + (edge26 green white) + (edge48 blue yellow) + (edge37 green yellow) + (edge56 white red) + (edge68 orange yellow) + (edge78 blue orange) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p04.pddl b/rubiks-cube-sat23-adl/p04.pddl new file mode 100644 index 00000000..71fb0d6c --- /dev/null +++ b/rubiks-cube-sat23-adl/p04.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p04-1129.pddl -p p04-1129.plan 4 +(define +(problem rubiks-cube-shuffle-4) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 blue orange yellow) + (cube2 white red blue) + (cube3 blue red yellow) + (cube4 green orange white) + (cube5 blue orange white) + (cube6 orange green yellow) + (cube7 red green white) + (cube8 green yellow red) + (edge12 white orange) + (edge24 green white) + (edge34 red yellow) + (edge13 white blue) + (edge15 blue orange) + (edge26 orange green) + (edge48 yellow blue) + (edge37 red green) + (edge56 blue red) + (edge68 orange yellow) + (edge78 yellow green) + (edge57 red white) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p05.pddl b/rubiks-cube-sat23-adl/p05.pddl new file mode 100644 index 00000000..1bd57188 --- /dev/null +++ b/rubiks-cube-sat23-adl/p05.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p05-2999.pddl -p p05-2999.plan 5 +(define +(problem rubiks-cube-shuffle-5) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red white blue) + (cube2 green white orange) + (cube3 red yellow blue) + (cube4 orange green yellow) + (cube5 blue orange white) + (cube6 green white red) + (cube7 red yellow green) + (cube8 blue yellow orange) + (edge12 white orange) + (edge24 orange blue) + (edge34 green yellow) + (edge13 red blue) + (edge15 red white) + (edge26 green white) + (edge48 blue yellow) + (edge37 green orange) + (edge56 red yellow) + (edge68 green red) + (edge78 yellow orange) + (edge57 blue white) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p06.pddl b/rubiks-cube-sat23-adl/p06.pddl new file mode 100644 index 00000000..ebedd180 --- /dev/null +++ b/rubiks-cube-sat23-adl/p06.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 4007 -o p06-4007.pddl -p p06-4007.plan 6 +(define +(problem rubiks-cube-shuffle-6) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 yellow green red) + (cube2 red yellow blue) + (cube3 orange green white) + (cube4 yellow blue orange) + (cube5 blue white red) + (cube6 white orange blue) + (cube7 white red green) + (cube8 green orange yellow) + (edge12 yellow blue) + (edge24 red blue) + (edge34 blue orange) + (edge13 yellow red) + (edge15 blue white) + (edge26 orange yellow) + (edge48 green orange) + (edge37 green yellow) + (edge56 white red) + (edge68 green white) + (edge78 white orange) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p07.pddl b/rubiks-cube-sat23-adl/p07.pddl new file mode 100644 index 00000000..d3e881d3 --- /dev/null +++ b/rubiks-cube-sat23-adl/p07.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p07-1087.pddl -p p07-1087.plan 7 +(define +(problem rubiks-cube-shuffle-7) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red white blue) + (cube2 white green red) + (cube3 yellow blue red) + (cube4 red yellow green) + (cube5 blue orange white) + (cube6 green yellow orange) + (cube7 yellow blue orange) + (cube8 green white orange) + (edge12 white blue) + (edge24 blue red) + (edge34 orange white) + (edge13 yellow red) + (edge15 red white) + (edge26 blue yellow) + (edge48 green white) + (edge37 green yellow) + (edge56 yellow orange) + (edge68 green orange) + (edge78 blue orange) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p08.pddl b/rubiks-cube-sat23-adl/p08.pddl new file mode 100644 index 00000000..06c4b3f3 --- /dev/null +++ b/rubiks-cube-sat23-adl/p08.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p08-1129.pddl -p p08-1129.plan 8 +(define +(problem rubiks-cube-shuffle-8) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 blue yellow red) + (cube2 orange white blue) + (cube3 red white green) + (cube4 white blue red) + (cube5 blue yellow orange) + (cube6 white green orange) + (cube7 yellow orange green) + (cube8 green yellow red) + (edge12 white orange) + (edge24 orange green) + (edge34 green yellow) + (edge13 red green) + (edge15 white blue) + (edge26 blue red) + (edge48 green white) + (edge37 yellow orange) + (edge56 red white) + (edge68 yellow red) + (edge78 blue yellow) + (edge57 blue orange) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p09.pddl b/rubiks-cube-sat23-adl/p09.pddl new file mode 100644 index 00000000..918ae138 --- /dev/null +++ b/rubiks-cube-sat23-adl/p09.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p09-2999.pddl -p p09-2999.plan 9 +(define +(problem rubiks-cube-shuffle-9) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 orange white green) + (cube2 white blue orange) + (cube3 green orange yellow) + (cube4 blue yellow red) + (cube5 yellow red green) + (cube6 white blue red) + (cube7 yellow blue orange) + (cube8 white green red) + (edge12 white green) + (edge24 yellow red) + (edge34 orange green) + (edge13 red blue) + (edge15 orange white) + (edge26 green red) + (edge48 yellow green) + (edge37 yellow blue) + (edge56 blue white) + (edge68 white red) + (edge78 blue orange) + (edge57 yellow orange) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p10.pddl b/rubiks-cube-sat23-adl/p10.pddl new file mode 100644 index 00000000..fab1ad07 --- /dev/null +++ b/rubiks-cube-sat23-adl/p10.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 4007 -o p10-4007.pddl -p p10-4007.plan 10 +(define +(problem rubiks-cube-shuffle-10) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red yellow green) + (cube2 green red white) + (cube3 blue red yellow) + (cube4 red white blue) + (cube5 orange yellow green) + (cube6 orange blue white) + (cube7 orange white green) + (cube8 yellow orange blue) + (edge12 blue white) + (edge24 yellow blue) + (edge34 orange yellow) + (edge13 blue orange) + (edge15 white orange) + (edge26 white red) + (edge48 red blue) + (edge37 yellow red) + (edge56 red green) + (edge68 green orange) + (edge78 green white) + (edge57 green yellow) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p11.pddl b/rubiks-cube-sat23-adl/p11.pddl new file mode 100644 index 00000000..3253ec9a --- /dev/null +++ b/rubiks-cube-sat23-adl/p11.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p11-1129.pddl -p p11-1129.plan 11 +(define +(problem rubiks-cube-shuffle-11) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red green white) + (cube2 white red blue) + (cube3 yellow green orange) + (cube4 green red yellow) + (cube5 orange blue yellow) + (cube6 red blue yellow) + (cube7 orange white green) + (cube8 blue orange white) + (edge12 blue white) + (edge24 green white) + (edge34 green yellow) + (edge13 yellow orange) + (edge15 red green) + (edge26 orange green) + (edge48 yellow red) + (edge37 blue orange) + (edge56 red blue) + (edge68 orange white) + (edge78 blue yellow) + (edge57 white red) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p12.pddl b/rubiks-cube-sat23-adl/p12.pddl new file mode 100644 index 00000000..b88ec0e5 --- /dev/null +++ b/rubiks-cube-sat23-adl/p12.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p12-2999.pddl -p p12-2999.plan 12 +(define +(problem rubiks-cube-shuffle-12) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 yellow red blue) + (cube2 blue orange white) + (cube3 green orange yellow) + (cube4 white red green) + (cube5 red green yellow) + (cube6 red white blue) + (cube7 white green orange) + (cube8 blue yellow orange) + (edge12 red yellow) + (edge24 yellow green) + (edge34 orange green) + (edge13 red blue) + (edge15 green white) + (edge26 white blue) + (edge48 white red) + (edge37 yellow blue) + (edge56 green red) + (edge68 blue orange) + (edge78 yellow orange) + (edge57 white orange) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p13.pddl b/rubiks-cube-sat23-adl/p13.pddl new file mode 100644 index 00000000..eeb1504f --- /dev/null +++ b/rubiks-cube-sat23-adl/p13.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p13-1087.pddl -p p13-1087.plan 13 +(define +(problem rubiks-cube-shuffle-13) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 white green orange) + (cube2 blue yellow orange) + (cube3 green red white) + (cube4 red blue yellow) + (cube5 blue white red) + (cube6 orange blue white) + (cube7 yellow green red) + (cube8 yellow green orange) + (edge12 green red) + (edge24 blue red) + (edge34 yellow red) + (edge13 yellow blue) + (edge15 blue white) + (edge26 yellow green) + (edge48 white orange) + (edge37 orange blue) + (edge56 white red) + (edge68 yellow orange) + (edge78 green orange) + (edge57 white green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p14.pddl b/rubiks-cube-sat23-adl/p14.pddl new file mode 100644 index 00000000..98dcde7c --- /dev/null +++ b/rubiks-cube-sat23-adl/p14.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p14-1129.pddl -p p14-1129.plan 14 +(define +(problem rubiks-cube-shuffle-14) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 green yellow orange) + (cube2 green red white) + (cube3 blue white red) + (cube4 yellow blue orange) + (cube5 white orange green) + (cube6 blue yellow red) + (cube7 orange blue white) + (cube8 green yellow red) + (edge12 yellow orange) + (edge24 blue white) + (edge34 orange green) + (edge13 green yellow) + (edge15 red green) + (edge26 red blue) + (edge48 green white) + (edge37 blue orange) + (edge56 white red) + (edge68 yellow red) + (edge78 orange white) + (edge57 blue yellow) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p15.pddl b/rubiks-cube-sat23-adl/p15.pddl new file mode 100644 index 00000000..5b3abdd9 --- /dev/null +++ b/rubiks-cube-sat23-adl/p15.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p15-2999.pddl -p p15-2999.plan 15 +(define +(problem rubiks-cube-shuffle-15) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 green white red) + (cube2 blue red yellow) + (cube3 yellow green orange) + (cube4 orange yellow blue) + (cube5 yellow red green) + (cube6 white orange blue) + (cube7 blue red white) + (cube8 orange green white) + (edge12 white green) + (edge24 yellow green) + (edge34 red white) + (edge13 green orange) + (edge15 red blue) + (edge26 yellow red) + (edge48 orange yellow) + (edge37 white orange) + (edge56 blue white) + (edge68 blue orange) + (edge78 blue yellow) + (edge57 red green) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p16.pddl b/rubiks-cube-sat23-adl/p16.pddl new file mode 100644 index 00000000..23c67a12 --- /dev/null +++ b/rubiks-cube-sat23-adl/p16.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p16-1087.pddl -p p16-1087.plan 16 +(define +(problem rubiks-cube-shuffle-16) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red yellow green) + (cube2 yellow orange blue) + (cube3 blue red yellow) + (cube4 yellow orange green) + (cube5 white orange green) + (cube6 white red green) + (cube7 blue red white) + (cube8 orange white blue) + (edge12 orange blue) + (edge24 white orange) + (edge34 blue red) + (edge13 yellow red) + (edge15 yellow blue) + (edge26 green red) + (edge48 yellow orange) + (edge37 white green) + (edge56 white red) + (edge68 yellow green) + (edge78 green orange) + (edge57 blue white) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p17.pddl b/rubiks-cube-sat23-adl/p17.pddl new file mode 100644 index 00000000..80675022 --- /dev/null +++ b/rubiks-cube-sat23-adl/p17.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 4007 -o p17-4007.pddl -p p17-4007.plan 17 +(define +(problem rubiks-cube-shuffle-17) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 green yellow orange) + (cube2 green yellow red) + (cube3 red white green) + (cube4 green orange white) + (cube5 red blue white) + (cube6 orange yellow blue) + (cube7 blue white orange) + (cube8 red yellow blue) + (edge12 yellow blue) + (edge24 white red) + (edge34 green orange) + (edge13 blue orange) + (edge15 green white) + (edge26 red green) + (edge48 yellow green) + (edge37 blue white) + (edge56 white orange) + (edge68 red yellow) + (edge78 orange yellow) + (edge57 red blue) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p18.pddl b/rubiks-cube-sat23-adl/p18.pddl new file mode 100644 index 00000000..967a06ae --- /dev/null +++ b/rubiks-cube-sat23-adl/p18.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 2999 -o p18-2999.pddl -p p18-2999.plan 18 +(define +(problem rubiks-cube-shuffle-18) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 red green white) + (cube2 blue orange white) + (cube3 yellow blue red) + (cube4 orange green yellow) + (cube5 white orange green) + (cube6 green red yellow) + (cube7 white blue red) + (cube8 blue yellow orange) + (edge12 red yellow) + (edge24 yellow green) + (edge34 orange white) + (edge13 green white) + (edge15 red green) + (edge26 white blue) + (edge48 white red) + (edge37 green orange) + (edge56 blue red) + (edge68 blue orange) + (edge78 yellow orange) + (edge57 yellow blue) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p19.pddl b/rubiks-cube-sat23-adl/p19.pddl new file mode 100644 index 00000000..1e4b338b --- /dev/null +++ b/rubiks-cube-sat23-adl/p19.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1087 -o p19-1087.pddl -p p19-1087.plan 19 +(define +(problem rubiks-cube-shuffle-19) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 green red yellow) + (cube2 green red white) + (cube3 blue white red) + (cube4 orange yellow blue) + (cube5 yellow green orange) + (cube6 blue yellow red) + (cube7 white green orange) + (cube8 orange white blue) + (edge12 red green) + (edge24 orange blue) + (edge34 white orange) + (edge13 white green) + (edge15 red yellow) + (edge26 red white) + (edge48 yellow orange) + (edge37 blue white) + (edge56 red blue) + (edge68 yellow green) + (edge78 green orange) + (edge57 yellow blue) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/rubiks-cube-sat23-adl/p20.pddl b/rubiks-cube-sat23-adl/p20.pddl new file mode 100644 index 00000000..aaecec62 --- /dev/null +++ b/rubiks-cube-sat23-adl/p20.pddl @@ -0,0 +1,56 @@ +;; Generated with ../generator.py -s 1129 -o p20-1129.pddl -p p20-1129.plan 20 +(define +(problem rubiks-cube-shuffle-20) +(:domain rubiks-cube) +(:objects yellow white blue green orange red) +(:init + (cube1 orange white green) + (cube2 green orange yellow) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red blue white) + (cube6 white orange blue) + (cube7 yellow green red) + (cube8 white green red) + (edge12 blue yellow) + (edge24 yellow orange) + (edge34 green white) + (edge13 red yellow) + (edge15 yellow green) + (edge26 blue white) + (edge48 white orange) + (edge37 red green) + (edge56 blue orange) + (edge68 white red) + (edge78 red blue) + (edge57 green orange) +) +(:goal + (and + (cube1 red white blue) + (cube2 orange white blue) + (cube3 red yellow blue) + (cube4 orange yellow blue) + (cube5 red white green) + (cube6 orange white green) + (cube7 red yellow green) + (cube8 orange yellow green) + + (edge12 white blue) + (edge24 orange blue) + (edge34 yellow blue) + (edge13 red blue) + + (edge15 red white) + (edge26 orange white) + (edge48 orange yellow) + (edge37 red yellow) + + (edge56 white green) + (edge68 orange green) + (edge78 yellow green) + (edge57 red green) + + ) +) +) diff --git a/slitherlink-opt23-adl/domain.pddl b/slitherlink-opt23-adl/domain.pddl new file mode 100644 index 00000000..6385c7e8 --- /dev/null +++ b/slitherlink-opt23-adl/domain.pddl @@ -0,0 +1,185 @@ +(define (domain slitherlink) +(:requirements :typing :adl) + +(:types + node - object + cell - object + cell-capacity-level - object +) + +(:predicates + ;; Ordering of cell capacities + (CELL-CAPACITY-INC ?clower ?chigher - cell-capacity-level) + ;; Current cell capacity, i.e., how many links can be placed around the cell + (CELL-CAPACITY ?c - cell ?cap - cell-capacity-level) + ;; The edge between nodes ?n1 ?n2 is an edge bordering cells ?c1 and ?c2 + (CELL-EDGE ?c1 ?c2 - cell ?n1 ?n2 - node) + ;; The node (vertex) is not connected to any link + (node-degree0 ?n - node) + ;; The node is connected to exactly one link + (node-degree1 ?n - node) + ;; The node is connected to exactly two links + (node-degree2 ?n - node) + ;; ?n1 and ?n2 are (slither)linked + (linked ?n1 ?n2 - node) + ;; Disables link-0-0 action after its first use + (disable-link-0-0) +) + +;; This action is used only at the beginning of a plan. Disabling it (using +;; the predicate disable-link-0-0) after its first use ensures that the +;; solution is a single cycle. +;; Without it, the plan could produce several closed loops. For example: +;; input: possible incorrect solution: correct solution: +;; + + + + +-+ + + +-+-+-+ +;; 3 . . |3|. . |3 . .| +;; + + + + + + +-+ +-+ +-+ +;; . . 3 |.|.|3| .|.|3 +;; + + + + +-+ + + +-+ +-+ +;; . 1 3 . 1|3| |. 1 3| +;; + + + + + + +-+ +-+-+-+ +;; +;; Another possibility would be to remove this action entirely and put one +;; starting link in the initial state. This can be accomplished without +;; actually changing this domain file by simply putting (disable-link-0-0) +;; in the initial state. +;; +;; A yet another possibility would be to add a (zero-cost) verification +;; procedure that traverses the links and makes sure they form a single cycle. +;; We decided not to go in this direction here. +;; +(:action link-0-0 + :parameters (?n1 - node ?n2 - node + ?c1 - cell ?c1capfrom ?c1capto - cell-capacity-level + ?c2 - cell ?c2capfrom ?c2capto - cell-capacity-level) + :precondition + (and + (not (linked ?n1 ?n2)) + (node-degree0 ?n1) + (node-degree0 ?n2) + (CELL-EDGE ?c1 ?c2 ?n1 ?n2) + (CELL-CAPACITY ?c1 ?c1capfrom) + (CELL-CAPACITY ?c2 ?c2capfrom) + (CELL-CAPACITY-INC ?c1capto ?c1capfrom) + (CELL-CAPACITY-INC ?c2capto ?c2capfrom) + (not (disable-link-0-0)) + ) + :effect + (and + (linked ?n1 ?n2) + + (not (node-degree0 ?n1)) + (node-degree1 ?n1) + + (not (node-degree0 ?n2)) + (node-degree1 ?n2) + + (not (CELL-CAPACITY ?c1 ?c1capfrom)) + (CELL-CAPACITY ?c1 ?c1capto) + + (not (CELL-CAPACITY ?c2 ?c2capfrom)) + (CELL-CAPACITY ?c2 ?c2capto) + + (disable-link-0-0) + ) +) + +(:action link-0-1 + :parameters (?n1 - node ?n2 - node + ?c1 - cell ?c1capfrom ?c1capto - cell-capacity-level + ?c2 - cell ?c2capfrom ?c2capto - cell-capacity-level) + :precondition + (and + (not (linked ?n1 ?n2)) + (node-degree0 ?n1) + (node-degree1 ?n2) + (CELL-EDGE ?c1 ?c2 ?n1 ?n2) + (CELL-CAPACITY ?c1 ?c1capfrom) + (CELL-CAPACITY ?c2 ?c2capfrom) + (CELL-CAPACITY-INC ?c1capto ?c1capfrom) + (CELL-CAPACITY-INC ?c2capto ?c2capfrom) + ) + :effect + (and + (linked ?n1 ?n2) + + (not (node-degree0 ?n1)) + (node-degree1 ?n1) + + (not (node-degree1 ?n2)) + (node-degree2 ?n2) + + (not (CELL-CAPACITY ?c1 ?c1capfrom)) + (CELL-CAPACITY ?c1 ?c1capto) + + (not (CELL-CAPACITY ?c2 ?c2capfrom)) + (CELL-CAPACITY ?c2 ?c2capto) + ) +) + +(:action link-1-0 + :parameters (?n1 - node ?n2 - node + ?c1 - cell ?c1capfrom ?c1capto - cell-capacity-level + ?c2 - cell ?c2capfrom ?c2capto - cell-capacity-level) + :precondition + (and + (not (linked ?n1 ?n2)) + (node-degree1 ?n1) + (node-degree0 ?n2) + (CELL-EDGE ?c1 ?c2 ?n1 ?n2) + (CELL-CAPACITY ?c1 ?c1capfrom) + (CELL-CAPACITY ?c2 ?c2capfrom) + (CELL-CAPACITY-INC ?c1capto ?c1capfrom) + (CELL-CAPACITY-INC ?c2capto ?c2capfrom) + ) + :effect + (and + (linked ?n1 ?n2) + + (not (node-degree1 ?n1)) + (node-degree2 ?n1) + + (not (node-degree0 ?n2)) + (node-degree1 ?n2) + + (not (CELL-CAPACITY ?c1 ?c1capfrom)) + (CELL-CAPACITY ?c1 ?c1capto) + + (not (CELL-CAPACITY ?c2 ?c2capfrom)) + (CELL-CAPACITY ?c2 ?c2capto) + ) +) + +(:action link-1-1 + :parameters (?n1 - node ?n2 - node + ?c1 - cell ?c1capfrom ?c1capto - cell-capacity-level + ?c2 - cell ?c2capfrom ?c2capto - cell-capacity-level) + :precondition + (and + (not (linked ?n1 ?n2)) + (node-degree1 ?n1) + (node-degree1 ?n2) + (CELL-EDGE ?c1 ?c2 ?n1 ?n2) + (CELL-CAPACITY ?c1 ?c1capfrom) + (CELL-CAPACITY ?c2 ?c2capfrom) + (CELL-CAPACITY-INC ?c1capto ?c1capfrom) + (CELL-CAPACITY-INC ?c2capto ?c2capfrom) + ) + :effect + (and + (linked ?n1 ?n2) + + (not (node-degree1 ?n1)) + (node-degree2 ?n1) + + (not (node-degree1 ?n2)) + (node-degree2 ?n2) + + (not (CELL-CAPACITY ?c1 ?c1capfrom)) + (CELL-CAPACITY ?c1 ?c1capto) + + (not (CELL-CAPACITY ?c2 ?c2capfrom)) + (CELL-CAPACITY ?c2 ?c2capto) + ) +) +) diff --git a/slitherlink-opt23-adl/p01.pddl b/slitherlink-opt23-adl/p01.pddl new file mode 100644 index 00000000..26997b04 --- /dev/null +++ b/slitherlink-opt23-adl/p01.pddl @@ -0,0 +1,144 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 3 4 p01.pddl p01.plan +;; +;; .3.3 +;; ...1 +;; 23.. +;; +;; +-+ +-+ +;; .|3|.|3| +;; +-+ +-+ + +;; |. . . 1| +;; +-+ +-+ + +;; 2|3|.|.| +;; +-+ +-+ + +(define (problem sliterlink-999868) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-3) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-3) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-1) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-3) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-2-0 cell-outside-0-down n-3-0 n-3-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-2-1 cell-outside-1-down n-3-1 n-3-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-2-2 cell-outside-2-down n-3-2 n-3-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-2-3 cell-outside-3-down n-3-3 n-3-4) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-3 cell-outside-0-right n-0-4 n-1-4) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-3 cell-outside-1-right n-1-4 n-2-4) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-3 cell-outside-2-right n-2-4 n-3-4) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p02.pddl b/slitherlink-opt23-adl/p02.pddl new file mode 100644 index 00000000..ce31890e --- /dev/null +++ b/slitherlink-opt23-adl/p02.pddl @@ -0,0 +1,172 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 5 3 p02.pddl p02.plan +;; +;; ..3 +;; 1.1 +;; 2.. +;; ..2 +;; 3.3 +;; +;; +-+ +-+ +;; |.|.|3| +;; + +-+ + +;; |1 . 1| +;; + +-+ + +;; |2|.|.| +;; + + + + +;; |.|.|2| +;; + + + + +;; |3|.|3| +;; +-+ +-+ + +(define (problem sliterlink-204367) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-1-0 n-1-1 n-1-2 n-1-3 n-2-0 n-2-1 n-2-2 n-2-3 n-3-0 n-3-1 n-3-2 n-3-3 n-4-0 n-4-1 n-4-2 n-4-3 n-5-0 n-5-1 n-5-2 n-5-3 - node + cell-0-0 cell-0-1 cell-0-2 cell-1-0 cell-1-1 cell-1-2 cell-2-0 cell-2-1 cell-2-2 cell-3-0 cell-3-1 cell-3-2 cell-4-0 cell-4-1 cell-4-2 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-3) + (CELL-CAPACITY cell-1-0 cap-1) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-1) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-4-0 cap-3) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-4-0 cell-outside-0-down n-5-0 n-5-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-4-1 cell-outside-1-down n-5-1 n-5-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-4-2 cell-outside-2-down n-5-2 n-5-3) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-2 cell-outside-0-right n-0-3 n-1-3) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-2 cell-outside-1-right n-1-3 n-2-3) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-2 cell-outside-2-right n-2-3 n-3-3) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-2 cell-outside-3-right n-3-3 n-4-3) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-2 cell-outside-4-right n-4-3 n-5-3) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p03.pddl b/slitherlink-opt23-adl/p03.pddl new file mode 100644 index 00000000..174a1f86 --- /dev/null +++ b/slitherlink-opt23-adl/p03.pddl @@ -0,0 +1,229 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 4 6 p03.pddl p03.plan +;; +;; 3223.2 +;; 2..1.2 +;; ..32.. +;; ...22. +;; +;; +-+-+-+ +-+ +;; |3 2 2|3|.|2 +;; +-+-+ +-+ +-+ +;; 2 .|. 1 . 2| +;; +-+ +-+ +-+ + +;; |.|. 3|2|.|.| +;; + +-+-+ + + + +;; |. . . 2|2|.| +;; +-+-+-+-+ +-+ + +(define (problem sliterlink-388714) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-2) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-0-3 cap-3) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-2) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-1) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-2) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-3) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-2) + (CELL-CAPACITY cell-3-5 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-3-0 cell-outside-0-down n-4-0 n-4-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-3-1 cell-outside-1-down n-4-1 n-4-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-3-2 cell-outside-2-down n-4-2 n-4-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-3-3 cell-outside-3-down n-4-3 n-4-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-3-4 cell-outside-4-down n-4-4 n-4-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-3-5 cell-outside-5-down n-4-5 n-4-6) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-5 cell-outside-0-right n-0-6 n-1-6) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-5 cell-outside-1-right n-1-6 n-2-6) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-5 cell-outside-2-right n-2-6 n-3-6) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-5 cell-outside-3-right n-3-6 n-4-6) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p04.pddl b/slitherlink-opt23-adl/p04.pddl new file mode 100644 index 00000000..668b687f --- /dev/null +++ b/slitherlink-opt23-adl/p04.pddl @@ -0,0 +1,263 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 7 4 p04.pddl p04.plan +;; +;; .1.3 +;; 3.3. +;; 30.. +;; ..32 +;; 2... +;; .3.3 +;; 3... +;; +;; +-+-+-+-+ +;; |. 1 . 3| +;; +-+ +-+-+ +;; 3|.|3 . +;; +-+ +-+-+ +;; |3 0 . .| +;; +-+ +-+-+ +;; .|.|3 2 +;; +-+ +-+-+ +;; |2 . . .| +;; + +-+ +-+ +;; |.|3|.|3 +;; + + + +-+ +;; |3|.|. .| +;; +-+ +-+-+ + +(define (problem sliterlink-435500) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-1) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-3) + (CELL-CAPACITY cell-1-0 cap-3) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-3) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-3) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-4-0 cap-2) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-3) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-3) + (CELL-CAPACITY cell-6-0 cap-3) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-6-0 cell-outside-0-down n-7-0 n-7-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-6-1 cell-outside-1-down n-7-1 n-7-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-6-2 cell-outside-2-down n-7-2 n-7-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-6-3 cell-outside-3-down n-7-3 n-7-4) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-3 cell-outside-0-right n-0-4 n-1-4) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-3 cell-outside-1-right n-1-4 n-2-4) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-3 cell-outside-2-right n-2-4 n-3-4) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-3 cell-outside-3-right n-3-4 n-4-4) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-3 cell-outside-4-right n-4-4 n-5-4) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-3 cell-outside-5-right n-5-4 n-6-4) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-3 cell-outside-6-right n-6-4 n-7-4) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p05.pddl b/slitherlink-opt23-adl/p05.pddl new file mode 100644 index 00000000..5f95f777 --- /dev/null +++ b/slitherlink-opt23-adl/p05.pddl @@ -0,0 +1,270 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 5 6 p05.pddl p05.plan +;; +;; 3.2.13 +;; .2..2. +;; 32...2 +;; 2322.. +;; ..2..2 +;; +;; +-+-+-+-+-+-+ +;; |3 . 2 . 1 3| +;; +-+-+-+-+ +-+ +;; . 2 . .|2|. +;; +-+-+-+-+ +-+ +;; |3 2 . . . 2| +;; +-+-+ +-+-+ + +;; 2 3|2|2 .|.| +;; +-+-+ + +-+ + +;; |. . 2|.|. 2| +;; +-+-+-+ +-+-+ + +(define (problem sliterlink-355032) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-1) + (CELL-CAPACITY cell-0-5 cap-3) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-2) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-2) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-2) + (CELL-CAPACITY cell-3-0 cap-2) + (CELL-CAPACITY cell-3-1 cap-3) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-2) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-2) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-4-0 cell-outside-0-down n-5-0 n-5-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-4-1 cell-outside-1-down n-5-1 n-5-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-4-2 cell-outside-2-down n-5-2 n-5-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-4-3 cell-outside-3-down n-5-3 n-5-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-4-4 cell-outside-4-down n-5-4 n-5-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-4-5 cell-outside-5-down n-5-5 n-5-6) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-5 cell-outside-0-right n-0-6 n-1-6) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-5 cell-outside-1-right n-1-6 n-2-6) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-5 cell-outside-2-right n-2-6 n-3-6) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-5 cell-outside-3-right n-3-6 n-4-6) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-5 cell-outside-4-right n-4-6 n-5-6) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p06.pddl b/slitherlink-opt23-adl/p06.pddl new file mode 100644 index 00000000..fcf8bc10 --- /dev/null +++ b/slitherlink-opt23-adl/p06.pddl @@ -0,0 +1,281 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 4 8 p06.pddl p06.plan +;; +;; 2..2.1.. +;; 2221.2.2 +;; ..3..... +;; ..1..213 +;; +;; +-+-+-+ +-+ +-+ +;; |2 . .|2|.|1 .|.| +;; + +-+-+ + + +-+ + +;; |2|2 2 1|.|2|. 2| +;; + + +-+ + + + +-+ +;; |.|.|3|.|.|.|.|. +;; + +-+ +-+ +-+ +-+ +;; |. . 1 . . 2 1 3| +;; +-+-+-+-+-+-+-+-+ + +(define (problem sliterlink-534501) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-0-0 cap-2) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-2) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-1) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-2) + (CELL-CAPACITY cell-1-3 cap-1) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-2) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-2) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-3) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-1) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-2) + (CELL-CAPACITY cell-3-6 cap-1) + (CELL-CAPACITY cell-3-7 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-3-0 cell-outside-0-down n-4-0 n-4-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-3-1 cell-outside-1-down n-4-1 n-4-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-3-2 cell-outside-2-down n-4-2 n-4-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-3-3 cell-outside-3-down n-4-3 n-4-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-3-4 cell-outside-4-down n-4-4 n-4-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-3-5 cell-outside-5-down n-4-5 n-4-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-3-6 cell-outside-6-down n-4-6 n-4-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-3-7 cell-outside-7-down n-4-7 n-4-8) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-7 cell-outside-0-right n-0-8 n-1-8) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-7 cell-outside-1-right n-1-8 n-2-8) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-7 cell-outside-2-right n-2-8 n-3-8) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-7 cell-outside-3-right n-3-8 n-4-8) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-3-7 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p07.pddl b/slitherlink-opt23-adl/p07.pddl new file mode 100644 index 00000000..5445187e --- /dev/null +++ b/slitherlink-opt23-adl/p07.pddl @@ -0,0 +1,306 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 6 6 p07.pddl p07.plan +;; +;; .3.3.. +;; .3.3.3 +;; 2..21. +;; ...2.. +;; 2..... +;; ..133. +;; +;; +-+-+ +-+-+-+ +;; |. 3|.|3 . .| +;; + +-+ +-+ +-+ +;; |.|3 . 3|.|3 +;; + +-+-+-+ +-+ +;; |2 . . 2 1 .| +;; +-+ +-+-+-+ + +;; .|.|. 2 .|.| +;; +-+ + +-+-+ + +;; |2 .|.|. . .| +;; + +-+ + +-+ + +;; |.|. 1|3|3|.| +;; +-+ +-+ +-+ + +(define (problem sliterlink-730336) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-3) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-3) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-3) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-3) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-3) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-1) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-4-0 cap-2) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-1) + (CELL-CAPACITY cell-5-3 cap-3) + (CELL-CAPACITY cell-5-4 cap-3) + (CELL-CAPACITY cell-5-5 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-5-0 cell-outside-0-down n-6-0 n-6-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-5-1 cell-outside-1-down n-6-1 n-6-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-5-2 cell-outside-2-down n-6-2 n-6-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-5-3 cell-outside-3-down n-6-3 n-6-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-5-4 cell-outside-4-down n-6-4 n-6-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-5-5 cell-outside-5-down n-6-5 n-6-6) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-5 cell-outside-0-right n-0-6 n-1-6) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-5 cell-outside-1-right n-1-6 n-2-6) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-5 cell-outside-2-right n-2-6 n-3-6) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-5 cell-outside-3-right n-3-6 n-4-6) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-5 cell-outside-4-right n-4-6 n-5-6) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-5 cell-outside-5-right n-5-6 n-6-6) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-4 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p08.pddl b/slitherlink-opt23-adl/p08.pddl new file mode 100644 index 00000000..4ce77353 --- /dev/null +++ b/slitherlink-opt23-adl/p08.pddl @@ -0,0 +1,335 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 5 8 p08.pddl p08.plan +;; +;; .2..221. +;; 22...322 +;; 3...22.. +;; .31..313 +;; .22..2.. +;; +;; +-+-+-+-+-+-+-+-+ +;; |. 2 . . 2 2 1 .| +;; +-+-+-+-+-+-+ +-+ +;; 2 2 . . . 3|2|2 +;; +-+-+-+ +-+-+ + +;; |3 . .|.|2 2 .|. +;; +-+-+ +-+ +-+ +-+ +;; . 3|1 . .|3|1 3| +;; +-+-+ +-+ + + +-+ +;; |. 2 2|.|.|2|.|. +;; +-+-+-+ +-+ +-+ + +(define (problem sliterlink-363090) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-2) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-2) + (CELL-CAPACITY cell-0-5 cap-2) + (CELL-CAPACITY cell-0-6 cap-1) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-3) + (CELL-CAPACITY cell-1-6 cap-2) + (CELL-CAPACITY cell-1-7 cap-2) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-2) + (CELL-CAPACITY cell-2-5 cap-2) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-3) + (CELL-CAPACITY cell-3-2 cap-1) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-3) + (CELL-CAPACITY cell-3-6 cap-1) + (CELL-CAPACITY cell-3-7 cap-3) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-2) + (CELL-CAPACITY cell-4-2 cap-2) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-2) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-4-0 cell-outside-0-down n-5-0 n-5-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-4-1 cell-outside-1-down n-5-1 n-5-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-4-2 cell-outside-2-down n-5-2 n-5-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-4-3 cell-outside-3-down n-5-3 n-5-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-4-4 cell-outside-4-down n-5-4 n-5-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-4-5 cell-outside-5-down n-5-5 n-5-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-4-6 cell-outside-6-down n-5-6 n-5-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-4-7 cell-outside-7-down n-5-7 n-5-8) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-7 cell-outside-0-right n-0-8 n-1-8) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-7 cell-outside-1-right n-1-8 n-2-8) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-7 cell-outside-2-right n-2-8 n-3-8) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-7 cell-outside-3-right n-3-8 n-4-8) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-7 cell-outside-4-right n-4-8 n-5-8) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-3-7 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p09.pddl b/slitherlink-opt23-adl/p09.pddl new file mode 100644 index 00000000..327a8e9c --- /dev/null +++ b/slitherlink-opt23-adl/p09.pddl @@ -0,0 +1,372 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 9 5 p09.pddl p09.plan +;; +;; .3..3 +;; 3..3. +;; 3...2 +;; ..... +;; ..... +;; 23.3. +;; .31.. +;; 21.1. +;; ...3. +;; +;; +-+ +-+ +;; .|3|. .|3| +;; +-+ + +-+ + +;; |3 .|.|3 .| +;; +-+ + +-+ + +;; 3|.|. .|2| +;; +-+ +-+-+ + +;; |. . . . .| +;; +-+-+-+-+ + +;; . . . .|.| +;; +-+-+ +-+ + +;; |2 3|.|3 .| +;; + +-+ +-+ + +;; |.|3 1 .|.| +;; + +-+-+-+ + +;; |2 1 . 1 .| +;; +-+ +-+ +-+ +;; .|.|.|3|. +;; +-+ +-+ + +(define (problem sliterlink-612963) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-9-5 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-3) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-3) + (CELL-CAPACITY cell-1-0 cap-3) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-3) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-2) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-3) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-3) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-3) + (CELL-CAPACITY cell-6-2 cap-1) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-7-0 cap-2) + (CELL-CAPACITY cell-7-1 cap-1) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-1) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-8-0 cap-4) + (CELL-CAPACITY cell-8-1 cap-4) + (CELL-CAPACITY cell-8-2 cap-4) + (CELL-CAPACITY cell-8-3 cap-3) + (CELL-CAPACITY cell-8-4 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-9-5) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-7-4 cell-8-4 n-8-4 n-8-5) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-8-0 cell-outside-0-down n-9-0 n-9-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-8-1 cell-outside-1-down n-9-1 n-9-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-8-2 cell-outside-2-down n-9-2 n-9-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-8-3 cell-outside-3-down n-9-3 n-9-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-8-4 cell-outside-4-down n-9-4 n-9-5) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-8-3 cell-8-4 n-8-4 n-9-4) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-4 cell-outside-0-right n-0-5 n-1-5) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-4 cell-outside-1-right n-1-5 n-2-5) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-4 cell-outside-2-right n-2-5 n-3-5) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-4 cell-outside-3-right n-3-5 n-4-5) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-4 cell-outside-4-right n-4-5 n-5-5) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-4 cell-outside-5-right n-5-5 n-6-5) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-4 cell-outside-6-right n-6-5 n-7-5) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-4 cell-outside-7-right n-7-5 n-8-5) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-4 cell-outside-8-right n-8-5 n-9-5) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + (not (node-degree1 n-9-5)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-6-1 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-7-0 cap-0) + (CELL-CAPACITY cell-7-1 cap-0) + (CELL-CAPACITY cell-7-3 cap-0) + (CELL-CAPACITY cell-8-3 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p10.pddl b/slitherlink-opt23-adl/p10.pddl new file mode 100644 index 00000000..15b648c2 --- /dev/null +++ b/slitherlink-opt23-adl/p10.pddl @@ -0,0 +1,410 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 12 4 p10.pddl p10.plan +;; +;; .21. +;; 2..2 +;; .2.. +;; .0.2 +;; 2... +;; 2.33 +;; ..2. +;; 3... +;; 3.3. +;; .... +;; 13.. +;; .2.3 +;; +;; +-+ +-+ +;; |.|2 1|.| +;; + +-+ + + +;; |2 .|.|2| +;; +-+ + + + +;; .|2|.|.| +;; +-+ +-+ + +;; |. 0 . 2| +;; +-+ +-+-+ +;; 2|.|. . +;; + + +-+ +;; 2|.|3|3| +;; +-+ +-+ + +;; |. . 2 .| +;; +-+ +-+-+ +;; 3|.|. . +;; +-+ + +-+ +;; |3 .|3|.| +;; +-+ +-+ + +;; .|. . .| +;; +-+ +-+ +;; 1 3|.|. +;; +-+-+ +-+ +;; |. 2 . 3| +;; +-+-+-+-+ + +(define (problem sliterlink-244775) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-10-0 n-10-1 n-10-2 n-10-3 n-10-4 n-11-0 n-11-1 n-11-2 n-11-3 n-11-4 n-12-0 n-12-1 n-12-2 n-12-3 n-12-4 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-9-0 cell-9-1 cell-9-2 cell-9-3 cell-10-0 cell-10-1 cell-10-2 cell-10-3 cell-11-0 cell-11-1 cell-11-2 cell-11-3 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-9-left cell-outside-9-right cell-outside-10-left cell-outside-10-right cell-outside-11-left cell-outside-11-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-9-left cap-1) + (CELL-CAPACITY cell-outside-9-right cap-1) + (CELL-CAPACITY cell-outside-10-left cap-1) + (CELL-CAPACITY cell-outside-10-right cap-1) + (CELL-CAPACITY cell-outside-11-left cap-1) + (CELL-CAPACITY cell-outside-11-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-2) + (CELL-CAPACITY cell-0-2 cap-1) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-2) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-4-0 cap-2) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-3) + (CELL-CAPACITY cell-5-3 cap-3) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-2) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-7-0 cap-3) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-8-0 cap-3) + (CELL-CAPACITY cell-8-1 cap-4) + (CELL-CAPACITY cell-8-2 cap-3) + (CELL-CAPACITY cell-8-3 cap-4) + (CELL-CAPACITY cell-9-0 cap-4) + (CELL-CAPACITY cell-9-1 cap-4) + (CELL-CAPACITY cell-9-2 cap-4) + (CELL-CAPACITY cell-9-3 cap-4) + (CELL-CAPACITY cell-10-0 cap-1) + (CELL-CAPACITY cell-10-1 cap-3) + (CELL-CAPACITY cell-10-2 cap-4) + (CELL-CAPACITY cell-10-3 cap-4) + (CELL-CAPACITY cell-11-0 cap-4) + (CELL-CAPACITY cell-11-1 cap-2) + (CELL-CAPACITY cell-11-2 cap-4) + (CELL-CAPACITY cell-11-3 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-10-0) + (node-degree0 n-10-1) + (node-degree0 n-10-2) + (node-degree0 n-10-3) + (node-degree0 n-10-4) + (node-degree0 n-11-0) + (node-degree0 n-11-1) + (node-degree0 n-11-2) + (node-degree0 n-11-3) + (node-degree0 n-11-4) + (node-degree0 n-12-0) + (node-degree0 n-12-1) + (node-degree0 n-12-2) + (node-degree0 n-12-3) + (node-degree0 n-12-4) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-8-0 cell-9-0 n-9-0 n-9-1) + (CELL-EDGE cell-8-1 cell-9-1 n-9-1 n-9-2) + (CELL-EDGE cell-8-2 cell-9-2 n-9-2 n-9-3) + (CELL-EDGE cell-8-3 cell-9-3 n-9-3 n-9-4) + (CELL-EDGE cell-9-0 cell-10-0 n-10-0 n-10-1) + (CELL-EDGE cell-9-1 cell-10-1 n-10-1 n-10-2) + (CELL-EDGE cell-9-2 cell-10-2 n-10-2 n-10-3) + (CELL-EDGE cell-9-3 cell-10-3 n-10-3 n-10-4) + (CELL-EDGE cell-10-0 cell-11-0 n-11-0 n-11-1) + (CELL-EDGE cell-10-1 cell-11-1 n-11-1 n-11-2) + (CELL-EDGE cell-10-2 cell-11-2 n-11-2 n-11-3) + (CELL-EDGE cell-10-3 cell-11-3 n-11-3 n-11-4) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-11-0 cell-outside-0-down n-12-0 n-12-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-11-1 cell-outside-1-down n-12-1 n-12-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-11-2 cell-outside-2-down n-12-2 n-12-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-11-3 cell-outside-3-down n-12-3 n-12-4) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-9-0 cell-9-1 n-9-1 n-10-1) + (CELL-EDGE cell-10-0 cell-10-1 n-10-1 n-11-1) + (CELL-EDGE cell-11-0 cell-11-1 n-11-1 n-12-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-9-1 cell-9-2 n-9-2 n-10-2) + (CELL-EDGE cell-10-1 cell-10-2 n-10-2 n-11-2) + (CELL-EDGE cell-11-1 cell-11-2 n-11-2 n-12-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-9-2 cell-9-3 n-9-3 n-10-3) + (CELL-EDGE cell-10-2 cell-10-3 n-10-3 n-11-3) + (CELL-EDGE cell-11-2 cell-11-3 n-11-3 n-12-3) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-3 cell-outside-0-right n-0-4 n-1-4) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-3 cell-outside-1-right n-1-4 n-2-4) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-3 cell-outside-2-right n-2-4 n-3-4) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-3 cell-outside-3-right n-3-4 n-4-4) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-3 cell-outside-4-right n-4-4 n-5-4) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-3 cell-outside-5-right n-5-4 n-6-4) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-3 cell-outside-6-right n-6-4 n-7-4) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-3 cell-outside-7-right n-7-4 n-8-4) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-3 cell-outside-8-right n-8-4 n-9-4) + (CELL-EDGE cell-outside-9-left cell-9-0 n-9-0 n-10-0) + (CELL-EDGE cell-9-3 cell-outside-9-right n-9-4 n-10-4) + (CELL-EDGE cell-outside-10-left cell-10-0 n-10-0 n-11-0) + (CELL-EDGE cell-10-3 cell-outside-10-right n-10-4 n-11-4) + (CELL-EDGE cell-outside-11-left cell-11-0 n-11-0 n-12-0) + (CELL-EDGE cell-11-3 cell-outside-11-right n-11-4 n-12-4) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-10-0)) + (not (node-degree1 n-10-1)) + (not (node-degree1 n-10-2)) + (not (node-degree1 n-10-3)) + (not (node-degree1 n-10-4)) + (not (node-degree1 n-11-0)) + (not (node-degree1 n-11-1)) + (not (node-degree1 n-11-2)) + (not (node-degree1 n-11-3)) + (not (node-degree1 n-11-4)) + (not (node-degree1 n-12-0)) + (not (node-degree1 n-12-1)) + (not (node-degree1 n-12-2)) + (not (node-degree1 n-12-3)) + (not (node-degree1 n-12-4)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-7-0 cap-0) + (CELL-CAPACITY cell-8-0 cap-0) + (CELL-CAPACITY cell-8-2 cap-0) + (CELL-CAPACITY cell-10-0 cap-0) + (CELL-CAPACITY cell-10-1 cap-0) + (CELL-CAPACITY cell-11-1 cap-0) + (CELL-CAPACITY cell-11-3 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p11.pddl b/slitherlink-opt23-adl/p11.pddl new file mode 100644 index 00000000..62fb75db --- /dev/null +++ b/slitherlink-opt23-adl/p11.pddl @@ -0,0 +1,392 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 7 7 p11.pddl p11.plan +;; +;; ...2.2. +;; 2.222.. +;; ..2.1.2 +;; 2.2.33. +;; ..3.1.. +;; ....333 +;; 3.22... +;; +;; +-+-+ +-+ +-+ +;; .|. .|2|.|2|.| +;; +-+ +-+ + + + + +;; |2 .|2 2|2|.|.| +;; + +-+ +-+ +-+ + +;; |.|. 2|. 1 . 2| +;; + +-+-+ +-+ +-+ +;; |2 . 2 .|3|3|. +;; +-+ +-+-+ +-+ +;; .|.|3 . 1 . . +;; +-+ +-+ +-+ +-+ +;; |. . .|.|3|3|3| +;; + +-+ +-+ +-+ + +;; |3|.|2 2 . . .| +;; +-+ +-+-+-+-+-+ + +(define (problem sliterlink-938864) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-2) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-2) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-2) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-2) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-2) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-1) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-2) + (CELL-CAPACITY cell-3-0 cap-2) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-3) + (CELL-CAPACITY cell-3-5 cap-3) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-3) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-1) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-3) + (CELL-CAPACITY cell-5-5 cap-3) + (CELL-CAPACITY cell-5-6 cap-3) + (CELL-CAPACITY cell-6-0 cap-3) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-2) + (CELL-CAPACITY cell-6-3 cap-2) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-6-0 cell-outside-0-down n-7-0 n-7-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-6-1 cell-outside-1-down n-7-1 n-7-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-6-2 cell-outside-2-down n-7-2 n-7-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-6-3 cell-outside-3-down n-7-3 n-7-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-6-4 cell-outside-4-down n-7-4 n-7-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-6-5 cell-outside-5-down n-7-5 n-7-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-6-6 cell-outside-6-down n-7-6 n-7-7) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-6 cell-outside-0-right n-0-7 n-1-7) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-6 cell-outside-1-right n-1-7 n-2-7) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-6 cell-outside-2-right n-2-7 n-3-7) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-6 cell-outside-3-right n-3-7 n-4-7) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-6 cell-outside-4-right n-4-7 n-5-7) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-6 cell-outside-5-right n-5-7 n-6-7) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-6 cell-outside-6-right n-6-7 n-7-7) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-2-6 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-5-4 cap-0) + (CELL-CAPACITY cell-5-5 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-6-3 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p12.pddl b/slitherlink-opt23-adl/p12.pddl new file mode 100644 index 00000000..4f8dfe19 --- /dev/null +++ b/slitherlink-opt23-adl/p12.pddl @@ -0,0 +1,438 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 8 7 p12.pddl p12.plan +;; +;; 3.....3 +;; 2..2..1 +;; 21.3.3. +;; .....13 +;; 3.2.22. +;; 223...1 +;; ..2.... +;; 32...32 +;; +;; +-+-+-+-+-+-+-+ +;; |3 . . . . . 3| +;; +-+ +-+-+-+-+-+ +;; 2|.|. 2 . . 1 +;; + +-+-+ +-+ +;; 2|1 . 3|.|3|. +;; +-+ +-+-+ + +-+ +;; |. .|. . .|1 3| +;; +-+ +-+-+-+ +-+ +;; 3|. 2 . 2 2|. +;; +-+ +-+ +-+-+ +;; |2 2|3|.|. . 1 +;; + +-+ + +-+-+-+ +;; |.|. 2|. . . .| +;; + + +-+ +-+ +-+ +;; |3|2|. .|.|3|2 +;; +-+ +-+-+ +-+ + +(define (problem sliterlink-662527) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-3) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-1) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-1) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-3) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-3) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-1) + (CELL-CAPACITY cell-3-6 cap-3) + (CELL-CAPACITY cell-4-0 cap-3) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-2) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-2) + (CELL-CAPACITY cell-4-5 cap-2) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-2) + (CELL-CAPACITY cell-5-2 cap-3) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-1) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-2) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-4) + (CELL-CAPACITY cell-7-0 cap-3) + (CELL-CAPACITY cell-7-1 cap-2) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-7-5 cap-3) + (CELL-CAPACITY cell-7-6 cap-2) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-7-0 cell-outside-0-down n-8-0 n-8-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-7-1 cell-outside-1-down n-8-1 n-8-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-7-2 cell-outside-2-down n-8-2 n-8-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-7-3 cell-outside-3-down n-8-3 n-8-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-7-4 cell-outside-4-down n-8-4 n-8-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-7-5 cell-outside-5-down n-8-5 n-8-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-7-6 cell-outside-6-down n-8-6 n-8-7) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-6 cell-outside-0-right n-0-7 n-1-7) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-6 cell-outside-1-right n-1-7 n-2-7) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-6 cell-outside-2-right n-2-7 n-3-7) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-6 cell-outside-3-right n-3-7 n-4-7) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-6 cell-outside-4-right n-4-7 n-5-7) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-6 cell-outside-5-right n-5-7 n-6-7) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-6 cell-outside-6-right n-6-7 n-7-7) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-6 cell-outside-7-right n-7-7 n-8-7) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-7-0 cap-0) + (CELL-CAPACITY cell-7-1 cap-0) + (CELL-CAPACITY cell-7-5 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p13.pddl b/slitherlink-opt23-adl/p13.pddl new file mode 100644 index 00000000..ff31e004 --- /dev/null +++ b/slitherlink-opt23-adl/p13.pddl @@ -0,0 +1,454 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 6 10 p13.pddl p13.plan +;; +;; ..2.2.2... +;; 1..2...1.. +;; ..223.3..1 +;; .2......3. +;; .....3..1. +;; 2.3.3..333 +;; +;; +-+ +-+-+-+-+-+-+-+-+ +;; |.|.|2 . 2 . 2 . . .| +;; + +-+ +-+-+-+-+-+-+ + +;; |1 . .|2 . . . 1 .|.| +;; + +-+-+ +-+ +-+ +-+ +;; |.|. 2 2|3|.|3|. . 1 +;; + +-+-+-+ +-+ + +-+ +;; |. 2 . . . . .|.|3|. +;; + +-+-+-+ +-+ +-+ +-+ +;; |.|. . .|.|3|. . 1 .| +;; + +-+-+ + + +-+ +-+ + +;; |2 . 3|.|3|. .|3|3|3| +;; +-+-+-+ +-+ +-+ +-+ + +(define (problem sliterlink-638552) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-0-10 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-1-10 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-2-10 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-3-10 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-4-10 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-5-10 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-6-10 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-0-9 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down cell-outside-9-up cell-outside-9-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-outside-9-up cap-1) + (CELL-CAPACITY cell-outside-9-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-2) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-2) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-0-9 cap-4) + (CELL-CAPACITY cell-1-0 cap-1) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-1) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-1-9 cap-4) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-2) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-3) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-3) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-2-8 cap-4) + (CELL-CAPACITY cell-2-9 cap-1) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-2) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-3-8 cap-3) + (CELL-CAPACITY cell-3-9 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-3) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-4-8 cap-1) + (CELL-CAPACITY cell-4-9 cap-4) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-3) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-3) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-4) + (CELL-CAPACITY cell-5-7 cap-3) + (CELL-CAPACITY cell-5-8 cap-3) + (CELL-CAPACITY cell-5-9 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-0-10) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-1-10) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-2-10) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-3-10) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-4-10) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-5-10) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-6-10) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-0-9 cell-1-9 n-1-9 n-1-10) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-1-9 cell-2-9 n-2-9 n-2-10) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-2-9 cell-3-9 n-3-9 n-3-10) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-3-9 cell-4-9 n-4-9 n-4-10) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-4-9 cell-5-9 n-5-9 n-5-10) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-5-0 cell-outside-0-down n-6-0 n-6-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-5-1 cell-outside-1-down n-6-1 n-6-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-5-2 cell-outside-2-down n-6-2 n-6-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-5-3 cell-outside-3-down n-6-3 n-6-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-5-4 cell-outside-4-down n-6-4 n-6-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-5-5 cell-outside-5-down n-6-5 n-6-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-5-6 cell-outside-6-down n-6-6 n-6-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-5-7 cell-outside-7-down n-6-7 n-6-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-5-8 cell-outside-8-down n-6-8 n-6-9) + (CELL-EDGE cell-outside-9-up cell-0-9 n-0-9 n-0-10) + (CELL-EDGE cell-5-9 cell-outside-9-down n-6-9 n-6-10) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-0-8 cell-0-9 n-0-9 n-1-9) + (CELL-EDGE cell-1-8 cell-1-9 n-1-9 n-2-9) + (CELL-EDGE cell-2-8 cell-2-9 n-2-9 n-3-9) + (CELL-EDGE cell-3-8 cell-3-9 n-3-9 n-4-9) + (CELL-EDGE cell-4-8 cell-4-9 n-4-9 n-5-9) + (CELL-EDGE cell-5-8 cell-5-9 n-5-9 n-6-9) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-9 cell-outside-0-right n-0-10 n-1-10) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-9 cell-outside-1-right n-1-10 n-2-10) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-9 cell-outside-2-right n-2-10 n-3-10) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-9 cell-outside-3-right n-3-10 n-4-10) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-9 cell-outside-4-right n-4-10 n-5-10) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-9 cell-outside-5-right n-5-10 n-6-10) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-10)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-10)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-10)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-10)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-10)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-10)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-10)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-2-6 cap-0) + (CELL-CAPACITY cell-2-9 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-4-8 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-4 cap-0) + (CELL-CAPACITY cell-5-7 cap-0) + (CELL-CAPACITY cell-5-8 cap-0) + (CELL-CAPACITY cell-5-9 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p14.pddl b/slitherlink-opt23-adl/p14.pddl new file mode 100644 index 00000000..ee534b1f --- /dev/null +++ b/slitherlink-opt23-adl/p14.pddl @@ -0,0 +1,485 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 8 8 p14.pddl p14.plan +;; +;; .3322..2 +;; ...1.222 +;; 3.3..... +;; 31.23... +;; ....3.2. +;; ......23 +;; 3.....2. +;; 321.2.1. +;; +;; +-+ +-+-+-+-+ +;; .|3|3|2 2 . .|2 +;; +-+ +-+ +-+-+ +-+ +;; |. . . 1|. 2|2 2| +;; +-+ +-+ +-+ +-+ + +;; 3|.|3|. .|. .|.| +;; +-+ + + +-+ +-+ + +;; |3 1|.|2|3 .|. .| +;; +-+ + + +-+ +-+-+ +;; .|.|.|. 3|. 2 . +;; +-+ + + +-+ +-+-+ +;; |. .|.|.|. .|2 3| +;; +-+ + + +-+ + +-+ +;; 3|.|.|. .|.|2|. +;; +-+ + +-+ +-+ +-+ +;; |3 2|1 .|2 . 1 .| +;; +-+-+ +-+-+-+-+ + +(define (problem sliterlink-911983) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-3) + (CELL-CAPACITY cell-0-2 cap-3) + (CELL-CAPACITY cell-0-3 cap-2) + (CELL-CAPACITY cell-0-4 cap-2) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-2) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-1) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-2) + (CELL-CAPACITY cell-1-6 cap-2) + (CELL-CAPACITY cell-1-7 cap-2) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-3) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-3-0 cap-3) + (CELL-CAPACITY cell-3-1 cap-1) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-3) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-3) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-2) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-2) + (CELL-CAPACITY cell-5-7 cap-3) + (CELL-CAPACITY cell-6-0 cap-3) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-2) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-7-0 cap-3) + (CELL-CAPACITY cell-7-1 cap-2) + (CELL-CAPACITY cell-7-2 cap-1) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-7-4 cap-2) + (CELL-CAPACITY cell-7-5 cap-4) + (CELL-CAPACITY cell-7-6 cap-1) + (CELL-CAPACITY cell-7-7 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-7-0 cell-outside-0-down n-8-0 n-8-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-7-1 cell-outside-1-down n-8-1 n-8-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-7-2 cell-outside-2-down n-8-2 n-8-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-7-3 cell-outside-3-down n-8-3 n-8-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-7-4 cell-outside-4-down n-8-4 n-8-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-7-5 cell-outside-5-down n-8-5 n-8-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-7-6 cell-outside-6-down n-8-6 n-8-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-7-7 cell-outside-7-down n-8-7 n-8-8) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-7 cell-outside-0-right n-0-8 n-1-8) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-7 cell-outside-1-right n-1-8 n-2-8) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-7 cell-outside-2-right n-2-8 n-3-8) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-7 cell-outside-3-right n-3-8 n-4-8) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-7 cell-outside-4-right n-4-8 n-5-8) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-7 cell-outside-5-right n-5-8 n-6-8) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-7 cell-outside-6-right n-6-8 n-7-8) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-7 cell-outside-7-right n-7-8 n-8-8) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-7 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-4-6 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-5-7 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-6 cap-0) + (CELL-CAPACITY cell-7-0 cap-0) + (CELL-CAPACITY cell-7-1 cap-0) + (CELL-CAPACITY cell-7-2 cap-0) + (CELL-CAPACITY cell-7-4 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p15.pddl b/slitherlink-opt23-adl/p15.pddl new file mode 100644 index 00000000..73042f3c --- /dev/null +++ b/slitherlink-opt23-adl/p15.pddl @@ -0,0 +1,531 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 8 9 p15.pddl p15.plan +;; +;; 2.21.222. +;; 31.23222. +;; 2..2..... +;; ..3..2..3 +;; ....31... +;; ..3....33 +;; .3.3..... +;; ......22. +;; +;; +-+ +-+-+ +-+-+ +;; 2|.|2 1|. 2|2|2 .| +;; +-+ +-+ +-+ + + +-+ +;; |3 1 .|2 3|2|2|2|. +;; +-+-+ +-+-+ + + +-+ +;; 2 .|. 2 . .|.|. .| +;; +-+ + +-+-+ + + +-+ +;; |.|.|3|. .|2|.|.|3 +;; + + +-+ +-+ +-+ +-+ +;; |.|. . .|3 1 . . .| +;; + + +-+ +-+-+ +-+ + +;; |.|.|3|. . .|.|3|3| +;; + + + + +-+-+ + +-+ +;; |.|3|.|3|. . .|. . +;; + +-+ +-+ +-+ +-+-+ +;; |. . . . .|.|2 2 .| +;; +-+-+-+-+-+ +-+-+-+ + +(define (problem sliterlink-554923) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 n-8-9 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-0-0 cap-2) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-0-3 cap-1) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-2) + (CELL-CAPACITY cell-0-6 cap-2) + (CELL-CAPACITY cell-0-7 cap-2) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-1-0 cap-3) + (CELL-CAPACITY cell-1-1 cap-1) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-3) + (CELL-CAPACITY cell-1-5 cap-2) + (CELL-CAPACITY cell-1-6 cap-2) + (CELL-CAPACITY cell-1-7 cap-2) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-2-8 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-3) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-2) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-3-8 cap-3) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-3) + (CELL-CAPACITY cell-4-5 cap-1) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-4-8 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-3) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-4) + (CELL-CAPACITY cell-5-7 cap-3) + (CELL-CAPACITY cell-5-8 cap-3) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-3) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-3) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-4) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-6-8 cap-4) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-7-5 cap-4) + (CELL-CAPACITY cell-7-6 cap-2) + (CELL-CAPACITY cell-7-7 cap-2) + (CELL-CAPACITY cell-7-8 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + (node-degree0 n-8-9) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-6-8 cell-7-8 n-7-8 n-7-9) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-7-0 cell-outside-0-down n-8-0 n-8-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-7-1 cell-outside-1-down n-8-1 n-8-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-7-2 cell-outside-2-down n-8-2 n-8-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-7-3 cell-outside-3-down n-8-3 n-8-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-7-4 cell-outside-4-down n-8-4 n-8-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-7-5 cell-outside-5-down n-8-5 n-8-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-7-6 cell-outside-6-down n-8-6 n-8-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-7-7 cell-outside-7-down n-8-7 n-8-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-7-8 cell-outside-8-down n-8-8 n-8-9) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-7-7 cell-7-8 n-7-8 n-8-8) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-8 cell-outside-0-right n-0-9 n-1-9) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-8 cell-outside-1-right n-1-9 n-2-9) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-8 cell-outside-2-right n-2-9 n-3-9) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-8 cell-outside-3-right n-3-9 n-4-9) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-8 cell-outside-4-right n-4-9 n-5-9) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-8 cell-outside-5-right n-5-9 n-6-9) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-8 cell-outside-6-right n-6-9 n-7-9) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-8 cell-outside-7-right n-7-9 n-8-9) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + (not (node-degree1 n-8-9)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-0-7 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-7 cap-0) + (CELL-CAPACITY cell-5-8 cap-0) + (CELL-CAPACITY cell-6-1 cap-0) + (CELL-CAPACITY cell-6-3 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + (CELL-CAPACITY cell-7-7 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p16.pddl b/slitherlink-opt23-adl/p16.pddl new file mode 100644 index 00000000..660d9f96 --- /dev/null +++ b/slitherlink-opt23-adl/p16.pddl @@ -0,0 +1,561 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 7 11 p16.pddl p16.plan +;; +;; 2...32..... +;; .......322. +;; 22.2....32. +;; 32.2...31.. +;; .0.2121..2. +;; 3..22131..3 +;; ........3.. +;; +;; +-+-+ +-+ +-+-+-+-+-+ +;; |2 .|. .|3|2|. . . . .| +;; + +-+ +-+ + + +-+-+-+ + +;; |.|. .|. .|.|.|3 2 2|.| +;; + +-+ +-+ + + +-+-+ + + +;; |2 2|. 2|.|.|. . 3|2|.| +;; +-+ + + + + +-+-+ +-+ +;; 3|2|. 2|.|.|.|3 1 . . +;; +-+ +-+-+ +-+ +-+ +-+-+ +;; |. 0 . 2 1 2 1 .|.|2 .| +;; +-+ +-+-+-+-+-+ +-+ +-+ +;; 3|.|. 2 2 1 3|1 . .|3 +;; +-+ +-+-+-+ +-+ +-+ +-+ +;; |. . . . .|.|. .|3|. .| +;; +-+-+-+-+-+ +-+-+ +-+-+ + +(define (problem sliterlink-782417) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-0-10 n-0-11 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-1-10 n-1-11 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-2-10 n-2-11 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-3-10 n-3-11 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-4-10 n-4-11 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-5-10 n-5-11 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-6-10 n-6-11 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-7-10 n-7-11 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-0-9 cell-0-10 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down cell-outside-9-up cell-outside-9-down cell-outside-10-up cell-outside-10-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-outside-9-up cap-1) + (CELL-CAPACITY cell-outside-9-down cap-1) + (CELL-CAPACITY cell-outside-10-up cap-1) + (CELL-CAPACITY cell-outside-10-down cap-1) + (CELL-CAPACITY cell-0-0 cap-2) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-3) + (CELL-CAPACITY cell-0-5 cap-2) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-0-9 cap-4) + (CELL-CAPACITY cell-0-10 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-3) + (CELL-CAPACITY cell-1-8 cap-2) + (CELL-CAPACITY cell-1-9 cap-2) + (CELL-CAPACITY cell-1-10 cap-4) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-2) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-2-8 cap-3) + (CELL-CAPACITY cell-2-9 cap-2) + (CELL-CAPACITY cell-2-10 cap-4) + (CELL-CAPACITY cell-3-0 cap-3) + (CELL-CAPACITY cell-3-1 cap-2) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-3-7 cap-3) + (CELL-CAPACITY cell-3-8 cap-1) + (CELL-CAPACITY cell-3-9 cap-4) + (CELL-CAPACITY cell-3-10 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-2) + (CELL-CAPACITY cell-4-4 cap-1) + (CELL-CAPACITY cell-4-5 cap-2) + (CELL-CAPACITY cell-4-6 cap-1) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-4-8 cap-4) + (CELL-CAPACITY cell-4-9 cap-2) + (CELL-CAPACITY cell-4-10 cap-4) + (CELL-CAPACITY cell-5-0 cap-3) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-2) + (CELL-CAPACITY cell-5-4 cap-2) + (CELL-CAPACITY cell-5-5 cap-1) + (CELL-CAPACITY cell-5-6 cap-3) + (CELL-CAPACITY cell-5-7 cap-1) + (CELL-CAPACITY cell-5-8 cap-4) + (CELL-CAPACITY cell-5-9 cap-4) + (CELL-CAPACITY cell-5-10 cap-3) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-4) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-6-8 cap-3) + (CELL-CAPACITY cell-6-9 cap-4) + (CELL-CAPACITY cell-6-10 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-0-10) + (node-degree0 n-0-11) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-1-10) + (node-degree0 n-1-11) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-2-10) + (node-degree0 n-2-11) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-3-10) + (node-degree0 n-3-11) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-4-10) + (node-degree0 n-4-11) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-5-10) + (node-degree0 n-5-11) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-6-10) + (node-degree0 n-6-11) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-7-10) + (node-degree0 n-7-11) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-0-9 cell-1-9 n-1-9 n-1-10) + (CELL-EDGE cell-0-10 cell-1-10 n-1-10 n-1-11) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-1-9 cell-2-9 n-2-9 n-2-10) + (CELL-EDGE cell-1-10 cell-2-10 n-2-10 n-2-11) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-2-9 cell-3-9 n-3-9 n-3-10) + (CELL-EDGE cell-2-10 cell-3-10 n-3-10 n-3-11) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-3-9 cell-4-9 n-4-9 n-4-10) + (CELL-EDGE cell-3-10 cell-4-10 n-4-10 n-4-11) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-4-9 cell-5-9 n-5-9 n-5-10) + (CELL-EDGE cell-4-10 cell-5-10 n-5-10 n-5-11) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-5-9 cell-6-9 n-6-9 n-6-10) + (CELL-EDGE cell-5-10 cell-6-10 n-6-10 n-6-11) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-6-0 cell-outside-0-down n-7-0 n-7-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-6-1 cell-outside-1-down n-7-1 n-7-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-6-2 cell-outside-2-down n-7-2 n-7-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-6-3 cell-outside-3-down n-7-3 n-7-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-6-4 cell-outside-4-down n-7-4 n-7-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-6-5 cell-outside-5-down n-7-5 n-7-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-6-6 cell-outside-6-down n-7-6 n-7-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-6-7 cell-outside-7-down n-7-7 n-7-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-6-8 cell-outside-8-down n-7-8 n-7-9) + (CELL-EDGE cell-outside-9-up cell-0-9 n-0-9 n-0-10) + (CELL-EDGE cell-6-9 cell-outside-9-down n-7-9 n-7-10) + (CELL-EDGE cell-outside-10-up cell-0-10 n-0-10 n-0-11) + (CELL-EDGE cell-6-10 cell-outside-10-down n-7-10 n-7-11) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-0-8 cell-0-9 n-0-9 n-1-9) + (CELL-EDGE cell-1-8 cell-1-9 n-1-9 n-2-9) + (CELL-EDGE cell-2-8 cell-2-9 n-2-9 n-3-9) + (CELL-EDGE cell-3-8 cell-3-9 n-3-9 n-4-9) + (CELL-EDGE cell-4-8 cell-4-9 n-4-9 n-5-9) + (CELL-EDGE cell-5-8 cell-5-9 n-5-9 n-6-9) + (CELL-EDGE cell-6-8 cell-6-9 n-6-9 n-7-9) + (CELL-EDGE cell-0-9 cell-0-10 n-0-10 n-1-10) + (CELL-EDGE cell-1-9 cell-1-10 n-1-10 n-2-10) + (CELL-EDGE cell-2-9 cell-2-10 n-2-10 n-3-10) + (CELL-EDGE cell-3-9 cell-3-10 n-3-10 n-4-10) + (CELL-EDGE cell-4-9 cell-4-10 n-4-10 n-5-10) + (CELL-EDGE cell-5-9 cell-5-10 n-5-10 n-6-10) + (CELL-EDGE cell-6-9 cell-6-10 n-6-10 n-7-10) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-10 cell-outside-0-right n-0-11 n-1-11) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-10 cell-outside-1-right n-1-11 n-2-11) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-10 cell-outside-2-right n-2-11 n-3-11) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-10 cell-outside-3-right n-3-11 n-4-11) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-10 cell-outside-4-right n-4-11 n-5-11) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-10 cell-outside-5-right n-5-11 n-6-11) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-10 cell-outside-6-right n-6-11 n-7-11) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-10)) + (not (node-degree1 n-0-11)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-10)) + (not (node-degree1 n-1-11)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-10)) + (not (node-degree1 n-2-11)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-10)) + (not (node-degree1 n-3-11)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-10)) + (not (node-degree1 n-4-11)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-10)) + (not (node-degree1 n-5-11)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-10)) + (not (node-degree1 n-6-11)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-10)) + (not (node-degree1 n-7-11)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-1-8 cap-0) + (CELL-CAPACITY cell-1-9 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-8 cap-0) + (CELL-CAPACITY cell-2-9 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-7 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-4-6 cap-0) + (CELL-CAPACITY cell-4-9 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-4 cap-0) + (CELL-CAPACITY cell-5-5 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-5-7 cap-0) + (CELL-CAPACITY cell-5-10 cap-0) + (CELL-CAPACITY cell-6-8 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p17.pddl b/slitherlink-opt23-adl/p17.pddl new file mode 100644 index 00000000..6fb11c5f --- /dev/null +++ b/slitherlink-opt23-adl/p17.pddl @@ -0,0 +1,588 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 9 9 p17.pddl p17.plan +;; +;; .13...2.3 +;; 3..131... +;; .......13 +;; ..221.1.2 +;; .21....3. +;; .....21.3 +;; 3..3..2.1 +;; 2.2.3.3.2 +;; 3........ +;; +;; +-+-+-+ +-+ +-+-+ +;; |. 1 3|. .|.|2|. 3| +;; +-+ +-+ +-+ + + +-+ +;; 3|.|. 1|3 1|.|.|. +;; +-+ +-+ +-+ + + +-+ +;; |. . .|. .|.|.|1 3| +;; +-+-+ + + +-+ +-+ +;; . .|2|2 1|. 1 .|2 +;; +-+ +-+ +-+ +-+ +;; .|2 1 .|. .|.|3 . +;; +-+ +-+-+ +-+ +-+-+ +;; |. .|. . .|2 1 . 3| +;; +-+ + +-+ + +-+-+-+ +;; 3|.|.|3|.|.|2 . 1 +;; +-+ +-+ + + + +-+ +;; |2 . 2 .|3|.|3|.|2 +;; + +-+-+ +-+ +-+ +-+ +;; |3|. .|. . . . . .| +;; +-+ +-+-+-+-+-+-+ + +(define (problem sliterlink-249538) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 n-8-9 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-9-5 n-9-6 n-9-7 n-9-8 n-9-9 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-1) + (CELL-CAPACITY cell-0-2 cap-3) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-2) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-0-8 cap-3) + (CELL-CAPACITY cell-1-0 cap-3) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-1) + (CELL-CAPACITY cell-1-4 cap-3) + (CELL-CAPACITY cell-1-5 cap-1) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-4) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-1) + (CELL-CAPACITY cell-2-8 cap-3) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-1) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-1) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-3-8 cap-2) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-2) + (CELL-CAPACITY cell-4-2 cap-1) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-3) + (CELL-CAPACITY cell-4-8 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-2) + (CELL-CAPACITY cell-5-6 cap-1) + (CELL-CAPACITY cell-5-7 cap-4) + (CELL-CAPACITY cell-5-8 cap-3) + (CELL-CAPACITY cell-6-0 cap-3) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-3) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-2) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-6-8 cap-1) + (CELL-CAPACITY cell-7-0 cap-2) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-2) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-7-4 cap-3) + (CELL-CAPACITY cell-7-5 cap-4) + (CELL-CAPACITY cell-7-6 cap-3) + (CELL-CAPACITY cell-7-7 cap-4) + (CELL-CAPACITY cell-7-8 cap-2) + (CELL-CAPACITY cell-8-0 cap-3) + (CELL-CAPACITY cell-8-1 cap-4) + (CELL-CAPACITY cell-8-2 cap-4) + (CELL-CAPACITY cell-8-3 cap-4) + (CELL-CAPACITY cell-8-4 cap-4) + (CELL-CAPACITY cell-8-5 cap-4) + (CELL-CAPACITY cell-8-6 cap-4) + (CELL-CAPACITY cell-8-7 cap-4) + (CELL-CAPACITY cell-8-8 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + (node-degree0 n-8-9) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-9-5) + (node-degree0 n-9-6) + (node-degree0 n-9-7) + (node-degree0 n-9-8) + (node-degree0 n-9-9) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-6-8 cell-7-8 n-7-8 n-7-9) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-7-4 cell-8-4 n-8-4 n-8-5) + (CELL-EDGE cell-7-5 cell-8-5 n-8-5 n-8-6) + (CELL-EDGE cell-7-6 cell-8-6 n-8-6 n-8-7) + (CELL-EDGE cell-7-7 cell-8-7 n-8-7 n-8-8) + (CELL-EDGE cell-7-8 cell-8-8 n-8-8 n-8-9) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-8-0 cell-outside-0-down n-9-0 n-9-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-8-1 cell-outside-1-down n-9-1 n-9-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-8-2 cell-outside-2-down n-9-2 n-9-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-8-3 cell-outside-3-down n-9-3 n-9-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-8-4 cell-outside-4-down n-9-4 n-9-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-8-5 cell-outside-5-down n-9-5 n-9-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-8-6 cell-outside-6-down n-9-6 n-9-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-8-7 cell-outside-7-down n-9-7 n-9-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-8-8 cell-outside-8-down n-9-8 n-9-9) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-8-3 cell-8-4 n-8-4 n-9-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-8-4 cell-8-5 n-8-5 n-9-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-8-5 cell-8-6 n-8-6 n-9-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-8-6 cell-8-7 n-8-7 n-9-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-7-7 cell-7-8 n-7-8 n-8-8) + (CELL-EDGE cell-8-7 cell-8-8 n-8-8 n-9-8) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-8 cell-outside-0-right n-0-9 n-1-9) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-8 cell-outside-1-right n-1-9 n-2-9) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-8 cell-outside-2-right n-2-9 n-3-9) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-8 cell-outside-3-right n-3-9 n-4-9) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-8 cell-outside-4-right n-4-9 n-5-9) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-8 cell-outside-5-right n-5-9 n-6-9) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-8 cell-outside-6-right n-6-9 n-7-9) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-8 cell-outside-7-right n-7-9 n-8-9) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-8 cell-outside-8-right n-8-9 n-9-9) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + (not (node-degree1 n-8-9)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + (not (node-degree1 n-9-5)) + (not (node-degree1 n-9-6)) + (not (node-degree1 n-9-7)) + (not (node-degree1 n-9-8)) + (not (node-degree1 n-9-9)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-0-8 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-2-7 cap-0) + (CELL-CAPACITY cell-2-8 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-7 cap-0) + (CELL-CAPACITY cell-5-5 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-5-8 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-3 cap-0) + (CELL-CAPACITY cell-6-6 cap-0) + (CELL-CAPACITY cell-6-8 cap-0) + (CELL-CAPACITY cell-7-0 cap-0) + (CELL-CAPACITY cell-7-2 cap-0) + (CELL-CAPACITY cell-7-4 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + (CELL-CAPACITY cell-7-8 cap-0) + (CELL-CAPACITY cell-8-0 cap-0) + ) +) +) + + diff --git a/slitherlink-opt23-adl/p18.pddl b/slitherlink-opt23-adl/p18.pddl new file mode 100644 index 00000000..87c701ff --- /dev/null +++ b/slitherlink-opt23-adl/p18.pddl @@ -0,0 +1,2180 @@ +(define (problem sliterlink-04-generalized_slitherlink-0-0) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0 n-1 n-10 n-1003 n-1005 n-1010 n-1011 n-1018 n-1019 n-102 n-1021 n-1029 n-103 n-1043 n-1045 n-1050 n-1051 n-1058 n-1059 n-1061 n-1069 n-108 n-1083 n-1085 n-1090 n-1091 n-1098 n-1099 n-11 n-110 n-1101 n-1109 n-111 n-1123 n-1125 n-113 n-1130 n-1131 n-1138 n-1139 n-1141 n-1149 n-1163 n-1165 n-1170 n-1171 n-1178 n-1179 n-1181 n-1189 n-1195 n-1203 n-1205 n-1209 n-121 n-1214 n-1222 n-1223 n-1225 n-1229 n-1234 n-1235 n-1242 n-1243 n-1245 n-1249 n-125 n-1253 n-1267 n-1269 n-127 n-1274 n-1275 n-1282 n-1283 n-1285 n-1293 n-13 n-1307 n-1309 n-131 n-1314 n-1315 n-132 n-1322 n-1323 n-1325 n-1333 n-1347 n-1349 n-135 n-1354 n-1355 n-1362 n-1363 n-1365 n-1373 n-1387 n-1389 n-1394 n-1402 n-1403 n-1405 n-1409 n-141 n-1414 n-1422 n-1423 n-1429 n-1434 n-1442 n-1443 n-1449 n-145 n-150 n-151 n-156 n-158 n-159 n-161 n-169 n-17 n-172 n-173 n-174 n-175 n-179 n-180 n-182 n-183 n-185 n-189 n-193 n-197 n-2 n-207 n-21 n-211 n-213 n-217 n-222 n-223 n-230 n-231 n-233 n-241 n-25 n-255 n-257 n-262 n-263 n-270 n-271 n-273 n-281 n-29 n-295 n-297 n-3 n-302 n-303 n-31 n-310 n-311 n-313 n-321 n-335 n-337 n-342 n-343 n-35 n-350 n-351 n-353 n-36 n-361 n-367 n-372 n-375 n-377 n-381 n-386 n-387 n-39 n-392 n-394 n-395 n-397 n-405 n-408 n-41 n-410 n-415 n-418 n-419 n-421 n-425 n-429 n-434 n-435 n-442 n-443 n-445 n-449 n-45 n-453 n-467 n-469 n-474 n-475 n-482 n-483 n-485 n-49 n-493 n-507 n-509 n-514 n-515 n-522 n-523 n-525 n-533 n-54 n-547 n-549 n-55 n-554 n-555 n-562 n-563 n-565 n-573 n-587 n-589 n-594 n-595 n-60 n-602 n-603 n-605 n-613 n-62 n-627 n-629 n-63 n-634 n-635 n-642 n-643 n-645 n-65 n-653 n-659 n-664 n-667 n-669 n-673 n-676 n-678 n-686 n-687 n-689 n-693 n-697 n-7 n-702 n-703 n-710 n-711 n-713 n-717 n-721 n-73 n-735 n-737 n-742 n-743 n-750 n-751 n-753 n-761 n-77 n-775 n-777 n-782 n-783 n-79 n-790 n-791 n-793 n-8 n-801 n-815 n-817 n-822 n-823 n-83 n-830 n-831 n-833 n-84 n-841 n-855 n-857 n-862 n-863 n-87 n-870 n-871 n-873 n-881 n-895 n-897 n-902 n-903 n-910 n-911 n-913 n-921 n-927 n-93 n-935 n-937 n-941 n-944 n-946 n-954 n-955 n-957 n-961 n-965 n-97 n-970 n-971 n-978 n-979 n-981 n-985 n-989 - node + c-c0 c-c1 c-c10 c-c100 c-c101 c-c102 c-c103 c-c104 c-c105 c-c106 c-c107 c-c108 c-c109 c-c11 c-c110 c-c111 c-c112 c-c113 c-c114 c-c115 c-c116 c-c117 c-c118 c-c119 c-c12 c-c120 c-c121 c-c122 c-c123 c-c124 c-c125 c-c126 c-c127 c-c128 c-c129 c-c13 c-c130 c-c131 c-c132 c-c133 c-c134 c-c135 c-c136 c-c137 c-c138 c-c139 c-c14 c-c140 c-c141 c-c142 c-c143 c-c144 c-c145 c-c146 c-c147 c-c148 c-c149 c-c15 c-c150 c-c151 c-c152 c-c153 c-c154 c-c155 c-c156 c-c157 c-c158 c-c159 c-c16 c-c160 c-c161 c-c162 c-c163 c-c164 c-c165 c-c166 c-c167 c-c168 c-c169 c-c17 c-c170 c-c171 c-c172 c-c173 c-c174 c-c175 c-c176 c-c177 c-c178 c-c179 c-c18 c-c180 c-c181 c-c182 c-c183 c-c184 c-c185 c-c186 c-c187 c-c188 c-c189 c-c19 c-c190 c-c191 c-c192 c-c193 c-c194 c-c195 c-c196 c-c197 c-c198 c-c199 c-c2 c-c20 c-c200 c-c201 c-c202 c-c203 c-c204 c-c205 c-c206 c-c207 c-c208 c-c209 c-c21 c-c210 c-c211 c-c212 c-c213 c-c214 c-c215 c-c216 c-c217 c-c218 c-c219 c-c22 c-c220 c-c221 c-c222 c-c223 c-c224 c-c225 c-c226 c-c227 c-c228 c-c229 c-c23 c-c230 c-c231 c-c232 c-c233 c-c234 c-c235 c-c236 c-c237 c-c238 c-c239 c-c24 c-c240 c-c241 c-c242 c-c243 c-c244 c-c245 c-c246 c-c247 c-c248 c-c249 c-c25 c-c250 c-c251 c-c252 c-c253 c-c254 c-c255 c-c256 c-c257 c-c258 c-c259 c-c26 c-c260 c-c261 c-c262 c-c263 c-c264 c-c265 c-c266 c-c267 c-c268 c-c269 c-c27 c-c270 c-c271 c-c272 c-c273 c-c274 c-c275 c-c276 c-c277 c-c278 c-c279 c-c28 c-c280 c-c281 c-c282 c-c283 c-c284 c-c285 c-c286 c-c287 c-c288 c-c289 c-c29 c-c290 c-c291 c-c292 c-c293 c-c294 c-c295 c-c296 c-c297 c-c298 c-c299 c-c3 c-c30 c-c300 c-c301 c-c302 c-c303 c-c304 c-c305 c-c306 c-c307 c-c308 c-c309 c-c31 c-c310 c-c311 c-c312 c-c313 c-c314 c-c315 c-c316 c-c317 c-c318 c-c319 c-c32 c-c320 c-c321 c-c322 c-c323 c-c324 c-c325 c-c326 c-c327 c-c328 c-c329 c-c33 c-c330 c-c331 c-c332 c-c333 c-c334 c-c335 c-c336 c-c337 c-c338 c-c339 c-c34 c-c340 c-c341 c-c342 c-c343 c-c344 c-c345 c-c346 c-c347 c-c348 c-c349 c-c35 c-c350 c-c351 c-c352 c-c353 c-c354 c-c355 c-c356 c-c357 c-c358 c-c359 c-c36 c-c360 c-c361 c-c362 c-c363 c-c364 c-c365 c-c366 c-c367 c-c368 c-c369 c-c37 c-c370 c-c371 c-c372 c-c373 c-c374 c-c375 c-c376 c-c377 c-c378 c-c379 c-c38 c-c380 c-c381 c-c382 c-c383 c-c384 c-c385 c-c386 c-c387 c-c388 c-c389 c-c39 c-c390 c-c391 c-c392 c-c393 c-c394 c-c395 c-c396 c-c397 c-c398 c-c399 c-c4 c-c40 c-c400 c-c401 c-c402 c-c403 c-c404 c-c405 c-c406 c-c407 c-c408 c-c409 c-c41 c-c410 c-c411 c-c412 c-c413 c-c414 c-c415 c-c416 c-c417 c-c418 c-c419 c-c42 c-c420 c-c421 c-c422 c-c423 c-c424 c-c425 c-c426 c-c427 c-c428 c-c429 c-c43 c-c430 c-c431 c-c44 c-c45 c-c46 c-c47 c-c48 c-c49 c-c5 c-c50 c-c51 c-c52 c-c53 c-c54 c-c55 c-c56 c-c57 c-c58 c-c59 c-c6 c-c60 c-c61 c-c62 c-c63 c-c64 c-c65 c-c66 c-c67 c-c68 c-c69 c-c7 c-c70 c-c71 c-c72 c-c73 c-c74 c-c75 c-c76 c-c77 c-c78 c-c79 c-c8 c-c80 c-c81 c-c82 c-c83 c-c84 c-c85 c-c86 c-c87 c-c88 c-c89 c-c9 c-c90 c-c91 c-c92 c-c93 c-c94 c-c95 c-c96 c-c97 c-c98 c-c99 c-outside-cell-0-13 c-outside-cell-108-93 c-outside-cell-1171-1189 c-outside-cell-1171-1203 c-outside-cell-1178-1179 c-outside-cell-1178-1389 c-outside-cell-1189-1179 c-outside-cell-1195-1205 c-outside-cell-1195-1209 c-outside-cell-1205-935 c-outside-cell-1209-1203 c-outside-cell-1222-1223 c-outside-cell-1223-1249 c-outside-cell-1225-1222 c-outside-cell-1242-1243 c-outside-cell-1243-1405 c-outside-cell-1249-1242 c-outside-cell-127-141 c-outside-cell-127-156 c-outside-cell-1282-1283 c-outside-cell-1282-1409 c-outside-cell-1283-1409 c-outside-cell-13-7 c-outside-cell-131-132 c-outside-cell-1322-1323 c-outside-cell-1322-1429 c-outside-cell-1323-1429 c-outside-cell-1355-1373 c-outside-cell-1355-1387 c-outside-cell-1362-1363 c-outside-cell-1362-1449 c-outside-cell-1373-1363 c-outside-cell-1389-1387 c-outside-cell-1402-1403 c-outside-cell-1405-1402 c-outside-cell-1409-1403 c-outside-cell-1409-1422 c-outside-cell-141-132 c-outside-cell-1422-1423 c-outside-cell-1429-1423 c-outside-cell-1429-1442 c-outside-cell-1442-1443 c-outside-cell-1449-1443 c-outside-cell-151-161 c-outside-cell-151-372 c-outside-cell-161-156 c-outside-cell-172-185 c-outside-cell-179-180 c-outside-cell-180-213 c-outside-cell-185-179 c-outside-cell-207-0 c-outside-cell-213-207 c-outside-cell-31-45 c-outside-cell-31-60 c-outside-cell-35-36 c-outside-cell-367-377 c-outside-cell-367-392 c-outside-cell-377-372 c-outside-cell-387-397 c-outside-cell-387-664 c-outside-cell-397-392 c-outside-cell-408-421 c-outside-cell-408-425 c-outside-cell-41-35 c-outside-cell-415-172 c-outside-cell-421-415 c-outside-cell-425-418 c-outside-cell-45-36 c-outside-cell-45-83 c-outside-cell-60-45 c-outside-cell-659-669 c-outside-cell-659-673 c-outside-cell-669-664 c-outside-cell-673-667 c-outside-cell-676-689 c-outside-cell-676-693 c-outside-cell-689-418 c-outside-cell-693-686 c-outside-cell-7-8 c-outside-cell-79-108 c-outside-cell-79-93 c-outside-cell-8-41 c-outside-cell-83-84 c-outside-cell-927-937 c-outside-cell-927-941 c-outside-cell-93-131 c-outside-cell-93-84 c-outside-cell-937-667 c-outside-cell-941-935 c-outside-cell-944-957 c-outside-cell-944-961 c-outside-cell-954-955 c-outside-cell-955-985 c-outside-cell-957-686 c-outside-cell-961-954 c-outside-cell-978-979 c-outside-cell-979-1225 c-outside-cell-985-978 - cell +) + +(:init + (cell-capacity-inc cap-0 cap-1) + (cell-capacity-inc cap-1 cap-2) + (cell-capacity-inc cap-2 cap-3) + (cell-capacity-inc cap-3 cap-4) + + (cell-capacity c-c0 cap-0) + (cell-capacity c-c1 cap-1) + (cell-capacity c-c10 cap-3) + (cell-capacity c-c100 cap-3) + (cell-capacity c-c101 cap-3) + (cell-capacity c-c102 cap-3) + (cell-capacity c-c103 cap-1) + (cell-capacity c-c104 cap-2) + (cell-capacity c-c105 cap-0) + (cell-capacity c-c106 cap-4) + (cell-capacity c-c107 cap-3) + (cell-capacity c-c108 cap-3) + (cell-capacity c-c109 cap-2) + (cell-capacity c-c11 cap-3) + (cell-capacity c-c110 cap-1) + (cell-capacity c-c111 cap-4) + (cell-capacity c-c112 cap-2) + (cell-capacity c-c113 cap-0) + (cell-capacity c-c114 cap-1) + (cell-capacity c-c115 cap-3) + (cell-capacity c-c116 cap-1) + (cell-capacity c-c117 cap-2) + (cell-capacity c-c118 cap-1) + (cell-capacity c-c119 cap-4) + (cell-capacity c-c12 cap-4) + (cell-capacity c-c120 cap-0) + (cell-capacity c-c121 cap-3) + (cell-capacity c-c122 cap-3) + (cell-capacity c-c123 cap-1) + (cell-capacity c-c124 cap-4) + (cell-capacity c-c125 cap-3) + (cell-capacity c-c126 cap-2) + (cell-capacity c-c127 cap-3) + (cell-capacity c-c128 cap-3) + (cell-capacity c-c129 cap-3) + (cell-capacity c-c13 cap-1) + (cell-capacity c-c130 cap-1) + (cell-capacity c-c131 cap-4) + (cell-capacity c-c132 cap-4) + (cell-capacity c-c133 cap-0) + (cell-capacity c-c134 cap-3) + (cell-capacity c-c135 cap-0) + (cell-capacity c-c136 cap-3) + (cell-capacity c-c137 cap-3) + (cell-capacity c-c138 cap-2) + (cell-capacity c-c139 cap-1) + (cell-capacity c-c14 cap-2) + (cell-capacity c-c140 cap-3) + (cell-capacity c-c141 cap-1) + (cell-capacity c-c142 cap-3) + (cell-capacity c-c143 cap-2) + (cell-capacity c-c144 cap-4) + (cell-capacity c-c145 cap-1) + (cell-capacity c-c146 cap-3) + (cell-capacity c-c147 cap-3) + (cell-capacity c-c148 cap-3) + (cell-capacity c-c149 cap-3) + (cell-capacity c-c15 cap-3) + (cell-capacity c-c150 cap-4) + (cell-capacity c-c151 cap-3) + (cell-capacity c-c152 cap-3) + (cell-capacity c-c153 cap-3) + (cell-capacity c-c154 cap-3) + (cell-capacity c-c155 cap-3) + (cell-capacity c-c156 cap-4) + (cell-capacity c-c157 cap-2) + (cell-capacity c-c158 cap-3) + (cell-capacity c-c159 cap-3) + (cell-capacity c-c16 cap-1) + (cell-capacity c-c160 cap-3) + (cell-capacity c-c161 cap-3) + (cell-capacity c-c162 cap-4) + (cell-capacity c-c163 cap-3) + (cell-capacity c-c164 cap-2) + (cell-capacity c-c165 cap-3) + (cell-capacity c-c166 cap-3) + (cell-capacity c-c167 cap-4) + (cell-capacity c-c168 cap-4) + (cell-capacity c-c169 cap-3) + (cell-capacity c-c17 cap-2) + (cell-capacity c-c170 cap-3) + (cell-capacity c-c171 cap-1) + (cell-capacity c-c172 cap-3) + (cell-capacity c-c173 cap-3) + (cell-capacity c-c174 cap-2) + (cell-capacity c-c175 cap-1) + (cell-capacity c-c176 cap-3) + (cell-capacity c-c177 cap-2) + (cell-capacity c-c178 cap-3) + (cell-capacity c-c179 cap-2) + (cell-capacity c-c18 cap-1) + (cell-capacity c-c180 cap-4) + (cell-capacity c-c181 cap-2) + (cell-capacity c-c182 cap-3) + (cell-capacity c-c183 cap-1) + (cell-capacity c-c184 cap-3) + (cell-capacity c-c185 cap-3) + (cell-capacity c-c186 cap-1) + (cell-capacity c-c187 cap-3) + (cell-capacity c-c188 cap-3) + (cell-capacity c-c189 cap-0) + (cell-capacity c-c19 cap-4) + (cell-capacity c-c190 cap-3) + (cell-capacity c-c191 cap-4) + (cell-capacity c-c192 cap-2) + (cell-capacity c-c193 cap-4) + (cell-capacity c-c194 cap-1) + (cell-capacity c-c195 cap-0) + (cell-capacity c-c196 cap-3) + (cell-capacity c-c197 cap-0) + (cell-capacity c-c198 cap-4) + (cell-capacity c-c199 cap-4) + (cell-capacity c-c2 cap-1) + (cell-capacity c-c20 cap-4) + (cell-capacity c-c200 cap-2) + (cell-capacity c-c201 cap-3) + (cell-capacity c-c202 cap-3) + (cell-capacity c-c203 cap-3) + (cell-capacity c-c204 cap-4) + (cell-capacity c-c205 cap-4) + (cell-capacity c-c206 cap-2) + (cell-capacity c-c207 cap-3) + (cell-capacity c-c208 cap-3) + (cell-capacity c-c209 cap-3) + (cell-capacity c-c21 cap-1) + (cell-capacity c-c210 cap-1) + (cell-capacity c-c211 cap-4) + (cell-capacity c-c212 cap-4) + (cell-capacity c-c213 cap-0) + (cell-capacity c-c214 cap-3) + (cell-capacity c-c215 cap-3) + (cell-capacity c-c216 cap-3) + (cell-capacity c-c217 cap-3) + (cell-capacity c-c218 cap-2) + (cell-capacity c-c219 cap-3) + (cell-capacity c-c22 cap-0) + (cell-capacity c-c220 cap-0) + (cell-capacity c-c221 cap-3) + (cell-capacity c-c222 cap-3) + (cell-capacity c-c223 cap-4) + (cell-capacity c-c224 cap-1) + (cell-capacity c-c225 cap-4) + (cell-capacity c-c226 cap-3) + (cell-capacity c-c227 cap-3) + (cell-capacity c-c228 cap-1) + (cell-capacity c-c229 cap-3) + (cell-capacity c-c23 cap-0) + (cell-capacity c-c230 cap-4) + (cell-capacity c-c231 cap-3) + (cell-capacity c-c232 cap-3) + (cell-capacity c-c233 cap-3) + (cell-capacity c-c234 cap-3) + (cell-capacity c-c235 cap-2) + (cell-capacity c-c236 cap-4) + (cell-capacity c-c237 cap-0) + (cell-capacity c-c238 cap-3) + (cell-capacity c-c239 cap-3) + (cell-capacity c-c24 cap-3) + (cell-capacity c-c240 cap-3) + (cell-capacity c-c241 cap-3) + (cell-capacity c-c242 cap-3) + (cell-capacity c-c243 cap-3) + (cell-capacity c-c244 cap-3) + (cell-capacity c-c245 cap-3) + (cell-capacity c-c246 cap-3) + (cell-capacity c-c247 cap-4) + (cell-capacity c-c248 cap-4) + (cell-capacity c-c249 cap-3) + (cell-capacity c-c25 cap-3) + (cell-capacity c-c250 cap-3) + (cell-capacity c-c251 cap-3) + (cell-capacity c-c252 cap-3) + (cell-capacity c-c253 cap-0) + (cell-capacity c-c254 cap-4) + (cell-capacity c-c255 cap-3) + (cell-capacity c-c256 cap-3) + (cell-capacity c-c257 cap-3) + (cell-capacity c-c258 cap-1) + (cell-capacity c-c259 cap-0) + (cell-capacity c-c26 cap-4) + (cell-capacity c-c260 cap-0) + (cell-capacity c-c261 cap-3) + (cell-capacity c-c262 cap-3) + (cell-capacity c-c263 cap-1) + (cell-capacity c-c264 cap-3) + (cell-capacity c-c265 cap-0) + (cell-capacity c-c266 cap-0) + (cell-capacity c-c267 cap-1) + (cell-capacity c-c268 cap-3) + (cell-capacity c-c269 cap-3) + (cell-capacity c-c27 cap-2) + (cell-capacity c-c270 cap-3) + (cell-capacity c-c271 cap-0) + (cell-capacity c-c272 cap-4) + (cell-capacity c-c273 cap-4) + (cell-capacity c-c274 cap-3) + (cell-capacity c-c275 cap-0) + (cell-capacity c-c276 cap-1) + (cell-capacity c-c277 cap-3) + (cell-capacity c-c278 cap-4) + (cell-capacity c-c279 cap-4) + (cell-capacity c-c28 cap-0) + (cell-capacity c-c280 cap-0) + (cell-capacity c-c281 cap-3) + (cell-capacity c-c282 cap-3) + (cell-capacity c-c283 cap-1) + (cell-capacity c-c284 cap-4) + (cell-capacity c-c285 cap-4) + (cell-capacity c-c286 cap-0) + (cell-capacity c-c287 cap-0) + (cell-capacity c-c288 cap-3) + (cell-capacity c-c289 cap-3) + (cell-capacity c-c29 cap-3) + (cell-capacity c-c290 cap-3) + (cell-capacity c-c291 cap-4) + (cell-capacity c-c292 cap-2) + (cell-capacity c-c293 cap-4) + (cell-capacity c-c294 cap-1) + (cell-capacity c-c295 cap-0) + (cell-capacity c-c296 cap-1) + (cell-capacity c-c297 cap-3) + (cell-capacity c-c298 cap-1) + (cell-capacity c-c299 cap-3) + (cell-capacity c-c3 cap-1) + (cell-capacity c-c30 cap-3) + (cell-capacity c-c300 cap-3) + (cell-capacity c-c301 cap-0) + (cell-capacity c-c302 cap-3) + (cell-capacity c-c303 cap-0) + (cell-capacity c-c304 cap-4) + (cell-capacity c-c305 cap-4) + (cell-capacity c-c306 cap-1) + (cell-capacity c-c307 cap-1) + (cell-capacity c-c308 cap-1) + (cell-capacity c-c309 cap-3) + (cell-capacity c-c31 cap-2) + (cell-capacity c-c310 cap-4) + (cell-capacity c-c311 cap-3) + (cell-capacity c-c312 cap-3) + (cell-capacity c-c313 cap-3) + (cell-capacity c-c314 cap-3) + (cell-capacity c-c315 cap-4) + (cell-capacity c-c316 cap-2) + (cell-capacity c-c317 cap-4) + (cell-capacity c-c318 cap-3) + (cell-capacity c-c319 cap-3) + (cell-capacity c-c32 cap-3) + (cell-capacity c-c320 cap-3) + (cell-capacity c-c321 cap-1) + (cell-capacity c-c322 cap-0) + (cell-capacity c-c323 cap-0) + (cell-capacity c-c324 cap-3) + (cell-capacity c-c325 cap-3) + (cell-capacity c-c326 cap-1) + (cell-capacity c-c327 cap-4) + (cell-capacity c-c328 cap-0) + (cell-capacity c-c329 cap-4) + (cell-capacity c-c33 cap-4) + (cell-capacity c-c330 cap-3) + (cell-capacity c-c331 cap-3) + (cell-capacity c-c332 cap-1) + (cell-capacity c-c333 cap-3) + (cell-capacity c-c334 cap-2) + (cell-capacity c-c335 cap-3) + (cell-capacity c-c336 cap-3) + (cell-capacity c-c337 cap-1) + (cell-capacity c-c338 cap-3) + (cell-capacity c-c339 cap-4) + (cell-capacity c-c34 cap-1) + (cell-capacity c-c340 cap-2) + (cell-capacity c-c341 cap-4) + (cell-capacity c-c342 cap-3) + (cell-capacity c-c343 cap-3) + (cell-capacity c-c344 cap-3) + (cell-capacity c-c345 cap-2) + (cell-capacity c-c346 cap-2) + (cell-capacity c-c347 cap-3) + (cell-capacity c-c348 cap-3) + (cell-capacity c-c349 cap-2) + (cell-capacity c-c35 cap-4) + (cell-capacity c-c350 cap-3) + (cell-capacity c-c351 cap-3) + (cell-capacity c-c352 cap-4) + (cell-capacity c-c353 cap-1) + (cell-capacity c-c354 cap-3) + (cell-capacity c-c355 cap-0) + (cell-capacity c-c356 cap-3) + (cell-capacity c-c357 cap-3) + (cell-capacity c-c358 cap-4) + (cell-capacity c-c359 cap-4) + (cell-capacity c-c36 cap-1) + (cell-capacity c-c360 cap-3) + (cell-capacity c-c361 cap-3) + (cell-capacity c-c362 cap-3) + (cell-capacity c-c363 cap-3) + (cell-capacity c-c364 cap-3) + (cell-capacity c-c365 cap-4) + (cell-capacity c-c366 cap-3) + (cell-capacity c-c367 cap-3) + (cell-capacity c-c368 cap-3) + (cell-capacity c-c369 cap-3) + (cell-capacity c-c37 cap-1) + (cell-capacity c-c370 cap-1) + (cell-capacity c-c371 cap-3) + (cell-capacity c-c372 cap-3) + (cell-capacity c-c373 cap-3) + (cell-capacity c-c374 cap-3) + (cell-capacity c-c375 cap-3) + (cell-capacity c-c376 cap-0) + (cell-capacity c-c377 cap-1) + (cell-capacity c-c378 cap-3) + (cell-capacity c-c379 cap-3) + (cell-capacity c-c38 cap-3) + (cell-capacity c-c380 cap-1) + (cell-capacity c-c381 cap-3) + (cell-capacity c-c382 cap-0) + (cell-capacity c-c383 cap-4) + (cell-capacity c-c384 cap-3) + (cell-capacity c-c385 cap-3) + (cell-capacity c-c386 cap-1) + (cell-capacity c-c387 cap-3) + (cell-capacity c-c388 cap-3) + (cell-capacity c-c389 cap-3) + (cell-capacity c-c39 cap-3) + (cell-capacity c-c390 cap-3) + (cell-capacity c-c391 cap-3) + (cell-capacity c-c392 cap-3) + (cell-capacity c-c393 cap-3) + (cell-capacity c-c394 cap-4) + (cell-capacity c-c395 cap-2) + (cell-capacity c-c396 cap-0) + (cell-capacity c-c397 cap-3) + (cell-capacity c-c398 cap-1) + (cell-capacity c-c399 cap-3) + (cell-capacity c-c4 cap-4) + (cell-capacity c-c40 cap-4) + (cell-capacity c-c400 cap-3) + (cell-capacity c-c401 cap-4) + (cell-capacity c-c402 cap-3) + (cell-capacity c-c403 cap-3) + (cell-capacity c-c404 cap-1) + (cell-capacity c-c405 cap-2) + (cell-capacity c-c406 cap-4) + (cell-capacity c-c407 cap-3) + (cell-capacity c-c408 cap-4) + (cell-capacity c-c409 cap-3) + (cell-capacity c-c41 cap-2) + (cell-capacity c-c410 cap-0) + (cell-capacity c-c411 cap-0) + (cell-capacity c-c412 cap-3) + (cell-capacity c-c413 cap-4) + (cell-capacity c-c414 cap-1) + (cell-capacity c-c415 cap-0) + (cell-capacity c-c416 cap-3) + (cell-capacity c-c417 cap-3) + (cell-capacity c-c418 cap-4) + (cell-capacity c-c419 cap-2) + (cell-capacity c-c42 cap-0) + (cell-capacity c-c420 cap-0) + (cell-capacity c-c421 cap-0) + (cell-capacity c-c422 cap-3) + (cell-capacity c-c423 cap-3) + (cell-capacity c-c424 cap-4) + (cell-capacity c-c425 cap-0) + (cell-capacity c-c426 cap-1) + (cell-capacity c-c427 cap-3) + (cell-capacity c-c428 cap-3) + (cell-capacity c-c429 cap-3) + (cell-capacity c-c43 cap-3) + (cell-capacity c-c430 cap-2) + (cell-capacity c-c431 cap-4) + (cell-capacity c-c44 cap-0) + (cell-capacity c-c45 cap-3) + (cell-capacity c-c46 cap-1) + (cell-capacity c-c47 cap-2) + (cell-capacity c-c48 cap-4) + (cell-capacity c-c49 cap-4) + (cell-capacity c-c5 cap-4) + (cell-capacity c-c50 cap-0) + (cell-capacity c-c51 cap-3) + (cell-capacity c-c52 cap-3) + (cell-capacity c-c53 cap-1) + (cell-capacity c-c54 cap-4) + (cell-capacity c-c55 cap-3) + (cell-capacity c-c56 cap-0) + (cell-capacity c-c57 cap-4) + (cell-capacity c-c58 cap-3) + (cell-capacity c-c59 cap-0) + (cell-capacity c-c6 cap-0) + (cell-capacity c-c60 cap-1) + (cell-capacity c-c61 cap-3) + (cell-capacity c-c62 cap-4) + (cell-capacity c-c63 cap-4) + (cell-capacity c-c64 cap-3) + (cell-capacity c-c65 cap-1) + (cell-capacity c-c66 cap-3) + (cell-capacity c-c67 cap-2) + (cell-capacity c-c68 cap-2) + (cell-capacity c-c69 cap-3) + (cell-capacity c-c7 cap-4) + (cell-capacity c-c70 cap-4) + (cell-capacity c-c71 cap-1) + (cell-capacity c-c72 cap-3) + (cell-capacity c-c73 cap-3) + (cell-capacity c-c74 cap-3) + (cell-capacity c-c75 cap-4) + (cell-capacity c-c76 cap-1) + (cell-capacity c-c77 cap-3) + (cell-capacity c-c78 cap-3) + (cell-capacity c-c79 cap-3) + (cell-capacity c-c8 cap-3) + (cell-capacity c-c80 cap-3) + (cell-capacity c-c81 cap-2) + (cell-capacity c-c82 cap-4) + (cell-capacity c-c83 cap-3) + (cell-capacity c-c84 cap-1) + (cell-capacity c-c85 cap-0) + (cell-capacity c-c86 cap-2) + (cell-capacity c-c87 cap-1) + (cell-capacity c-c88 cap-1) + (cell-capacity c-c89 cap-2) + (cell-capacity c-c9 cap-3) + (cell-capacity c-c90 cap-3) + (cell-capacity c-c91 cap-3) + (cell-capacity c-c92 cap-4) + (cell-capacity c-c93 cap-4) + (cell-capacity c-c94 cap-4) + (cell-capacity c-c95 cap-3) + (cell-capacity c-c96 cap-3) + (cell-capacity c-c97 cap-3) + (cell-capacity c-c98 cap-3) + (cell-capacity c-c99 cap-0) + (cell-capacity c-outside-cell-0-13 cap-1) + (cell-capacity c-outside-cell-108-93 cap-1) + (cell-capacity c-outside-cell-1171-1189 cap-1) + (cell-capacity c-outside-cell-1171-1203 cap-1) + (cell-capacity c-outside-cell-1178-1179 cap-1) + (cell-capacity c-outside-cell-1178-1389 cap-1) + (cell-capacity c-outside-cell-1189-1179 cap-1) + (cell-capacity c-outside-cell-1195-1205 cap-1) + (cell-capacity c-outside-cell-1195-1209 cap-1) + (cell-capacity c-outside-cell-1205-935 cap-1) + (cell-capacity c-outside-cell-1209-1203 cap-1) + (cell-capacity c-outside-cell-1222-1223 cap-1) + (cell-capacity c-outside-cell-1223-1249 cap-1) + (cell-capacity c-outside-cell-1225-1222 cap-1) + (cell-capacity c-outside-cell-1242-1243 cap-1) + (cell-capacity c-outside-cell-1243-1405 cap-1) + (cell-capacity c-outside-cell-1249-1242 cap-1) + (cell-capacity c-outside-cell-127-141 cap-1) + (cell-capacity c-outside-cell-127-156 cap-1) + (cell-capacity c-outside-cell-1282-1283 cap-1) + (cell-capacity c-outside-cell-1282-1409 cap-1) + (cell-capacity c-outside-cell-1283-1409 cap-1) + (cell-capacity c-outside-cell-13-7 cap-1) + (cell-capacity c-outside-cell-131-132 cap-1) + (cell-capacity c-outside-cell-1322-1323 cap-1) + (cell-capacity c-outside-cell-1322-1429 cap-1) + (cell-capacity c-outside-cell-1323-1429 cap-1) + (cell-capacity c-outside-cell-1355-1373 cap-1) + (cell-capacity c-outside-cell-1355-1387 cap-1) + (cell-capacity c-outside-cell-1362-1363 cap-1) + (cell-capacity c-outside-cell-1362-1449 cap-1) + (cell-capacity c-outside-cell-1373-1363 cap-1) + (cell-capacity c-outside-cell-1389-1387 cap-1) + (cell-capacity c-outside-cell-1402-1403 cap-1) + (cell-capacity c-outside-cell-1405-1402 cap-1) + (cell-capacity c-outside-cell-1409-1403 cap-1) + (cell-capacity c-outside-cell-1409-1422 cap-1) + (cell-capacity c-outside-cell-141-132 cap-1) + (cell-capacity c-outside-cell-1422-1423 cap-1) + (cell-capacity c-outside-cell-1429-1423 cap-1) + (cell-capacity c-outside-cell-1429-1442 cap-1) + (cell-capacity c-outside-cell-1442-1443 cap-1) + (cell-capacity c-outside-cell-1449-1443 cap-1) + (cell-capacity c-outside-cell-151-161 cap-1) + (cell-capacity c-outside-cell-151-372 cap-1) + (cell-capacity c-outside-cell-161-156 cap-1) + (cell-capacity c-outside-cell-172-185 cap-1) + (cell-capacity c-outside-cell-179-180 cap-1) + (cell-capacity c-outside-cell-180-213 cap-1) + (cell-capacity c-outside-cell-185-179 cap-1) + (cell-capacity c-outside-cell-207-0 cap-1) + (cell-capacity c-outside-cell-213-207 cap-1) + (cell-capacity c-outside-cell-31-45 cap-1) + (cell-capacity c-outside-cell-31-60 cap-1) + (cell-capacity c-outside-cell-35-36 cap-1) + (cell-capacity c-outside-cell-367-377 cap-1) + (cell-capacity c-outside-cell-367-392 cap-1) + (cell-capacity c-outside-cell-377-372 cap-1) + (cell-capacity c-outside-cell-387-397 cap-1) + (cell-capacity c-outside-cell-387-664 cap-1) + (cell-capacity c-outside-cell-397-392 cap-1) + (cell-capacity c-outside-cell-408-421 cap-1) + (cell-capacity c-outside-cell-408-425 cap-1) + (cell-capacity c-outside-cell-41-35 cap-1) + (cell-capacity c-outside-cell-415-172 cap-1) + (cell-capacity c-outside-cell-421-415 cap-1) + (cell-capacity c-outside-cell-425-418 cap-1) + (cell-capacity c-outside-cell-45-36 cap-1) + (cell-capacity c-outside-cell-45-83 cap-1) + (cell-capacity c-outside-cell-60-45 cap-1) + (cell-capacity c-outside-cell-659-669 cap-1) + (cell-capacity c-outside-cell-659-673 cap-1) + (cell-capacity c-outside-cell-669-664 cap-1) + (cell-capacity c-outside-cell-673-667 cap-1) + (cell-capacity c-outside-cell-676-689 cap-1) + (cell-capacity c-outside-cell-676-693 cap-1) + (cell-capacity c-outside-cell-689-418 cap-1) + (cell-capacity c-outside-cell-693-686 cap-1) + (cell-capacity c-outside-cell-7-8 cap-1) + (cell-capacity c-outside-cell-79-108 cap-1) + (cell-capacity c-outside-cell-79-93 cap-1) + (cell-capacity c-outside-cell-8-41 cap-1) + (cell-capacity c-outside-cell-83-84 cap-1) + (cell-capacity c-outside-cell-927-937 cap-1) + (cell-capacity c-outside-cell-927-941 cap-1) + (cell-capacity c-outside-cell-93-131 cap-1) + (cell-capacity c-outside-cell-93-84 cap-1) + (cell-capacity c-outside-cell-937-667 cap-1) + (cell-capacity c-outside-cell-941-935 cap-1) + (cell-capacity c-outside-cell-944-957 cap-1) + (cell-capacity c-outside-cell-944-961 cap-1) + (cell-capacity c-outside-cell-954-955 cap-1) + (cell-capacity c-outside-cell-955-985 cap-1) + (cell-capacity c-outside-cell-957-686 cap-1) + (cell-capacity c-outside-cell-961-954 cap-1) + (cell-capacity c-outside-cell-978-979 cap-1) + (cell-capacity c-outside-cell-979-1225 cap-1) + (cell-capacity c-outside-cell-985-978 cap-1) + + (node-degree0 n-0) + (node-degree0 n-1) + (node-degree0 n-10) + (node-degree0 n-1003) + (node-degree0 n-1005) + (node-degree0 n-1010) + (node-degree0 n-1011) + (node-degree0 n-1018) + (node-degree0 n-1019) + (node-degree0 n-102) + (node-degree0 n-1021) + (node-degree0 n-1029) + (node-degree0 n-103) + (node-degree0 n-1043) + (node-degree0 n-1045) + (node-degree0 n-1050) + (node-degree0 n-1051) + (node-degree0 n-1058) + (node-degree0 n-1059) + (node-degree0 n-1061) + (node-degree0 n-1069) + (node-degree0 n-108) + (node-degree0 n-1083) + (node-degree0 n-1085) + (node-degree0 n-1090) + (node-degree0 n-1091) + (node-degree0 n-1098) + (node-degree0 n-1099) + (node-degree0 n-11) + (node-degree0 n-110) + (node-degree0 n-1101) + (node-degree0 n-1109) + (node-degree0 n-111) + (node-degree0 n-1123) + (node-degree0 n-1125) + (node-degree0 n-113) + (node-degree0 n-1130) + (node-degree0 n-1131) + (node-degree0 n-1138) + (node-degree0 n-1139) + (node-degree0 n-1141) + (node-degree0 n-1149) + (node-degree0 n-1163) + (node-degree0 n-1165) + (node-degree0 n-1170) + (node-degree0 n-1171) + (node-degree0 n-1178) + (node-degree0 n-1179) + (node-degree0 n-1181) + (node-degree0 n-1189) + (node-degree0 n-1195) + (node-degree0 n-1203) + (node-degree0 n-1205) + (node-degree0 n-1209) + (node-degree0 n-121) + (node-degree0 n-1214) + (node-degree0 n-1222) + (node-degree0 n-1223) + (node-degree0 n-1225) + (node-degree0 n-1229) + (node-degree0 n-1234) + (node-degree0 n-1235) + (node-degree0 n-1242) + (node-degree0 n-1243) + (node-degree0 n-1245) + (node-degree0 n-1249) + (node-degree0 n-125) + (node-degree0 n-1253) + (node-degree0 n-1267) + (node-degree0 n-1269) + (node-degree0 n-127) + (node-degree0 n-1274) + (node-degree0 n-1275) + (node-degree0 n-1282) + (node-degree0 n-1283) + (node-degree0 n-1285) + (node-degree0 n-1293) + (node-degree0 n-13) + (node-degree0 n-1307) + (node-degree0 n-1309) + (node-degree0 n-131) + (node-degree0 n-1314) + (node-degree0 n-1315) + (node-degree0 n-132) + (node-degree0 n-1322) + (node-degree0 n-1323) + (node-degree0 n-1325) + (node-degree0 n-1333) + (node-degree0 n-1347) + (node-degree0 n-1349) + (node-degree0 n-135) + (node-degree0 n-1354) + (node-degree0 n-1355) + (node-degree0 n-1362) + (node-degree0 n-1363) + (node-degree0 n-1365) + (node-degree0 n-1373) + (node-degree0 n-1387) + (node-degree0 n-1389) + (node-degree0 n-1394) + (node-degree0 n-1402) + (node-degree0 n-1403) + (node-degree0 n-1405) + (node-degree0 n-1409) + (node-degree0 n-141) + (node-degree0 n-1414) + (node-degree0 n-1422) + (node-degree0 n-1423) + (node-degree0 n-1429) + (node-degree0 n-1434) + (node-degree0 n-1442) + (node-degree0 n-1443) + (node-degree0 n-1449) + (node-degree0 n-145) + (node-degree0 n-150) + (node-degree0 n-151) + (node-degree0 n-156) + (node-degree0 n-158) + (node-degree0 n-159) + (node-degree0 n-161) + (node-degree0 n-169) + (node-degree0 n-17) + (node-degree0 n-172) + (node-degree0 n-173) + (node-degree0 n-174) + (node-degree0 n-175) + (node-degree0 n-179) + (node-degree0 n-180) + (node-degree0 n-182) + (node-degree0 n-183) + (node-degree0 n-185) + (node-degree0 n-189) + (node-degree0 n-193) + (node-degree0 n-197) + (node-degree0 n-2) + (node-degree0 n-207) + (node-degree0 n-21) + (node-degree0 n-211) + (node-degree0 n-213) + (node-degree0 n-217) + (node-degree0 n-222) + (node-degree0 n-223) + (node-degree0 n-230) + (node-degree0 n-231) + (node-degree0 n-233) + (node-degree0 n-241) + (node-degree0 n-25) + (node-degree0 n-255) + (node-degree0 n-257) + (node-degree0 n-262) + (node-degree0 n-263) + (node-degree0 n-270) + (node-degree0 n-271) + (node-degree0 n-273) + (node-degree0 n-281) + (node-degree0 n-29) + (node-degree0 n-295) + (node-degree0 n-297) + (node-degree0 n-3) + (node-degree0 n-302) + (node-degree0 n-303) + (node-degree0 n-31) + (node-degree0 n-310) + (node-degree0 n-311) + (node-degree0 n-313) + (node-degree0 n-321) + (node-degree0 n-335) + (node-degree0 n-337) + (node-degree0 n-342) + (node-degree0 n-343) + (node-degree0 n-35) + (node-degree0 n-350) + (node-degree0 n-351) + (node-degree0 n-353) + (node-degree0 n-36) + (node-degree0 n-361) + (node-degree0 n-367) + (node-degree0 n-372) + (node-degree0 n-375) + (node-degree0 n-377) + (node-degree0 n-381) + (node-degree0 n-386) + (node-degree0 n-387) + (node-degree0 n-39) + (node-degree0 n-392) + (node-degree0 n-394) + (node-degree0 n-395) + (node-degree0 n-397) + (node-degree0 n-405) + (node-degree0 n-408) + (node-degree0 n-41) + (node-degree0 n-410) + (node-degree0 n-415) + (node-degree0 n-418) + (node-degree0 n-419) + (node-degree0 n-421) + (node-degree0 n-425) + (node-degree0 n-429) + (node-degree0 n-434) + (node-degree0 n-435) + (node-degree0 n-442) + (node-degree0 n-443) + (node-degree0 n-445) + (node-degree0 n-449) + (node-degree0 n-45) + (node-degree0 n-453) + (node-degree0 n-467) + (node-degree0 n-469) + (node-degree0 n-474) + (node-degree0 n-475) + (node-degree0 n-482) + (node-degree0 n-483) + (node-degree0 n-485) + (node-degree0 n-49) + (node-degree0 n-493) + (node-degree0 n-507) + (node-degree0 n-509) + (node-degree0 n-514) + (node-degree0 n-515) + (node-degree0 n-522) + (node-degree0 n-523) + (node-degree0 n-525) + (node-degree0 n-533) + (node-degree0 n-54) + (node-degree0 n-547) + (node-degree0 n-549) + (node-degree0 n-55) + (node-degree0 n-554) + (node-degree0 n-555) + (node-degree0 n-562) + (node-degree0 n-563) + (node-degree0 n-565) + (node-degree0 n-573) + (node-degree0 n-587) + (node-degree0 n-589) + (node-degree0 n-594) + (node-degree0 n-595) + (node-degree0 n-60) + (node-degree0 n-602) + (node-degree0 n-603) + (node-degree0 n-605) + (node-degree0 n-613) + (node-degree0 n-62) + (node-degree0 n-627) + (node-degree0 n-629) + (node-degree0 n-63) + (node-degree0 n-634) + (node-degree0 n-635) + (node-degree0 n-642) + (node-degree0 n-643) + (node-degree0 n-645) + (node-degree0 n-65) + (node-degree0 n-653) + (node-degree0 n-659) + (node-degree0 n-664) + (node-degree0 n-667) + (node-degree0 n-669) + (node-degree0 n-673) + (node-degree0 n-676) + (node-degree0 n-678) + (node-degree0 n-686) + (node-degree0 n-687) + (node-degree0 n-689) + (node-degree0 n-693) + (node-degree0 n-697) + (node-degree0 n-7) + (node-degree0 n-702) + (node-degree0 n-703) + (node-degree0 n-710) + (node-degree0 n-711) + (node-degree0 n-713) + (node-degree0 n-717) + (node-degree0 n-721) + (node-degree0 n-73) + (node-degree0 n-735) + (node-degree0 n-737) + (node-degree0 n-742) + (node-degree0 n-743) + (node-degree0 n-750) + (node-degree0 n-751) + (node-degree0 n-753) + (node-degree0 n-761) + (node-degree0 n-77) + (node-degree0 n-775) + (node-degree0 n-777) + (node-degree0 n-782) + (node-degree0 n-783) + (node-degree0 n-79) + (node-degree0 n-790) + (node-degree0 n-791) + (node-degree0 n-793) + (node-degree0 n-8) + (node-degree0 n-801) + (node-degree0 n-815) + (node-degree0 n-817) + (node-degree0 n-822) + (node-degree0 n-823) + (node-degree0 n-83) + (node-degree0 n-830) + (node-degree0 n-831) + (node-degree0 n-833) + (node-degree0 n-84) + (node-degree0 n-841) + (node-degree0 n-855) + (node-degree0 n-857) + (node-degree0 n-862) + (node-degree0 n-863) + (node-degree0 n-87) + (node-degree0 n-870) + (node-degree0 n-871) + (node-degree0 n-873) + (node-degree0 n-881) + (node-degree0 n-895) + (node-degree0 n-897) + (node-degree0 n-902) + (node-degree0 n-903) + (node-degree0 n-910) + (node-degree0 n-911) + (node-degree0 n-913) + (node-degree0 n-921) + (node-degree0 n-927) + (node-degree0 n-93) + (node-degree0 n-935) + (node-degree0 n-937) + (node-degree0 n-941) + (node-degree0 n-944) + (node-degree0 n-946) + (node-degree0 n-954) + (node-degree0 n-955) + (node-degree0 n-957) + (node-degree0 n-961) + (node-degree0 n-965) + (node-degree0 n-97) + (node-degree0 n-970) + (node-degree0 n-971) + (node-degree0 n-978) + (node-degree0 n-979) + (node-degree0 n-981) + (node-degree0 n-985) + (node-degree0 n-989) + + (cell-edge c-c0 c-c4 n-0 n-1) + (cell-edge c-c0 c-c1 n-1 n-2) + (cell-edge c-c0 c-c6 n-2 n-0) + (cell-edge c-c1 c-c5 n-3 n-1) + (cell-edge c-c1 c-c7 n-2 n-3) + (cell-edge c-c2 c-c4 n-1 n-7) + (cell-edge c-c2 c-outside-cell-7-8 n-7 n-8) + (cell-edge c-c2 c-c5 n-8 n-1) + (cell-edge c-c3 c-c6 n-2 n-10) + (cell-edge c-c3 c-c66 n-10 n-11) + (cell-edge c-c3 c-c7 n-11 n-2) + (cell-edge c-c4 c-outside-cell-0-13 n-0 n-13) + (cell-edge c-c4 c-outside-cell-13-7 n-13 n-7) + (cell-edge c-c5 c-c11 n-3 n-17) + (cell-edge c-c5 c-c8 n-17 n-8) + (cell-edge c-c6 c-c60 n-0 n-21) + (cell-edge c-c6 c-c59 n-21 n-10) + (cell-edge c-c7 c-c73 n-3 n-25) + (cell-edge c-c7 c-c71 n-25 n-11) + (cell-edge c-c8 c-c12 n-8 n-29) + (cell-edge c-c8 c-c9 n-29 n-17) + (cell-edge c-c9 c-c13 n-31 n-29) + (cell-edge c-c9 c-c14 n-17 n-31) + (cell-edge c-c10 c-c12 n-29 n-35) + (cell-edge c-c10 c-outside-cell-35-36 n-35 n-36) + (cell-edge c-c10 c-c13 n-36 n-29) + (cell-edge c-c11 c-c73 n-3 n-39) + (cell-edge c-c11 c-c14 n-39 n-17) + (cell-edge c-c12 c-outside-cell-8-41 n-8 n-41) + (cell-edge c-c12 c-outside-cell-41-35 n-41 n-35) + (cell-edge c-c13 c-outside-cell-31-45 n-31 n-45) + (cell-edge c-c13 c-outside-cell-45-36 n-45 n-36) + (cell-edge c-c14 c-c17 n-31 n-49) + (cell-edge c-c14 c-c15 n-49 n-39) + (cell-edge c-c15 c-c16 n-49 n-54) + (cell-edge c-c15 c-c20 n-54 n-39) + (cell-edge c-c16 c-c19 n-55 n-49) + (cell-edge c-c16 c-c21 n-54 n-55) + (cell-edge c-c17 c-outside-cell-31-60 n-31 n-60) + (cell-edge c-c17 c-c19 n-60 n-49) + (cell-edge c-c18 c-c20 n-54 n-62) + (cell-edge c-c18 c-c78 n-62 n-63) + (cell-edge c-c18 c-c21 n-63 n-54) + (cell-edge c-c19 c-c25 n-55 n-65) + (cell-edge c-c19 c-c22 n-65 n-60) + (cell-edge c-c20 c-c73 n-39 n-25) + (cell-edge c-c20 c-c72 n-25 n-62) + (cell-edge c-c21 c-c85 n-55 n-73) + (cell-edge c-c21 c-c83 n-73 n-63) + (cell-edge c-c22 c-c26 n-60 n-77) + (cell-edge c-c22 c-c23 n-77 n-65) + (cell-edge c-c23 c-c27 n-79 n-77) + (cell-edge c-c23 c-c28 n-65 n-79) + (cell-edge c-c24 c-c26 n-77 n-83) + (cell-edge c-c24 c-outside-cell-83-84 n-83 n-84) + (cell-edge c-c24 c-c27 n-84 n-77) + (cell-edge c-c25 c-c85 n-55 n-87) + (cell-edge c-c25 c-c28 n-87 n-65) + (cell-edge c-c26 c-outside-cell-60-45 n-60 n-45) + (cell-edge c-c26 c-outside-cell-45-83 n-45 n-83) + (cell-edge c-c27 c-outside-cell-79-93 n-79 n-93) + (cell-edge c-c27 c-outside-cell-93-84 n-93 n-84) + (cell-edge c-c28 c-c31 n-79 n-97) + (cell-edge c-c28 c-c29 n-97 n-87) + (cell-edge c-c29 c-c30 n-97 n-102) + (cell-edge c-c29 c-c34 n-102 n-87) + (cell-edge c-c30 c-c33 n-103 n-97) + (cell-edge c-c30 c-c35 n-102 n-103) + (cell-edge c-c31 c-outside-cell-79-108 n-79 n-108) + (cell-edge c-c31 c-c33 n-108 n-97) + (cell-edge c-c32 c-c34 n-102 n-110) + (cell-edge c-c32 c-c90 n-110 n-111) + (cell-edge c-c32 c-c35 n-111 n-102) + (cell-edge c-c33 c-c39 n-103 n-113) + (cell-edge c-c33 c-c36 n-113 n-108) + (cell-edge c-c34 c-c85 n-87 n-73) + (cell-edge c-c34 c-c84 n-73 n-110) + (cell-edge c-c35 c-c97 n-103 n-121) + (cell-edge c-c35 c-c95 n-121 n-111) + (cell-edge c-c36 c-c40 n-108 n-125) + (cell-edge c-c36 c-c37 n-125 n-113) + (cell-edge c-c37 c-c41 n-127 n-125) + (cell-edge c-c37 c-c42 n-113 n-127) + (cell-edge c-c38 c-c40 n-125 n-131) + (cell-edge c-c38 c-outside-cell-131-132 n-131 n-132) + (cell-edge c-c38 c-c41 n-132 n-125) + (cell-edge c-c39 c-c97 n-103 n-135) + (cell-edge c-c39 c-c42 n-135 n-113) + (cell-edge c-c40 c-outside-cell-108-93 n-108 n-93) + (cell-edge c-c40 c-outside-cell-93-131 n-93 n-131) + (cell-edge c-c41 c-outside-cell-127-141 n-127 n-141) + (cell-edge c-c41 c-outside-cell-141-132 n-141 n-132) + (cell-edge c-c42 c-c45 n-127 n-145) + (cell-edge c-c42 c-c43 n-145 n-135) + (cell-edge c-c43 c-c44 n-145 n-150) + (cell-edge c-c43 c-c48 n-150 n-135) + (cell-edge c-c44 c-c47 n-151 n-145) + (cell-edge c-c44 c-c49 n-150 n-151) + (cell-edge c-c45 c-outside-cell-127-156 n-127 n-156) + (cell-edge c-c45 c-c47 n-156 n-145) + (cell-edge c-c46 c-c48 n-150 n-158) + (cell-edge c-c46 c-c102 n-158 n-159) + (cell-edge c-c46 c-c49 n-159 n-150) + (cell-edge c-c47 c-outside-cell-151-161 n-151 n-161) + (cell-edge c-c47 c-outside-cell-161-156 n-161 n-156) + (cell-edge c-c48 c-c97 n-135 n-121) + (cell-edge c-c48 c-c96 n-121 n-158) + (cell-edge c-c49 c-c109 n-151 n-169) + (cell-edge c-c49 c-c107 n-169 n-159) + (cell-edge c-c50 c-c54 n-172 n-173) + (cell-edge c-c50 c-c51 n-173 n-174) + (cell-edge c-c50 c-c56 n-174 n-172) + (cell-edge c-c51 c-c55 n-175 n-173) + (cell-edge c-c51 c-c57 n-174 n-175) + (cell-edge c-c52 c-c54 n-173 n-179) + (cell-edge c-c52 c-outside-cell-179-180 n-179 n-180) + (cell-edge c-c52 c-c55 n-180 n-173) + (cell-edge c-c53 c-c56 n-174 n-182) + (cell-edge c-c53 c-c129 n-182 n-183) + (cell-edge c-c53 c-c57 n-183 n-174) + (cell-edge c-c54 c-outside-cell-172-185 n-172 n-185) + (cell-edge c-c54 c-outside-cell-185-179 n-185 n-179) + (cell-edge c-c55 c-c61 n-175 n-189) + (cell-edge c-c55 c-c58 n-189 n-180) + (cell-edge c-c56 c-c122 n-172 n-193) + (cell-edge c-c56 c-c121 n-193 n-182) + (cell-edge c-c57 c-c136 n-175 n-197) + (cell-edge c-c57 c-c134 n-197 n-183) + (cell-edge c-c58 c-c62 n-180 n-21) + (cell-edge c-c58 c-c59 n-21 n-189) + (cell-edge c-c59 c-c63 n-189 n-10) + (cell-edge c-c60 c-c62 n-21 n-207) + (cell-edge c-c60 c-outside-cell-207-0 n-207 n-0) + (cell-edge c-c61 c-c136 n-175 n-211) + (cell-edge c-c61 c-c63 n-211 n-189) + (cell-edge c-c62 c-outside-cell-180-213 n-180 n-213) + (cell-edge c-c62 c-outside-cell-213-207 n-213 n-207) + (cell-edge c-c63 c-c66 n-10 n-217) + (cell-edge c-c63 c-c64 n-217 n-211) + (cell-edge c-c64 c-c65 n-217 n-222) + (cell-edge c-c64 c-c69 n-222 n-211) + (cell-edge c-c65 c-c68 n-223 n-217) + (cell-edge c-c65 c-c70 n-222 n-223) + (cell-edge c-c66 c-c68 n-11 n-217) + (cell-edge c-c67 c-c69 n-222 n-230) + (cell-edge c-c67 c-c141 n-230 n-231) + (cell-edge c-c67 c-c70 n-231 n-222) + (cell-edge c-c68 c-c74 n-223 n-233) + (cell-edge c-c68 c-c71 n-233 n-11) + (cell-edge c-c69 c-c136 n-211 n-197) + (cell-edge c-c69 c-c135 n-197 n-230) + (cell-edge c-c70 c-c148 n-223 n-241) + (cell-edge c-c70 c-c146 n-241 n-231) + (cell-edge c-c71 c-c72 n-25 n-233) + (cell-edge c-c72 c-c75 n-233 n-62) + (cell-edge c-c74 c-c148 n-223 n-255) + (cell-edge c-c74 c-c75 n-255 n-233) + (cell-edge c-c75 c-c78 n-62 n-257) + (cell-edge c-c75 c-c76 n-257 n-255) + (cell-edge c-c76 c-c77 n-257 n-262) + (cell-edge c-c76 c-c81 n-262 n-255) + (cell-edge c-c77 c-c80 n-263 n-257) + (cell-edge c-c77 c-c82 n-262 n-263) + (cell-edge c-c78 c-c80 n-63 n-257) + (cell-edge c-c79 c-c81 n-262 n-270) + (cell-edge c-c79 c-c153 n-270 n-271) + (cell-edge c-c79 c-c82 n-271 n-262) + (cell-edge c-c80 c-c86 n-263 n-273) + (cell-edge c-c80 c-c83 n-273 n-63) + (cell-edge c-c81 c-c148 n-255 n-241) + (cell-edge c-c81 c-c147 n-241 n-270) + (cell-edge c-c82 c-c160 n-263 n-281) + (cell-edge c-c82 c-c158 n-281 n-271) + (cell-edge c-c83 c-c84 n-73 n-273) + (cell-edge c-c84 c-c87 n-273 n-110) + (cell-edge c-c86 c-c160 n-263 n-295) + (cell-edge c-c86 c-c87 n-295 n-273) + (cell-edge c-c87 c-c90 n-110 n-297) + (cell-edge c-c87 c-c88 n-297 n-295) + (cell-edge c-c88 c-c89 n-297 n-302) + (cell-edge c-c88 c-c93 n-302 n-295) + (cell-edge c-c89 c-c92 n-303 n-297) + (cell-edge c-c89 c-c94 n-302 n-303) + (cell-edge c-c90 c-c92 n-111 n-297) + (cell-edge c-c91 c-c93 n-302 n-310) + (cell-edge c-c91 c-c165 n-310 n-311) + (cell-edge c-c91 c-c94 n-311 n-302) + (cell-edge c-c92 c-c98 n-303 n-313) + (cell-edge c-c92 c-c95 n-313 n-111) + (cell-edge c-c93 c-c160 n-295 n-281) + (cell-edge c-c93 c-c159 n-281 n-310) + (cell-edge c-c94 c-c172 n-303 n-321) + (cell-edge c-c94 c-c170 n-321 n-311) + (cell-edge c-c95 c-c96 n-121 n-313) + (cell-edge c-c96 c-c99 n-313 n-158) + (cell-edge c-c98 c-c172 n-303 n-335) + (cell-edge c-c98 c-c99 n-335 n-313) + (cell-edge c-c99 c-c102 n-158 n-337) + (cell-edge c-c99 c-c100 n-337 n-335) + (cell-edge c-c100 c-c101 n-337 n-342) + (cell-edge c-c100 c-c105 n-342 n-335) + (cell-edge c-c101 c-c104 n-343 n-337) + (cell-edge c-c101 c-c106 n-342 n-343) + (cell-edge c-c102 c-c104 n-159 n-337) + (cell-edge c-c103 c-c105 n-342 n-350) + (cell-edge c-c103 c-c177 n-350 n-351) + (cell-edge c-c103 c-c106 n-351 n-342) + (cell-edge c-c104 c-c110 n-343 n-353) + (cell-edge c-c104 c-c107 n-353 n-159) + (cell-edge c-c105 c-c172 n-335 n-321) + (cell-edge c-c105 c-c171 n-321 n-350) + (cell-edge c-c106 c-c184 n-343 n-361) + (cell-edge c-c106 c-c182 n-361 n-351) + (cell-edge c-c107 c-c108 n-169 n-353) + (cell-edge c-c108 c-c111 n-367 n-169) + (cell-edge c-c108 c-c112 n-353 n-367) + (cell-edge c-c109 c-outside-cell-151-372 n-151 n-372) + (cell-edge c-c109 c-c111 n-372 n-169) + (cell-edge c-c110 c-c184 n-343 n-375) + (cell-edge c-c110 c-c112 n-375 n-353) + (cell-edge c-c111 c-outside-cell-367-377 n-367 n-377) + (cell-edge c-c111 c-outside-cell-377-372 n-377 n-372) + (cell-edge c-c112 c-c115 n-367 n-381) + (cell-edge c-c112 c-c113 n-381 n-375) + (cell-edge c-c113 c-c114 n-381 n-386) + (cell-edge c-c113 c-c118 n-386 n-375) + (cell-edge c-c114 c-c117 n-387 n-381) + (cell-edge c-c114 c-c119 n-386 n-387) + (cell-edge c-c115 c-outside-cell-367-392 n-367 n-392) + (cell-edge c-c115 c-c117 n-392 n-381) + (cell-edge c-c116 c-c118 n-386 n-394) + (cell-edge c-c116 c-c189 n-394 n-395) + (cell-edge c-c116 c-c119 n-395 n-386) + (cell-edge c-c117 c-outside-cell-387-397 n-387 n-397) + (cell-edge c-c117 c-outside-cell-397-392 n-397 n-392) + (cell-edge c-c118 c-c184 n-375 n-361) + (cell-edge c-c118 c-c183 n-361 n-394) + (cell-edge c-c119 c-c196 n-387 n-405) + (cell-edge c-c119 c-c194 n-405 n-395) + (cell-edge c-c120 c-c124 n-408 n-193) + (cell-edge c-c120 c-c121 n-193 n-410) + (cell-edge c-c120 c-c125 n-410 n-408) + (cell-edge c-c121 c-c126 n-410 n-182) + (cell-edge c-c122 c-c124 n-193 n-415) + (cell-edge c-c122 c-outside-cell-415-172 n-415 n-172) + (cell-edge c-c123 c-c125 n-410 n-418) + (cell-edge c-c123 c-c202 n-418 n-419) + (cell-edge c-c123 c-c126 n-419 n-410) + (cell-edge c-c124 c-outside-cell-408-421 n-408 n-421) + (cell-edge c-c124 c-outside-cell-421-415 n-421 n-415) + (cell-edge c-c125 c-outside-cell-408-425 n-408 n-425) + (cell-edge c-c125 c-outside-cell-425-418 n-425 n-418) + (cell-edge c-c126 c-c129 n-182 n-429) + (cell-edge c-c126 c-c127 n-429 n-419) + (cell-edge c-c127 c-c128 n-429 n-434) + (cell-edge c-c127 c-c132 n-434 n-419) + (cell-edge c-c128 c-c131 n-435 n-429) + (cell-edge c-c128 c-c133 n-434 n-435) + (cell-edge c-c129 c-c131 n-183 n-429) + (cell-edge c-c130 c-c132 n-434 n-442) + (cell-edge c-c130 c-c209 n-442 n-443) + (cell-edge c-c130 c-c133 n-443 n-434) + (cell-edge c-c131 c-c137 n-435 n-445) + (cell-edge c-c131 c-c134 n-445 n-183) + (cell-edge c-c132 c-c202 n-419 n-449) + (cell-edge c-c132 c-c201 n-449 n-442) + (cell-edge c-c133 c-c216 n-435 n-453) + (cell-edge c-c133 c-c214 n-453 n-443) + (cell-edge c-c134 c-c135 n-197 n-445) + (cell-edge c-c135 c-c138 n-445 n-230) + (cell-edge c-c137 c-c216 n-435 n-467) + (cell-edge c-c137 c-c138 n-467 n-445) + (cell-edge c-c138 c-c141 n-230 n-469) + (cell-edge c-c138 c-c139 n-469 n-467) + (cell-edge c-c139 c-c140 n-469 n-474) + (cell-edge c-c139 c-c144 n-474 n-467) + (cell-edge c-c140 c-c143 n-475 n-469) + (cell-edge c-c140 c-c145 n-474 n-475) + (cell-edge c-c141 c-c143 n-231 n-469) + (cell-edge c-c142 c-c144 n-474 n-482) + (cell-edge c-c142 c-c221 n-482 n-483) + (cell-edge c-c142 c-c145 n-483 n-474) + (cell-edge c-c143 c-c149 n-475 n-485) + (cell-edge c-c143 c-c146 n-485 n-231) + (cell-edge c-c144 c-c216 n-467 n-453) + (cell-edge c-c144 c-c215 n-453 n-482) + (cell-edge c-c145 c-c228 n-475 n-493) + (cell-edge c-c145 c-c226 n-493 n-483) + (cell-edge c-c146 c-c147 n-241 n-485) + (cell-edge c-c147 c-c150 n-485 n-270) + (cell-edge c-c149 c-c228 n-475 n-507) + (cell-edge c-c149 c-c150 n-507 n-485) + (cell-edge c-c150 c-c153 n-270 n-509) + (cell-edge c-c150 c-c151 n-509 n-507) + (cell-edge c-c151 c-c152 n-509 n-514) + (cell-edge c-c151 c-c156 n-514 n-507) + (cell-edge c-c152 c-c155 n-515 n-509) + (cell-edge c-c152 c-c157 n-514 n-515) + (cell-edge c-c153 c-c155 n-271 n-509) + (cell-edge c-c154 c-c156 n-514 n-522) + (cell-edge c-c154 c-c233 n-522 n-523) + (cell-edge c-c154 c-c157 n-523 n-514) + (cell-edge c-c155 c-c161 n-515 n-525) + (cell-edge c-c155 c-c158 n-525 n-271) + (cell-edge c-c156 c-c228 n-507 n-493) + (cell-edge c-c156 c-c227 n-493 n-522) + (cell-edge c-c157 c-c240 n-515 n-533) + (cell-edge c-c157 c-c238 n-533 n-523) + (cell-edge c-c158 c-c159 n-281 n-525) + (cell-edge c-c159 c-c162 n-525 n-310) + (cell-edge c-c161 c-c240 n-515 n-547) + (cell-edge c-c161 c-c162 n-547 n-525) + (cell-edge c-c162 c-c165 n-310 n-549) + (cell-edge c-c162 c-c163 n-549 n-547) + (cell-edge c-c163 c-c164 n-549 n-554) + (cell-edge c-c163 c-c168 n-554 n-547) + (cell-edge c-c164 c-c167 n-555 n-549) + (cell-edge c-c164 c-c169 n-554 n-555) + (cell-edge c-c165 c-c167 n-311 n-549) + (cell-edge c-c166 c-c168 n-554 n-562) + (cell-edge c-c166 c-c245 n-562 n-563) + (cell-edge c-c166 c-c169 n-563 n-554) + (cell-edge c-c167 c-c173 n-555 n-565) + (cell-edge c-c167 c-c170 n-565 n-311) + (cell-edge c-c168 c-c240 n-547 n-533) + (cell-edge c-c168 c-c239 n-533 n-562) + (cell-edge c-c169 c-c252 n-555 n-573) + (cell-edge c-c169 c-c250 n-573 n-563) + (cell-edge c-c170 c-c171 n-321 n-565) + (cell-edge c-c171 c-c174 n-565 n-350) + (cell-edge c-c173 c-c252 n-555 n-587) + (cell-edge c-c173 c-c174 n-587 n-565) + (cell-edge c-c174 c-c177 n-350 n-589) + (cell-edge c-c174 c-c175 n-589 n-587) + (cell-edge c-c175 c-c176 n-589 n-594) + (cell-edge c-c175 c-c180 n-594 n-587) + (cell-edge c-c176 c-c179 n-595 n-589) + (cell-edge c-c176 c-c181 n-594 n-595) + (cell-edge c-c177 c-c179 n-351 n-589) + (cell-edge c-c178 c-c180 n-594 n-602) + (cell-edge c-c178 c-c257 n-602 n-603) + (cell-edge c-c178 c-c181 n-603 n-594) + (cell-edge c-c179 c-c185 n-595 n-605) + (cell-edge c-c179 c-c182 n-605 n-351) + (cell-edge c-c180 c-c252 n-587 n-573) + (cell-edge c-c180 c-c251 n-573 n-602) + (cell-edge c-c181 c-c264 n-595 n-613) + (cell-edge c-c181 c-c262 n-613 n-603) + (cell-edge c-c182 c-c183 n-361 n-605) + (cell-edge c-c183 c-c186 n-605 n-394) + (cell-edge c-c185 c-c264 n-595 n-627) + (cell-edge c-c185 c-c186 n-627 n-605) + (cell-edge c-c186 c-c189 n-394 n-629) + (cell-edge c-c186 c-c187 n-629 n-627) + (cell-edge c-c187 c-c188 n-629 n-634) + (cell-edge c-c187 c-c192 n-634 n-627) + (cell-edge c-c188 c-c191 n-635 n-629) + (cell-edge c-c188 c-c193 n-634 n-635) + (cell-edge c-c189 c-c191 n-395 n-629) + (cell-edge c-c190 c-c192 n-634 n-642) + (cell-edge c-c190 c-c269 n-642 n-643) + (cell-edge c-c190 c-c193 n-643 n-634) + (cell-edge c-c191 c-c197 n-635 n-645) + (cell-edge c-c191 c-c194 n-645 n-395) + (cell-edge c-c192 c-c264 n-627 n-613) + (cell-edge c-c192 c-c263 n-613 n-642) + (cell-edge c-c193 c-c276 n-635 n-653) + (cell-edge c-c193 c-c274 n-653 n-643) + (cell-edge c-c194 c-c195 n-405 n-645) + (cell-edge c-c195 c-c198 n-659 n-405) + (cell-edge c-c195 c-c199 n-645 n-659) + (cell-edge c-c196 c-outside-cell-387-664 n-387 n-664) + (cell-edge c-c196 c-c198 n-664 n-405) + (cell-edge c-c197 c-c276 n-635 n-667) + (cell-edge c-c197 c-c199 n-667 n-645) + (cell-edge c-c198 c-outside-cell-659-669 n-659 n-669) + (cell-edge c-c198 c-outside-cell-669-664 n-669 n-664) + (cell-edge c-c199 c-outside-cell-659-673 n-659 n-673) + (cell-edge c-c199 c-outside-cell-673-667 n-673 n-667) + (cell-edge c-c200 c-c204 n-676 n-449) + (cell-edge c-c200 c-c201 n-449 n-678) + (cell-edge c-c200 c-c205 n-678 n-676) + (cell-edge c-c201 c-c206 n-678 n-442) + (cell-edge c-c202 c-c204 n-449 n-418) + (cell-edge c-c203 c-c205 n-678 n-686) + (cell-edge c-c203 c-c282 n-686 n-687) + (cell-edge c-c203 c-c206 n-687 n-678) + (cell-edge c-c204 c-outside-cell-676-689 n-676 n-689) + (cell-edge c-c204 c-outside-cell-689-418 n-689 n-418) + (cell-edge c-c205 c-outside-cell-676-693 n-676 n-693) + (cell-edge c-c205 c-outside-cell-693-686 n-693 n-686) + (cell-edge c-c206 c-c209 n-442 n-697) + (cell-edge c-c206 c-c207 n-697 n-687) + (cell-edge c-c207 c-c208 n-697 n-702) + (cell-edge c-c207 c-c212 n-702 n-687) + (cell-edge c-c208 c-c211 n-703 n-697) + (cell-edge c-c208 c-c213 n-702 n-703) + (cell-edge c-c209 c-c211 n-443 n-697) + (cell-edge c-c210 c-c212 n-702 n-710) + (cell-edge c-c210 c-c289 n-710 n-711) + (cell-edge c-c210 c-c213 n-711 n-702) + (cell-edge c-c211 c-c217 n-703 n-713) + (cell-edge c-c211 c-c214 n-713 n-443) + (cell-edge c-c212 c-c282 n-687 n-717) + (cell-edge c-c212 c-c281 n-717 n-710) + (cell-edge c-c213 c-c296 n-703 n-721) + (cell-edge c-c213 c-c294 n-721 n-711) + (cell-edge c-c214 c-c215 n-453 n-713) + (cell-edge c-c215 c-c218 n-713 n-482) + (cell-edge c-c217 c-c296 n-703 n-735) + (cell-edge c-c217 c-c218 n-735 n-713) + (cell-edge c-c218 c-c221 n-482 n-737) + (cell-edge c-c218 c-c219 n-737 n-735) + (cell-edge c-c219 c-c220 n-737 n-742) + (cell-edge c-c219 c-c224 n-742 n-735) + (cell-edge c-c220 c-c223 n-743 n-737) + (cell-edge c-c220 c-c225 n-742 n-743) + (cell-edge c-c221 c-c223 n-483 n-737) + (cell-edge c-c222 c-c224 n-742 n-750) + (cell-edge c-c222 c-c301 n-750 n-751) + (cell-edge c-c222 c-c225 n-751 n-742) + (cell-edge c-c223 c-c229 n-743 n-753) + (cell-edge c-c223 c-c226 n-753 n-483) + (cell-edge c-c224 c-c296 n-735 n-721) + (cell-edge c-c224 c-c295 n-721 n-750) + (cell-edge c-c225 c-c308 n-743 n-761) + (cell-edge c-c225 c-c306 n-761 n-751) + (cell-edge c-c226 c-c227 n-493 n-753) + (cell-edge c-c227 c-c230 n-753 n-522) + (cell-edge c-c229 c-c308 n-743 n-775) + (cell-edge c-c229 c-c230 n-775 n-753) + (cell-edge c-c230 c-c233 n-522 n-777) + (cell-edge c-c230 c-c231 n-777 n-775) + (cell-edge c-c231 c-c232 n-777 n-782) + (cell-edge c-c231 c-c236 n-782 n-775) + (cell-edge c-c232 c-c235 n-783 n-777) + (cell-edge c-c232 c-c237 n-782 n-783) + (cell-edge c-c233 c-c235 n-523 n-777) + (cell-edge c-c234 c-c236 n-782 n-790) + (cell-edge c-c234 c-c313 n-790 n-791) + (cell-edge c-c234 c-c237 n-791 n-782) + (cell-edge c-c235 c-c241 n-783 n-793) + (cell-edge c-c235 c-c238 n-793 n-523) + (cell-edge c-c236 c-c308 n-775 n-761) + (cell-edge c-c236 c-c307 n-761 n-790) + (cell-edge c-c237 c-c320 n-783 n-801) + (cell-edge c-c237 c-c318 n-801 n-791) + (cell-edge c-c238 c-c239 n-533 n-793) + (cell-edge c-c239 c-c242 n-793 n-562) + (cell-edge c-c241 c-c320 n-783 n-815) + (cell-edge c-c241 c-c242 n-815 n-793) + (cell-edge c-c242 c-c245 n-562 n-817) + (cell-edge c-c242 c-c243 n-817 n-815) + (cell-edge c-c243 c-c244 n-817 n-822) + (cell-edge c-c243 c-c248 n-822 n-815) + (cell-edge c-c244 c-c247 n-823 n-817) + (cell-edge c-c244 c-c249 n-822 n-823) + (cell-edge c-c245 c-c247 n-563 n-817) + (cell-edge c-c246 c-c248 n-822 n-830) + (cell-edge c-c246 c-c325 n-830 n-831) + (cell-edge c-c246 c-c249 n-831 n-822) + (cell-edge c-c247 c-c253 n-823 n-833) + (cell-edge c-c247 c-c250 n-833 n-563) + (cell-edge c-c248 c-c320 n-815 n-801) + (cell-edge c-c248 c-c319 n-801 n-830) + (cell-edge c-c249 c-c332 n-823 n-841) + (cell-edge c-c249 c-c330 n-841 n-831) + (cell-edge c-c250 c-c251 n-573 n-833) + (cell-edge c-c251 c-c254 n-833 n-602) + (cell-edge c-c253 c-c332 n-823 n-855) + (cell-edge c-c253 c-c254 n-855 n-833) + (cell-edge c-c254 c-c257 n-602 n-857) + (cell-edge c-c254 c-c255 n-857 n-855) + (cell-edge c-c255 c-c256 n-857 n-862) + (cell-edge c-c255 c-c260 n-862 n-855) + (cell-edge c-c256 c-c259 n-863 n-857) + (cell-edge c-c256 c-c261 n-862 n-863) + (cell-edge c-c257 c-c259 n-603 n-857) + (cell-edge c-c258 c-c260 n-862 n-870) + (cell-edge c-c258 c-c337 n-870 n-871) + (cell-edge c-c258 c-c261 n-871 n-862) + (cell-edge c-c259 c-c265 n-863 n-873) + (cell-edge c-c259 c-c262 n-873 n-603) + (cell-edge c-c260 c-c332 n-855 n-841) + (cell-edge c-c260 c-c331 n-841 n-870) + (cell-edge c-c261 c-c344 n-863 n-881) + (cell-edge c-c261 c-c342 n-881 n-871) + (cell-edge c-c262 c-c263 n-613 n-873) + (cell-edge c-c263 c-c266 n-873 n-642) + (cell-edge c-c265 c-c344 n-863 n-895) + (cell-edge c-c265 c-c266 n-895 n-873) + (cell-edge c-c266 c-c269 n-642 n-897) + (cell-edge c-c266 c-c267 n-897 n-895) + (cell-edge c-c267 c-c268 n-897 n-902) + (cell-edge c-c267 c-c272 n-902 n-895) + (cell-edge c-c268 c-c271 n-903 n-897) + (cell-edge c-c268 c-c273 n-902 n-903) + (cell-edge c-c269 c-c271 n-643 n-897) + (cell-edge c-c270 c-c272 n-902 n-910) + (cell-edge c-c270 c-c349 n-910 n-911) + (cell-edge c-c270 c-c273 n-911 n-902) + (cell-edge c-c271 c-c277 n-903 n-913) + (cell-edge c-c271 c-c274 n-913 n-643) + (cell-edge c-c272 c-c344 n-895 n-881) + (cell-edge c-c272 c-c343 n-881 n-910) + (cell-edge c-c273 c-c356 n-903 n-921) + (cell-edge c-c273 c-c354 n-921 n-911) + (cell-edge c-c274 c-c275 n-653 n-913) + (cell-edge c-c275 c-c278 n-927 n-653) + (cell-edge c-c275 c-c279 n-913 n-927) + (cell-edge c-c276 c-c278 n-667 n-653) + (cell-edge c-c277 c-c356 n-903 n-935) + (cell-edge c-c277 c-c279 n-935 n-913) + (cell-edge c-c278 c-outside-cell-927-937 n-927 n-937) + (cell-edge c-c278 c-outside-cell-937-667 n-937 n-667) + (cell-edge c-c279 c-outside-cell-927-941 n-927 n-941) + (cell-edge c-c279 c-outside-cell-941-935 n-941 n-935) + (cell-edge c-c280 c-c284 n-944 n-717) + (cell-edge c-c280 c-c281 n-717 n-946) + (cell-edge c-c280 c-c285 n-946 n-944) + (cell-edge c-c281 c-c286 n-946 n-710) + (cell-edge c-c282 c-c284 n-717 n-686) + (cell-edge c-c283 c-c285 n-946 n-954) + (cell-edge c-c283 c-outside-cell-954-955 n-954 n-955) + (cell-edge c-c283 c-c286 n-955 n-946) + (cell-edge c-c284 c-outside-cell-944-957 n-944 n-957) + (cell-edge c-c284 c-outside-cell-957-686 n-957 n-686) + (cell-edge c-c285 c-outside-cell-944-961 n-944 n-961) + (cell-edge c-c285 c-outside-cell-961-954 n-961 n-954) + (cell-edge c-c286 c-c289 n-710 n-965) + (cell-edge c-c286 c-c287 n-965 n-955) + (cell-edge c-c287 c-c288 n-965 n-970) + (cell-edge c-c287 c-c292 n-970 n-955) + (cell-edge c-c288 c-c291 n-971 n-965) + (cell-edge c-c288 c-c293 n-970 n-971) + (cell-edge c-c289 c-c291 n-711 n-965) + (cell-edge c-c290 c-c292 n-970 n-978) + (cell-edge c-c290 c-outside-cell-978-979 n-978 n-979) + (cell-edge c-c290 c-c293 n-979 n-970) + (cell-edge c-c291 c-c297 n-971 n-981) + (cell-edge c-c291 c-c294 n-981 n-711) + (cell-edge c-c292 c-outside-cell-955-985 n-955 n-985) + (cell-edge c-c292 c-outside-cell-985-978 n-985 n-978) + (cell-edge c-c293 c-c362 n-971 n-989) + (cell-edge c-c293 c-c360 n-989 n-979) + (cell-edge c-c294 c-c295 n-721 n-981) + (cell-edge c-c295 c-c298 n-981 n-750) + (cell-edge c-c297 c-c362 n-971 n-1003) + (cell-edge c-c297 c-c298 n-1003 n-981) + (cell-edge c-c298 c-c301 n-750 n-1005) + (cell-edge c-c298 c-c299 n-1005 n-1003) + (cell-edge c-c299 c-c300 n-1005 n-1010) + (cell-edge c-c299 c-c304 n-1010 n-1003) + (cell-edge c-c300 c-c303 n-1011 n-1005) + (cell-edge c-c300 c-c305 n-1010 n-1011) + (cell-edge c-c301 c-c303 n-751 n-1005) + (cell-edge c-c302 c-c304 n-1010 n-1018) + (cell-edge c-c302 c-c368 n-1018 n-1019) + (cell-edge c-c302 c-c305 n-1019 n-1010) + (cell-edge c-c303 c-c309 n-1011 n-1021) + (cell-edge c-c303 c-c306 n-1021 n-751) + (cell-edge c-c304 c-c362 n-1003 n-989) + (cell-edge c-c304 c-c361 n-989 n-1018) + (cell-edge c-c305 c-c375 n-1011 n-1029) + (cell-edge c-c305 c-c373 n-1029 n-1019) + (cell-edge c-c306 c-c307 n-761 n-1021) + (cell-edge c-c307 c-c310 n-1021 n-790) + (cell-edge c-c309 c-c375 n-1011 n-1043) + (cell-edge c-c309 c-c310 n-1043 n-1021) + (cell-edge c-c310 c-c313 n-790 n-1045) + (cell-edge c-c310 c-c311 n-1045 n-1043) + (cell-edge c-c311 c-c312 n-1045 n-1050) + (cell-edge c-c311 c-c316 n-1050 n-1043) + (cell-edge c-c312 c-c315 n-1051 n-1045) + (cell-edge c-c312 c-c317 n-1050 n-1051) + (cell-edge c-c313 c-c315 n-791 n-1045) + (cell-edge c-c314 c-c316 n-1050 n-1058) + (cell-edge c-c314 c-c380 n-1058 n-1059) + (cell-edge c-c314 c-c317 n-1059 n-1050) + (cell-edge c-c315 c-c321 n-1051 n-1061) + (cell-edge c-c315 c-c318 n-1061 n-791) + (cell-edge c-c316 c-c375 n-1043 n-1029) + (cell-edge c-c316 c-c374 n-1029 n-1058) + (cell-edge c-c317 c-c387 n-1051 n-1069) + (cell-edge c-c317 c-c385 n-1069 n-1059) + (cell-edge c-c318 c-c319 n-801 n-1061) + (cell-edge c-c319 c-c322 n-1061 n-830) + (cell-edge c-c321 c-c387 n-1051 n-1083) + (cell-edge c-c321 c-c322 n-1083 n-1061) + (cell-edge c-c322 c-c325 n-830 n-1085) + (cell-edge c-c322 c-c323 n-1085 n-1083) + (cell-edge c-c323 c-c324 n-1085 n-1090) + (cell-edge c-c323 c-c328 n-1090 n-1083) + (cell-edge c-c324 c-c327 n-1091 n-1085) + (cell-edge c-c324 c-c329 n-1090 n-1091) + (cell-edge c-c325 c-c327 n-831 n-1085) + (cell-edge c-c326 c-c328 n-1090 n-1098) + (cell-edge c-c326 c-c392 n-1098 n-1099) + (cell-edge c-c326 c-c329 n-1099 n-1090) + (cell-edge c-c327 c-c333 n-1091 n-1101) + (cell-edge c-c327 c-c330 n-1101 n-831) + (cell-edge c-c328 c-c387 n-1083 n-1069) + (cell-edge c-c328 c-c386 n-1069 n-1098) + (cell-edge c-c329 c-c399 n-1091 n-1109) + (cell-edge c-c329 c-c397 n-1109 n-1099) + (cell-edge c-c330 c-c331 n-841 n-1101) + (cell-edge c-c331 c-c334 n-1101 n-870) + (cell-edge c-c333 c-c399 n-1091 n-1123) + (cell-edge c-c333 c-c334 n-1123 n-1101) + (cell-edge c-c334 c-c337 n-870 n-1125) + (cell-edge c-c334 c-c335 n-1125 n-1123) + (cell-edge c-c335 c-c336 n-1125 n-1130) + (cell-edge c-c335 c-c340 n-1130 n-1123) + (cell-edge c-c336 c-c339 n-1131 n-1125) + (cell-edge c-c336 c-c341 n-1130 n-1131) + (cell-edge c-c337 c-c339 n-871 n-1125) + (cell-edge c-c338 c-c340 n-1130 n-1138) + (cell-edge c-c338 c-c404 n-1138 n-1139) + (cell-edge c-c338 c-c341 n-1139 n-1130) + (cell-edge c-c339 c-c345 n-1131 n-1141) + (cell-edge c-c339 c-c342 n-1141 n-871) + (cell-edge c-c340 c-c399 n-1123 n-1109) + (cell-edge c-c340 c-c398 n-1109 n-1138) + (cell-edge c-c341 c-c411 n-1131 n-1149) + (cell-edge c-c341 c-c409 n-1149 n-1139) + (cell-edge c-c342 c-c343 n-881 n-1141) + (cell-edge c-c343 c-c346 n-1141 n-910) + (cell-edge c-c345 c-c411 n-1131 n-1163) + (cell-edge c-c345 c-c346 n-1163 n-1141) + (cell-edge c-c346 c-c349 n-910 n-1165) + (cell-edge c-c346 c-c347 n-1165 n-1163) + (cell-edge c-c347 c-c348 n-1165 n-1170) + (cell-edge c-c347 c-c352 n-1170 n-1163) + (cell-edge c-c348 c-c351 n-1171 n-1165) + (cell-edge c-c348 c-c353 n-1170 n-1171) + (cell-edge c-c349 c-c351 n-911 n-1165) + (cell-edge c-c350 c-c352 n-1170 n-1178) + (cell-edge c-c350 c-outside-cell-1178-1179 n-1178 n-1179) + (cell-edge c-c350 c-c353 n-1179 n-1170) + (cell-edge c-c351 c-c357 n-1171 n-1181) + (cell-edge c-c351 c-c354 n-1181 n-911) + (cell-edge c-c352 c-c411 n-1163 n-1149) + (cell-edge c-c352 c-c410 n-1149 n-1178) + (cell-edge c-c353 c-outside-cell-1171-1189 n-1171 n-1189) + (cell-edge c-c353 c-outside-cell-1189-1179 n-1189 n-1179) + (cell-edge c-c354 c-c355 n-921 n-1181) + (cell-edge c-c355 c-c358 n-1195 n-921) + (cell-edge c-c355 c-c359 n-1181 n-1195) + (cell-edge c-c356 c-c358 n-935 n-921) + (cell-edge c-c357 c-outside-cell-1171-1203 n-1171 n-1203) + (cell-edge c-c357 c-c359 n-1203 n-1181) + (cell-edge c-c358 c-outside-cell-1195-1205 n-1195 n-1205) + (cell-edge c-c358 c-outside-cell-1205-935 n-1205 n-935) + (cell-edge c-c359 c-outside-cell-1195-1209 n-1195 n-1209) + (cell-edge c-c359 c-outside-cell-1209-1203 n-1209 n-1203) + (cell-edge c-c360 c-c361 n-989 n-1214) + (cell-edge c-c360 c-c364 n-1214 n-979) + (cell-edge c-c361 c-c365 n-1214 n-1018) + (cell-edge c-c363 c-c364 n-1214 n-1222) + (cell-edge c-c363 c-outside-cell-1222-1223 n-1222 n-1223) + (cell-edge c-c363 c-c365 n-1223 n-1214) + (cell-edge c-c364 c-outside-cell-979-1225 n-979 n-1225) + (cell-edge c-c364 c-outside-cell-1225-1222 n-1225 n-1222) + (cell-edge c-c365 c-c368 n-1018 n-1229) + (cell-edge c-c365 c-c366 n-1229 n-1223) + (cell-edge c-c366 c-c367 n-1229 n-1234) + (cell-edge c-c366 c-c371 n-1234 n-1223) + (cell-edge c-c367 c-c370 n-1235 n-1229) + (cell-edge c-c367 c-c372 n-1234 n-1235) + (cell-edge c-c368 c-c370 n-1019 n-1229) + (cell-edge c-c369 c-c371 n-1234 n-1242) + (cell-edge c-c369 c-outside-cell-1242-1243 n-1242 n-1243) + (cell-edge c-c369 c-c372 n-1243 n-1234) + (cell-edge c-c370 c-c376 n-1235 n-1245) + (cell-edge c-c370 c-c373 n-1245 n-1019) + (cell-edge c-c371 c-outside-cell-1223-1249 n-1223 n-1249) + (cell-edge c-c371 c-outside-cell-1249-1242 n-1249 n-1242) + (cell-edge c-c372 c-c416 n-1235 n-1253) + (cell-edge c-c372 c-c414 n-1253 n-1243) + (cell-edge c-c373 c-c374 n-1029 n-1245) + (cell-edge c-c374 c-c377 n-1245 n-1058) + (cell-edge c-c376 c-c416 n-1235 n-1267) + (cell-edge c-c376 c-c377 n-1267 n-1245) + (cell-edge c-c377 c-c380 n-1058 n-1269) + (cell-edge c-c377 c-c378 n-1269 n-1267) + (cell-edge c-c378 c-c379 n-1269 n-1274) + (cell-edge c-c378 c-c383 n-1274 n-1267) + (cell-edge c-c379 c-c382 n-1275 n-1269) + (cell-edge c-c379 c-c384 n-1274 n-1275) + (cell-edge c-c380 c-c382 n-1059 n-1269) + (cell-edge c-c381 c-c383 n-1274 n-1282) + (cell-edge c-c381 c-outside-cell-1282-1283 n-1282 n-1283) + (cell-edge c-c381 c-c384 n-1283 n-1274) + (cell-edge c-c382 c-c388 n-1275 n-1285) + (cell-edge c-c382 c-c385 n-1285 n-1059) + (cell-edge c-c383 c-c416 n-1267 n-1253) + (cell-edge c-c383 c-c415 n-1253 n-1282) + (cell-edge c-c384 c-c422 n-1275 n-1293) + (cell-edge c-c384 c-c420 n-1293 n-1283) + (cell-edge c-c385 c-c386 n-1069 n-1285) + (cell-edge c-c386 c-c389 n-1285 n-1098) + (cell-edge c-c388 c-c422 n-1275 n-1307) + (cell-edge c-c388 c-c389 n-1307 n-1285) + (cell-edge c-c389 c-c392 n-1098 n-1309) + (cell-edge c-c389 c-c390 n-1309 n-1307) + (cell-edge c-c390 c-c391 n-1309 n-1314) + (cell-edge c-c390 c-c395 n-1314 n-1307) + (cell-edge c-c391 c-c394 n-1315 n-1309) + (cell-edge c-c391 c-c396 n-1314 n-1315) + (cell-edge c-c392 c-c394 n-1099 n-1309) + (cell-edge c-c393 c-c395 n-1314 n-1322) + (cell-edge c-c393 c-outside-cell-1322-1323 n-1322 n-1323) + (cell-edge c-c393 c-c396 n-1323 n-1314) + (cell-edge c-c394 c-c400 n-1315 n-1325) + (cell-edge c-c394 c-c397 n-1325 n-1099) + (cell-edge c-c395 c-c422 n-1307 n-1293) + (cell-edge c-c395 c-c421 n-1293 n-1322) + (cell-edge c-c396 c-c428 n-1315 n-1333) + (cell-edge c-c396 c-c426 n-1333 n-1323) + (cell-edge c-c397 c-c398 n-1109 n-1325) + (cell-edge c-c398 c-c401 n-1325 n-1138) + (cell-edge c-c400 c-c428 n-1315 n-1347) + (cell-edge c-c400 c-c401 n-1347 n-1325) + (cell-edge c-c401 c-c404 n-1138 n-1349) + (cell-edge c-c401 c-c402 n-1349 n-1347) + (cell-edge c-c402 c-c403 n-1349 n-1354) + (cell-edge c-c402 c-c407 n-1354 n-1347) + (cell-edge c-c403 c-c406 n-1355 n-1349) + (cell-edge c-c403 c-c408 n-1354 n-1355) + (cell-edge c-c404 c-c406 n-1139 n-1349) + (cell-edge c-c405 c-c407 n-1354 n-1362) + (cell-edge c-c405 c-outside-cell-1362-1363 n-1362 n-1363) + (cell-edge c-c405 c-c408 n-1363 n-1354) + (cell-edge c-c406 c-c412 n-1355 n-1365) + (cell-edge c-c406 c-c409 n-1365 n-1139) + (cell-edge c-c407 c-c428 n-1347 n-1333) + (cell-edge c-c407 c-c427 n-1333 n-1362) + (cell-edge c-c408 c-outside-cell-1355-1373 n-1355 n-1373) + (cell-edge c-c408 c-outside-cell-1373-1363 n-1373 n-1363) + (cell-edge c-c409 c-c410 n-1149 n-1365) + (cell-edge c-c410 c-c413 n-1365 n-1178) + (cell-edge c-c412 c-outside-cell-1355-1387 n-1355 n-1387) + (cell-edge c-c412 c-c413 n-1387 n-1365) + (cell-edge c-c413 c-outside-cell-1178-1389 n-1178 n-1389) + (cell-edge c-c413 c-outside-cell-1389-1387 n-1389 n-1387) + (cell-edge c-c414 c-c415 n-1253 n-1394) + (cell-edge c-c414 c-c418 n-1394 n-1243) + (cell-edge c-c415 c-c419 n-1394 n-1282) + (cell-edge c-c417 c-c418 n-1394 n-1402) + (cell-edge c-c417 c-outside-cell-1402-1403 n-1402 n-1403) + (cell-edge c-c417 c-c419 n-1403 n-1394) + (cell-edge c-c418 c-outside-cell-1243-1405 n-1243 n-1405) + (cell-edge c-c418 c-outside-cell-1405-1402 n-1405 n-1402) + (cell-edge c-c419 c-outside-cell-1282-1409 n-1282 n-1409) + (cell-edge c-c419 c-outside-cell-1409-1403 n-1409 n-1403) + (cell-edge c-c420 c-c421 n-1293 n-1414) + (cell-edge c-c420 c-c424 n-1414 n-1283) + (cell-edge c-c421 c-c425 n-1414 n-1322) + (cell-edge c-c423 c-c424 n-1414 n-1422) + (cell-edge c-c423 c-outside-cell-1422-1423 n-1422 n-1423) + (cell-edge c-c423 c-c425 n-1423 n-1414) + (cell-edge c-c424 c-outside-cell-1283-1409 n-1283 n-1409) + (cell-edge c-c424 c-outside-cell-1409-1422 n-1409 n-1422) + (cell-edge c-c425 c-outside-cell-1322-1429 n-1322 n-1429) + (cell-edge c-c425 c-outside-cell-1429-1423 n-1429 n-1423) + (cell-edge c-c426 c-c427 n-1333 n-1434) + (cell-edge c-c426 c-c430 n-1434 n-1323) + (cell-edge c-c427 c-c431 n-1434 n-1362) + (cell-edge c-c429 c-c430 n-1434 n-1442) + (cell-edge c-c429 c-outside-cell-1442-1443 n-1442 n-1443) + (cell-edge c-c429 c-c431 n-1443 n-1434) + (cell-edge c-c430 c-outside-cell-1323-1429 n-1323 n-1429) + (cell-edge c-c430 c-outside-cell-1429-1442 n-1429 n-1442) + (cell-edge c-c431 c-outside-cell-1362-1449 n-1362 n-1449) + (cell-edge c-c431 c-outside-cell-1449-1443 n-1449 n-1443) + + +) +(:goal + (and + (not (node-degree1 n-0)) + (not (node-degree1 n-1)) + (not (node-degree1 n-10)) + (not (node-degree1 n-1003)) + (not (node-degree1 n-1005)) + (not (node-degree1 n-1010)) + (not (node-degree1 n-1011)) + (not (node-degree1 n-1018)) + (not (node-degree1 n-1019)) + (not (node-degree1 n-102)) + (not (node-degree1 n-1021)) + (not (node-degree1 n-1029)) + (not (node-degree1 n-103)) + (not (node-degree1 n-1043)) + (not (node-degree1 n-1045)) + (not (node-degree1 n-1050)) + (not (node-degree1 n-1051)) + (not (node-degree1 n-1058)) + (not (node-degree1 n-1059)) + (not (node-degree1 n-1061)) + (not (node-degree1 n-1069)) + (not (node-degree1 n-108)) + (not (node-degree1 n-1083)) + (not (node-degree1 n-1085)) + (not (node-degree1 n-1090)) + (not (node-degree1 n-1091)) + (not (node-degree1 n-1098)) + (not (node-degree1 n-1099)) + (not (node-degree1 n-11)) + (not (node-degree1 n-110)) + (not (node-degree1 n-1101)) + (not (node-degree1 n-1109)) + (not (node-degree1 n-111)) + (not (node-degree1 n-1123)) + (not (node-degree1 n-1125)) + (not (node-degree1 n-113)) + (not (node-degree1 n-1130)) + (not (node-degree1 n-1131)) + (not (node-degree1 n-1138)) + (not (node-degree1 n-1139)) + (not (node-degree1 n-1141)) + (not (node-degree1 n-1149)) + (not (node-degree1 n-1163)) + (not (node-degree1 n-1165)) + (not (node-degree1 n-1170)) + (not (node-degree1 n-1171)) + (not (node-degree1 n-1178)) + (not (node-degree1 n-1179)) + (not (node-degree1 n-1181)) + (not (node-degree1 n-1189)) + (not (node-degree1 n-1195)) + (not (node-degree1 n-1203)) + (not (node-degree1 n-1205)) + (not (node-degree1 n-1209)) + (not (node-degree1 n-121)) + (not (node-degree1 n-1214)) + (not (node-degree1 n-1222)) + (not (node-degree1 n-1223)) + (not (node-degree1 n-1225)) + (not (node-degree1 n-1229)) + (not (node-degree1 n-1234)) + (not (node-degree1 n-1235)) + (not (node-degree1 n-1242)) + (not (node-degree1 n-1243)) + (not (node-degree1 n-1245)) + (not (node-degree1 n-1249)) + (not (node-degree1 n-125)) + (not (node-degree1 n-1253)) + (not (node-degree1 n-1267)) + (not (node-degree1 n-1269)) + (not (node-degree1 n-127)) + (not (node-degree1 n-1274)) + (not (node-degree1 n-1275)) + (not (node-degree1 n-1282)) + (not (node-degree1 n-1283)) + (not (node-degree1 n-1285)) + (not (node-degree1 n-1293)) + (not (node-degree1 n-13)) + (not (node-degree1 n-1307)) + (not (node-degree1 n-1309)) + (not (node-degree1 n-131)) + (not (node-degree1 n-1314)) + (not (node-degree1 n-1315)) + (not (node-degree1 n-132)) + (not (node-degree1 n-1322)) + (not (node-degree1 n-1323)) + (not (node-degree1 n-1325)) + (not (node-degree1 n-1333)) + (not (node-degree1 n-1347)) + (not (node-degree1 n-1349)) + (not (node-degree1 n-135)) + (not (node-degree1 n-1354)) + (not (node-degree1 n-1355)) + (not (node-degree1 n-1362)) + (not (node-degree1 n-1363)) + (not (node-degree1 n-1365)) + (not (node-degree1 n-1373)) + (not (node-degree1 n-1387)) + (not (node-degree1 n-1389)) + (not (node-degree1 n-1394)) + (not (node-degree1 n-1402)) + (not (node-degree1 n-1403)) + (not (node-degree1 n-1405)) + (not (node-degree1 n-1409)) + (not (node-degree1 n-141)) + (not (node-degree1 n-1414)) + (not (node-degree1 n-1422)) + (not (node-degree1 n-1423)) + (not (node-degree1 n-1429)) + (not (node-degree1 n-1434)) + (not (node-degree1 n-1442)) + (not (node-degree1 n-1443)) + (not (node-degree1 n-1449)) + (not (node-degree1 n-145)) + (not (node-degree1 n-150)) + (not (node-degree1 n-151)) + (not (node-degree1 n-156)) + (not (node-degree1 n-158)) + (not (node-degree1 n-159)) + (not (node-degree1 n-161)) + (not (node-degree1 n-169)) + (not (node-degree1 n-17)) + (not (node-degree1 n-172)) + (not (node-degree1 n-173)) + (not (node-degree1 n-174)) + (not (node-degree1 n-175)) + (not (node-degree1 n-179)) + (not (node-degree1 n-180)) + (not (node-degree1 n-182)) + (not (node-degree1 n-183)) + (not (node-degree1 n-185)) + (not (node-degree1 n-189)) + (not (node-degree1 n-193)) + (not (node-degree1 n-197)) + (not (node-degree1 n-2)) + (not (node-degree1 n-207)) + (not (node-degree1 n-21)) + (not (node-degree1 n-211)) + (not (node-degree1 n-213)) + (not (node-degree1 n-217)) + (not (node-degree1 n-222)) + (not (node-degree1 n-223)) + (not (node-degree1 n-230)) + (not (node-degree1 n-231)) + (not (node-degree1 n-233)) + (not (node-degree1 n-241)) + (not (node-degree1 n-25)) + (not (node-degree1 n-255)) + (not (node-degree1 n-257)) + (not (node-degree1 n-262)) + (not (node-degree1 n-263)) + (not (node-degree1 n-270)) + (not (node-degree1 n-271)) + (not (node-degree1 n-273)) + (not (node-degree1 n-281)) + (not (node-degree1 n-29)) + (not (node-degree1 n-295)) + (not (node-degree1 n-297)) + (not (node-degree1 n-3)) + (not (node-degree1 n-302)) + (not (node-degree1 n-303)) + (not (node-degree1 n-31)) + (not (node-degree1 n-310)) + (not (node-degree1 n-311)) + (not (node-degree1 n-313)) + (not (node-degree1 n-321)) + (not (node-degree1 n-335)) + (not (node-degree1 n-337)) + (not (node-degree1 n-342)) + (not (node-degree1 n-343)) + (not (node-degree1 n-35)) + (not (node-degree1 n-350)) + (not (node-degree1 n-351)) + (not (node-degree1 n-353)) + (not (node-degree1 n-36)) + (not (node-degree1 n-361)) + (not (node-degree1 n-367)) + (not (node-degree1 n-372)) + (not (node-degree1 n-375)) + (not (node-degree1 n-377)) + (not (node-degree1 n-381)) + (not (node-degree1 n-386)) + (not (node-degree1 n-387)) + (not (node-degree1 n-39)) + (not (node-degree1 n-392)) + (not (node-degree1 n-394)) + (not (node-degree1 n-395)) + (not (node-degree1 n-397)) + (not (node-degree1 n-405)) + (not (node-degree1 n-408)) + (not (node-degree1 n-41)) + (not (node-degree1 n-410)) + (not (node-degree1 n-415)) + (not (node-degree1 n-418)) + (not (node-degree1 n-419)) + (not (node-degree1 n-421)) + (not (node-degree1 n-425)) + (not (node-degree1 n-429)) + (not (node-degree1 n-434)) + (not (node-degree1 n-435)) + (not (node-degree1 n-442)) + (not (node-degree1 n-443)) + (not (node-degree1 n-445)) + (not (node-degree1 n-449)) + (not (node-degree1 n-45)) + (not (node-degree1 n-453)) + (not (node-degree1 n-467)) + (not (node-degree1 n-469)) + (not (node-degree1 n-474)) + (not (node-degree1 n-475)) + (not (node-degree1 n-482)) + (not (node-degree1 n-483)) + (not (node-degree1 n-485)) + (not (node-degree1 n-49)) + (not (node-degree1 n-493)) + (not (node-degree1 n-507)) + (not (node-degree1 n-509)) + (not (node-degree1 n-514)) + (not (node-degree1 n-515)) + (not (node-degree1 n-522)) + (not (node-degree1 n-523)) + (not (node-degree1 n-525)) + (not (node-degree1 n-533)) + (not (node-degree1 n-54)) + (not (node-degree1 n-547)) + (not (node-degree1 n-549)) + (not (node-degree1 n-55)) + (not (node-degree1 n-554)) + (not (node-degree1 n-555)) + (not (node-degree1 n-562)) + (not (node-degree1 n-563)) + (not (node-degree1 n-565)) + (not (node-degree1 n-573)) + (not (node-degree1 n-587)) + (not (node-degree1 n-589)) + (not (node-degree1 n-594)) + (not (node-degree1 n-595)) + (not (node-degree1 n-60)) + (not (node-degree1 n-602)) + (not (node-degree1 n-603)) + (not (node-degree1 n-605)) + (not (node-degree1 n-613)) + (not (node-degree1 n-62)) + (not (node-degree1 n-627)) + (not (node-degree1 n-629)) + (not (node-degree1 n-63)) + (not (node-degree1 n-634)) + (not (node-degree1 n-635)) + (not (node-degree1 n-642)) + (not (node-degree1 n-643)) + (not (node-degree1 n-645)) + (not (node-degree1 n-65)) + (not (node-degree1 n-653)) + (not (node-degree1 n-659)) + (not (node-degree1 n-664)) + (not (node-degree1 n-667)) + (not (node-degree1 n-669)) + (not (node-degree1 n-673)) + (not (node-degree1 n-676)) + (not (node-degree1 n-678)) + (not (node-degree1 n-686)) + (not (node-degree1 n-687)) + (not (node-degree1 n-689)) + (not (node-degree1 n-693)) + (not (node-degree1 n-697)) + (not (node-degree1 n-7)) + (not (node-degree1 n-702)) + (not (node-degree1 n-703)) + (not (node-degree1 n-710)) + (not (node-degree1 n-711)) + (not (node-degree1 n-713)) + (not (node-degree1 n-717)) + (not (node-degree1 n-721)) + (not (node-degree1 n-73)) + (not (node-degree1 n-735)) + (not (node-degree1 n-737)) + (not (node-degree1 n-742)) + (not (node-degree1 n-743)) + (not (node-degree1 n-750)) + (not (node-degree1 n-751)) + (not (node-degree1 n-753)) + (not (node-degree1 n-761)) + (not (node-degree1 n-77)) + (not (node-degree1 n-775)) + (not (node-degree1 n-777)) + (not (node-degree1 n-782)) + (not (node-degree1 n-783)) + (not (node-degree1 n-79)) + (not (node-degree1 n-790)) + (not (node-degree1 n-791)) + (not (node-degree1 n-793)) + (not (node-degree1 n-8)) + (not (node-degree1 n-801)) + (not (node-degree1 n-815)) + (not (node-degree1 n-817)) + (not (node-degree1 n-822)) + (not (node-degree1 n-823)) + (not (node-degree1 n-83)) + (not (node-degree1 n-830)) + (not (node-degree1 n-831)) + (not (node-degree1 n-833)) + (not (node-degree1 n-84)) + (not (node-degree1 n-841)) + (not (node-degree1 n-855)) + (not (node-degree1 n-857)) + (not (node-degree1 n-862)) + (not (node-degree1 n-863)) + (not (node-degree1 n-87)) + (not (node-degree1 n-870)) + (not (node-degree1 n-871)) + (not (node-degree1 n-873)) + (not (node-degree1 n-881)) + (not (node-degree1 n-895)) + (not (node-degree1 n-897)) + (not (node-degree1 n-902)) + (not (node-degree1 n-903)) + (not (node-degree1 n-910)) + (not (node-degree1 n-911)) + (not (node-degree1 n-913)) + (not (node-degree1 n-921)) + (not (node-degree1 n-927)) + (not (node-degree1 n-93)) + (not (node-degree1 n-935)) + (not (node-degree1 n-937)) + (not (node-degree1 n-941)) + (not (node-degree1 n-944)) + (not (node-degree1 n-946)) + (not (node-degree1 n-954)) + (not (node-degree1 n-955)) + (not (node-degree1 n-957)) + (not (node-degree1 n-961)) + (not (node-degree1 n-965)) + (not (node-degree1 n-97)) + (not (node-degree1 n-970)) + (not (node-degree1 n-971)) + (not (node-degree1 n-978)) + (not (node-degree1 n-979)) + (not (node-degree1 n-981)) + (not (node-degree1 n-985)) + (not (node-degree1 n-989)) + + (cell-capacity c-c0 cap-0) + (cell-capacity c-c1 cap-0) + (cell-capacity c-c2 cap-0) + (cell-capacity c-c3 cap-0) + (cell-capacity c-c6 cap-0) + (cell-capacity c-c13 cap-0) + (cell-capacity c-c14 cap-0) + (cell-capacity c-c16 cap-0) + (cell-capacity c-c17 cap-0) + (cell-capacity c-c18 cap-0) + (cell-capacity c-c21 cap-0) + (cell-capacity c-c22 cap-0) + (cell-capacity c-c23 cap-0) + (cell-capacity c-c27 cap-0) + (cell-capacity c-c28 cap-0) + (cell-capacity c-c31 cap-0) + (cell-capacity c-c34 cap-0) + (cell-capacity c-c36 cap-0) + (cell-capacity c-c37 cap-0) + (cell-capacity c-c41 cap-0) + (cell-capacity c-c42 cap-0) + (cell-capacity c-c44 cap-0) + (cell-capacity c-c46 cap-0) + (cell-capacity c-c47 cap-0) + (cell-capacity c-c50 cap-0) + (cell-capacity c-c53 cap-0) + (cell-capacity c-c55 cap-0) + (cell-capacity c-c56 cap-0) + (cell-capacity c-c59 cap-0) + (cell-capacity c-c60 cap-0) + (cell-capacity c-c65 cap-0) + (cell-capacity c-c67 cap-0) + (cell-capacity c-c68 cap-0) + (cell-capacity c-c69 cap-0) + (cell-capacity c-c71 cap-0) + (cell-capacity c-c76 cap-0) + (cell-capacity c-c80 cap-0) + (cell-capacity c-c81 cap-0) + (cell-capacity c-c84 cap-0) + (cell-capacity c-c85 cap-0) + (cell-capacity c-c86 cap-0) + (cell-capacity c-c87 cap-0) + (cell-capacity c-c88 cap-0) + (cell-capacity c-c89 cap-0) + (cell-capacity c-c99 cap-0) + (cell-capacity c-c103 cap-0) + (cell-capacity c-c104 cap-0) + (cell-capacity c-c105 cap-0) + (cell-capacity c-c109 cap-0) + (cell-capacity c-c110 cap-0) + (cell-capacity c-c112 cap-0) + (cell-capacity c-c113 cap-0) + (cell-capacity c-c114 cap-0) + (cell-capacity c-c116 cap-0) + (cell-capacity c-c117 cap-0) + (cell-capacity c-c118 cap-0) + (cell-capacity c-c120 cap-0) + (cell-capacity c-c123 cap-0) + (cell-capacity c-c125 cap-0) + (cell-capacity c-c126 cap-0) + (cell-capacity c-c130 cap-0) + (cell-capacity c-c133 cap-0) + (cell-capacity c-c135 cap-0) + (cell-capacity c-c138 cap-0) + (cell-capacity c-c139 cap-0) + (cell-capacity c-c141 cap-0) + (cell-capacity c-c143 cap-0) + (cell-capacity c-c145 cap-0) + (cell-capacity c-c155 cap-0) + (cell-capacity c-c157 cap-0) + (cell-capacity c-c164 cap-0) + (cell-capacity c-c169 cap-0) + (cell-capacity c-c171 cap-0) + (cell-capacity c-c174 cap-0) + (cell-capacity c-c175 cap-0) + (cell-capacity c-c177 cap-0) + (cell-capacity c-c179 cap-0) + (cell-capacity c-c181 cap-0) + (cell-capacity c-c183 cap-0) + (cell-capacity c-c186 cap-0) + (cell-capacity c-c189 cap-0) + (cell-capacity c-c192 cap-0) + (cell-capacity c-c194 cap-0) + (cell-capacity c-c195 cap-0) + (cell-capacity c-c197 cap-0) + (cell-capacity c-c200 cap-0) + (cell-capacity c-c206 cap-0) + (cell-capacity c-c210 cap-0) + (cell-capacity c-c213 cap-0) + (cell-capacity c-c218 cap-0) + (cell-capacity c-c220 cap-0) + (cell-capacity c-c224 cap-0) + (cell-capacity c-c228 cap-0) + (cell-capacity c-c235 cap-0) + (cell-capacity c-c237 cap-0) + (cell-capacity c-c242 cap-0) + (cell-capacity c-c249 cap-0) + (cell-capacity c-c253 cap-0) + (cell-capacity c-c258 cap-0) + (cell-capacity c-c259 cap-0) + (cell-capacity c-c260 cap-0) + (cell-capacity c-c261 cap-0) + (cell-capacity c-c263 cap-0) + (cell-capacity c-c265 cap-0) + (cell-capacity c-c266 cap-0) + (cell-capacity c-c267 cap-0) + (cell-capacity c-c271 cap-0) + (cell-capacity c-c275 cap-0) + (cell-capacity c-c276 cap-0) + (cell-capacity c-c280 cap-0) + (cell-capacity c-c283 cap-0) + (cell-capacity c-c286 cap-0) + (cell-capacity c-c287 cap-0) + (cell-capacity c-c292 cap-0) + (cell-capacity c-c294 cap-0) + (cell-capacity c-c295 cap-0) + (cell-capacity c-c296 cap-0) + (cell-capacity c-c298 cap-0) + (cell-capacity c-c301 cap-0) + (cell-capacity c-c303 cap-0) + (cell-capacity c-c306 cap-0) + (cell-capacity c-c307 cap-0) + (cell-capacity c-c308 cap-0) + (cell-capacity c-c316 cap-0) + (cell-capacity c-c321 cap-0) + (cell-capacity c-c322 cap-0) + (cell-capacity c-c323 cap-0) + (cell-capacity c-c326 cap-0) + (cell-capacity c-c328 cap-0) + (cell-capacity c-c332 cap-0) + (cell-capacity c-c334 cap-0) + (cell-capacity c-c337 cap-0) + (cell-capacity c-c340 cap-0) + (cell-capacity c-c345 cap-0) + (cell-capacity c-c346 cap-0) + (cell-capacity c-c349 cap-0) + (cell-capacity c-c351 cap-0) + (cell-capacity c-c353 cap-0) + (cell-capacity c-c355 cap-0) + (cell-capacity c-c364 cap-0) + (cell-capacity c-c370 cap-0) + (cell-capacity c-c371 cap-0) + (cell-capacity c-c372 cap-0) + (cell-capacity c-c376 cap-0) + (cell-capacity c-c377 cap-0) + (cell-capacity c-c380 cap-0) + (cell-capacity c-c382 cap-0) + (cell-capacity c-c384 cap-0) + (cell-capacity c-c386 cap-0) + (cell-capacity c-c389 cap-0) + (cell-capacity c-c395 cap-0) + (cell-capacity c-c396 cap-0) + (cell-capacity c-c398 cap-0) + (cell-capacity c-c404 cap-0) + (cell-capacity c-c405 cap-0) + (cell-capacity c-c407 cap-0) + (cell-capacity c-c410 cap-0) + (cell-capacity c-c411 cap-0) + (cell-capacity c-c414 cap-0) + (cell-capacity c-c415 cap-0) + (cell-capacity c-c419 cap-0) + (cell-capacity c-c420 cap-0) + (cell-capacity c-c421 cap-0) + (cell-capacity c-c425 cap-0) + (cell-capacity c-c426 cap-0) + (cell-capacity c-c430 cap-0) + ) +) +) + + + diff --git a/slitherlink-opt23-adl/p19.pddl b/slitherlink-opt23-adl/p19.pddl new file mode 100644 index 00000000..324f6447 --- /dev/null +++ b/slitherlink-opt23-adl/p19.pddl @@ -0,0 +1,2169 @@ +(define (problem sliterlink-13-generalized_slitherlink-0-0) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0 n-1 n-10 n-1003 n-1005 n-1010 n-1011 n-1018 n-1019 n-102 n-1021 n-1029 n-103 n-1043 n-1045 n-1050 n-1051 n-1058 n-1059 n-1061 n-1069 n-108 n-1083 n-1085 n-1090 n-1091 n-1098 n-1099 n-11 n-110 n-1101 n-1109 n-111 n-1123 n-1125 n-113 n-1130 n-1131 n-1138 n-1139 n-1141 n-1149 n-1163 n-1165 n-1170 n-1171 n-1178 n-1179 n-1181 n-1189 n-1195 n-1203 n-1205 n-1209 n-121 n-1214 n-1222 n-1223 n-1225 n-1229 n-1234 n-1235 n-1242 n-1243 n-1245 n-1249 n-125 n-1253 n-1267 n-1269 n-127 n-1274 n-1275 n-1282 n-1283 n-1285 n-1293 n-13 n-1307 n-1309 n-131 n-1314 n-1315 n-132 n-1322 n-1323 n-1325 n-1333 n-1347 n-1349 n-135 n-1354 n-1355 n-1362 n-1363 n-1365 n-1373 n-1387 n-1389 n-1394 n-1402 n-1403 n-1405 n-1409 n-141 n-1414 n-1422 n-1423 n-1429 n-1434 n-1442 n-1443 n-1449 n-145 n-150 n-151 n-156 n-158 n-159 n-161 n-169 n-17 n-172 n-173 n-174 n-175 n-179 n-180 n-182 n-183 n-185 n-189 n-193 n-197 n-2 n-207 n-21 n-211 n-213 n-217 n-222 n-223 n-230 n-231 n-233 n-241 n-25 n-255 n-257 n-262 n-263 n-270 n-271 n-273 n-281 n-29 n-295 n-297 n-3 n-302 n-303 n-31 n-310 n-311 n-313 n-321 n-335 n-337 n-342 n-343 n-35 n-350 n-351 n-353 n-36 n-361 n-367 n-372 n-375 n-377 n-381 n-386 n-387 n-39 n-392 n-394 n-395 n-397 n-405 n-408 n-41 n-410 n-415 n-418 n-419 n-421 n-425 n-429 n-434 n-435 n-442 n-443 n-445 n-449 n-45 n-453 n-467 n-469 n-474 n-475 n-482 n-483 n-485 n-49 n-493 n-507 n-509 n-514 n-515 n-522 n-523 n-525 n-533 n-54 n-547 n-549 n-55 n-554 n-555 n-562 n-563 n-565 n-573 n-587 n-589 n-594 n-595 n-60 n-602 n-603 n-605 n-613 n-62 n-627 n-629 n-63 n-634 n-635 n-642 n-643 n-645 n-65 n-653 n-659 n-664 n-667 n-669 n-673 n-676 n-678 n-686 n-687 n-689 n-693 n-697 n-7 n-702 n-703 n-710 n-711 n-713 n-717 n-721 n-73 n-735 n-737 n-742 n-743 n-750 n-751 n-753 n-761 n-77 n-775 n-777 n-782 n-783 n-79 n-790 n-791 n-793 n-8 n-801 n-815 n-817 n-822 n-823 n-83 n-830 n-831 n-833 n-84 n-841 n-855 n-857 n-862 n-863 n-87 n-870 n-871 n-873 n-881 n-895 n-897 n-902 n-903 n-910 n-911 n-913 n-921 n-927 n-93 n-935 n-937 n-941 n-944 n-946 n-954 n-955 n-957 n-961 n-965 n-97 n-970 n-971 n-978 n-979 n-981 n-985 n-989 - node + c-c0 c-c1 c-c10 c-c100 c-c101 c-c102 c-c103 c-c104 c-c105 c-c106 c-c107 c-c108 c-c109 c-c11 c-c110 c-c111 c-c112 c-c113 c-c114 c-c115 c-c116 c-c117 c-c118 c-c119 c-c12 c-c120 c-c121 c-c122 c-c123 c-c124 c-c125 c-c126 c-c127 c-c128 c-c129 c-c13 c-c130 c-c131 c-c132 c-c133 c-c134 c-c135 c-c136 c-c137 c-c138 c-c139 c-c14 c-c140 c-c141 c-c142 c-c143 c-c144 c-c145 c-c146 c-c147 c-c148 c-c149 c-c15 c-c150 c-c151 c-c152 c-c153 c-c154 c-c155 c-c156 c-c157 c-c158 c-c159 c-c16 c-c160 c-c161 c-c162 c-c163 c-c164 c-c165 c-c166 c-c167 c-c168 c-c169 c-c17 c-c170 c-c171 c-c172 c-c173 c-c174 c-c175 c-c176 c-c177 c-c178 c-c179 c-c18 c-c180 c-c181 c-c182 c-c183 c-c184 c-c185 c-c186 c-c187 c-c188 c-c189 c-c19 c-c190 c-c191 c-c192 c-c193 c-c194 c-c195 c-c196 c-c197 c-c198 c-c199 c-c2 c-c20 c-c200 c-c201 c-c202 c-c203 c-c204 c-c205 c-c206 c-c207 c-c208 c-c209 c-c21 c-c210 c-c211 c-c212 c-c213 c-c214 c-c215 c-c216 c-c217 c-c218 c-c219 c-c22 c-c220 c-c221 c-c222 c-c223 c-c224 c-c225 c-c226 c-c227 c-c228 c-c229 c-c23 c-c230 c-c231 c-c232 c-c233 c-c234 c-c235 c-c236 c-c237 c-c238 c-c239 c-c24 c-c240 c-c241 c-c242 c-c243 c-c244 c-c245 c-c246 c-c247 c-c248 c-c249 c-c25 c-c250 c-c251 c-c252 c-c253 c-c254 c-c255 c-c256 c-c257 c-c258 c-c259 c-c26 c-c260 c-c261 c-c262 c-c263 c-c264 c-c265 c-c266 c-c267 c-c268 c-c269 c-c27 c-c270 c-c271 c-c272 c-c273 c-c274 c-c275 c-c276 c-c277 c-c278 c-c279 c-c28 c-c280 c-c281 c-c282 c-c283 c-c284 c-c285 c-c286 c-c287 c-c288 c-c289 c-c29 c-c290 c-c291 c-c292 c-c293 c-c294 c-c295 c-c296 c-c297 c-c298 c-c299 c-c3 c-c30 c-c300 c-c301 c-c302 c-c303 c-c304 c-c305 c-c306 c-c307 c-c308 c-c309 c-c31 c-c310 c-c311 c-c312 c-c313 c-c314 c-c315 c-c316 c-c317 c-c318 c-c319 c-c32 c-c320 c-c321 c-c322 c-c323 c-c324 c-c325 c-c326 c-c327 c-c328 c-c329 c-c33 c-c330 c-c331 c-c332 c-c333 c-c334 c-c335 c-c336 c-c337 c-c338 c-c339 c-c34 c-c340 c-c341 c-c342 c-c343 c-c344 c-c345 c-c346 c-c347 c-c348 c-c349 c-c35 c-c350 c-c351 c-c352 c-c353 c-c354 c-c355 c-c356 c-c357 c-c358 c-c359 c-c36 c-c360 c-c361 c-c362 c-c363 c-c364 c-c365 c-c366 c-c367 c-c368 c-c369 c-c37 c-c370 c-c371 c-c372 c-c373 c-c374 c-c375 c-c376 c-c377 c-c378 c-c379 c-c38 c-c380 c-c381 c-c382 c-c383 c-c384 c-c385 c-c386 c-c387 c-c388 c-c389 c-c39 c-c390 c-c391 c-c392 c-c393 c-c394 c-c395 c-c396 c-c397 c-c398 c-c399 c-c4 c-c40 c-c400 c-c401 c-c402 c-c403 c-c404 c-c405 c-c406 c-c407 c-c408 c-c409 c-c41 c-c410 c-c411 c-c412 c-c413 c-c414 c-c415 c-c416 c-c417 c-c418 c-c419 c-c42 c-c420 c-c421 c-c422 c-c423 c-c424 c-c425 c-c426 c-c427 c-c428 c-c429 c-c43 c-c430 c-c431 c-c44 c-c45 c-c46 c-c47 c-c48 c-c49 c-c5 c-c50 c-c51 c-c52 c-c53 c-c54 c-c55 c-c56 c-c57 c-c58 c-c59 c-c6 c-c60 c-c61 c-c62 c-c63 c-c64 c-c65 c-c66 c-c67 c-c68 c-c69 c-c7 c-c70 c-c71 c-c72 c-c73 c-c74 c-c75 c-c76 c-c77 c-c78 c-c79 c-c8 c-c80 c-c81 c-c82 c-c83 c-c84 c-c85 c-c86 c-c87 c-c88 c-c89 c-c9 c-c90 c-c91 c-c92 c-c93 c-c94 c-c95 c-c96 c-c97 c-c98 c-c99 c-outside-cell-0-13 c-outside-cell-108-93 c-outside-cell-1171-1189 c-outside-cell-1171-1203 c-outside-cell-1178-1179 c-outside-cell-1178-1389 c-outside-cell-1189-1179 c-outside-cell-1195-1205 c-outside-cell-1195-1209 c-outside-cell-1205-935 c-outside-cell-1209-1203 c-outside-cell-1222-1223 c-outside-cell-1223-1249 c-outside-cell-1225-1222 c-outside-cell-1242-1243 c-outside-cell-1243-1405 c-outside-cell-1249-1242 c-outside-cell-127-141 c-outside-cell-127-156 c-outside-cell-1282-1283 c-outside-cell-1282-1409 c-outside-cell-1283-1409 c-outside-cell-13-7 c-outside-cell-131-132 c-outside-cell-1322-1323 c-outside-cell-1322-1429 c-outside-cell-1323-1429 c-outside-cell-1355-1373 c-outside-cell-1355-1387 c-outside-cell-1362-1363 c-outside-cell-1362-1449 c-outside-cell-1373-1363 c-outside-cell-1389-1387 c-outside-cell-1402-1403 c-outside-cell-1405-1402 c-outside-cell-1409-1403 c-outside-cell-1409-1422 c-outside-cell-141-132 c-outside-cell-1422-1423 c-outside-cell-1429-1423 c-outside-cell-1429-1442 c-outside-cell-1442-1443 c-outside-cell-1449-1443 c-outside-cell-151-161 c-outside-cell-151-372 c-outside-cell-161-156 c-outside-cell-172-185 c-outside-cell-179-180 c-outside-cell-180-213 c-outside-cell-185-179 c-outside-cell-207-0 c-outside-cell-213-207 c-outside-cell-31-45 c-outside-cell-31-60 c-outside-cell-35-36 c-outside-cell-367-377 c-outside-cell-367-392 c-outside-cell-377-372 c-outside-cell-387-397 c-outside-cell-387-664 c-outside-cell-397-392 c-outside-cell-408-421 c-outside-cell-408-425 c-outside-cell-41-35 c-outside-cell-415-172 c-outside-cell-421-415 c-outside-cell-425-418 c-outside-cell-45-36 c-outside-cell-45-83 c-outside-cell-60-45 c-outside-cell-659-669 c-outside-cell-659-673 c-outside-cell-669-664 c-outside-cell-673-667 c-outside-cell-676-689 c-outside-cell-676-693 c-outside-cell-689-418 c-outside-cell-693-686 c-outside-cell-7-8 c-outside-cell-79-108 c-outside-cell-79-93 c-outside-cell-8-41 c-outside-cell-83-84 c-outside-cell-927-937 c-outside-cell-927-941 c-outside-cell-93-131 c-outside-cell-93-84 c-outside-cell-937-667 c-outside-cell-941-935 c-outside-cell-944-957 c-outside-cell-944-961 c-outside-cell-954-955 c-outside-cell-955-985 c-outside-cell-957-686 c-outside-cell-961-954 c-outside-cell-978-979 c-outside-cell-979-1225 c-outside-cell-985-978 - cell +) + +(:init + (cell-capacity-inc cap-0 cap-1) + (cell-capacity-inc cap-1 cap-2) + (cell-capacity-inc cap-2 cap-3) + (cell-capacity-inc cap-3 cap-4) + + (cell-capacity c-c0 cap-3) + (cell-capacity c-c1 cap-3) + (cell-capacity c-c10 cap-1) + (cell-capacity c-c100 cap-3) + (cell-capacity c-c101 cap-3) + (cell-capacity c-c102 cap-2) + (cell-capacity c-c103 cap-3) + (cell-capacity c-c104 cap-4) + (cell-capacity c-c105 cap-4) + (cell-capacity c-c106 cap-4) + (cell-capacity c-c107 cap-3) + (cell-capacity c-c108 cap-3) + (cell-capacity c-c109 cap-1) + (cell-capacity c-c11 cap-3) + (cell-capacity c-c110 cap-3) + (cell-capacity c-c111 cap-2) + (cell-capacity c-c112 cap-4) + (cell-capacity c-c113 cap-3) + (cell-capacity c-c114 cap-3) + (cell-capacity c-c115 cap-3) + (cell-capacity c-c116 cap-3) + (cell-capacity c-c117 cap-3) + (cell-capacity c-c118 cap-0) + (cell-capacity c-c119 cap-3) + (cell-capacity c-c12 cap-2) + (cell-capacity c-c120 cap-0) + (cell-capacity c-c121 cap-2) + (cell-capacity c-c122 cap-3) + (cell-capacity c-c123 cap-3) + (cell-capacity c-c124 cap-2) + (cell-capacity c-c125 cap-4) + (cell-capacity c-c126 cap-4) + (cell-capacity c-c127 cap-3) + (cell-capacity c-c128 cap-1) + (cell-capacity c-c129 cap-3) + (cell-capacity c-c13 cap-4) + (cell-capacity c-c130 cap-3) + (cell-capacity c-c131 cap-3) + (cell-capacity c-c132 cap-4) + (cell-capacity c-c133 cap-4) + (cell-capacity c-c134 cap-3) + (cell-capacity c-c135 cap-0) + (cell-capacity c-c136 cap-0) + (cell-capacity c-c137 cap-1) + (cell-capacity c-c138 cap-4) + (cell-capacity c-c139 cap-3) + (cell-capacity c-c14 cap-4) + (cell-capacity c-c140 cap-0) + (cell-capacity c-c141 cap-3) + (cell-capacity c-c142 cap-2) + (cell-capacity c-c143 cap-4) + (cell-capacity c-c144 cap-2) + (cell-capacity c-c145 cap-4) + (cell-capacity c-c146 cap-3) + (cell-capacity c-c147 cap-0) + (cell-capacity c-c148 cap-3) + (cell-capacity c-c149 cap-3) + (cell-capacity c-c15 cap-2) + (cell-capacity c-c150 cap-4) + (cell-capacity c-c151 cap-3) + (cell-capacity c-c152 cap-3) + (cell-capacity c-c153 cap-3) + (cell-capacity c-c154 cap-3) + (cell-capacity c-c155 cap-0) + (cell-capacity c-c156 cap-0) + (cell-capacity c-c157 cap-4) + (cell-capacity c-c158 cap-3) + (cell-capacity c-c159 cap-3) + (cell-capacity c-c16 cap-3) + (cell-capacity c-c160 cap-3) + (cell-capacity c-c161 cap-2) + (cell-capacity c-c162 cap-4) + (cell-capacity c-c163 cap-1) + (cell-capacity c-c164 cap-3) + (cell-capacity c-c165 cap-3) + (cell-capacity c-c166 cap-3) + (cell-capacity c-c167 cap-4) + (cell-capacity c-c168 cap-4) + (cell-capacity c-c169 cap-4) + (cell-capacity c-c17 cap-3) + (cell-capacity c-c170 cap-3) + (cell-capacity c-c171 cap-2) + (cell-capacity c-c172 cap-3) + (cell-capacity c-c173 cap-3) + (cell-capacity c-c174 cap-0) + (cell-capacity c-c175 cap-3) + (cell-capacity c-c176 cap-3) + (cell-capacity c-c177 cap-1) + (cell-capacity c-c178 cap-1) + (cell-capacity c-c179 cap-4) + (cell-capacity c-c18 cap-2) + (cell-capacity c-c180 cap-0) + (cell-capacity c-c181 cap-0) + (cell-capacity c-c182 cap-3) + (cell-capacity c-c183 cap-3) + (cell-capacity c-c184 cap-3) + (cell-capacity c-c185 cap-1) + (cell-capacity c-c186 cap-0) + (cell-capacity c-c187 cap-3) + (cell-capacity c-c188 cap-3) + (cell-capacity c-c189 cap-3) + (cell-capacity c-c19 cap-4) + (cell-capacity c-c190 cap-3) + (cell-capacity c-c191 cap-4) + (cell-capacity c-c192 cap-0) + (cell-capacity c-c193 cap-0) + (cell-capacity c-c194 cap-3) + (cell-capacity c-c195 cap-0) + (cell-capacity c-c196 cap-3) + (cell-capacity c-c197 cap-3) + (cell-capacity c-c198 cap-4) + (cell-capacity c-c199 cap-4) + (cell-capacity c-c2 cap-3) + (cell-capacity c-c20 cap-4) + (cell-capacity c-c200 cap-0) + (cell-capacity c-c201 cap-0) + (cell-capacity c-c202 cap-3) + (cell-capacity c-c203 cap-3) + (cell-capacity c-c204 cap-4) + (cell-capacity c-c205 cap-4) + (cell-capacity c-c206 cap-4) + (cell-capacity c-c207 cap-1) + (cell-capacity c-c208 cap-3) + (cell-capacity c-c209 cap-3) + (cell-capacity c-c21 cap-2) + (cell-capacity c-c210 cap-3) + (cell-capacity c-c211 cap-3) + (cell-capacity c-c212 cap-4) + (cell-capacity c-c213 cap-0) + (cell-capacity c-c214 cap-3) + (cell-capacity c-c215 cap-3) + (cell-capacity c-c216 cap-1) + (cell-capacity c-c217 cap-3) + (cell-capacity c-c218 cap-1) + (cell-capacity c-c219 cap-0) + (cell-capacity c-c22 cap-3) + (cell-capacity c-c220 cap-3) + (cell-capacity c-c221 cap-1) + (cell-capacity c-c222 cap-2) + (cell-capacity c-c223 cap-4) + (cell-capacity c-c224 cap-3) + (cell-capacity c-c225 cap-4) + (cell-capacity c-c226 cap-1) + (cell-capacity c-c227 cap-0) + (cell-capacity c-c228 cap-1) + (cell-capacity c-c229 cap-0) + (cell-capacity c-c23 cap-3) + (cell-capacity c-c230 cap-4) + (cell-capacity c-c231 cap-3) + (cell-capacity c-c232 cap-3) + (cell-capacity c-c233 cap-0) + (cell-capacity c-c234 cap-1) + (cell-capacity c-c235 cap-4) + (cell-capacity c-c236 cap-4) + (cell-capacity c-c237 cap-3) + (cell-capacity c-c238 cap-1) + (cell-capacity c-c239 cap-2) + (cell-capacity c-c24 cap-3) + (cell-capacity c-c240 cap-3) + (cell-capacity c-c241 cap-3) + (cell-capacity c-c242 cap-4) + (cell-capacity c-c243 cap-3) + (cell-capacity c-c244 cap-3) + (cell-capacity c-c245 cap-1) + (cell-capacity c-c246 cap-3) + (cell-capacity c-c247 cap-4) + (cell-capacity c-c248 cap-1) + (cell-capacity c-c249 cap-1) + (cell-capacity c-c25 cap-2) + (cell-capacity c-c250 cap-3) + (cell-capacity c-c251 cap-3) + (cell-capacity c-c252 cap-3) + (cell-capacity c-c253 cap-1) + (cell-capacity c-c254 cap-4) + (cell-capacity c-c255 cap-3) + (cell-capacity c-c256 cap-2) + (cell-capacity c-c257 cap-3) + (cell-capacity c-c258 cap-3) + (cell-capacity c-c259 cap-2) + (cell-capacity c-c26 cap-0) + (cell-capacity c-c260 cap-4) + (cell-capacity c-c261 cap-3) + (cell-capacity c-c262 cap-3) + (cell-capacity c-c263 cap-1) + (cell-capacity c-c264 cap-3) + (cell-capacity c-c265 cap-3) + (cell-capacity c-c266 cap-4) + (cell-capacity c-c267 cap-2) + (cell-capacity c-c268 cap-1) + (cell-capacity c-c269 cap-3) + (cell-capacity c-c27 cap-4) + (cell-capacity c-c270 cap-1) + (cell-capacity c-c271 cap-4) + (cell-capacity c-c272 cap-1) + (cell-capacity c-c273 cap-4) + (cell-capacity c-c274 cap-3) + (cell-capacity c-c275 cap-3) + (cell-capacity c-c276 cap-0) + (cell-capacity c-c277 cap-3) + (cell-capacity c-c278 cap-4) + (cell-capacity c-c279 cap-4) + (cell-capacity c-c28 cap-4) + (cell-capacity c-c280 cap-3) + (cell-capacity c-c281 cap-3) + (cell-capacity c-c282 cap-3) + (cell-capacity c-c283 cap-3) + (cell-capacity c-c284 cap-4) + (cell-capacity c-c285 cap-4) + (cell-capacity c-c286 cap-2) + (cell-capacity c-c287 cap-3) + (cell-capacity c-c288 cap-3) + (cell-capacity c-c289 cap-2) + (cell-capacity c-c29 cap-3) + (cell-capacity c-c290 cap-3) + (cell-capacity c-c291 cap-4) + (cell-capacity c-c292 cap-4) + (cell-capacity c-c293 cap-4) + (cell-capacity c-c294 cap-3) + (cell-capacity c-c295 cap-3) + (cell-capacity c-c296 cap-3) + (cell-capacity c-c297 cap-2) + (cell-capacity c-c298 cap-4) + (cell-capacity c-c299 cap-3) + (cell-capacity c-c3 cap-3) + (cell-capacity c-c30 cap-1) + (cell-capacity c-c300 cap-3) + (cell-capacity c-c301 cap-3) + (cell-capacity c-c302 cap-3) + (cell-capacity c-c303 cap-4) + (cell-capacity c-c304 cap-2) + (cell-capacity c-c305 cap-3) + (cell-capacity c-c306 cap-3) + (cell-capacity c-c307 cap-0) + (cell-capacity c-c308 cap-3) + (cell-capacity c-c309 cap-3) + (cell-capacity c-c31 cap-3) + (cell-capacity c-c310 cap-4) + (cell-capacity c-c311 cap-3) + (cell-capacity c-c312 cap-2) + (cell-capacity c-c313 cap-1) + (cell-capacity c-c314 cap-3) + (cell-capacity c-c315 cap-4) + (cell-capacity c-c316 cap-0) + (cell-capacity c-c317 cap-4) + (cell-capacity c-c318 cap-3) + (cell-capacity c-c319 cap-3) + (cell-capacity c-c32 cap-1) + (cell-capacity c-c320 cap-2) + (cell-capacity c-c321 cap-1) + (cell-capacity c-c322 cap-4) + (cell-capacity c-c323 cap-1) + (cell-capacity c-c324 cap-3) + (cell-capacity c-c325 cap-3) + (cell-capacity c-c326 cap-3) + (cell-capacity c-c327 cap-4) + (cell-capacity c-c328 cap-4) + (cell-capacity c-c329 cap-4) + (cell-capacity c-c33 cap-1) + (cell-capacity c-c330 cap-3) + (cell-capacity c-c331 cap-3) + (cell-capacity c-c332 cap-0) + (cell-capacity c-c333 cap-1) + (cell-capacity c-c334 cap-0) + (cell-capacity c-c335 cap-3) + (cell-capacity c-c336 cap-1) + (cell-capacity c-c337 cap-3) + (cell-capacity c-c338 cap-3) + (cell-capacity c-c339 cap-0) + (cell-capacity c-c34 cap-2) + (cell-capacity c-c340 cap-0) + (cell-capacity c-c341 cap-4) + (cell-capacity c-c342 cap-3) + (cell-capacity c-c343 cap-3) + (cell-capacity c-c344 cap-1) + (cell-capacity c-c345 cap-3) + (cell-capacity c-c346 cap-4) + (cell-capacity c-c347 cap-3) + (cell-capacity c-c348 cap-3) + (cell-capacity c-c349 cap-2) + (cell-capacity c-c35 cap-4) + (cell-capacity c-c350 cap-3) + (cell-capacity c-c351 cap-4) + (cell-capacity c-c352 cap-4) + (cell-capacity c-c353 cap-3) + (cell-capacity c-c354 cap-3) + (cell-capacity c-c355 cap-3) + (cell-capacity c-c356 cap-3) + (cell-capacity c-c357 cap-1) + (cell-capacity c-c358 cap-4) + (cell-capacity c-c359 cap-4) + (cell-capacity c-c36 cap-0) + (cell-capacity c-c360 cap-1) + (cell-capacity c-c361 cap-1) + (cell-capacity c-c362 cap-3) + (cell-capacity c-c363 cap-3) + (cell-capacity c-c364 cap-2) + (cell-capacity c-c365 cap-4) + (cell-capacity c-c366 cap-0) + (cell-capacity c-c367 cap-3) + (cell-capacity c-c368 cap-1) + (cell-capacity c-c369 cap-3) + (cell-capacity c-c37 cap-1) + (cell-capacity c-c370 cap-4) + (cell-capacity c-c371 cap-2) + (cell-capacity c-c372 cap-4) + (cell-capacity c-c373 cap-3) + (cell-capacity c-c374 cap-0) + (cell-capacity c-c375 cap-3) + (cell-capacity c-c376 cap-1) + (cell-capacity c-c377 cap-4) + (cell-capacity c-c378 cap-3) + (cell-capacity c-c379 cap-3) + (cell-capacity c-c38 cap-3) + (cell-capacity c-c380 cap-3) + (cell-capacity c-c381 cap-2) + (cell-capacity c-c382 cap-3) + (cell-capacity c-c383 cap-3) + (cell-capacity c-c384 cap-4) + (cell-capacity c-c385 cap-3) + (cell-capacity c-c386 cap-1) + (cell-capacity c-c387 cap-3) + (cell-capacity c-c388 cap-2) + (cell-capacity c-c389 cap-3) + (cell-capacity c-c39 cap-3) + (cell-capacity c-c390 cap-3) + (cell-capacity c-c391 cap-3) + (cell-capacity c-c392 cap-3) + (cell-capacity c-c393 cap-3) + (cell-capacity c-c394 cap-0) + (cell-capacity c-c395 cap-0) + (cell-capacity c-c396 cap-4) + (cell-capacity c-c397 cap-3) + (cell-capacity c-c398 cap-3) + (cell-capacity c-c399 cap-1) + (cell-capacity c-c4 cap-1) + (cell-capacity c-c40 cap-2) + (cell-capacity c-c400 cap-3) + (cell-capacity c-c401 cap-4) + (cell-capacity c-c402 cap-3) + (cell-capacity c-c403 cap-1) + (cell-capacity c-c404 cap-3) + (cell-capacity c-c405 cap-3) + (cell-capacity c-c406 cap-2) + (cell-capacity c-c407 cap-0) + (cell-capacity c-c408 cap-4) + (cell-capacity c-c409 cap-3) + (cell-capacity c-c41 cap-2) + (cell-capacity c-c410 cap-3) + (cell-capacity c-c411 cap-3) + (cell-capacity c-c412 cap-3) + (cell-capacity c-c413 cap-3) + (cell-capacity c-c414 cap-3) + (cell-capacity c-c415 cap-3) + (cell-capacity c-c416 cap-3) + (cell-capacity c-c417 cap-3) + (cell-capacity c-c418 cap-4) + (cell-capacity c-c419 cap-1) + (cell-capacity c-c42 cap-4) + (cell-capacity c-c420 cap-3) + (cell-capacity c-c421 cap-0) + (cell-capacity c-c422 cap-3) + (cell-capacity c-c423 cap-1) + (cell-capacity c-c424 cap-4) + (cell-capacity c-c425 cap-2) + (cell-capacity c-c426 cap-3) + (cell-capacity c-c427 cap-3) + (cell-capacity c-c428 cap-1) + (cell-capacity c-c429 cap-3) + (cell-capacity c-c43 cap-1) + (cell-capacity c-c430 cap-1) + (cell-capacity c-c431 cap-4) + (cell-capacity c-c44 cap-0) + (cell-capacity c-c45 cap-3) + (cell-capacity c-c46 cap-0) + (cell-capacity c-c47 cap-4) + (cell-capacity c-c48 cap-0) + (cell-capacity c-c49 cap-0) + (cell-capacity c-c5 cap-0) + (cell-capacity c-c50 cap-3) + (cell-capacity c-c51 cap-3) + (cell-capacity c-c52 cap-3) + (cell-capacity c-c53 cap-1) + (cell-capacity c-c54 cap-4) + (cell-capacity c-c55 cap-0) + (cell-capacity c-c56 cap-4) + (cell-capacity c-c57 cap-4) + (cell-capacity c-c58 cap-3) + (cell-capacity c-c59 cap-3) + (cell-capacity c-c6 cap-4) + (cell-capacity c-c60 cap-2) + (cell-capacity c-c61 cap-3) + (cell-capacity c-c62 cap-4) + (cell-capacity c-c63 cap-4) + (cell-capacity c-c64 cap-1) + (cell-capacity c-c65 cap-3) + (cell-capacity c-c66 cap-1) + (cell-capacity c-c67 cap-3) + (cell-capacity c-c68 cap-1) + (cell-capacity c-c69 cap-4) + (cell-capacity c-c7 cap-4) + (cell-capacity c-c70 cap-4) + (cell-capacity c-c71 cap-3) + (cell-capacity c-c72 cap-3) + (cell-capacity c-c73 cap-3) + (cell-capacity c-c74 cap-1) + (cell-capacity c-c75 cap-2) + (cell-capacity c-c76 cap-2) + (cell-capacity c-c77 cap-3) + (cell-capacity c-c78 cap-1) + (cell-capacity c-c79 cap-3) + (cell-capacity c-c8 cap-0) + (cell-capacity c-c80 cap-4) + (cell-capacity c-c81 cap-1) + (cell-capacity c-c82 cap-3) + (cell-capacity c-c83 cap-3) + (cell-capacity c-c84 cap-3) + (cell-capacity c-c85 cap-3) + (cell-capacity c-c86 cap-2) + (cell-capacity c-c87 cap-3) + (cell-capacity c-c88 cap-3) + (cell-capacity c-c89 cap-3) + (cell-capacity c-c9 cap-1) + (cell-capacity c-c90 cap-3) + (cell-capacity c-c91 cap-3) + (cell-capacity c-c92 cap-0) + (cell-capacity c-c93 cap-4) + (cell-capacity c-c94 cap-2) + (cell-capacity c-c95 cap-3) + (cell-capacity c-c96 cap-3) + (cell-capacity c-c97 cap-3) + (cell-capacity c-c98 cap-3) + (cell-capacity c-c99 cap-4) + (cell-capacity c-outside-cell-0-13 cap-1) + (cell-capacity c-outside-cell-108-93 cap-1) + (cell-capacity c-outside-cell-1171-1189 cap-1) + (cell-capacity c-outside-cell-1171-1203 cap-1) + (cell-capacity c-outside-cell-1178-1179 cap-1) + (cell-capacity c-outside-cell-1178-1389 cap-1) + (cell-capacity c-outside-cell-1189-1179 cap-1) + (cell-capacity c-outside-cell-1195-1205 cap-1) + (cell-capacity c-outside-cell-1195-1209 cap-1) + (cell-capacity c-outside-cell-1205-935 cap-1) + (cell-capacity c-outside-cell-1209-1203 cap-1) + (cell-capacity c-outside-cell-1222-1223 cap-1) + (cell-capacity c-outside-cell-1223-1249 cap-1) + (cell-capacity c-outside-cell-1225-1222 cap-1) + (cell-capacity c-outside-cell-1242-1243 cap-1) + (cell-capacity c-outside-cell-1243-1405 cap-1) + (cell-capacity c-outside-cell-1249-1242 cap-1) + (cell-capacity c-outside-cell-127-141 cap-1) + (cell-capacity c-outside-cell-127-156 cap-1) + (cell-capacity c-outside-cell-1282-1283 cap-1) + (cell-capacity c-outside-cell-1282-1409 cap-1) + (cell-capacity c-outside-cell-1283-1409 cap-1) + (cell-capacity c-outside-cell-13-7 cap-1) + (cell-capacity c-outside-cell-131-132 cap-1) + (cell-capacity c-outside-cell-1322-1323 cap-1) + (cell-capacity c-outside-cell-1322-1429 cap-1) + (cell-capacity c-outside-cell-1323-1429 cap-1) + (cell-capacity c-outside-cell-1355-1373 cap-1) + (cell-capacity c-outside-cell-1355-1387 cap-1) + (cell-capacity c-outside-cell-1362-1363 cap-1) + (cell-capacity c-outside-cell-1362-1449 cap-1) + (cell-capacity c-outside-cell-1373-1363 cap-1) + (cell-capacity c-outside-cell-1389-1387 cap-1) + (cell-capacity c-outside-cell-1402-1403 cap-1) + (cell-capacity c-outside-cell-1405-1402 cap-1) + (cell-capacity c-outside-cell-1409-1403 cap-1) + (cell-capacity c-outside-cell-1409-1422 cap-1) + (cell-capacity c-outside-cell-141-132 cap-1) + (cell-capacity c-outside-cell-1422-1423 cap-1) + (cell-capacity c-outside-cell-1429-1423 cap-1) + (cell-capacity c-outside-cell-1429-1442 cap-1) + (cell-capacity c-outside-cell-1442-1443 cap-1) + (cell-capacity c-outside-cell-1449-1443 cap-1) + (cell-capacity c-outside-cell-151-161 cap-1) + (cell-capacity c-outside-cell-151-372 cap-1) + (cell-capacity c-outside-cell-161-156 cap-1) + (cell-capacity c-outside-cell-172-185 cap-1) + (cell-capacity c-outside-cell-179-180 cap-1) + (cell-capacity c-outside-cell-180-213 cap-1) + (cell-capacity c-outside-cell-185-179 cap-1) + (cell-capacity c-outside-cell-207-0 cap-1) + (cell-capacity c-outside-cell-213-207 cap-1) + (cell-capacity c-outside-cell-31-45 cap-1) + (cell-capacity c-outside-cell-31-60 cap-1) + (cell-capacity c-outside-cell-35-36 cap-1) + (cell-capacity c-outside-cell-367-377 cap-1) + (cell-capacity c-outside-cell-367-392 cap-1) + (cell-capacity c-outside-cell-377-372 cap-1) + (cell-capacity c-outside-cell-387-397 cap-1) + (cell-capacity c-outside-cell-387-664 cap-1) + (cell-capacity c-outside-cell-397-392 cap-1) + (cell-capacity c-outside-cell-408-421 cap-1) + (cell-capacity c-outside-cell-408-425 cap-1) + (cell-capacity c-outside-cell-41-35 cap-1) + (cell-capacity c-outside-cell-415-172 cap-1) + (cell-capacity c-outside-cell-421-415 cap-1) + (cell-capacity c-outside-cell-425-418 cap-1) + (cell-capacity c-outside-cell-45-36 cap-1) + (cell-capacity c-outside-cell-45-83 cap-1) + (cell-capacity c-outside-cell-60-45 cap-1) + (cell-capacity c-outside-cell-659-669 cap-1) + (cell-capacity c-outside-cell-659-673 cap-1) + (cell-capacity c-outside-cell-669-664 cap-1) + (cell-capacity c-outside-cell-673-667 cap-1) + (cell-capacity c-outside-cell-676-689 cap-1) + (cell-capacity c-outside-cell-676-693 cap-1) + (cell-capacity c-outside-cell-689-418 cap-1) + (cell-capacity c-outside-cell-693-686 cap-1) + (cell-capacity c-outside-cell-7-8 cap-1) + (cell-capacity c-outside-cell-79-108 cap-1) + (cell-capacity c-outside-cell-79-93 cap-1) + (cell-capacity c-outside-cell-8-41 cap-1) + (cell-capacity c-outside-cell-83-84 cap-1) + (cell-capacity c-outside-cell-927-937 cap-1) + (cell-capacity c-outside-cell-927-941 cap-1) + (cell-capacity c-outside-cell-93-131 cap-1) + (cell-capacity c-outside-cell-93-84 cap-1) + (cell-capacity c-outside-cell-937-667 cap-1) + (cell-capacity c-outside-cell-941-935 cap-1) + (cell-capacity c-outside-cell-944-957 cap-1) + (cell-capacity c-outside-cell-944-961 cap-1) + (cell-capacity c-outside-cell-954-955 cap-1) + (cell-capacity c-outside-cell-955-985 cap-1) + (cell-capacity c-outside-cell-957-686 cap-1) + (cell-capacity c-outside-cell-961-954 cap-1) + (cell-capacity c-outside-cell-978-979 cap-1) + (cell-capacity c-outside-cell-979-1225 cap-1) + (cell-capacity c-outside-cell-985-978 cap-1) + + (node-degree0 n-0) + (node-degree0 n-1) + (node-degree0 n-10) + (node-degree0 n-1003) + (node-degree0 n-1005) + (node-degree0 n-1010) + (node-degree0 n-1011) + (node-degree0 n-1018) + (node-degree0 n-1019) + (node-degree0 n-102) + (node-degree0 n-1021) + (node-degree0 n-1029) + (node-degree0 n-103) + (node-degree0 n-1043) + (node-degree0 n-1045) + (node-degree0 n-1050) + (node-degree0 n-1051) + (node-degree0 n-1058) + (node-degree0 n-1059) + (node-degree0 n-1061) + (node-degree0 n-1069) + (node-degree0 n-108) + (node-degree0 n-1083) + (node-degree0 n-1085) + (node-degree0 n-1090) + (node-degree0 n-1091) + (node-degree0 n-1098) + (node-degree0 n-1099) + (node-degree0 n-11) + (node-degree0 n-110) + (node-degree0 n-1101) + (node-degree0 n-1109) + (node-degree0 n-111) + (node-degree0 n-1123) + (node-degree0 n-1125) + (node-degree0 n-113) + (node-degree0 n-1130) + (node-degree0 n-1131) + (node-degree0 n-1138) + (node-degree0 n-1139) + (node-degree0 n-1141) + (node-degree0 n-1149) + (node-degree0 n-1163) + (node-degree0 n-1165) + (node-degree0 n-1170) + (node-degree0 n-1171) + (node-degree0 n-1178) + (node-degree0 n-1179) + (node-degree0 n-1181) + (node-degree0 n-1189) + (node-degree0 n-1195) + (node-degree0 n-1203) + (node-degree0 n-1205) + (node-degree0 n-1209) + (node-degree0 n-121) + (node-degree0 n-1214) + (node-degree0 n-1222) + (node-degree0 n-1223) + (node-degree0 n-1225) + (node-degree0 n-1229) + (node-degree0 n-1234) + (node-degree0 n-1235) + (node-degree0 n-1242) + (node-degree0 n-1243) + (node-degree0 n-1245) + (node-degree0 n-1249) + (node-degree0 n-125) + (node-degree0 n-1253) + (node-degree0 n-1267) + (node-degree0 n-1269) + (node-degree0 n-127) + (node-degree0 n-1274) + (node-degree0 n-1275) + (node-degree0 n-1282) + (node-degree0 n-1283) + (node-degree0 n-1285) + (node-degree0 n-1293) + (node-degree0 n-13) + (node-degree0 n-1307) + (node-degree0 n-1309) + (node-degree0 n-131) + (node-degree0 n-1314) + (node-degree0 n-1315) + (node-degree0 n-132) + (node-degree0 n-1322) + (node-degree0 n-1323) + (node-degree0 n-1325) + (node-degree0 n-1333) + (node-degree0 n-1347) + (node-degree0 n-1349) + (node-degree0 n-135) + (node-degree0 n-1354) + (node-degree0 n-1355) + (node-degree0 n-1362) + (node-degree0 n-1363) + (node-degree0 n-1365) + (node-degree0 n-1373) + (node-degree0 n-1387) + (node-degree0 n-1389) + (node-degree0 n-1394) + (node-degree0 n-1402) + (node-degree0 n-1403) + (node-degree0 n-1405) + (node-degree0 n-1409) + (node-degree0 n-141) + (node-degree0 n-1414) + (node-degree0 n-1422) + (node-degree0 n-1423) + (node-degree0 n-1429) + (node-degree0 n-1434) + (node-degree0 n-1442) + (node-degree0 n-1443) + (node-degree0 n-1449) + (node-degree0 n-145) + (node-degree0 n-150) + (node-degree0 n-151) + (node-degree0 n-156) + (node-degree0 n-158) + (node-degree0 n-159) + (node-degree0 n-161) + (node-degree0 n-169) + (node-degree0 n-17) + (node-degree0 n-172) + (node-degree0 n-173) + (node-degree0 n-174) + (node-degree0 n-175) + (node-degree0 n-179) + (node-degree0 n-180) + (node-degree0 n-182) + (node-degree0 n-183) + (node-degree0 n-185) + (node-degree0 n-189) + (node-degree0 n-193) + (node-degree0 n-197) + (node-degree0 n-2) + (node-degree0 n-207) + (node-degree0 n-21) + (node-degree0 n-211) + (node-degree0 n-213) + (node-degree0 n-217) + (node-degree0 n-222) + (node-degree0 n-223) + (node-degree0 n-230) + (node-degree0 n-231) + (node-degree0 n-233) + (node-degree0 n-241) + (node-degree0 n-25) + (node-degree0 n-255) + (node-degree0 n-257) + (node-degree0 n-262) + (node-degree0 n-263) + (node-degree0 n-270) + (node-degree0 n-271) + (node-degree0 n-273) + (node-degree0 n-281) + (node-degree0 n-29) + (node-degree0 n-295) + (node-degree0 n-297) + (node-degree0 n-3) + (node-degree0 n-302) + (node-degree0 n-303) + (node-degree0 n-31) + (node-degree0 n-310) + (node-degree0 n-311) + (node-degree0 n-313) + (node-degree0 n-321) + (node-degree0 n-335) + (node-degree0 n-337) + (node-degree0 n-342) + (node-degree0 n-343) + (node-degree0 n-35) + (node-degree0 n-350) + (node-degree0 n-351) + (node-degree0 n-353) + (node-degree0 n-36) + (node-degree0 n-361) + (node-degree0 n-367) + (node-degree0 n-372) + (node-degree0 n-375) + (node-degree0 n-377) + (node-degree0 n-381) + (node-degree0 n-386) + (node-degree0 n-387) + (node-degree0 n-39) + (node-degree0 n-392) + (node-degree0 n-394) + (node-degree0 n-395) + (node-degree0 n-397) + (node-degree0 n-405) + (node-degree0 n-408) + (node-degree0 n-41) + (node-degree0 n-410) + (node-degree0 n-415) + (node-degree0 n-418) + (node-degree0 n-419) + (node-degree0 n-421) + (node-degree0 n-425) + (node-degree0 n-429) + (node-degree0 n-434) + (node-degree0 n-435) + (node-degree0 n-442) + (node-degree0 n-443) + (node-degree0 n-445) + (node-degree0 n-449) + (node-degree0 n-45) + (node-degree0 n-453) + (node-degree0 n-467) + (node-degree0 n-469) + (node-degree0 n-474) + (node-degree0 n-475) + (node-degree0 n-482) + (node-degree0 n-483) + (node-degree0 n-485) + (node-degree0 n-49) + (node-degree0 n-493) + (node-degree0 n-507) + (node-degree0 n-509) + (node-degree0 n-514) + (node-degree0 n-515) + (node-degree0 n-522) + (node-degree0 n-523) + (node-degree0 n-525) + (node-degree0 n-533) + (node-degree0 n-54) + (node-degree0 n-547) + (node-degree0 n-549) + (node-degree0 n-55) + (node-degree0 n-554) + (node-degree0 n-555) + (node-degree0 n-562) + (node-degree0 n-563) + (node-degree0 n-565) + (node-degree0 n-573) + (node-degree0 n-587) + (node-degree0 n-589) + (node-degree0 n-594) + (node-degree0 n-595) + (node-degree0 n-60) + (node-degree0 n-602) + (node-degree0 n-603) + (node-degree0 n-605) + (node-degree0 n-613) + (node-degree0 n-62) + (node-degree0 n-627) + (node-degree0 n-629) + (node-degree0 n-63) + (node-degree0 n-634) + (node-degree0 n-635) + (node-degree0 n-642) + (node-degree0 n-643) + (node-degree0 n-645) + (node-degree0 n-65) + (node-degree0 n-653) + (node-degree0 n-659) + (node-degree0 n-664) + (node-degree0 n-667) + (node-degree0 n-669) + (node-degree0 n-673) + (node-degree0 n-676) + (node-degree0 n-678) + (node-degree0 n-686) + (node-degree0 n-687) + (node-degree0 n-689) + (node-degree0 n-693) + (node-degree0 n-697) + (node-degree0 n-7) + (node-degree0 n-702) + (node-degree0 n-703) + (node-degree0 n-710) + (node-degree0 n-711) + (node-degree0 n-713) + (node-degree0 n-717) + (node-degree0 n-721) + (node-degree0 n-73) + (node-degree0 n-735) + (node-degree0 n-737) + (node-degree0 n-742) + (node-degree0 n-743) + (node-degree0 n-750) + (node-degree0 n-751) + (node-degree0 n-753) + (node-degree0 n-761) + (node-degree0 n-77) + (node-degree0 n-775) + (node-degree0 n-777) + (node-degree0 n-782) + (node-degree0 n-783) + (node-degree0 n-79) + (node-degree0 n-790) + (node-degree0 n-791) + (node-degree0 n-793) + (node-degree0 n-8) + (node-degree0 n-801) + (node-degree0 n-815) + (node-degree0 n-817) + (node-degree0 n-822) + (node-degree0 n-823) + (node-degree0 n-83) + (node-degree0 n-830) + (node-degree0 n-831) + (node-degree0 n-833) + (node-degree0 n-84) + (node-degree0 n-841) + (node-degree0 n-855) + (node-degree0 n-857) + (node-degree0 n-862) + (node-degree0 n-863) + (node-degree0 n-87) + (node-degree0 n-870) + (node-degree0 n-871) + (node-degree0 n-873) + (node-degree0 n-881) + (node-degree0 n-895) + (node-degree0 n-897) + (node-degree0 n-902) + (node-degree0 n-903) + (node-degree0 n-910) + (node-degree0 n-911) + (node-degree0 n-913) + (node-degree0 n-921) + (node-degree0 n-927) + (node-degree0 n-93) + (node-degree0 n-935) + (node-degree0 n-937) + (node-degree0 n-941) + (node-degree0 n-944) + (node-degree0 n-946) + (node-degree0 n-954) + (node-degree0 n-955) + (node-degree0 n-957) + (node-degree0 n-961) + (node-degree0 n-965) + (node-degree0 n-97) + (node-degree0 n-970) + (node-degree0 n-971) + (node-degree0 n-978) + (node-degree0 n-979) + (node-degree0 n-981) + (node-degree0 n-985) + (node-degree0 n-989) + + (cell-edge c-c0 c-c4 n-0 n-1) + (cell-edge c-c0 c-c1 n-1 n-2) + (cell-edge c-c0 c-c6 n-2 n-0) + (cell-edge c-c1 c-c5 n-3 n-1) + (cell-edge c-c1 c-c7 n-2 n-3) + (cell-edge c-c2 c-c4 n-1 n-7) + (cell-edge c-c2 c-outside-cell-7-8 n-7 n-8) + (cell-edge c-c2 c-c5 n-8 n-1) + (cell-edge c-c3 c-c6 n-2 n-10) + (cell-edge c-c3 c-c66 n-10 n-11) + (cell-edge c-c3 c-c7 n-11 n-2) + (cell-edge c-c4 c-outside-cell-0-13 n-0 n-13) + (cell-edge c-c4 c-outside-cell-13-7 n-13 n-7) + (cell-edge c-c5 c-c11 n-3 n-17) + (cell-edge c-c5 c-c8 n-17 n-8) + (cell-edge c-c6 c-c60 n-0 n-21) + (cell-edge c-c6 c-c59 n-21 n-10) + (cell-edge c-c7 c-c73 n-3 n-25) + (cell-edge c-c7 c-c71 n-25 n-11) + (cell-edge c-c8 c-c12 n-8 n-29) + (cell-edge c-c8 c-c9 n-29 n-17) + (cell-edge c-c9 c-c13 n-31 n-29) + (cell-edge c-c9 c-c14 n-17 n-31) + (cell-edge c-c10 c-c12 n-29 n-35) + (cell-edge c-c10 c-outside-cell-35-36 n-35 n-36) + (cell-edge c-c10 c-c13 n-36 n-29) + (cell-edge c-c11 c-c73 n-3 n-39) + (cell-edge c-c11 c-c14 n-39 n-17) + (cell-edge c-c12 c-outside-cell-8-41 n-8 n-41) + (cell-edge c-c12 c-outside-cell-41-35 n-41 n-35) + (cell-edge c-c13 c-outside-cell-31-45 n-31 n-45) + (cell-edge c-c13 c-outside-cell-45-36 n-45 n-36) + (cell-edge c-c14 c-c17 n-31 n-49) + (cell-edge c-c14 c-c15 n-49 n-39) + (cell-edge c-c15 c-c16 n-49 n-54) + (cell-edge c-c15 c-c20 n-54 n-39) + (cell-edge c-c16 c-c19 n-55 n-49) + (cell-edge c-c16 c-c21 n-54 n-55) + (cell-edge c-c17 c-outside-cell-31-60 n-31 n-60) + (cell-edge c-c17 c-c19 n-60 n-49) + (cell-edge c-c18 c-c20 n-54 n-62) + (cell-edge c-c18 c-c78 n-62 n-63) + (cell-edge c-c18 c-c21 n-63 n-54) + (cell-edge c-c19 c-c25 n-55 n-65) + (cell-edge c-c19 c-c22 n-65 n-60) + (cell-edge c-c20 c-c73 n-39 n-25) + (cell-edge c-c20 c-c72 n-25 n-62) + (cell-edge c-c21 c-c85 n-55 n-73) + (cell-edge c-c21 c-c83 n-73 n-63) + (cell-edge c-c22 c-c26 n-60 n-77) + (cell-edge c-c22 c-c23 n-77 n-65) + (cell-edge c-c23 c-c27 n-79 n-77) + (cell-edge c-c23 c-c28 n-65 n-79) + (cell-edge c-c24 c-c26 n-77 n-83) + (cell-edge c-c24 c-outside-cell-83-84 n-83 n-84) + (cell-edge c-c24 c-c27 n-84 n-77) + (cell-edge c-c25 c-c85 n-55 n-87) + (cell-edge c-c25 c-c28 n-87 n-65) + (cell-edge c-c26 c-outside-cell-60-45 n-60 n-45) + (cell-edge c-c26 c-outside-cell-45-83 n-45 n-83) + (cell-edge c-c27 c-outside-cell-79-93 n-79 n-93) + (cell-edge c-c27 c-outside-cell-93-84 n-93 n-84) + (cell-edge c-c28 c-c31 n-79 n-97) + (cell-edge c-c28 c-c29 n-97 n-87) + (cell-edge c-c29 c-c30 n-97 n-102) + (cell-edge c-c29 c-c34 n-102 n-87) + (cell-edge c-c30 c-c33 n-103 n-97) + (cell-edge c-c30 c-c35 n-102 n-103) + (cell-edge c-c31 c-outside-cell-79-108 n-79 n-108) + (cell-edge c-c31 c-c33 n-108 n-97) + (cell-edge c-c32 c-c34 n-102 n-110) + (cell-edge c-c32 c-c90 n-110 n-111) + (cell-edge c-c32 c-c35 n-111 n-102) + (cell-edge c-c33 c-c39 n-103 n-113) + (cell-edge c-c33 c-c36 n-113 n-108) + (cell-edge c-c34 c-c85 n-87 n-73) + (cell-edge c-c34 c-c84 n-73 n-110) + (cell-edge c-c35 c-c97 n-103 n-121) + (cell-edge c-c35 c-c95 n-121 n-111) + (cell-edge c-c36 c-c40 n-108 n-125) + (cell-edge c-c36 c-c37 n-125 n-113) + (cell-edge c-c37 c-c41 n-127 n-125) + (cell-edge c-c37 c-c42 n-113 n-127) + (cell-edge c-c38 c-c40 n-125 n-131) + (cell-edge c-c38 c-outside-cell-131-132 n-131 n-132) + (cell-edge c-c38 c-c41 n-132 n-125) + (cell-edge c-c39 c-c97 n-103 n-135) + (cell-edge c-c39 c-c42 n-135 n-113) + (cell-edge c-c40 c-outside-cell-108-93 n-108 n-93) + (cell-edge c-c40 c-outside-cell-93-131 n-93 n-131) + (cell-edge c-c41 c-outside-cell-127-141 n-127 n-141) + (cell-edge c-c41 c-outside-cell-141-132 n-141 n-132) + (cell-edge c-c42 c-c45 n-127 n-145) + (cell-edge c-c42 c-c43 n-145 n-135) + (cell-edge c-c43 c-c44 n-145 n-150) + (cell-edge c-c43 c-c48 n-150 n-135) + (cell-edge c-c44 c-c47 n-151 n-145) + (cell-edge c-c44 c-c49 n-150 n-151) + (cell-edge c-c45 c-outside-cell-127-156 n-127 n-156) + (cell-edge c-c45 c-c47 n-156 n-145) + (cell-edge c-c46 c-c48 n-150 n-158) + (cell-edge c-c46 c-c102 n-158 n-159) + (cell-edge c-c46 c-c49 n-159 n-150) + (cell-edge c-c47 c-outside-cell-151-161 n-151 n-161) + (cell-edge c-c47 c-outside-cell-161-156 n-161 n-156) + (cell-edge c-c48 c-c97 n-135 n-121) + (cell-edge c-c48 c-c96 n-121 n-158) + (cell-edge c-c49 c-c109 n-151 n-169) + (cell-edge c-c49 c-c107 n-169 n-159) + (cell-edge c-c50 c-c54 n-172 n-173) + (cell-edge c-c50 c-c51 n-173 n-174) + (cell-edge c-c50 c-c56 n-174 n-172) + (cell-edge c-c51 c-c55 n-175 n-173) + (cell-edge c-c51 c-c57 n-174 n-175) + (cell-edge c-c52 c-c54 n-173 n-179) + (cell-edge c-c52 c-outside-cell-179-180 n-179 n-180) + (cell-edge c-c52 c-c55 n-180 n-173) + (cell-edge c-c53 c-c56 n-174 n-182) + (cell-edge c-c53 c-c129 n-182 n-183) + (cell-edge c-c53 c-c57 n-183 n-174) + (cell-edge c-c54 c-outside-cell-172-185 n-172 n-185) + (cell-edge c-c54 c-outside-cell-185-179 n-185 n-179) + (cell-edge c-c55 c-c61 n-175 n-189) + (cell-edge c-c55 c-c58 n-189 n-180) + (cell-edge c-c56 c-c122 n-172 n-193) + (cell-edge c-c56 c-c121 n-193 n-182) + (cell-edge c-c57 c-c136 n-175 n-197) + (cell-edge c-c57 c-c134 n-197 n-183) + (cell-edge c-c58 c-c62 n-180 n-21) + (cell-edge c-c58 c-c59 n-21 n-189) + (cell-edge c-c59 c-c63 n-189 n-10) + (cell-edge c-c60 c-c62 n-21 n-207) + (cell-edge c-c60 c-outside-cell-207-0 n-207 n-0) + (cell-edge c-c61 c-c136 n-175 n-211) + (cell-edge c-c61 c-c63 n-211 n-189) + (cell-edge c-c62 c-outside-cell-180-213 n-180 n-213) + (cell-edge c-c62 c-outside-cell-213-207 n-213 n-207) + (cell-edge c-c63 c-c66 n-10 n-217) + (cell-edge c-c63 c-c64 n-217 n-211) + (cell-edge c-c64 c-c65 n-217 n-222) + (cell-edge c-c64 c-c69 n-222 n-211) + (cell-edge c-c65 c-c68 n-223 n-217) + (cell-edge c-c65 c-c70 n-222 n-223) + (cell-edge c-c66 c-c68 n-11 n-217) + (cell-edge c-c67 c-c69 n-222 n-230) + (cell-edge c-c67 c-c141 n-230 n-231) + (cell-edge c-c67 c-c70 n-231 n-222) + (cell-edge c-c68 c-c74 n-223 n-233) + (cell-edge c-c68 c-c71 n-233 n-11) + (cell-edge c-c69 c-c136 n-211 n-197) + (cell-edge c-c69 c-c135 n-197 n-230) + (cell-edge c-c70 c-c148 n-223 n-241) + (cell-edge c-c70 c-c146 n-241 n-231) + (cell-edge c-c71 c-c72 n-25 n-233) + (cell-edge c-c72 c-c75 n-233 n-62) + (cell-edge c-c74 c-c148 n-223 n-255) + (cell-edge c-c74 c-c75 n-255 n-233) + (cell-edge c-c75 c-c78 n-62 n-257) + (cell-edge c-c75 c-c76 n-257 n-255) + (cell-edge c-c76 c-c77 n-257 n-262) + (cell-edge c-c76 c-c81 n-262 n-255) + (cell-edge c-c77 c-c80 n-263 n-257) + (cell-edge c-c77 c-c82 n-262 n-263) + (cell-edge c-c78 c-c80 n-63 n-257) + (cell-edge c-c79 c-c81 n-262 n-270) + (cell-edge c-c79 c-c153 n-270 n-271) + (cell-edge c-c79 c-c82 n-271 n-262) + (cell-edge c-c80 c-c86 n-263 n-273) + (cell-edge c-c80 c-c83 n-273 n-63) + (cell-edge c-c81 c-c148 n-255 n-241) + (cell-edge c-c81 c-c147 n-241 n-270) + (cell-edge c-c82 c-c160 n-263 n-281) + (cell-edge c-c82 c-c158 n-281 n-271) + (cell-edge c-c83 c-c84 n-73 n-273) + (cell-edge c-c84 c-c87 n-273 n-110) + (cell-edge c-c86 c-c160 n-263 n-295) + (cell-edge c-c86 c-c87 n-295 n-273) + (cell-edge c-c87 c-c90 n-110 n-297) + (cell-edge c-c87 c-c88 n-297 n-295) + (cell-edge c-c88 c-c89 n-297 n-302) + (cell-edge c-c88 c-c93 n-302 n-295) + (cell-edge c-c89 c-c92 n-303 n-297) + (cell-edge c-c89 c-c94 n-302 n-303) + (cell-edge c-c90 c-c92 n-111 n-297) + (cell-edge c-c91 c-c93 n-302 n-310) + (cell-edge c-c91 c-c165 n-310 n-311) + (cell-edge c-c91 c-c94 n-311 n-302) + (cell-edge c-c92 c-c98 n-303 n-313) + (cell-edge c-c92 c-c95 n-313 n-111) + (cell-edge c-c93 c-c160 n-295 n-281) + (cell-edge c-c93 c-c159 n-281 n-310) + (cell-edge c-c94 c-c172 n-303 n-321) + (cell-edge c-c94 c-c170 n-321 n-311) + (cell-edge c-c95 c-c96 n-121 n-313) + (cell-edge c-c96 c-c99 n-313 n-158) + (cell-edge c-c98 c-c172 n-303 n-335) + (cell-edge c-c98 c-c99 n-335 n-313) + (cell-edge c-c99 c-c102 n-158 n-337) + (cell-edge c-c99 c-c100 n-337 n-335) + (cell-edge c-c100 c-c101 n-337 n-342) + (cell-edge c-c100 c-c105 n-342 n-335) + (cell-edge c-c101 c-c104 n-343 n-337) + (cell-edge c-c101 c-c106 n-342 n-343) + (cell-edge c-c102 c-c104 n-159 n-337) + (cell-edge c-c103 c-c105 n-342 n-350) + (cell-edge c-c103 c-c177 n-350 n-351) + (cell-edge c-c103 c-c106 n-351 n-342) + (cell-edge c-c104 c-c110 n-343 n-353) + (cell-edge c-c104 c-c107 n-353 n-159) + (cell-edge c-c105 c-c172 n-335 n-321) + (cell-edge c-c105 c-c171 n-321 n-350) + (cell-edge c-c106 c-c184 n-343 n-361) + (cell-edge c-c106 c-c182 n-361 n-351) + (cell-edge c-c107 c-c108 n-169 n-353) + (cell-edge c-c108 c-c111 n-367 n-169) + (cell-edge c-c108 c-c112 n-353 n-367) + (cell-edge c-c109 c-outside-cell-151-372 n-151 n-372) + (cell-edge c-c109 c-c111 n-372 n-169) + (cell-edge c-c110 c-c184 n-343 n-375) + (cell-edge c-c110 c-c112 n-375 n-353) + (cell-edge c-c111 c-outside-cell-367-377 n-367 n-377) + (cell-edge c-c111 c-outside-cell-377-372 n-377 n-372) + (cell-edge c-c112 c-c115 n-367 n-381) + (cell-edge c-c112 c-c113 n-381 n-375) + (cell-edge c-c113 c-c114 n-381 n-386) + (cell-edge c-c113 c-c118 n-386 n-375) + (cell-edge c-c114 c-c117 n-387 n-381) + (cell-edge c-c114 c-c119 n-386 n-387) + (cell-edge c-c115 c-outside-cell-367-392 n-367 n-392) + (cell-edge c-c115 c-c117 n-392 n-381) + (cell-edge c-c116 c-c118 n-386 n-394) + (cell-edge c-c116 c-c189 n-394 n-395) + (cell-edge c-c116 c-c119 n-395 n-386) + (cell-edge c-c117 c-outside-cell-387-397 n-387 n-397) + (cell-edge c-c117 c-outside-cell-397-392 n-397 n-392) + (cell-edge c-c118 c-c184 n-375 n-361) + (cell-edge c-c118 c-c183 n-361 n-394) + (cell-edge c-c119 c-c196 n-387 n-405) + (cell-edge c-c119 c-c194 n-405 n-395) + (cell-edge c-c120 c-c124 n-408 n-193) + (cell-edge c-c120 c-c121 n-193 n-410) + (cell-edge c-c120 c-c125 n-410 n-408) + (cell-edge c-c121 c-c126 n-410 n-182) + (cell-edge c-c122 c-c124 n-193 n-415) + (cell-edge c-c122 c-outside-cell-415-172 n-415 n-172) + (cell-edge c-c123 c-c125 n-410 n-418) + (cell-edge c-c123 c-c202 n-418 n-419) + (cell-edge c-c123 c-c126 n-419 n-410) + (cell-edge c-c124 c-outside-cell-408-421 n-408 n-421) + (cell-edge c-c124 c-outside-cell-421-415 n-421 n-415) + (cell-edge c-c125 c-outside-cell-408-425 n-408 n-425) + (cell-edge c-c125 c-outside-cell-425-418 n-425 n-418) + (cell-edge c-c126 c-c129 n-182 n-429) + (cell-edge c-c126 c-c127 n-429 n-419) + (cell-edge c-c127 c-c128 n-429 n-434) + (cell-edge c-c127 c-c132 n-434 n-419) + (cell-edge c-c128 c-c131 n-435 n-429) + (cell-edge c-c128 c-c133 n-434 n-435) + (cell-edge c-c129 c-c131 n-183 n-429) + (cell-edge c-c130 c-c132 n-434 n-442) + (cell-edge c-c130 c-c209 n-442 n-443) + (cell-edge c-c130 c-c133 n-443 n-434) + (cell-edge c-c131 c-c137 n-435 n-445) + (cell-edge c-c131 c-c134 n-445 n-183) + (cell-edge c-c132 c-c202 n-419 n-449) + (cell-edge c-c132 c-c201 n-449 n-442) + (cell-edge c-c133 c-c216 n-435 n-453) + (cell-edge c-c133 c-c214 n-453 n-443) + (cell-edge c-c134 c-c135 n-197 n-445) + (cell-edge c-c135 c-c138 n-445 n-230) + (cell-edge c-c137 c-c216 n-435 n-467) + (cell-edge c-c137 c-c138 n-467 n-445) + (cell-edge c-c138 c-c141 n-230 n-469) + (cell-edge c-c138 c-c139 n-469 n-467) + (cell-edge c-c139 c-c140 n-469 n-474) + (cell-edge c-c139 c-c144 n-474 n-467) + (cell-edge c-c140 c-c143 n-475 n-469) + (cell-edge c-c140 c-c145 n-474 n-475) + (cell-edge c-c141 c-c143 n-231 n-469) + (cell-edge c-c142 c-c144 n-474 n-482) + (cell-edge c-c142 c-c221 n-482 n-483) + (cell-edge c-c142 c-c145 n-483 n-474) + (cell-edge c-c143 c-c149 n-475 n-485) + (cell-edge c-c143 c-c146 n-485 n-231) + (cell-edge c-c144 c-c216 n-467 n-453) + (cell-edge c-c144 c-c215 n-453 n-482) + (cell-edge c-c145 c-c228 n-475 n-493) + (cell-edge c-c145 c-c226 n-493 n-483) + (cell-edge c-c146 c-c147 n-241 n-485) + (cell-edge c-c147 c-c150 n-485 n-270) + (cell-edge c-c149 c-c228 n-475 n-507) + (cell-edge c-c149 c-c150 n-507 n-485) + (cell-edge c-c150 c-c153 n-270 n-509) + (cell-edge c-c150 c-c151 n-509 n-507) + (cell-edge c-c151 c-c152 n-509 n-514) + (cell-edge c-c151 c-c156 n-514 n-507) + (cell-edge c-c152 c-c155 n-515 n-509) + (cell-edge c-c152 c-c157 n-514 n-515) + (cell-edge c-c153 c-c155 n-271 n-509) + (cell-edge c-c154 c-c156 n-514 n-522) + (cell-edge c-c154 c-c233 n-522 n-523) + (cell-edge c-c154 c-c157 n-523 n-514) + (cell-edge c-c155 c-c161 n-515 n-525) + (cell-edge c-c155 c-c158 n-525 n-271) + (cell-edge c-c156 c-c228 n-507 n-493) + (cell-edge c-c156 c-c227 n-493 n-522) + (cell-edge c-c157 c-c240 n-515 n-533) + (cell-edge c-c157 c-c238 n-533 n-523) + (cell-edge c-c158 c-c159 n-281 n-525) + (cell-edge c-c159 c-c162 n-525 n-310) + (cell-edge c-c161 c-c240 n-515 n-547) + (cell-edge c-c161 c-c162 n-547 n-525) + (cell-edge c-c162 c-c165 n-310 n-549) + (cell-edge c-c162 c-c163 n-549 n-547) + (cell-edge c-c163 c-c164 n-549 n-554) + (cell-edge c-c163 c-c168 n-554 n-547) + (cell-edge c-c164 c-c167 n-555 n-549) + (cell-edge c-c164 c-c169 n-554 n-555) + (cell-edge c-c165 c-c167 n-311 n-549) + (cell-edge c-c166 c-c168 n-554 n-562) + (cell-edge c-c166 c-c245 n-562 n-563) + (cell-edge c-c166 c-c169 n-563 n-554) + (cell-edge c-c167 c-c173 n-555 n-565) + (cell-edge c-c167 c-c170 n-565 n-311) + (cell-edge c-c168 c-c240 n-547 n-533) + (cell-edge c-c168 c-c239 n-533 n-562) + (cell-edge c-c169 c-c252 n-555 n-573) + (cell-edge c-c169 c-c250 n-573 n-563) + (cell-edge c-c170 c-c171 n-321 n-565) + (cell-edge c-c171 c-c174 n-565 n-350) + (cell-edge c-c173 c-c252 n-555 n-587) + (cell-edge c-c173 c-c174 n-587 n-565) + (cell-edge c-c174 c-c177 n-350 n-589) + (cell-edge c-c174 c-c175 n-589 n-587) + (cell-edge c-c175 c-c176 n-589 n-594) + (cell-edge c-c175 c-c180 n-594 n-587) + (cell-edge c-c176 c-c179 n-595 n-589) + (cell-edge c-c176 c-c181 n-594 n-595) + (cell-edge c-c177 c-c179 n-351 n-589) + (cell-edge c-c178 c-c180 n-594 n-602) + (cell-edge c-c178 c-c257 n-602 n-603) + (cell-edge c-c178 c-c181 n-603 n-594) + (cell-edge c-c179 c-c185 n-595 n-605) + (cell-edge c-c179 c-c182 n-605 n-351) + (cell-edge c-c180 c-c252 n-587 n-573) + (cell-edge c-c180 c-c251 n-573 n-602) + (cell-edge c-c181 c-c264 n-595 n-613) + (cell-edge c-c181 c-c262 n-613 n-603) + (cell-edge c-c182 c-c183 n-361 n-605) + (cell-edge c-c183 c-c186 n-605 n-394) + (cell-edge c-c185 c-c264 n-595 n-627) + (cell-edge c-c185 c-c186 n-627 n-605) + (cell-edge c-c186 c-c189 n-394 n-629) + (cell-edge c-c186 c-c187 n-629 n-627) + (cell-edge c-c187 c-c188 n-629 n-634) + (cell-edge c-c187 c-c192 n-634 n-627) + (cell-edge c-c188 c-c191 n-635 n-629) + (cell-edge c-c188 c-c193 n-634 n-635) + (cell-edge c-c189 c-c191 n-395 n-629) + (cell-edge c-c190 c-c192 n-634 n-642) + (cell-edge c-c190 c-c269 n-642 n-643) + (cell-edge c-c190 c-c193 n-643 n-634) + (cell-edge c-c191 c-c197 n-635 n-645) + (cell-edge c-c191 c-c194 n-645 n-395) + (cell-edge c-c192 c-c264 n-627 n-613) + (cell-edge c-c192 c-c263 n-613 n-642) + (cell-edge c-c193 c-c276 n-635 n-653) + (cell-edge c-c193 c-c274 n-653 n-643) + (cell-edge c-c194 c-c195 n-405 n-645) + (cell-edge c-c195 c-c198 n-659 n-405) + (cell-edge c-c195 c-c199 n-645 n-659) + (cell-edge c-c196 c-outside-cell-387-664 n-387 n-664) + (cell-edge c-c196 c-c198 n-664 n-405) + (cell-edge c-c197 c-c276 n-635 n-667) + (cell-edge c-c197 c-c199 n-667 n-645) + (cell-edge c-c198 c-outside-cell-659-669 n-659 n-669) + (cell-edge c-c198 c-outside-cell-669-664 n-669 n-664) + (cell-edge c-c199 c-outside-cell-659-673 n-659 n-673) + (cell-edge c-c199 c-outside-cell-673-667 n-673 n-667) + (cell-edge c-c200 c-c204 n-676 n-449) + (cell-edge c-c200 c-c201 n-449 n-678) + (cell-edge c-c200 c-c205 n-678 n-676) + (cell-edge c-c201 c-c206 n-678 n-442) + (cell-edge c-c202 c-c204 n-449 n-418) + (cell-edge c-c203 c-c205 n-678 n-686) + (cell-edge c-c203 c-c282 n-686 n-687) + (cell-edge c-c203 c-c206 n-687 n-678) + (cell-edge c-c204 c-outside-cell-676-689 n-676 n-689) + (cell-edge c-c204 c-outside-cell-689-418 n-689 n-418) + (cell-edge c-c205 c-outside-cell-676-693 n-676 n-693) + (cell-edge c-c205 c-outside-cell-693-686 n-693 n-686) + (cell-edge c-c206 c-c209 n-442 n-697) + (cell-edge c-c206 c-c207 n-697 n-687) + (cell-edge c-c207 c-c208 n-697 n-702) + (cell-edge c-c207 c-c212 n-702 n-687) + (cell-edge c-c208 c-c211 n-703 n-697) + (cell-edge c-c208 c-c213 n-702 n-703) + (cell-edge c-c209 c-c211 n-443 n-697) + (cell-edge c-c210 c-c212 n-702 n-710) + (cell-edge c-c210 c-c289 n-710 n-711) + (cell-edge c-c210 c-c213 n-711 n-702) + (cell-edge c-c211 c-c217 n-703 n-713) + (cell-edge c-c211 c-c214 n-713 n-443) + (cell-edge c-c212 c-c282 n-687 n-717) + (cell-edge c-c212 c-c281 n-717 n-710) + (cell-edge c-c213 c-c296 n-703 n-721) + (cell-edge c-c213 c-c294 n-721 n-711) + (cell-edge c-c214 c-c215 n-453 n-713) + (cell-edge c-c215 c-c218 n-713 n-482) + (cell-edge c-c217 c-c296 n-703 n-735) + (cell-edge c-c217 c-c218 n-735 n-713) + (cell-edge c-c218 c-c221 n-482 n-737) + (cell-edge c-c218 c-c219 n-737 n-735) + (cell-edge c-c219 c-c220 n-737 n-742) + (cell-edge c-c219 c-c224 n-742 n-735) + (cell-edge c-c220 c-c223 n-743 n-737) + (cell-edge c-c220 c-c225 n-742 n-743) + (cell-edge c-c221 c-c223 n-483 n-737) + (cell-edge c-c222 c-c224 n-742 n-750) + (cell-edge c-c222 c-c301 n-750 n-751) + (cell-edge c-c222 c-c225 n-751 n-742) + (cell-edge c-c223 c-c229 n-743 n-753) + (cell-edge c-c223 c-c226 n-753 n-483) + (cell-edge c-c224 c-c296 n-735 n-721) + (cell-edge c-c224 c-c295 n-721 n-750) + (cell-edge c-c225 c-c308 n-743 n-761) + (cell-edge c-c225 c-c306 n-761 n-751) + (cell-edge c-c226 c-c227 n-493 n-753) + (cell-edge c-c227 c-c230 n-753 n-522) + (cell-edge c-c229 c-c308 n-743 n-775) + (cell-edge c-c229 c-c230 n-775 n-753) + (cell-edge c-c230 c-c233 n-522 n-777) + (cell-edge c-c230 c-c231 n-777 n-775) + (cell-edge c-c231 c-c232 n-777 n-782) + (cell-edge c-c231 c-c236 n-782 n-775) + (cell-edge c-c232 c-c235 n-783 n-777) + (cell-edge c-c232 c-c237 n-782 n-783) + (cell-edge c-c233 c-c235 n-523 n-777) + (cell-edge c-c234 c-c236 n-782 n-790) + (cell-edge c-c234 c-c313 n-790 n-791) + (cell-edge c-c234 c-c237 n-791 n-782) + (cell-edge c-c235 c-c241 n-783 n-793) + (cell-edge c-c235 c-c238 n-793 n-523) + (cell-edge c-c236 c-c308 n-775 n-761) + (cell-edge c-c236 c-c307 n-761 n-790) + (cell-edge c-c237 c-c320 n-783 n-801) + (cell-edge c-c237 c-c318 n-801 n-791) + (cell-edge c-c238 c-c239 n-533 n-793) + (cell-edge c-c239 c-c242 n-793 n-562) + (cell-edge c-c241 c-c320 n-783 n-815) + (cell-edge c-c241 c-c242 n-815 n-793) + (cell-edge c-c242 c-c245 n-562 n-817) + (cell-edge c-c242 c-c243 n-817 n-815) + (cell-edge c-c243 c-c244 n-817 n-822) + (cell-edge c-c243 c-c248 n-822 n-815) + (cell-edge c-c244 c-c247 n-823 n-817) + (cell-edge c-c244 c-c249 n-822 n-823) + (cell-edge c-c245 c-c247 n-563 n-817) + (cell-edge c-c246 c-c248 n-822 n-830) + (cell-edge c-c246 c-c325 n-830 n-831) + (cell-edge c-c246 c-c249 n-831 n-822) + (cell-edge c-c247 c-c253 n-823 n-833) + (cell-edge c-c247 c-c250 n-833 n-563) + (cell-edge c-c248 c-c320 n-815 n-801) + (cell-edge c-c248 c-c319 n-801 n-830) + (cell-edge c-c249 c-c332 n-823 n-841) + (cell-edge c-c249 c-c330 n-841 n-831) + (cell-edge c-c250 c-c251 n-573 n-833) + (cell-edge c-c251 c-c254 n-833 n-602) + (cell-edge c-c253 c-c332 n-823 n-855) + (cell-edge c-c253 c-c254 n-855 n-833) + (cell-edge c-c254 c-c257 n-602 n-857) + (cell-edge c-c254 c-c255 n-857 n-855) + (cell-edge c-c255 c-c256 n-857 n-862) + (cell-edge c-c255 c-c260 n-862 n-855) + (cell-edge c-c256 c-c259 n-863 n-857) + (cell-edge c-c256 c-c261 n-862 n-863) + (cell-edge c-c257 c-c259 n-603 n-857) + (cell-edge c-c258 c-c260 n-862 n-870) + (cell-edge c-c258 c-c337 n-870 n-871) + (cell-edge c-c258 c-c261 n-871 n-862) + (cell-edge c-c259 c-c265 n-863 n-873) + (cell-edge c-c259 c-c262 n-873 n-603) + (cell-edge c-c260 c-c332 n-855 n-841) + (cell-edge c-c260 c-c331 n-841 n-870) + (cell-edge c-c261 c-c344 n-863 n-881) + (cell-edge c-c261 c-c342 n-881 n-871) + (cell-edge c-c262 c-c263 n-613 n-873) + (cell-edge c-c263 c-c266 n-873 n-642) + (cell-edge c-c265 c-c344 n-863 n-895) + (cell-edge c-c265 c-c266 n-895 n-873) + (cell-edge c-c266 c-c269 n-642 n-897) + (cell-edge c-c266 c-c267 n-897 n-895) + (cell-edge c-c267 c-c268 n-897 n-902) + (cell-edge c-c267 c-c272 n-902 n-895) + (cell-edge c-c268 c-c271 n-903 n-897) + (cell-edge c-c268 c-c273 n-902 n-903) + (cell-edge c-c269 c-c271 n-643 n-897) + (cell-edge c-c270 c-c272 n-902 n-910) + (cell-edge c-c270 c-c349 n-910 n-911) + (cell-edge c-c270 c-c273 n-911 n-902) + (cell-edge c-c271 c-c277 n-903 n-913) + (cell-edge c-c271 c-c274 n-913 n-643) + (cell-edge c-c272 c-c344 n-895 n-881) + (cell-edge c-c272 c-c343 n-881 n-910) + (cell-edge c-c273 c-c356 n-903 n-921) + (cell-edge c-c273 c-c354 n-921 n-911) + (cell-edge c-c274 c-c275 n-653 n-913) + (cell-edge c-c275 c-c278 n-927 n-653) + (cell-edge c-c275 c-c279 n-913 n-927) + (cell-edge c-c276 c-c278 n-667 n-653) + (cell-edge c-c277 c-c356 n-903 n-935) + (cell-edge c-c277 c-c279 n-935 n-913) + (cell-edge c-c278 c-outside-cell-927-937 n-927 n-937) + (cell-edge c-c278 c-outside-cell-937-667 n-937 n-667) + (cell-edge c-c279 c-outside-cell-927-941 n-927 n-941) + (cell-edge c-c279 c-outside-cell-941-935 n-941 n-935) + (cell-edge c-c280 c-c284 n-944 n-717) + (cell-edge c-c280 c-c281 n-717 n-946) + (cell-edge c-c280 c-c285 n-946 n-944) + (cell-edge c-c281 c-c286 n-946 n-710) + (cell-edge c-c282 c-c284 n-717 n-686) + (cell-edge c-c283 c-c285 n-946 n-954) + (cell-edge c-c283 c-outside-cell-954-955 n-954 n-955) + (cell-edge c-c283 c-c286 n-955 n-946) + (cell-edge c-c284 c-outside-cell-944-957 n-944 n-957) + (cell-edge c-c284 c-outside-cell-957-686 n-957 n-686) + (cell-edge c-c285 c-outside-cell-944-961 n-944 n-961) + (cell-edge c-c285 c-outside-cell-961-954 n-961 n-954) + (cell-edge c-c286 c-c289 n-710 n-965) + (cell-edge c-c286 c-c287 n-965 n-955) + (cell-edge c-c287 c-c288 n-965 n-970) + (cell-edge c-c287 c-c292 n-970 n-955) + (cell-edge c-c288 c-c291 n-971 n-965) + (cell-edge c-c288 c-c293 n-970 n-971) + (cell-edge c-c289 c-c291 n-711 n-965) + (cell-edge c-c290 c-c292 n-970 n-978) + (cell-edge c-c290 c-outside-cell-978-979 n-978 n-979) + (cell-edge c-c290 c-c293 n-979 n-970) + (cell-edge c-c291 c-c297 n-971 n-981) + (cell-edge c-c291 c-c294 n-981 n-711) + (cell-edge c-c292 c-outside-cell-955-985 n-955 n-985) + (cell-edge c-c292 c-outside-cell-985-978 n-985 n-978) + (cell-edge c-c293 c-c362 n-971 n-989) + (cell-edge c-c293 c-c360 n-989 n-979) + (cell-edge c-c294 c-c295 n-721 n-981) + (cell-edge c-c295 c-c298 n-981 n-750) + (cell-edge c-c297 c-c362 n-971 n-1003) + (cell-edge c-c297 c-c298 n-1003 n-981) + (cell-edge c-c298 c-c301 n-750 n-1005) + (cell-edge c-c298 c-c299 n-1005 n-1003) + (cell-edge c-c299 c-c300 n-1005 n-1010) + (cell-edge c-c299 c-c304 n-1010 n-1003) + (cell-edge c-c300 c-c303 n-1011 n-1005) + (cell-edge c-c300 c-c305 n-1010 n-1011) + (cell-edge c-c301 c-c303 n-751 n-1005) + (cell-edge c-c302 c-c304 n-1010 n-1018) + (cell-edge c-c302 c-c368 n-1018 n-1019) + (cell-edge c-c302 c-c305 n-1019 n-1010) + (cell-edge c-c303 c-c309 n-1011 n-1021) + (cell-edge c-c303 c-c306 n-1021 n-751) + (cell-edge c-c304 c-c362 n-1003 n-989) + (cell-edge c-c304 c-c361 n-989 n-1018) + (cell-edge c-c305 c-c375 n-1011 n-1029) + (cell-edge c-c305 c-c373 n-1029 n-1019) + (cell-edge c-c306 c-c307 n-761 n-1021) + (cell-edge c-c307 c-c310 n-1021 n-790) + (cell-edge c-c309 c-c375 n-1011 n-1043) + (cell-edge c-c309 c-c310 n-1043 n-1021) + (cell-edge c-c310 c-c313 n-790 n-1045) + (cell-edge c-c310 c-c311 n-1045 n-1043) + (cell-edge c-c311 c-c312 n-1045 n-1050) + (cell-edge c-c311 c-c316 n-1050 n-1043) + (cell-edge c-c312 c-c315 n-1051 n-1045) + (cell-edge c-c312 c-c317 n-1050 n-1051) + (cell-edge c-c313 c-c315 n-791 n-1045) + (cell-edge c-c314 c-c316 n-1050 n-1058) + (cell-edge c-c314 c-c380 n-1058 n-1059) + (cell-edge c-c314 c-c317 n-1059 n-1050) + (cell-edge c-c315 c-c321 n-1051 n-1061) + (cell-edge c-c315 c-c318 n-1061 n-791) + (cell-edge c-c316 c-c375 n-1043 n-1029) + (cell-edge c-c316 c-c374 n-1029 n-1058) + (cell-edge c-c317 c-c387 n-1051 n-1069) + (cell-edge c-c317 c-c385 n-1069 n-1059) + (cell-edge c-c318 c-c319 n-801 n-1061) + (cell-edge c-c319 c-c322 n-1061 n-830) + (cell-edge c-c321 c-c387 n-1051 n-1083) + (cell-edge c-c321 c-c322 n-1083 n-1061) + (cell-edge c-c322 c-c325 n-830 n-1085) + (cell-edge c-c322 c-c323 n-1085 n-1083) + (cell-edge c-c323 c-c324 n-1085 n-1090) + (cell-edge c-c323 c-c328 n-1090 n-1083) + (cell-edge c-c324 c-c327 n-1091 n-1085) + (cell-edge c-c324 c-c329 n-1090 n-1091) + (cell-edge c-c325 c-c327 n-831 n-1085) + (cell-edge c-c326 c-c328 n-1090 n-1098) + (cell-edge c-c326 c-c392 n-1098 n-1099) + (cell-edge c-c326 c-c329 n-1099 n-1090) + (cell-edge c-c327 c-c333 n-1091 n-1101) + (cell-edge c-c327 c-c330 n-1101 n-831) + (cell-edge c-c328 c-c387 n-1083 n-1069) + (cell-edge c-c328 c-c386 n-1069 n-1098) + (cell-edge c-c329 c-c399 n-1091 n-1109) + (cell-edge c-c329 c-c397 n-1109 n-1099) + (cell-edge c-c330 c-c331 n-841 n-1101) + (cell-edge c-c331 c-c334 n-1101 n-870) + (cell-edge c-c333 c-c399 n-1091 n-1123) + (cell-edge c-c333 c-c334 n-1123 n-1101) + (cell-edge c-c334 c-c337 n-870 n-1125) + (cell-edge c-c334 c-c335 n-1125 n-1123) + (cell-edge c-c335 c-c336 n-1125 n-1130) + (cell-edge c-c335 c-c340 n-1130 n-1123) + (cell-edge c-c336 c-c339 n-1131 n-1125) + (cell-edge c-c336 c-c341 n-1130 n-1131) + (cell-edge c-c337 c-c339 n-871 n-1125) + (cell-edge c-c338 c-c340 n-1130 n-1138) + (cell-edge c-c338 c-c404 n-1138 n-1139) + (cell-edge c-c338 c-c341 n-1139 n-1130) + (cell-edge c-c339 c-c345 n-1131 n-1141) + (cell-edge c-c339 c-c342 n-1141 n-871) + (cell-edge c-c340 c-c399 n-1123 n-1109) + (cell-edge c-c340 c-c398 n-1109 n-1138) + (cell-edge c-c341 c-c411 n-1131 n-1149) + (cell-edge c-c341 c-c409 n-1149 n-1139) + (cell-edge c-c342 c-c343 n-881 n-1141) + (cell-edge c-c343 c-c346 n-1141 n-910) + (cell-edge c-c345 c-c411 n-1131 n-1163) + (cell-edge c-c345 c-c346 n-1163 n-1141) + (cell-edge c-c346 c-c349 n-910 n-1165) + (cell-edge c-c346 c-c347 n-1165 n-1163) + (cell-edge c-c347 c-c348 n-1165 n-1170) + (cell-edge c-c347 c-c352 n-1170 n-1163) + (cell-edge c-c348 c-c351 n-1171 n-1165) + (cell-edge c-c348 c-c353 n-1170 n-1171) + (cell-edge c-c349 c-c351 n-911 n-1165) + (cell-edge c-c350 c-c352 n-1170 n-1178) + (cell-edge c-c350 c-outside-cell-1178-1179 n-1178 n-1179) + (cell-edge c-c350 c-c353 n-1179 n-1170) + (cell-edge c-c351 c-c357 n-1171 n-1181) + (cell-edge c-c351 c-c354 n-1181 n-911) + (cell-edge c-c352 c-c411 n-1163 n-1149) + (cell-edge c-c352 c-c410 n-1149 n-1178) + (cell-edge c-c353 c-outside-cell-1171-1189 n-1171 n-1189) + (cell-edge c-c353 c-outside-cell-1189-1179 n-1189 n-1179) + (cell-edge c-c354 c-c355 n-921 n-1181) + (cell-edge c-c355 c-c358 n-1195 n-921) + (cell-edge c-c355 c-c359 n-1181 n-1195) + (cell-edge c-c356 c-c358 n-935 n-921) + (cell-edge c-c357 c-outside-cell-1171-1203 n-1171 n-1203) + (cell-edge c-c357 c-c359 n-1203 n-1181) + (cell-edge c-c358 c-outside-cell-1195-1205 n-1195 n-1205) + (cell-edge c-c358 c-outside-cell-1205-935 n-1205 n-935) + (cell-edge c-c359 c-outside-cell-1195-1209 n-1195 n-1209) + (cell-edge c-c359 c-outside-cell-1209-1203 n-1209 n-1203) + (cell-edge c-c360 c-c361 n-989 n-1214) + (cell-edge c-c360 c-c364 n-1214 n-979) + (cell-edge c-c361 c-c365 n-1214 n-1018) + (cell-edge c-c363 c-c364 n-1214 n-1222) + (cell-edge c-c363 c-outside-cell-1222-1223 n-1222 n-1223) + (cell-edge c-c363 c-c365 n-1223 n-1214) + (cell-edge c-c364 c-outside-cell-979-1225 n-979 n-1225) + (cell-edge c-c364 c-outside-cell-1225-1222 n-1225 n-1222) + (cell-edge c-c365 c-c368 n-1018 n-1229) + (cell-edge c-c365 c-c366 n-1229 n-1223) + (cell-edge c-c366 c-c367 n-1229 n-1234) + (cell-edge c-c366 c-c371 n-1234 n-1223) + (cell-edge c-c367 c-c370 n-1235 n-1229) + (cell-edge c-c367 c-c372 n-1234 n-1235) + (cell-edge c-c368 c-c370 n-1019 n-1229) + (cell-edge c-c369 c-c371 n-1234 n-1242) + (cell-edge c-c369 c-outside-cell-1242-1243 n-1242 n-1243) + (cell-edge c-c369 c-c372 n-1243 n-1234) + (cell-edge c-c370 c-c376 n-1235 n-1245) + (cell-edge c-c370 c-c373 n-1245 n-1019) + (cell-edge c-c371 c-outside-cell-1223-1249 n-1223 n-1249) + (cell-edge c-c371 c-outside-cell-1249-1242 n-1249 n-1242) + (cell-edge c-c372 c-c416 n-1235 n-1253) + (cell-edge c-c372 c-c414 n-1253 n-1243) + (cell-edge c-c373 c-c374 n-1029 n-1245) + (cell-edge c-c374 c-c377 n-1245 n-1058) + (cell-edge c-c376 c-c416 n-1235 n-1267) + (cell-edge c-c376 c-c377 n-1267 n-1245) + (cell-edge c-c377 c-c380 n-1058 n-1269) + (cell-edge c-c377 c-c378 n-1269 n-1267) + (cell-edge c-c378 c-c379 n-1269 n-1274) + (cell-edge c-c378 c-c383 n-1274 n-1267) + (cell-edge c-c379 c-c382 n-1275 n-1269) + (cell-edge c-c379 c-c384 n-1274 n-1275) + (cell-edge c-c380 c-c382 n-1059 n-1269) + (cell-edge c-c381 c-c383 n-1274 n-1282) + (cell-edge c-c381 c-outside-cell-1282-1283 n-1282 n-1283) + (cell-edge c-c381 c-c384 n-1283 n-1274) + (cell-edge c-c382 c-c388 n-1275 n-1285) + (cell-edge c-c382 c-c385 n-1285 n-1059) + (cell-edge c-c383 c-c416 n-1267 n-1253) + (cell-edge c-c383 c-c415 n-1253 n-1282) + (cell-edge c-c384 c-c422 n-1275 n-1293) + (cell-edge c-c384 c-c420 n-1293 n-1283) + (cell-edge c-c385 c-c386 n-1069 n-1285) + (cell-edge c-c386 c-c389 n-1285 n-1098) + (cell-edge c-c388 c-c422 n-1275 n-1307) + (cell-edge c-c388 c-c389 n-1307 n-1285) + (cell-edge c-c389 c-c392 n-1098 n-1309) + (cell-edge c-c389 c-c390 n-1309 n-1307) + (cell-edge c-c390 c-c391 n-1309 n-1314) + (cell-edge c-c390 c-c395 n-1314 n-1307) + (cell-edge c-c391 c-c394 n-1315 n-1309) + (cell-edge c-c391 c-c396 n-1314 n-1315) + (cell-edge c-c392 c-c394 n-1099 n-1309) + (cell-edge c-c393 c-c395 n-1314 n-1322) + (cell-edge c-c393 c-outside-cell-1322-1323 n-1322 n-1323) + (cell-edge c-c393 c-c396 n-1323 n-1314) + (cell-edge c-c394 c-c400 n-1315 n-1325) + (cell-edge c-c394 c-c397 n-1325 n-1099) + (cell-edge c-c395 c-c422 n-1307 n-1293) + (cell-edge c-c395 c-c421 n-1293 n-1322) + (cell-edge c-c396 c-c428 n-1315 n-1333) + (cell-edge c-c396 c-c426 n-1333 n-1323) + (cell-edge c-c397 c-c398 n-1109 n-1325) + (cell-edge c-c398 c-c401 n-1325 n-1138) + (cell-edge c-c400 c-c428 n-1315 n-1347) + (cell-edge c-c400 c-c401 n-1347 n-1325) + (cell-edge c-c401 c-c404 n-1138 n-1349) + (cell-edge c-c401 c-c402 n-1349 n-1347) + (cell-edge c-c402 c-c403 n-1349 n-1354) + (cell-edge c-c402 c-c407 n-1354 n-1347) + (cell-edge c-c403 c-c406 n-1355 n-1349) + (cell-edge c-c403 c-c408 n-1354 n-1355) + (cell-edge c-c404 c-c406 n-1139 n-1349) + (cell-edge c-c405 c-c407 n-1354 n-1362) + (cell-edge c-c405 c-outside-cell-1362-1363 n-1362 n-1363) + (cell-edge c-c405 c-c408 n-1363 n-1354) + (cell-edge c-c406 c-c412 n-1355 n-1365) + (cell-edge c-c406 c-c409 n-1365 n-1139) + (cell-edge c-c407 c-c428 n-1347 n-1333) + (cell-edge c-c407 c-c427 n-1333 n-1362) + (cell-edge c-c408 c-outside-cell-1355-1373 n-1355 n-1373) + (cell-edge c-c408 c-outside-cell-1373-1363 n-1373 n-1363) + (cell-edge c-c409 c-c410 n-1149 n-1365) + (cell-edge c-c410 c-c413 n-1365 n-1178) + (cell-edge c-c412 c-outside-cell-1355-1387 n-1355 n-1387) + (cell-edge c-c412 c-c413 n-1387 n-1365) + (cell-edge c-c413 c-outside-cell-1178-1389 n-1178 n-1389) + (cell-edge c-c413 c-outside-cell-1389-1387 n-1389 n-1387) + (cell-edge c-c414 c-c415 n-1253 n-1394) + (cell-edge c-c414 c-c418 n-1394 n-1243) + (cell-edge c-c415 c-c419 n-1394 n-1282) + (cell-edge c-c417 c-c418 n-1394 n-1402) + (cell-edge c-c417 c-outside-cell-1402-1403 n-1402 n-1403) + (cell-edge c-c417 c-c419 n-1403 n-1394) + (cell-edge c-c418 c-outside-cell-1243-1405 n-1243 n-1405) + (cell-edge c-c418 c-outside-cell-1405-1402 n-1405 n-1402) + (cell-edge c-c419 c-outside-cell-1282-1409 n-1282 n-1409) + (cell-edge c-c419 c-outside-cell-1409-1403 n-1409 n-1403) + (cell-edge c-c420 c-c421 n-1293 n-1414) + (cell-edge c-c420 c-c424 n-1414 n-1283) + (cell-edge c-c421 c-c425 n-1414 n-1322) + (cell-edge c-c423 c-c424 n-1414 n-1422) + (cell-edge c-c423 c-outside-cell-1422-1423 n-1422 n-1423) + (cell-edge c-c423 c-c425 n-1423 n-1414) + (cell-edge c-c424 c-outside-cell-1283-1409 n-1283 n-1409) + (cell-edge c-c424 c-outside-cell-1409-1422 n-1409 n-1422) + (cell-edge c-c425 c-outside-cell-1322-1429 n-1322 n-1429) + (cell-edge c-c425 c-outside-cell-1429-1423 n-1429 n-1423) + (cell-edge c-c426 c-c427 n-1333 n-1434) + (cell-edge c-c426 c-c430 n-1434 n-1323) + (cell-edge c-c427 c-c431 n-1434 n-1362) + (cell-edge c-c429 c-c430 n-1434 n-1442) + (cell-edge c-c429 c-outside-cell-1442-1443 n-1442 n-1443) + (cell-edge c-c429 c-c431 n-1443 n-1434) + (cell-edge c-c430 c-outside-cell-1323-1429 n-1323 n-1429) + (cell-edge c-c430 c-outside-cell-1429-1442 n-1429 n-1442) + (cell-edge c-c431 c-outside-cell-1362-1449 n-1362 n-1449) + (cell-edge c-c431 c-outside-cell-1449-1443 n-1449 n-1443) + + +) +(:goal + (and + (not (node-degree1 n-0)) + (not (node-degree1 n-1)) + (not (node-degree1 n-10)) + (not (node-degree1 n-1003)) + (not (node-degree1 n-1005)) + (not (node-degree1 n-1010)) + (not (node-degree1 n-1011)) + (not (node-degree1 n-1018)) + (not (node-degree1 n-1019)) + (not (node-degree1 n-102)) + (not (node-degree1 n-1021)) + (not (node-degree1 n-1029)) + (not (node-degree1 n-103)) + (not (node-degree1 n-1043)) + (not (node-degree1 n-1045)) + (not (node-degree1 n-1050)) + (not (node-degree1 n-1051)) + (not (node-degree1 n-1058)) + (not (node-degree1 n-1059)) + (not (node-degree1 n-1061)) + (not (node-degree1 n-1069)) + (not (node-degree1 n-108)) + (not (node-degree1 n-1083)) + (not (node-degree1 n-1085)) + (not (node-degree1 n-1090)) + (not (node-degree1 n-1091)) + (not (node-degree1 n-1098)) + (not (node-degree1 n-1099)) + (not (node-degree1 n-11)) + (not (node-degree1 n-110)) + (not (node-degree1 n-1101)) + (not (node-degree1 n-1109)) + (not (node-degree1 n-111)) + (not (node-degree1 n-1123)) + (not (node-degree1 n-1125)) + (not (node-degree1 n-113)) + (not (node-degree1 n-1130)) + (not (node-degree1 n-1131)) + (not (node-degree1 n-1138)) + (not (node-degree1 n-1139)) + (not (node-degree1 n-1141)) + (not (node-degree1 n-1149)) + (not (node-degree1 n-1163)) + (not (node-degree1 n-1165)) + (not (node-degree1 n-1170)) + (not (node-degree1 n-1171)) + (not (node-degree1 n-1178)) + (not (node-degree1 n-1179)) + (not (node-degree1 n-1181)) + (not (node-degree1 n-1189)) + (not (node-degree1 n-1195)) + (not (node-degree1 n-1203)) + (not (node-degree1 n-1205)) + (not (node-degree1 n-1209)) + (not (node-degree1 n-121)) + (not (node-degree1 n-1214)) + (not (node-degree1 n-1222)) + (not (node-degree1 n-1223)) + (not (node-degree1 n-1225)) + (not (node-degree1 n-1229)) + (not (node-degree1 n-1234)) + (not (node-degree1 n-1235)) + (not (node-degree1 n-1242)) + (not (node-degree1 n-1243)) + (not (node-degree1 n-1245)) + (not (node-degree1 n-1249)) + (not (node-degree1 n-125)) + (not (node-degree1 n-1253)) + (not (node-degree1 n-1267)) + (not (node-degree1 n-1269)) + (not (node-degree1 n-127)) + (not (node-degree1 n-1274)) + (not (node-degree1 n-1275)) + (not (node-degree1 n-1282)) + (not (node-degree1 n-1283)) + (not (node-degree1 n-1285)) + (not (node-degree1 n-1293)) + (not (node-degree1 n-13)) + (not (node-degree1 n-1307)) + (not (node-degree1 n-1309)) + (not (node-degree1 n-131)) + (not (node-degree1 n-1314)) + (not (node-degree1 n-1315)) + (not (node-degree1 n-132)) + (not (node-degree1 n-1322)) + (not (node-degree1 n-1323)) + (not (node-degree1 n-1325)) + (not (node-degree1 n-1333)) + (not (node-degree1 n-1347)) + (not (node-degree1 n-1349)) + (not (node-degree1 n-135)) + (not (node-degree1 n-1354)) + (not (node-degree1 n-1355)) + (not (node-degree1 n-1362)) + (not (node-degree1 n-1363)) + (not (node-degree1 n-1365)) + (not (node-degree1 n-1373)) + (not (node-degree1 n-1387)) + (not (node-degree1 n-1389)) + (not (node-degree1 n-1394)) + (not (node-degree1 n-1402)) + (not (node-degree1 n-1403)) + (not (node-degree1 n-1405)) + (not (node-degree1 n-1409)) + (not (node-degree1 n-141)) + (not (node-degree1 n-1414)) + (not (node-degree1 n-1422)) + (not (node-degree1 n-1423)) + (not (node-degree1 n-1429)) + (not (node-degree1 n-1434)) + (not (node-degree1 n-1442)) + (not (node-degree1 n-1443)) + (not (node-degree1 n-1449)) + (not (node-degree1 n-145)) + (not (node-degree1 n-150)) + (not (node-degree1 n-151)) + (not (node-degree1 n-156)) + (not (node-degree1 n-158)) + (not (node-degree1 n-159)) + (not (node-degree1 n-161)) + (not (node-degree1 n-169)) + (not (node-degree1 n-17)) + (not (node-degree1 n-172)) + (not (node-degree1 n-173)) + (not (node-degree1 n-174)) + (not (node-degree1 n-175)) + (not (node-degree1 n-179)) + (not (node-degree1 n-180)) + (not (node-degree1 n-182)) + (not (node-degree1 n-183)) + (not (node-degree1 n-185)) + (not (node-degree1 n-189)) + (not (node-degree1 n-193)) + (not (node-degree1 n-197)) + (not (node-degree1 n-2)) + (not (node-degree1 n-207)) + (not (node-degree1 n-21)) + (not (node-degree1 n-211)) + (not (node-degree1 n-213)) + (not (node-degree1 n-217)) + (not (node-degree1 n-222)) + (not (node-degree1 n-223)) + (not (node-degree1 n-230)) + (not (node-degree1 n-231)) + (not (node-degree1 n-233)) + (not (node-degree1 n-241)) + (not (node-degree1 n-25)) + (not (node-degree1 n-255)) + (not (node-degree1 n-257)) + (not (node-degree1 n-262)) + (not (node-degree1 n-263)) + (not (node-degree1 n-270)) + (not (node-degree1 n-271)) + (not (node-degree1 n-273)) + (not (node-degree1 n-281)) + (not (node-degree1 n-29)) + (not (node-degree1 n-295)) + (not (node-degree1 n-297)) + (not (node-degree1 n-3)) + (not (node-degree1 n-302)) + (not (node-degree1 n-303)) + (not (node-degree1 n-31)) + (not (node-degree1 n-310)) + (not (node-degree1 n-311)) + (not (node-degree1 n-313)) + (not (node-degree1 n-321)) + (not (node-degree1 n-335)) + (not (node-degree1 n-337)) + (not (node-degree1 n-342)) + (not (node-degree1 n-343)) + (not (node-degree1 n-35)) + (not (node-degree1 n-350)) + (not (node-degree1 n-351)) + (not (node-degree1 n-353)) + (not (node-degree1 n-36)) + (not (node-degree1 n-361)) + (not (node-degree1 n-367)) + (not (node-degree1 n-372)) + (not (node-degree1 n-375)) + (not (node-degree1 n-377)) + (not (node-degree1 n-381)) + (not (node-degree1 n-386)) + (not (node-degree1 n-387)) + (not (node-degree1 n-39)) + (not (node-degree1 n-392)) + (not (node-degree1 n-394)) + (not (node-degree1 n-395)) + (not (node-degree1 n-397)) + (not (node-degree1 n-405)) + (not (node-degree1 n-408)) + (not (node-degree1 n-41)) + (not (node-degree1 n-410)) + (not (node-degree1 n-415)) + (not (node-degree1 n-418)) + (not (node-degree1 n-419)) + (not (node-degree1 n-421)) + (not (node-degree1 n-425)) + (not (node-degree1 n-429)) + (not (node-degree1 n-434)) + (not (node-degree1 n-435)) + (not (node-degree1 n-442)) + (not (node-degree1 n-443)) + (not (node-degree1 n-445)) + (not (node-degree1 n-449)) + (not (node-degree1 n-45)) + (not (node-degree1 n-453)) + (not (node-degree1 n-467)) + (not (node-degree1 n-469)) + (not (node-degree1 n-474)) + (not (node-degree1 n-475)) + (not (node-degree1 n-482)) + (not (node-degree1 n-483)) + (not (node-degree1 n-485)) + (not (node-degree1 n-49)) + (not (node-degree1 n-493)) + (not (node-degree1 n-507)) + (not (node-degree1 n-509)) + (not (node-degree1 n-514)) + (not (node-degree1 n-515)) + (not (node-degree1 n-522)) + (not (node-degree1 n-523)) + (not (node-degree1 n-525)) + (not (node-degree1 n-533)) + (not (node-degree1 n-54)) + (not (node-degree1 n-547)) + (not (node-degree1 n-549)) + (not (node-degree1 n-55)) + (not (node-degree1 n-554)) + (not (node-degree1 n-555)) + (not (node-degree1 n-562)) + (not (node-degree1 n-563)) + (not (node-degree1 n-565)) + (not (node-degree1 n-573)) + (not (node-degree1 n-587)) + (not (node-degree1 n-589)) + (not (node-degree1 n-594)) + (not (node-degree1 n-595)) + (not (node-degree1 n-60)) + (not (node-degree1 n-602)) + (not (node-degree1 n-603)) + (not (node-degree1 n-605)) + (not (node-degree1 n-613)) + (not (node-degree1 n-62)) + (not (node-degree1 n-627)) + (not (node-degree1 n-629)) + (not (node-degree1 n-63)) + (not (node-degree1 n-634)) + (not (node-degree1 n-635)) + (not (node-degree1 n-642)) + (not (node-degree1 n-643)) + (not (node-degree1 n-645)) + (not (node-degree1 n-65)) + (not (node-degree1 n-653)) + (not (node-degree1 n-659)) + (not (node-degree1 n-664)) + (not (node-degree1 n-667)) + (not (node-degree1 n-669)) + (not (node-degree1 n-673)) + (not (node-degree1 n-676)) + (not (node-degree1 n-678)) + (not (node-degree1 n-686)) + (not (node-degree1 n-687)) + (not (node-degree1 n-689)) + (not (node-degree1 n-693)) + (not (node-degree1 n-697)) + (not (node-degree1 n-7)) + (not (node-degree1 n-702)) + (not (node-degree1 n-703)) + (not (node-degree1 n-710)) + (not (node-degree1 n-711)) + (not (node-degree1 n-713)) + (not (node-degree1 n-717)) + (not (node-degree1 n-721)) + (not (node-degree1 n-73)) + (not (node-degree1 n-735)) + (not (node-degree1 n-737)) + (not (node-degree1 n-742)) + (not (node-degree1 n-743)) + (not (node-degree1 n-750)) + (not (node-degree1 n-751)) + (not (node-degree1 n-753)) + (not (node-degree1 n-761)) + (not (node-degree1 n-77)) + (not (node-degree1 n-775)) + (not (node-degree1 n-777)) + (not (node-degree1 n-782)) + (not (node-degree1 n-783)) + (not (node-degree1 n-79)) + (not (node-degree1 n-790)) + (not (node-degree1 n-791)) + (not (node-degree1 n-793)) + (not (node-degree1 n-8)) + (not (node-degree1 n-801)) + (not (node-degree1 n-815)) + (not (node-degree1 n-817)) + (not (node-degree1 n-822)) + (not (node-degree1 n-823)) + (not (node-degree1 n-83)) + (not (node-degree1 n-830)) + (not (node-degree1 n-831)) + (not (node-degree1 n-833)) + (not (node-degree1 n-84)) + (not (node-degree1 n-841)) + (not (node-degree1 n-855)) + (not (node-degree1 n-857)) + (not (node-degree1 n-862)) + (not (node-degree1 n-863)) + (not (node-degree1 n-87)) + (not (node-degree1 n-870)) + (not (node-degree1 n-871)) + (not (node-degree1 n-873)) + (not (node-degree1 n-881)) + (not (node-degree1 n-895)) + (not (node-degree1 n-897)) + (not (node-degree1 n-902)) + (not (node-degree1 n-903)) + (not (node-degree1 n-910)) + (not (node-degree1 n-911)) + (not (node-degree1 n-913)) + (not (node-degree1 n-921)) + (not (node-degree1 n-927)) + (not (node-degree1 n-93)) + (not (node-degree1 n-935)) + (not (node-degree1 n-937)) + (not (node-degree1 n-941)) + (not (node-degree1 n-944)) + (not (node-degree1 n-946)) + (not (node-degree1 n-954)) + (not (node-degree1 n-955)) + (not (node-degree1 n-957)) + (not (node-degree1 n-961)) + (not (node-degree1 n-965)) + (not (node-degree1 n-97)) + (not (node-degree1 n-970)) + (not (node-degree1 n-971)) + (not (node-degree1 n-978)) + (not (node-degree1 n-979)) + (not (node-degree1 n-981)) + (not (node-degree1 n-985)) + (not (node-degree1 n-989)) + + (cell-capacity c-c4 cap-0) + (cell-capacity c-c5 cap-0) + (cell-capacity c-c8 cap-0) + (cell-capacity c-c9 cap-0) + (cell-capacity c-c10 cap-0) + (cell-capacity c-c12 cap-0) + (cell-capacity c-c15 cap-0) + (cell-capacity c-c18 cap-0) + (cell-capacity c-c21 cap-0) + (cell-capacity c-c25 cap-0) + (cell-capacity c-c26 cap-0) + (cell-capacity c-c30 cap-0) + (cell-capacity c-c32 cap-0) + (cell-capacity c-c33 cap-0) + (cell-capacity c-c34 cap-0) + (cell-capacity c-c36 cap-0) + (cell-capacity c-c37 cap-0) + (cell-capacity c-c40 cap-0) + (cell-capacity c-c41 cap-0) + (cell-capacity c-c43 cap-0) + (cell-capacity c-c44 cap-0) + (cell-capacity c-c46 cap-0) + (cell-capacity c-c48 cap-0) + (cell-capacity c-c49 cap-0) + (cell-capacity c-c53 cap-0) + (cell-capacity c-c55 cap-0) + (cell-capacity c-c60 cap-0) + (cell-capacity c-c64 cap-0) + (cell-capacity c-c66 cap-0) + (cell-capacity c-c68 cap-0) + (cell-capacity c-c74 cap-0) + (cell-capacity c-c75 cap-0) + (cell-capacity c-c76 cap-0) + (cell-capacity c-c78 cap-0) + (cell-capacity c-c81 cap-0) + (cell-capacity c-c82 cap-0) + (cell-capacity c-c86 cap-0) + (cell-capacity c-c87 cap-0) + (cell-capacity c-c92 cap-0) + (cell-capacity c-c94 cap-0) + (cell-capacity c-c102 cap-0) + (cell-capacity c-c109 cap-0) + (cell-capacity c-c111 cap-0) + (cell-capacity c-c117 cap-0) + (cell-capacity c-c118 cap-0) + (cell-capacity c-c119 cap-0) + (cell-capacity c-c120 cap-0) + (cell-capacity c-c121 cap-0) + (cell-capacity c-c124 cap-0) + (cell-capacity c-c128 cap-0) + (cell-capacity c-c131 cap-0) + (cell-capacity c-c135 cap-0) + (cell-capacity c-c136 cap-0) + (cell-capacity c-c137 cap-0) + (cell-capacity c-c140 cap-0) + (cell-capacity c-c142 cap-0) + (cell-capacity c-c144 cap-0) + (cell-capacity c-c147 cap-0) + (cell-capacity c-c155 cap-0) + (cell-capacity c-c156 cap-0) + (cell-capacity c-c161 cap-0) + (cell-capacity c-c163 cap-0) + (cell-capacity c-c171 cap-0) + (cell-capacity c-c174 cap-0) + (cell-capacity c-c177 cap-0) + (cell-capacity c-c178 cap-0) + (cell-capacity c-c180 cap-0) + (cell-capacity c-c181 cap-0) + (cell-capacity c-c185 cap-0) + (cell-capacity c-c186 cap-0) + (cell-capacity c-c192 cap-0) + (cell-capacity c-c193 cap-0) + (cell-capacity c-c195 cap-0) + (cell-capacity c-c200 cap-0) + (cell-capacity c-c201 cap-0) + (cell-capacity c-c207 cap-0) + (cell-capacity c-c211 cap-0) + (cell-capacity c-c213 cap-0) + (cell-capacity c-c216 cap-0) + (cell-capacity c-c218 cap-0) + (cell-capacity c-c219 cap-0) + (cell-capacity c-c221 cap-0) + (cell-capacity c-c222 cap-0) + (cell-capacity c-c224 cap-0) + (cell-capacity c-c226 cap-0) + (cell-capacity c-c227 cap-0) + (cell-capacity c-c228 cap-0) + (cell-capacity c-c229 cap-0) + (cell-capacity c-c233 cap-0) + (cell-capacity c-c234 cap-0) + (cell-capacity c-c237 cap-0) + (cell-capacity c-c238 cap-0) + (cell-capacity c-c239 cap-0) + (cell-capacity c-c245 cap-0) + (cell-capacity c-c248 cap-0) + (cell-capacity c-c249 cap-0) + (cell-capacity c-c253 cap-0) + (cell-capacity c-c256 cap-0) + (cell-capacity c-c259 cap-0) + (cell-capacity c-c261 cap-0) + (cell-capacity c-c263 cap-0) + (cell-capacity c-c267 cap-0) + (cell-capacity c-c268 cap-0) + (cell-capacity c-c270 cap-0) + (cell-capacity c-c272 cap-0) + (cell-capacity c-c276 cap-0) + (cell-capacity c-c286 cap-0) + (cell-capacity c-c289 cap-0) + (cell-capacity c-c297 cap-0) + (cell-capacity c-c304 cap-0) + (cell-capacity c-c305 cap-0) + (cell-capacity c-c307 cap-0) + (cell-capacity c-c312 cap-0) + (cell-capacity c-c313 cap-0) + (cell-capacity c-c316 cap-0) + (cell-capacity c-c320 cap-0) + (cell-capacity c-c321 cap-0) + (cell-capacity c-c323 cap-0) + (cell-capacity c-c332 cap-0) + (cell-capacity c-c333 cap-0) + (cell-capacity c-c334 cap-0) + (cell-capacity c-c336 cap-0) + (cell-capacity c-c339 cap-0) + (cell-capacity c-c340 cap-0) + (cell-capacity c-c344 cap-0) + (cell-capacity c-c349 cap-0) + (cell-capacity c-c353 cap-0) + (cell-capacity c-c357 cap-0) + (cell-capacity c-c360 cap-0) + (cell-capacity c-c361 cap-0) + (cell-capacity c-c364 cap-0) + (cell-capacity c-c366 cap-0) + (cell-capacity c-c368 cap-0) + (cell-capacity c-c371 cap-0) + (cell-capacity c-c374 cap-0) + (cell-capacity c-c376 cap-0) + (cell-capacity c-c381 cap-0) + (cell-capacity c-c382 cap-0) + (cell-capacity c-c383 cap-0) + (cell-capacity c-c386 cap-0) + (cell-capacity c-c388 cap-0) + (cell-capacity c-c389 cap-0) + (cell-capacity c-c394 cap-0) + (cell-capacity c-c395 cap-0) + (cell-capacity c-c399 cap-0) + (cell-capacity c-c403 cap-0) + (cell-capacity c-c406 cap-0) + (cell-capacity c-c407 cap-0) + (cell-capacity c-c413 cap-0) + (cell-capacity c-c419 cap-0) + (cell-capacity c-c421 cap-0) + (cell-capacity c-c423 cap-0) + (cell-capacity c-c425 cap-0) + (cell-capacity c-c428 cap-0) + (cell-capacity c-c430 cap-0) + ) +) +) + + + diff --git a/slitherlink-opt23-adl/p20.pddl b/slitherlink-opt23-adl/p20.pddl new file mode 100644 index 00000000..9df03a9d --- /dev/null +++ b/slitherlink-opt23-adl/p20.pddl @@ -0,0 +1,2291 @@ +(define (problem sliterlink-23-generalized_slitherlink-0-0) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0 n-1 n-100 n-1009 n-101 n-1010 n-1012 n-1013 n-1016 n-1017 n-1033 n-1034 n-1036 n-1037 n-104 n-1040 n-1041 n-1044 n-1045 n-105 n-1057 n-1058 n-1060 n-1061 n-1064 n-1065 n-1081 n-1082 n-1084 n-1085 n-1088 n-1089 n-1105 n-1106 n-1108 n-1109 n-1112 n-1113 n-1129 n-113 n-1130 n-1132 n-1133 n-1136 n-1137 n-1153 n-1154 n-1156 n-1157 n-116 n-1160 n-1161 n-1177 n-1178 n-1180 n-1181 n-1184 n-1185 n-12 n-1201 n-1202 n-1204 n-1205 n-1208 n-1209 n-121 n-1212 n-1213 n-122 n-1225 n-1226 n-1228 n-1229 n-1232 n-1233 n-124 n-1249 n-125 n-1250 n-1252 n-1253 n-1256 n-1257 n-1273 n-1274 n-1276 n-1277 n-128 n-1280 n-1281 n-129 n-1297 n-1298 n-13 n-1300 n-1301 n-1304 n-1305 n-132 n-1321 n-1322 n-1324 n-1325 n-1328 n-1329 n-133 n-1345 n-1346 n-1348 n-1349 n-1352 n-1353 n-1356 n-1357 n-136 n-1369 n-137 n-1370 n-1372 n-1373 n-1376 n-1377 n-1393 n-1394 n-1396 n-1397 n-1400 n-1401 n-1417 n-1418 n-1420 n-1421 n-1424 n-1425 n-1441 n-1442 n-1444 n-1445 n-1448 n-1449 n-145 n-146 n-148 n-149 n-152 n-153 n-16 n-169 n-17 n-170 n-172 n-173 n-176 n-177 n-193 n-194 n-196 n-197 n-2 n-20 n-200 n-201 n-217 n-218 n-220 n-221 n-224 n-225 n-24 n-240 n-241 n-242 n-243 n-244 n-245 n-248 n-249 n-25 n-26 n-265 n-266 n-268 n-269 n-27 n-272 n-273 n-276 n-277 n-28 n-280 n-281 n-289 n-29 n-290 n-292 n-293 n-296 n-297 n-3 n-313 n-314 n-316 n-317 n-32 n-320 n-321 n-33 n-337 n-338 n-340 n-341 n-344 n-345 n-361 n-362 n-364 n-365 n-368 n-369 n-385 n-386 n-388 n-389 n-392 n-393 n-4 n-408 n-409 n-41 n-410 n-411 n-412 n-413 n-416 n-417 n-433 n-434 n-436 n-437 n-44 n-440 n-441 n-444 n-445 n-448 n-449 n-457 n-458 n-460 n-461 n-464 n-465 n-48 n-481 n-482 n-484 n-485 n-488 n-489 n-49 n-5 n-50 n-505 n-506 n-508 n-509 n-51 n-512 n-513 n-52 n-529 n-53 n-530 n-532 n-533 n-536 n-537 n-553 n-554 n-556 n-557 n-56 n-560 n-561 n-57 n-577 n-578 n-580 n-581 n-584 n-585 n-600 n-601 n-602 n-603 n-604 n-605 n-608 n-609 n-625 n-626 n-628 n-629 n-632 n-633 n-636 n-637 n-640 n-641 n-649 n-65 n-650 n-652 n-653 n-656 n-657 n-673 n-674 n-676 n-677 n-68 n-680 n-681 n-697 n-698 n-700 n-701 n-704 n-705 n-72 n-721 n-722 n-724 n-725 n-728 n-729 n-73 n-74 n-745 n-746 n-748 n-749 n-75 n-752 n-753 n-76 n-769 n-77 n-770 n-772 n-773 n-776 n-777 n-793 n-794 n-796 n-797 n-8 n-80 n-800 n-801 n-81 n-816 n-817 n-818 n-819 n-820 n-821 n-824 n-825 n-841 n-842 n-844 n-845 n-848 n-849 n-852 n-853 n-865 n-866 n-868 n-869 n-872 n-873 n-889 n-89 n-890 n-892 n-893 n-896 n-897 n-9 n-913 n-914 n-916 n-917 n-92 n-920 n-921 n-937 n-938 n-940 n-941 n-944 n-945 n-96 n-961 n-962 n-964 n-965 n-968 n-969 n-97 n-98 n-985 n-986 n-988 n-989 n-99 n-992 n-993 - node + c-c0 c-c1 c-c10 c-c100 c-c101 c-c102 c-c103 c-c104 c-c105 c-c106 c-c107 c-c108 c-c109 c-c11 c-c110 c-c111 c-c112 c-c113 c-c114 c-c115 c-c116 c-c117 c-c118 c-c119 c-c12 c-c120 c-c121 c-c122 c-c123 c-c124 c-c125 c-c126 c-c127 c-c128 c-c129 c-c13 c-c130 c-c131 c-c132 c-c133 c-c134 c-c135 c-c136 c-c137 c-c138 c-c139 c-c14 c-c140 c-c141 c-c142 c-c143 c-c144 c-c145 c-c146 c-c147 c-c148 c-c149 c-c15 c-c150 c-c151 c-c152 c-c153 c-c154 c-c155 c-c156 c-c157 c-c158 c-c159 c-c16 c-c160 c-c161 c-c162 c-c163 c-c164 c-c165 c-c166 c-c167 c-c168 c-c169 c-c17 c-c170 c-c171 c-c172 c-c173 c-c174 c-c175 c-c176 c-c177 c-c178 c-c179 c-c18 c-c180 c-c181 c-c182 c-c183 c-c184 c-c185 c-c186 c-c187 c-c188 c-c189 c-c19 c-c190 c-c191 c-c192 c-c193 c-c194 c-c195 c-c196 c-c197 c-c198 c-c199 c-c2 c-c20 c-c200 c-c201 c-c202 c-c203 c-c204 c-c205 c-c206 c-c207 c-c208 c-c209 c-c21 c-c210 c-c211 c-c212 c-c213 c-c214 c-c215 c-c216 c-c217 c-c218 c-c219 c-c22 c-c220 c-c221 c-c222 c-c223 c-c224 c-c225 c-c226 c-c227 c-c228 c-c229 c-c23 c-c230 c-c231 c-c232 c-c233 c-c234 c-c235 c-c236 c-c237 c-c238 c-c239 c-c24 c-c240 c-c241 c-c242 c-c243 c-c244 c-c245 c-c246 c-c247 c-c248 c-c249 c-c25 c-c250 c-c251 c-c252 c-c253 c-c254 c-c255 c-c256 c-c257 c-c258 c-c259 c-c26 c-c260 c-c261 c-c262 c-c263 c-c264 c-c265 c-c266 c-c267 c-c268 c-c269 c-c27 c-c270 c-c271 c-c272 c-c273 c-c274 c-c275 c-c276 c-c277 c-c278 c-c279 c-c28 c-c280 c-c281 c-c282 c-c283 c-c284 c-c285 c-c286 c-c287 c-c288 c-c289 c-c29 c-c290 c-c291 c-c292 c-c293 c-c294 c-c295 c-c296 c-c297 c-c298 c-c299 c-c3 c-c30 c-c300 c-c301 c-c302 c-c303 c-c304 c-c305 c-c306 c-c307 c-c308 c-c309 c-c31 c-c310 c-c311 c-c312 c-c313 c-c314 c-c315 c-c316 c-c317 c-c318 c-c319 c-c32 c-c320 c-c321 c-c322 c-c323 c-c324 c-c325 c-c326 c-c327 c-c328 c-c329 c-c33 c-c330 c-c331 c-c332 c-c333 c-c334 c-c335 c-c336 c-c337 c-c338 c-c339 c-c34 c-c340 c-c341 c-c342 c-c343 c-c344 c-c345 c-c346 c-c347 c-c348 c-c349 c-c35 c-c350 c-c351 c-c352 c-c353 c-c354 c-c355 c-c356 c-c357 c-c358 c-c359 c-c36 c-c360 c-c361 c-c362 c-c363 c-c364 c-c365 c-c37 c-c38 c-c39 c-c4 c-c40 c-c41 c-c42 c-c43 c-c44 c-c45 c-c46 c-c47 c-c48 c-c49 c-c5 c-c50 c-c51 c-c52 c-c53 c-c54 c-c55 c-c56 c-c57 c-c58 c-c59 c-c6 c-c60 c-c61 c-c62 c-c63 c-c64 c-c65 c-c66 c-c67 c-c68 c-c69 c-c7 c-c70 c-c71 c-c72 c-c73 c-c74 c-c75 c-c76 c-c77 c-c78 c-c79 c-c8 c-c80 c-c81 c-c82 c-c83 c-c84 c-c85 c-c86 c-c87 c-c88 c-c89 c-c9 c-c90 c-c91 c-c92 c-c93 c-c94 c-c95 c-c96 c-c97 c-c98 c-c99 c-outside-cell-0-41 c-outside-cell-100-243 c-outside-cell-1009-1012 c-outside-cell-1012-1013 c-outside-cell-1013-1016 c-outside-cell-1016-1177 c-outside-cell-1040-1041 c-outside-cell-1041-1044 c-outside-cell-1044-1045 c-outside-cell-1045-848 c-outside-cell-113-116 c-outside-cell-116-99 c-outside-cell-1177-1180 c-outside-cell-1180-1181 c-outside-cell-1181-1184 c-outside-cell-1184-1321 c-outside-cell-12-13 c-outside-cell-1208-1209 c-outside-cell-1209-1212 c-outside-cell-1212-1213 c-outside-cell-1213-1040 c-outside-cell-13-16 c-outside-cell-132-133 c-outside-cell-1321-1324 c-outside-cell-1324-1325 c-outside-cell-1325-1328 c-outside-cell-1328-1441 c-outside-cell-133-136 c-outside-cell-1348-1349 c-outside-cell-1349-1352 c-outside-cell-1352-1353 c-outside-cell-1353-1356 c-outside-cell-1356-1357 c-outside-cell-1357-1208 c-outside-cell-136-137 c-outside-cell-137-12 c-outside-cell-1372-1373 c-outside-cell-1373-1376 c-outside-cell-1376-1377 c-outside-cell-1377-1348 c-outside-cell-1396-1397 c-outside-cell-1397-1400 c-outside-cell-1400-1401 c-outside-cell-1401-1372 c-outside-cell-1420-1421 c-outside-cell-1421-1424 c-outside-cell-1424-1425 c-outside-cell-1425-1396 c-outside-cell-1441-1444 c-outside-cell-1444-1445 c-outside-cell-1445-1448 c-outside-cell-1448-1449 c-outside-cell-1449-1420 c-outside-cell-16-17 c-outside-cell-17-20 c-outside-cell-20-3 c-outside-cell-24-65 c-outside-cell-240-241 c-outside-cell-241-244 c-outside-cell-243-240 c-outside-cell-244-411 c-outside-cell-27-24 c-outside-cell-276-277 c-outside-cell-277-280 c-outside-cell-280-281 c-outside-cell-281-132 c-outside-cell-3-0 c-outside-cell-408-409 c-outside-cell-409-412 c-outside-cell-41-44 c-outside-cell-411-408 c-outside-cell-412-603 c-outside-cell-44-27 c-outside-cell-444-445 c-outside-cell-445-448 c-outside-cell-448-449 c-outside-cell-449-276 c-outside-cell-48-89 c-outside-cell-51-48 c-outside-cell-600-601 c-outside-cell-601-604 c-outside-cell-603-600 c-outside-cell-604-819 c-outside-cell-632-633 c-outside-cell-633-636 c-outside-cell-636-637 c-outside-cell-637-640 c-outside-cell-640-641 c-outside-cell-641-444 c-outside-cell-65-68 c-outside-cell-68-51 c-outside-cell-72-113 c-outside-cell-75-72 c-outside-cell-816-817 c-outside-cell-817-820 c-outside-cell-819-816 c-outside-cell-820-821 c-outside-cell-821-824 c-outside-cell-824-1009 c-outside-cell-848-849 c-outside-cell-849-852 c-outside-cell-852-853 c-outside-cell-853-632 c-outside-cell-89-92 c-outside-cell-92-75 c-outside-cell-96-97 c-outside-cell-97-100 c-outside-cell-99-96 - cell +) + +(:init + (cell-capacity-inc cap-0 cap-1) + (cell-capacity-inc cap-1 cap-2) + (cell-capacity-inc cap-2 cap-3) + (cell-capacity-inc cap-3 cap-4) + + (cell-capacity c-c0 cap-4) + (cell-capacity c-c1 cap-4) + (cell-capacity c-c10 cap-4) + (cell-capacity c-c100 cap-4) + (cell-capacity c-c101 cap-4) + (cell-capacity c-c102 cap-3) + (cell-capacity c-c103 cap-4) + (cell-capacity c-c104 cap-4) + (cell-capacity c-c105 cap-4) + (cell-capacity c-c106 cap-4) + (cell-capacity c-c107 cap-4) + (cell-capacity c-c108 cap-4) + (cell-capacity c-c109 cap-4) + (cell-capacity c-c11 cap-3) + (cell-capacity c-c110 cap-3) + (cell-capacity c-c111 cap-2) + (cell-capacity c-c112 cap-4) + (cell-capacity c-c113 cap-4) + (cell-capacity c-c114 cap-4) + (cell-capacity c-c115 cap-4) + (cell-capacity c-c116 cap-4) + (cell-capacity c-c117 cap-4) + (cell-capacity c-c118 cap-4) + (cell-capacity c-c119 cap-4) + (cell-capacity c-c12 cap-4) + (cell-capacity c-c120 cap-4) + (cell-capacity c-c121 cap-4) + (cell-capacity c-c122 cap-3) + (cell-capacity c-c123 cap-4) + (cell-capacity c-c124 cap-4) + (cell-capacity c-c125 cap-2) + (cell-capacity c-c126 cap-4) + (cell-capacity c-c127 cap-4) + (cell-capacity c-c128 cap-3) + (cell-capacity c-c129 cap-4) + (cell-capacity c-c13 cap-4) + (cell-capacity c-c130 cap-2) + (cell-capacity c-c131 cap-4) + (cell-capacity c-c132 cap-4) + (cell-capacity c-c133 cap-3) + (cell-capacity c-c134 cap-1) + (cell-capacity c-c135 cap-3) + (cell-capacity c-c136 cap-4) + (cell-capacity c-c137 cap-2) + (cell-capacity c-c138 cap-4) + (cell-capacity c-c139 cap-4) + (cell-capacity c-c14 cap-3) + (cell-capacity c-c140 cap-4) + (cell-capacity c-c141 cap-4) + (cell-capacity c-c142 cap-1) + (cell-capacity c-c143 cap-4) + (cell-capacity c-c144 cap-4) + (cell-capacity c-c145 cap-2) + (cell-capacity c-c146 cap-1) + (cell-capacity c-c147 cap-2) + (cell-capacity c-c148 cap-2) + (cell-capacity c-c149 cap-4) + (cell-capacity c-c15 cap-4) + (cell-capacity c-c150 cap-4) + (cell-capacity c-c151 cap-3) + (cell-capacity c-c152 cap-2) + (cell-capacity c-c153 cap-1) + (cell-capacity c-c154 cap-4) + (cell-capacity c-c155 cap-4) + (cell-capacity c-c156 cap-4) + (cell-capacity c-c157 cap-4) + (cell-capacity c-c158 cap-2) + (cell-capacity c-c159 cap-4) + (cell-capacity c-c16 cap-2) + (cell-capacity c-c160 cap-4) + (cell-capacity c-c161 cap-2) + (cell-capacity c-c162 cap-1) + (cell-capacity c-c163 cap-1) + (cell-capacity c-c164 cap-2) + (cell-capacity c-c165 cap-3) + (cell-capacity c-c166 cap-2) + (cell-capacity c-c167 cap-4) + (cell-capacity c-c168 cap-4) + (cell-capacity c-c169 cap-2) + (cell-capacity c-c17 cap-4) + (cell-capacity c-c170 cap-2) + (cell-capacity c-c171 cap-3) + (cell-capacity c-c172 cap-4) + (cell-capacity c-c173 cap-1) + (cell-capacity c-c174 cap-4) + (cell-capacity c-c175 cap-4) + (cell-capacity c-c176 cap-4) + (cell-capacity c-c177 cap-3) + (cell-capacity c-c178 cap-4) + (cell-capacity c-c179 cap-1) + (cell-capacity c-c18 cap-3) + (cell-capacity c-c180 cap-4) + (cell-capacity c-c181 cap-2) + (cell-capacity c-c182 cap-4) + (cell-capacity c-c183 cap-2) + (cell-capacity c-c184 cap-4) + (cell-capacity c-c185 cap-4) + (cell-capacity c-c186 cap-2) + (cell-capacity c-c187 cap-2) + (cell-capacity c-c188 cap-2) + (cell-capacity c-c189 cap-2) + (cell-capacity c-c19 cap-4) + (cell-capacity c-c190 cap-2) + (cell-capacity c-c191 cap-2) + (cell-capacity c-c192 cap-4) + (cell-capacity c-c193 cap-4) + (cell-capacity c-c194 cap-2) + (cell-capacity c-c195 cap-4) + (cell-capacity c-c196 cap-4) + (cell-capacity c-c197 cap-2) + (cell-capacity c-c198 cap-4) + (cell-capacity c-c199 cap-4) + (cell-capacity c-c2 cap-2) + (cell-capacity c-c20 cap-4) + (cell-capacity c-c200 cap-4) + (cell-capacity c-c201 cap-4) + (cell-capacity c-c202 cap-2) + (cell-capacity c-c203 cap-4) + (cell-capacity c-c204 cap-4) + (cell-capacity c-c205 cap-4) + (cell-capacity c-c206 cap-1) + (cell-capacity c-c207 cap-2) + (cell-capacity c-c208 cap-4) + (cell-capacity c-c209 cap-2) + (cell-capacity c-c21 cap-3) + (cell-capacity c-c210 cap-1) + (cell-capacity c-c211 cap-1) + (cell-capacity c-c212 cap-2) + (cell-capacity c-c213 cap-2) + (cell-capacity c-c214 cap-2) + (cell-capacity c-c215 cap-2) + (cell-capacity c-c216 cap-4) + (cell-capacity c-c217 cap-4) + (cell-capacity c-c218 cap-1) + (cell-capacity c-c219 cap-4) + (cell-capacity c-c22 cap-4) + (cell-capacity c-c220 cap-4) + (cell-capacity c-c221 cap-4) + (cell-capacity c-c222 cap-2) + (cell-capacity c-c223 cap-4) + (cell-capacity c-c224 cap-4) + (cell-capacity c-c225 cap-3) + (cell-capacity c-c226 cap-3) + (cell-capacity c-c227 cap-4) + (cell-capacity c-c228 cap-4) + (cell-capacity c-c229 cap-2) + (cell-capacity c-c23 cap-4) + (cell-capacity c-c230 cap-4) + (cell-capacity c-c231 cap-4) + (cell-capacity c-c232 cap-1) + (cell-capacity c-c233 cap-2) + (cell-capacity c-c234 cap-4) + (cell-capacity c-c235 cap-4) + (cell-capacity c-c236 cap-1) + (cell-capacity c-c237 cap-1) + (cell-capacity c-c238 cap-2) + (cell-capacity c-c239 cap-4) + (cell-capacity c-c24 cap-2) + (cell-capacity c-c240 cap-4) + (cell-capacity c-c241 cap-2) + (cell-capacity c-c242 cap-4) + (cell-capacity c-c243 cap-2) + (cell-capacity c-c244 cap-4) + (cell-capacity c-c245 cap-3) + (cell-capacity c-c246 cap-4) + (cell-capacity c-c247 cap-4) + (cell-capacity c-c248 cap-2) + (cell-capacity c-c249 cap-2) + (cell-capacity c-c25 cap-4) + (cell-capacity c-c250 cap-4) + (cell-capacity c-c251 cap-4) + (cell-capacity c-c252 cap-4) + (cell-capacity c-c253 cap-3) + (cell-capacity c-c254 cap-4) + (cell-capacity c-c255 cap-2) + (cell-capacity c-c256 cap-2) + (cell-capacity c-c257 cap-2) + (cell-capacity c-c258 cap-4) + (cell-capacity c-c259 cap-2) + (cell-capacity c-c26 cap-4) + (cell-capacity c-c260 cap-4) + (cell-capacity c-c261 cap-3) + (cell-capacity c-c262 cap-4) + (cell-capacity c-c263 cap-4) + (cell-capacity c-c264 cap-4) + (cell-capacity c-c265 cap-1) + (cell-capacity c-c266 cap-2) + (cell-capacity c-c267 cap-4) + (cell-capacity c-c268 cap-4) + (cell-capacity c-c269 cap-4) + (cell-capacity c-c27 cap-4) + (cell-capacity c-c270 cap-2) + (cell-capacity c-c271 cap-4) + (cell-capacity c-c272 cap-4) + (cell-capacity c-c273 cap-4) + (cell-capacity c-c274 cap-4) + (cell-capacity c-c275 cap-4) + (cell-capacity c-c276 cap-2) + (cell-capacity c-c277 cap-1) + (cell-capacity c-c278 cap-2) + (cell-capacity c-c279 cap-4) + (cell-capacity c-c28 cap-2) + (cell-capacity c-c280 cap-4) + (cell-capacity c-c281 cap-4) + (cell-capacity c-c282 cap-4) + (cell-capacity c-c283 cap-4) + (cell-capacity c-c284 cap-4) + (cell-capacity c-c285 cap-4) + (cell-capacity c-c286 cap-3) + (cell-capacity c-c287 cap-4) + (cell-capacity c-c288 cap-4) + (cell-capacity c-c289 cap-3) + (cell-capacity c-c29 cap-4) + (cell-capacity c-c290 cap-4) + (cell-capacity c-c291 cap-3) + (cell-capacity c-c292 cap-4) + (cell-capacity c-c293 cap-4) + (cell-capacity c-c294 cap-4) + (cell-capacity c-c295 cap-3) + (cell-capacity c-c296 cap-4) + (cell-capacity c-c297 cap-2) + (cell-capacity c-c298 cap-4) + (cell-capacity c-c299 cap-1) + (cell-capacity c-c3 cap-4) + (cell-capacity c-c30 cap-4) + (cell-capacity c-c300 cap-4) + (cell-capacity c-c301 cap-4) + (cell-capacity c-c302 cap-4) + (cell-capacity c-c303 cap-3) + (cell-capacity c-c304 cap-4) + (cell-capacity c-c305 cap-1) + (cell-capacity c-c306 cap-2) + (cell-capacity c-c307 cap-3) + (cell-capacity c-c308 cap-3) + (cell-capacity c-c309 cap-2) + (cell-capacity c-c31 cap-4) + (cell-capacity c-c310 cap-4) + (cell-capacity c-c311 cap-1) + (cell-capacity c-c312 cap-4) + (cell-capacity c-c313 cap-4) + (cell-capacity c-c314 cap-2) + (cell-capacity c-c315 cap-4) + (cell-capacity c-c316 cap-1) + (cell-capacity c-c317 cap-2) + (cell-capacity c-c318 cap-4) + (cell-capacity c-c319 cap-4) + (cell-capacity c-c32 cap-3) + (cell-capacity c-c320 cap-4) + (cell-capacity c-c321 cap-3) + (cell-capacity c-c322 cap-4) + (cell-capacity c-c323 cap-4) + (cell-capacity c-c324 cap-4) + (cell-capacity c-c325 cap-2) + (cell-capacity c-c326 cap-4) + (cell-capacity c-c327 cap-4) + (cell-capacity c-c328 cap-4) + (cell-capacity c-c329 cap-4) + (cell-capacity c-c33 cap-4) + (cell-capacity c-c330 cap-4) + (cell-capacity c-c331 cap-4) + (cell-capacity c-c332 cap-2) + (cell-capacity c-c333 cap-1) + (cell-capacity c-c334 cap-1) + (cell-capacity c-c335 cap-1) + (cell-capacity c-c336 cap-4) + (cell-capacity c-c337 cap-1) + (cell-capacity c-c338 cap-4) + (cell-capacity c-c339 cap-4) + (cell-capacity c-c34 cap-3) + (cell-capacity c-c340 cap-1) + (cell-capacity c-c341 cap-1) + (cell-capacity c-c342 cap-4) + (cell-capacity c-c343 cap-4) + (cell-capacity c-c344 cap-3) + (cell-capacity c-c345 cap-4) + (cell-capacity c-c346 cap-4) + (cell-capacity c-c347 cap-4) + (cell-capacity c-c348 cap-4) + (cell-capacity c-c349 cap-4) + (cell-capacity c-c35 cap-4) + (cell-capacity c-c350 cap-3) + (cell-capacity c-c351 cap-2) + (cell-capacity c-c352 cap-4) + (cell-capacity c-c353 cap-3) + (cell-capacity c-c354 cap-2) + (cell-capacity c-c355 cap-2) + (cell-capacity c-c356 cap-3) + (cell-capacity c-c357 cap-4) + (cell-capacity c-c358 cap-2) + (cell-capacity c-c359 cap-4) + (cell-capacity c-c36 cap-1) + (cell-capacity c-c360 cap-3) + (cell-capacity c-c361 cap-3) + (cell-capacity c-c362 cap-4) + (cell-capacity c-c363 cap-2) + (cell-capacity c-c364 cap-4) + (cell-capacity c-c365 cap-2) + (cell-capacity c-c37 cap-1) + (cell-capacity c-c38 cap-3) + (cell-capacity c-c39 cap-4) + (cell-capacity c-c4 cap-3) + (cell-capacity c-c40 cap-4) + (cell-capacity c-c41 cap-1) + (cell-capacity c-c42 cap-4) + (cell-capacity c-c43 cap-4) + (cell-capacity c-c44 cap-1) + (cell-capacity c-c45 cap-4) + (cell-capacity c-c46 cap-4) + (cell-capacity c-c47 cap-2) + (cell-capacity c-c48 cap-2) + (cell-capacity c-c49 cap-2) + (cell-capacity c-c5 cap-2) + (cell-capacity c-c50 cap-4) + (cell-capacity c-c51 cap-4) + (cell-capacity c-c52 cap-4) + (cell-capacity c-c53 cap-4) + (cell-capacity c-c54 cap-1) + (cell-capacity c-c55 cap-2) + (cell-capacity c-c56 cap-4) + (cell-capacity c-c57 cap-4) + (cell-capacity c-c58 cap-2) + (cell-capacity c-c59 cap-3) + (cell-capacity c-c6 cap-4) + (cell-capacity c-c60 cap-4) + (cell-capacity c-c61 cap-2) + (cell-capacity c-c62 cap-4) + (cell-capacity c-c63 cap-4) + (cell-capacity c-c64 cap-3) + (cell-capacity c-c65 cap-4) + (cell-capacity c-c66 cap-4) + (cell-capacity c-c67 cap-3) + (cell-capacity c-c68 cap-4) + (cell-capacity c-c69 cap-2) + (cell-capacity c-c7 cap-4) + (cell-capacity c-c70 cap-4) + (cell-capacity c-c71 cap-2) + (cell-capacity c-c72 cap-1) + (cell-capacity c-c73 cap-1) + (cell-capacity c-c74 cap-4) + (cell-capacity c-c75 cap-4) + (cell-capacity c-c76 cap-4) + (cell-capacity c-c77 cap-1) + (cell-capacity c-c78 cap-4) + (cell-capacity c-c79 cap-1) + (cell-capacity c-c8 cap-4) + (cell-capacity c-c80 cap-4) + (cell-capacity c-c81 cap-2) + (cell-capacity c-c82 cap-3) + (cell-capacity c-c83 cap-1) + (cell-capacity c-c84 cap-2) + (cell-capacity c-c85 cap-4) + (cell-capacity c-c86 cap-4) + (cell-capacity c-c87 cap-2) + (cell-capacity c-c88 cap-4) + (cell-capacity c-c89 cap-4) + (cell-capacity c-c9 cap-1) + (cell-capacity c-c90 cap-4) + (cell-capacity c-c91 cap-4) + (cell-capacity c-c92 cap-4) + (cell-capacity c-c93 cap-2) + (cell-capacity c-c94 cap-2) + (cell-capacity c-c95 cap-4) + (cell-capacity c-c96 cap-4) + (cell-capacity c-c97 cap-2) + (cell-capacity c-c98 cap-3) + (cell-capacity c-c99 cap-2) + (cell-capacity c-outside-cell-0-41 cap-1) + (cell-capacity c-outside-cell-100-243 cap-1) + (cell-capacity c-outside-cell-1009-1012 cap-1) + (cell-capacity c-outside-cell-1012-1013 cap-1) + (cell-capacity c-outside-cell-1013-1016 cap-1) + (cell-capacity c-outside-cell-1016-1177 cap-1) + (cell-capacity c-outside-cell-1040-1041 cap-1) + (cell-capacity c-outside-cell-1041-1044 cap-1) + (cell-capacity c-outside-cell-1044-1045 cap-1) + (cell-capacity c-outside-cell-1045-848 cap-1) + (cell-capacity c-outside-cell-113-116 cap-1) + (cell-capacity c-outside-cell-116-99 cap-1) + (cell-capacity c-outside-cell-1177-1180 cap-1) + (cell-capacity c-outside-cell-1180-1181 cap-1) + (cell-capacity c-outside-cell-1181-1184 cap-1) + (cell-capacity c-outside-cell-1184-1321 cap-1) + (cell-capacity c-outside-cell-12-13 cap-1) + (cell-capacity c-outside-cell-1208-1209 cap-1) + (cell-capacity c-outside-cell-1209-1212 cap-1) + (cell-capacity c-outside-cell-1212-1213 cap-1) + (cell-capacity c-outside-cell-1213-1040 cap-1) + (cell-capacity c-outside-cell-13-16 cap-1) + (cell-capacity c-outside-cell-132-133 cap-1) + (cell-capacity c-outside-cell-1321-1324 cap-1) + (cell-capacity c-outside-cell-1324-1325 cap-1) + (cell-capacity c-outside-cell-1325-1328 cap-1) + (cell-capacity c-outside-cell-1328-1441 cap-1) + (cell-capacity c-outside-cell-133-136 cap-1) + (cell-capacity c-outside-cell-1348-1349 cap-1) + (cell-capacity c-outside-cell-1349-1352 cap-1) + (cell-capacity c-outside-cell-1352-1353 cap-1) + (cell-capacity c-outside-cell-1353-1356 cap-1) + (cell-capacity c-outside-cell-1356-1357 cap-1) + (cell-capacity c-outside-cell-1357-1208 cap-1) + (cell-capacity c-outside-cell-136-137 cap-1) + (cell-capacity c-outside-cell-137-12 cap-1) + (cell-capacity c-outside-cell-1372-1373 cap-1) + (cell-capacity c-outside-cell-1373-1376 cap-1) + (cell-capacity c-outside-cell-1376-1377 cap-1) + (cell-capacity c-outside-cell-1377-1348 cap-1) + (cell-capacity c-outside-cell-1396-1397 cap-1) + (cell-capacity c-outside-cell-1397-1400 cap-1) + (cell-capacity c-outside-cell-1400-1401 cap-1) + (cell-capacity c-outside-cell-1401-1372 cap-1) + (cell-capacity c-outside-cell-1420-1421 cap-1) + (cell-capacity c-outside-cell-1421-1424 cap-1) + (cell-capacity c-outside-cell-1424-1425 cap-1) + (cell-capacity c-outside-cell-1425-1396 cap-1) + (cell-capacity c-outside-cell-1441-1444 cap-1) + (cell-capacity c-outside-cell-1444-1445 cap-1) + (cell-capacity c-outside-cell-1445-1448 cap-1) + (cell-capacity c-outside-cell-1448-1449 cap-1) + (cell-capacity c-outside-cell-1449-1420 cap-1) + (cell-capacity c-outside-cell-16-17 cap-1) + (cell-capacity c-outside-cell-17-20 cap-1) + (cell-capacity c-outside-cell-20-3 cap-1) + (cell-capacity c-outside-cell-24-65 cap-1) + (cell-capacity c-outside-cell-240-241 cap-1) + (cell-capacity c-outside-cell-241-244 cap-1) + (cell-capacity c-outside-cell-243-240 cap-1) + (cell-capacity c-outside-cell-244-411 cap-1) + (cell-capacity c-outside-cell-27-24 cap-1) + (cell-capacity c-outside-cell-276-277 cap-1) + (cell-capacity c-outside-cell-277-280 cap-1) + (cell-capacity c-outside-cell-280-281 cap-1) + (cell-capacity c-outside-cell-281-132 cap-1) + (cell-capacity c-outside-cell-3-0 cap-1) + (cell-capacity c-outside-cell-408-409 cap-1) + (cell-capacity c-outside-cell-409-412 cap-1) + (cell-capacity c-outside-cell-41-44 cap-1) + (cell-capacity c-outside-cell-411-408 cap-1) + (cell-capacity c-outside-cell-412-603 cap-1) + (cell-capacity c-outside-cell-44-27 cap-1) + (cell-capacity c-outside-cell-444-445 cap-1) + (cell-capacity c-outside-cell-445-448 cap-1) + (cell-capacity c-outside-cell-448-449 cap-1) + (cell-capacity c-outside-cell-449-276 cap-1) + (cell-capacity c-outside-cell-48-89 cap-1) + (cell-capacity c-outside-cell-51-48 cap-1) + (cell-capacity c-outside-cell-600-601 cap-1) + (cell-capacity c-outside-cell-601-604 cap-1) + (cell-capacity c-outside-cell-603-600 cap-1) + (cell-capacity c-outside-cell-604-819 cap-1) + (cell-capacity c-outside-cell-632-633 cap-1) + (cell-capacity c-outside-cell-633-636 cap-1) + (cell-capacity c-outside-cell-636-637 cap-1) + (cell-capacity c-outside-cell-637-640 cap-1) + (cell-capacity c-outside-cell-640-641 cap-1) + (cell-capacity c-outside-cell-641-444 cap-1) + (cell-capacity c-outside-cell-65-68 cap-1) + (cell-capacity c-outside-cell-68-51 cap-1) + (cell-capacity c-outside-cell-72-113 cap-1) + (cell-capacity c-outside-cell-75-72 cap-1) + (cell-capacity c-outside-cell-816-817 cap-1) + (cell-capacity c-outside-cell-817-820 cap-1) + (cell-capacity c-outside-cell-819-816 cap-1) + (cell-capacity c-outside-cell-820-821 cap-1) + (cell-capacity c-outside-cell-821-824 cap-1) + (cell-capacity c-outside-cell-824-1009 cap-1) + (cell-capacity c-outside-cell-848-849 cap-1) + (cell-capacity c-outside-cell-849-852 cap-1) + (cell-capacity c-outside-cell-852-853 cap-1) + (cell-capacity c-outside-cell-853-632 cap-1) + (cell-capacity c-outside-cell-89-92 cap-1) + (cell-capacity c-outside-cell-92-75 cap-1) + (cell-capacity c-outside-cell-96-97 cap-1) + (cell-capacity c-outside-cell-97-100 cap-1) + (cell-capacity c-outside-cell-99-96 cap-1) + + (node-degree0 n-0) + (node-degree0 n-1) + (node-degree0 n-100) + (node-degree0 n-1009) + (node-degree0 n-101) + (node-degree0 n-1010) + (node-degree0 n-1012) + (node-degree0 n-1013) + (node-degree0 n-1016) + (node-degree0 n-1017) + (node-degree0 n-1033) + (node-degree0 n-1034) + (node-degree0 n-1036) + (node-degree0 n-1037) + (node-degree0 n-104) + (node-degree0 n-1040) + (node-degree0 n-1041) + (node-degree0 n-1044) + (node-degree0 n-1045) + (node-degree0 n-105) + (node-degree0 n-1057) + (node-degree0 n-1058) + (node-degree0 n-1060) + (node-degree0 n-1061) + (node-degree0 n-1064) + (node-degree0 n-1065) + (node-degree0 n-1081) + (node-degree0 n-1082) + (node-degree0 n-1084) + (node-degree0 n-1085) + (node-degree0 n-1088) + (node-degree0 n-1089) + (node-degree0 n-1105) + (node-degree0 n-1106) + (node-degree0 n-1108) + (node-degree0 n-1109) + (node-degree0 n-1112) + (node-degree0 n-1113) + (node-degree0 n-1129) + (node-degree0 n-113) + (node-degree0 n-1130) + (node-degree0 n-1132) + (node-degree0 n-1133) + (node-degree0 n-1136) + (node-degree0 n-1137) + (node-degree0 n-1153) + (node-degree0 n-1154) + (node-degree0 n-1156) + (node-degree0 n-1157) + (node-degree0 n-116) + (node-degree0 n-1160) + (node-degree0 n-1161) + (node-degree0 n-1177) + (node-degree0 n-1178) + (node-degree0 n-1180) + (node-degree0 n-1181) + (node-degree0 n-1184) + (node-degree0 n-1185) + (node-degree0 n-12) + (node-degree0 n-1201) + (node-degree0 n-1202) + (node-degree0 n-1204) + (node-degree0 n-1205) + (node-degree0 n-1208) + (node-degree0 n-1209) + (node-degree0 n-121) + (node-degree0 n-1212) + (node-degree0 n-1213) + (node-degree0 n-122) + (node-degree0 n-1225) + (node-degree0 n-1226) + (node-degree0 n-1228) + (node-degree0 n-1229) + (node-degree0 n-1232) + (node-degree0 n-1233) + (node-degree0 n-124) + (node-degree0 n-1249) + (node-degree0 n-125) + (node-degree0 n-1250) + (node-degree0 n-1252) + (node-degree0 n-1253) + (node-degree0 n-1256) + (node-degree0 n-1257) + (node-degree0 n-1273) + (node-degree0 n-1274) + (node-degree0 n-1276) + (node-degree0 n-1277) + (node-degree0 n-128) + (node-degree0 n-1280) + (node-degree0 n-1281) + (node-degree0 n-129) + (node-degree0 n-1297) + (node-degree0 n-1298) + (node-degree0 n-13) + (node-degree0 n-1300) + (node-degree0 n-1301) + (node-degree0 n-1304) + (node-degree0 n-1305) + (node-degree0 n-132) + (node-degree0 n-1321) + (node-degree0 n-1322) + (node-degree0 n-1324) + (node-degree0 n-1325) + (node-degree0 n-1328) + (node-degree0 n-1329) + (node-degree0 n-133) + (node-degree0 n-1345) + (node-degree0 n-1346) + (node-degree0 n-1348) + (node-degree0 n-1349) + (node-degree0 n-1352) + (node-degree0 n-1353) + (node-degree0 n-1356) + (node-degree0 n-1357) + (node-degree0 n-136) + (node-degree0 n-1369) + (node-degree0 n-137) + (node-degree0 n-1370) + (node-degree0 n-1372) + (node-degree0 n-1373) + (node-degree0 n-1376) + (node-degree0 n-1377) + (node-degree0 n-1393) + (node-degree0 n-1394) + (node-degree0 n-1396) + (node-degree0 n-1397) + (node-degree0 n-1400) + (node-degree0 n-1401) + (node-degree0 n-1417) + (node-degree0 n-1418) + (node-degree0 n-1420) + (node-degree0 n-1421) + (node-degree0 n-1424) + (node-degree0 n-1425) + (node-degree0 n-1441) + (node-degree0 n-1442) + (node-degree0 n-1444) + (node-degree0 n-1445) + (node-degree0 n-1448) + (node-degree0 n-1449) + (node-degree0 n-145) + (node-degree0 n-146) + (node-degree0 n-148) + (node-degree0 n-149) + (node-degree0 n-152) + (node-degree0 n-153) + (node-degree0 n-16) + (node-degree0 n-169) + (node-degree0 n-17) + (node-degree0 n-170) + (node-degree0 n-172) + (node-degree0 n-173) + (node-degree0 n-176) + (node-degree0 n-177) + (node-degree0 n-193) + (node-degree0 n-194) + (node-degree0 n-196) + (node-degree0 n-197) + (node-degree0 n-2) + (node-degree0 n-20) + (node-degree0 n-200) + (node-degree0 n-201) + (node-degree0 n-217) + (node-degree0 n-218) + (node-degree0 n-220) + (node-degree0 n-221) + (node-degree0 n-224) + (node-degree0 n-225) + (node-degree0 n-24) + (node-degree0 n-240) + (node-degree0 n-241) + (node-degree0 n-242) + (node-degree0 n-243) + (node-degree0 n-244) + (node-degree0 n-245) + (node-degree0 n-248) + (node-degree0 n-249) + (node-degree0 n-25) + (node-degree0 n-26) + (node-degree0 n-265) + (node-degree0 n-266) + (node-degree0 n-268) + (node-degree0 n-269) + (node-degree0 n-27) + (node-degree0 n-272) + (node-degree0 n-273) + (node-degree0 n-276) + (node-degree0 n-277) + (node-degree0 n-28) + (node-degree0 n-280) + (node-degree0 n-281) + (node-degree0 n-289) + (node-degree0 n-29) + (node-degree0 n-290) + (node-degree0 n-292) + (node-degree0 n-293) + (node-degree0 n-296) + (node-degree0 n-297) + (node-degree0 n-3) + (node-degree0 n-313) + (node-degree0 n-314) + (node-degree0 n-316) + (node-degree0 n-317) + (node-degree0 n-32) + (node-degree0 n-320) + (node-degree0 n-321) + (node-degree0 n-33) + (node-degree0 n-337) + (node-degree0 n-338) + (node-degree0 n-340) + (node-degree0 n-341) + (node-degree0 n-344) + (node-degree0 n-345) + (node-degree0 n-361) + (node-degree0 n-362) + (node-degree0 n-364) + (node-degree0 n-365) + (node-degree0 n-368) + (node-degree0 n-369) + (node-degree0 n-385) + (node-degree0 n-386) + (node-degree0 n-388) + (node-degree0 n-389) + (node-degree0 n-392) + (node-degree0 n-393) + (node-degree0 n-4) + (node-degree0 n-408) + (node-degree0 n-409) + (node-degree0 n-41) + (node-degree0 n-410) + (node-degree0 n-411) + (node-degree0 n-412) + (node-degree0 n-413) + (node-degree0 n-416) + (node-degree0 n-417) + (node-degree0 n-433) + (node-degree0 n-434) + (node-degree0 n-436) + (node-degree0 n-437) + (node-degree0 n-44) + (node-degree0 n-440) + (node-degree0 n-441) + (node-degree0 n-444) + (node-degree0 n-445) + (node-degree0 n-448) + (node-degree0 n-449) + (node-degree0 n-457) + (node-degree0 n-458) + (node-degree0 n-460) + (node-degree0 n-461) + (node-degree0 n-464) + (node-degree0 n-465) + (node-degree0 n-48) + (node-degree0 n-481) + (node-degree0 n-482) + (node-degree0 n-484) + (node-degree0 n-485) + (node-degree0 n-488) + (node-degree0 n-489) + (node-degree0 n-49) + (node-degree0 n-5) + (node-degree0 n-50) + (node-degree0 n-505) + (node-degree0 n-506) + (node-degree0 n-508) + (node-degree0 n-509) + (node-degree0 n-51) + (node-degree0 n-512) + (node-degree0 n-513) + (node-degree0 n-52) + (node-degree0 n-529) + (node-degree0 n-53) + (node-degree0 n-530) + (node-degree0 n-532) + (node-degree0 n-533) + (node-degree0 n-536) + (node-degree0 n-537) + (node-degree0 n-553) + (node-degree0 n-554) + (node-degree0 n-556) + (node-degree0 n-557) + (node-degree0 n-56) + (node-degree0 n-560) + (node-degree0 n-561) + (node-degree0 n-57) + (node-degree0 n-577) + (node-degree0 n-578) + (node-degree0 n-580) + (node-degree0 n-581) + (node-degree0 n-584) + (node-degree0 n-585) + (node-degree0 n-600) + (node-degree0 n-601) + (node-degree0 n-602) + (node-degree0 n-603) + (node-degree0 n-604) + (node-degree0 n-605) + (node-degree0 n-608) + (node-degree0 n-609) + (node-degree0 n-625) + (node-degree0 n-626) + (node-degree0 n-628) + (node-degree0 n-629) + (node-degree0 n-632) + (node-degree0 n-633) + (node-degree0 n-636) + (node-degree0 n-637) + (node-degree0 n-640) + (node-degree0 n-641) + (node-degree0 n-649) + (node-degree0 n-65) + (node-degree0 n-650) + (node-degree0 n-652) + (node-degree0 n-653) + (node-degree0 n-656) + (node-degree0 n-657) + (node-degree0 n-673) + (node-degree0 n-674) + (node-degree0 n-676) + (node-degree0 n-677) + (node-degree0 n-68) + (node-degree0 n-680) + (node-degree0 n-681) + (node-degree0 n-697) + (node-degree0 n-698) + (node-degree0 n-700) + (node-degree0 n-701) + (node-degree0 n-704) + (node-degree0 n-705) + (node-degree0 n-72) + (node-degree0 n-721) + (node-degree0 n-722) + (node-degree0 n-724) + (node-degree0 n-725) + (node-degree0 n-728) + (node-degree0 n-729) + (node-degree0 n-73) + (node-degree0 n-74) + (node-degree0 n-745) + (node-degree0 n-746) + (node-degree0 n-748) + (node-degree0 n-749) + (node-degree0 n-75) + (node-degree0 n-752) + (node-degree0 n-753) + (node-degree0 n-76) + (node-degree0 n-769) + (node-degree0 n-77) + (node-degree0 n-770) + (node-degree0 n-772) + (node-degree0 n-773) + (node-degree0 n-776) + (node-degree0 n-777) + (node-degree0 n-793) + (node-degree0 n-794) + (node-degree0 n-796) + (node-degree0 n-797) + (node-degree0 n-8) + (node-degree0 n-80) + (node-degree0 n-800) + (node-degree0 n-801) + (node-degree0 n-81) + (node-degree0 n-816) + (node-degree0 n-817) + (node-degree0 n-818) + (node-degree0 n-819) + (node-degree0 n-820) + (node-degree0 n-821) + (node-degree0 n-824) + (node-degree0 n-825) + (node-degree0 n-841) + (node-degree0 n-842) + (node-degree0 n-844) + (node-degree0 n-845) + (node-degree0 n-848) + (node-degree0 n-849) + (node-degree0 n-852) + (node-degree0 n-853) + (node-degree0 n-865) + (node-degree0 n-866) + (node-degree0 n-868) + (node-degree0 n-869) + (node-degree0 n-872) + (node-degree0 n-873) + (node-degree0 n-889) + (node-degree0 n-89) + (node-degree0 n-890) + (node-degree0 n-892) + (node-degree0 n-893) + (node-degree0 n-896) + (node-degree0 n-897) + (node-degree0 n-9) + (node-degree0 n-913) + (node-degree0 n-914) + (node-degree0 n-916) + (node-degree0 n-917) + (node-degree0 n-92) + (node-degree0 n-920) + (node-degree0 n-921) + (node-degree0 n-937) + (node-degree0 n-938) + (node-degree0 n-940) + (node-degree0 n-941) + (node-degree0 n-944) + (node-degree0 n-945) + (node-degree0 n-96) + (node-degree0 n-961) + (node-degree0 n-962) + (node-degree0 n-964) + (node-degree0 n-965) + (node-degree0 n-968) + (node-degree0 n-969) + (node-degree0 n-97) + (node-degree0 n-98) + (node-degree0 n-985) + (node-degree0 n-986) + (node-degree0 n-988) + (node-degree0 n-989) + (node-degree0 n-99) + (node-degree0 n-992) + (node-degree0 n-993) + + (cell-edge c-c0 c-c10 n-0 n-1) + (cell-edge c-c0 c-c1 n-1 n-2) + (cell-edge c-c0 c-c5 n-2 n-3) + (cell-edge c-c0 c-outside-cell-3-0 n-3 n-0) + (cell-edge c-c1 c-c41 n-4 n-5) + (cell-edge c-c1 c-c2 n-5 n-2) + (cell-edge c-c1 c-c9 n-1 n-4) + (cell-edge c-c2 c-c30 n-8 n-9) + (cell-edge c-c2 c-c3 n-9 n-2) + (cell-edge c-c2 c-c40 n-5 n-8) + (cell-edge c-c3 c-outside-cell-12-13 n-12 n-13) + (cell-edge c-c3 c-c4 n-13 n-2) + (cell-edge c-c3 c-c35 n-9 n-12) + (cell-edge c-c4 c-outside-cell-16-17 n-16 n-17) + (cell-edge c-c4 c-c5 n-17 n-2) + (cell-edge c-c4 c-outside-cell-13-16 n-13 n-16) + (cell-edge c-c5 c-outside-cell-20-3 n-20 n-3) + (cell-edge c-c5 c-outside-cell-17-20 n-17 n-20) + (cell-edge c-c6 c-c16 n-24 n-25) + (cell-edge c-c6 c-c7 n-25 n-26) + (cell-edge c-c6 c-c11 n-26 n-27) + (cell-edge c-c6 c-outside-cell-27-24 n-27 n-24) + (cell-edge c-c7 c-c47 n-28 n-29) + (cell-edge c-c7 c-c8 n-29 n-26) + (cell-edge c-c7 c-c15 n-25 n-28) + (cell-edge c-c8 c-c36 n-32 n-33) + (cell-edge c-c8 c-c9 n-33 n-26) + (cell-edge c-c8 c-c46 n-29 n-32) + (cell-edge c-c9 c-c10 n-1 n-26) + (cell-edge c-c9 c-c41 n-33 n-4) + (cell-edge c-c10 c-outside-cell-0-41 n-0 n-41) + (cell-edge c-c10 c-c11 n-41 n-26) + (cell-edge c-c11 c-outside-cell-44-27 n-44 n-27) + (cell-edge c-c11 c-outside-cell-41-44 n-41 n-44) + (cell-edge c-c12 c-c22 n-48 n-49) + (cell-edge c-c12 c-c13 n-49 n-50) + (cell-edge c-c12 c-c17 n-50 n-51) + (cell-edge c-c12 c-outside-cell-51-48 n-51 n-48) + (cell-edge c-c13 c-c53 n-52 n-53) + (cell-edge c-c13 c-c14 n-53 n-50) + (cell-edge c-c13 c-c21 n-49 n-52) + (cell-edge c-c14 c-c42 n-56 n-57) + (cell-edge c-c14 c-c15 n-57 n-50) + (cell-edge c-c14 c-c52 n-53 n-56) + (cell-edge c-c15 c-c16 n-25 n-50) + (cell-edge c-c15 c-c47 n-57 n-28) + (cell-edge c-c16 c-outside-cell-24-65 n-24 n-65) + (cell-edge c-c16 c-c17 n-65 n-50) + (cell-edge c-c17 c-outside-cell-68-51 n-68 n-51) + (cell-edge c-c17 c-outside-cell-65-68 n-65 n-68) + (cell-edge c-c18 c-c28 n-72 n-73) + (cell-edge c-c18 c-c19 n-73 n-74) + (cell-edge c-c18 c-c23 n-74 n-75) + (cell-edge c-c18 c-outside-cell-75-72 n-75 n-72) + (cell-edge c-c19 c-c59 n-76 n-77) + (cell-edge c-c19 c-c20 n-77 n-74) + (cell-edge c-c19 c-c27 n-73 n-76) + (cell-edge c-c20 c-c48 n-80 n-81) + (cell-edge c-c20 c-c21 n-81 n-74) + (cell-edge c-c20 c-c58 n-77 n-80) + (cell-edge c-c21 c-c22 n-49 n-74) + (cell-edge c-c21 c-c53 n-81 n-52) + (cell-edge c-c22 c-outside-cell-48-89 n-48 n-89) + (cell-edge c-c22 c-c23 n-89 n-74) + (cell-edge c-c23 c-outside-cell-92-75 n-92 n-75) + (cell-edge c-c23 c-outside-cell-89-92 n-89 n-92) + (cell-edge c-c24 c-outside-cell-96-97 n-96 n-97) + (cell-edge c-c24 c-c25 n-97 n-98) + (cell-edge c-c24 c-c29 n-98 n-99) + (cell-edge c-c24 c-outside-cell-99-96 n-99 n-96) + (cell-edge c-c25 c-c65 n-100 n-101) + (cell-edge c-c25 c-c26 n-101 n-98) + (cell-edge c-c25 c-outside-cell-97-100 n-97 n-100) + (cell-edge c-c26 c-c54 n-104 n-105) + (cell-edge c-c26 c-c27 n-105 n-98) + (cell-edge c-c26 c-c64 n-101 n-104) + (cell-edge c-c27 c-c28 n-73 n-98) + (cell-edge c-c27 c-c59 n-105 n-76) + (cell-edge c-c28 c-outside-cell-72-113 n-72 n-113) + (cell-edge c-c28 c-c29 n-113 n-98) + (cell-edge c-c29 c-outside-cell-116-99 n-116 n-99) + (cell-edge c-c29 c-outside-cell-113-116 n-113 n-116) + (cell-edge c-c30 c-c40 n-8 n-121) + (cell-edge c-c30 c-c31 n-121 n-122) + (cell-edge c-c30 c-c35 n-122 n-9) + (cell-edge c-c31 c-c77 n-124 n-125) + (cell-edge c-c31 c-c32 n-125 n-122) + (cell-edge c-c31 c-c39 n-121 n-124) + (cell-edge c-c32 c-c66 n-128 n-129) + (cell-edge c-c32 c-c33 n-129 n-122) + (cell-edge c-c32 c-c76 n-125 n-128) + (cell-edge c-c33 c-outside-cell-132-133 n-132 n-133) + (cell-edge c-c33 c-c34 n-133 n-122) + (cell-edge c-c33 c-c71 n-129 n-132) + (cell-edge c-c34 c-outside-cell-136-137 n-136 n-137) + (cell-edge c-c34 c-c35 n-137 n-122) + (cell-edge c-c34 c-outside-cell-133-136 n-133 n-136) + (cell-edge c-c35 c-outside-cell-137-12 n-137 n-12) + (cell-edge c-c36 c-c46 n-32 n-145) + (cell-edge c-c36 c-c37 n-145 n-146) + (cell-edge c-c36 c-c41 n-146 n-33) + (cell-edge c-c37 c-c83 n-148 n-149) + (cell-edge c-c37 c-c38 n-149 n-146) + (cell-edge c-c37 c-c45 n-145 n-148) + (cell-edge c-c38 c-c72 n-152 n-153) + (cell-edge c-c38 c-c39 n-153 n-146) + (cell-edge c-c38 c-c82 n-149 n-152) + (cell-edge c-c39 c-c40 n-121 n-146) + (cell-edge c-c39 c-c77 n-153 n-124) + (cell-edge c-c40 c-c41 n-5 n-146) + (cell-edge c-c42 c-c52 n-56 n-169) + (cell-edge c-c42 c-c43 n-169 n-170) + (cell-edge c-c42 c-c47 n-170 n-57) + (cell-edge c-c43 c-c89 n-172 n-173) + (cell-edge c-c43 c-c44 n-173 n-170) + (cell-edge c-c43 c-c51 n-169 n-172) + (cell-edge c-c44 c-c78 n-176 n-177) + (cell-edge c-c44 c-c45 n-177 n-170) + (cell-edge c-c44 c-c88 n-173 n-176) + (cell-edge c-c45 c-c46 n-145 n-170) + (cell-edge c-c45 c-c83 n-177 n-148) + (cell-edge c-c46 c-c47 n-29 n-170) + (cell-edge c-c48 c-c58 n-80 n-193) + (cell-edge c-c48 c-c49 n-193 n-194) + (cell-edge c-c48 c-c53 n-194 n-81) + (cell-edge c-c49 c-c95 n-196 n-197) + (cell-edge c-c49 c-c50 n-197 n-194) + (cell-edge c-c49 c-c57 n-193 n-196) + (cell-edge c-c50 c-c84 n-200 n-201) + (cell-edge c-c50 c-c51 n-201 n-194) + (cell-edge c-c50 c-c94 n-197 n-200) + (cell-edge c-c51 c-c52 n-169 n-194) + (cell-edge c-c51 c-c89 n-201 n-172) + (cell-edge c-c52 c-c53 n-53 n-194) + (cell-edge c-c54 c-c64 n-104 n-217) + (cell-edge c-c54 c-c55 n-217 n-218) + (cell-edge c-c54 c-c59 n-218 n-105) + (cell-edge c-c55 c-c101 n-220 n-221) + (cell-edge c-c55 c-c56 n-221 n-218) + (cell-edge c-c55 c-c63 n-217 n-220) + (cell-edge c-c56 c-c90 n-224 n-225) + (cell-edge c-c56 c-c57 n-225 n-218) + (cell-edge c-c56 c-c100 n-221 n-224) + (cell-edge c-c57 c-c58 n-193 n-218) + (cell-edge c-c57 c-c95 n-225 n-196) + (cell-edge c-c58 c-c59 n-77 n-218) + (cell-edge c-c60 c-outside-cell-240-241 n-240 n-241) + (cell-edge c-c60 c-c61 n-241 n-242) + (cell-edge c-c60 c-c65 n-242 n-243) + (cell-edge c-c60 c-outside-cell-243-240 n-243 n-240) + (cell-edge c-c61 c-c107 n-244 n-245) + (cell-edge c-c61 c-c62 n-245 n-242) + (cell-edge c-c61 c-outside-cell-241-244 n-241 n-244) + (cell-edge c-c62 c-c96 n-248 n-249) + (cell-edge c-c62 c-c63 n-249 n-242) + (cell-edge c-c62 c-c106 n-245 n-248) + (cell-edge c-c63 c-c64 n-217 n-242) + (cell-edge c-c63 c-c101 n-249 n-220) + (cell-edge c-c64 c-c65 n-101 n-242) + (cell-edge c-c65 c-outside-cell-100-243 n-100 n-243) + (cell-edge c-c66 c-c76 n-128 n-265) + (cell-edge c-c66 c-c67 n-265 n-266) + (cell-edge c-c66 c-c71 n-266 n-129) + (cell-edge c-c67 c-c119 n-268 n-269) + (cell-edge c-c67 c-c68 n-269 n-266) + (cell-edge c-c67 c-c75 n-265 n-268) + (cell-edge c-c68 c-c108 n-272 n-273) + (cell-edge c-c68 c-c69 n-273 n-266) + (cell-edge c-c68 c-c118 n-269 n-272) + (cell-edge c-c69 c-outside-cell-276-277 n-276 n-277) + (cell-edge c-c69 c-c70 n-277 n-266) + (cell-edge c-c69 c-c113 n-273 n-276) + (cell-edge c-c70 c-outside-cell-280-281 n-280 n-281) + (cell-edge c-c70 c-c71 n-281 n-266) + (cell-edge c-c70 c-outside-cell-277-280 n-277 n-280) + (cell-edge c-c71 c-outside-cell-281-132 n-281 n-132) + (cell-edge c-c72 c-c82 n-152 n-289) + (cell-edge c-c72 c-c73 n-289 n-290) + (cell-edge c-c72 c-c77 n-290 n-153) + (cell-edge c-c73 c-c125 n-292 n-293) + (cell-edge c-c73 c-c74 n-293 n-290) + (cell-edge c-c73 c-c81 n-289 n-292) + (cell-edge c-c74 c-c114 n-296 n-297) + (cell-edge c-c74 c-c75 n-297 n-290) + (cell-edge c-c74 c-c124 n-293 n-296) + (cell-edge c-c75 c-c76 n-265 n-290) + (cell-edge c-c75 c-c119 n-297 n-268) + (cell-edge c-c76 c-c77 n-125 n-290) + (cell-edge c-c78 c-c88 n-176 n-313) + (cell-edge c-c78 c-c79 n-313 n-314) + (cell-edge c-c78 c-c83 n-314 n-177) + (cell-edge c-c79 c-c131 n-316 n-317) + (cell-edge c-c79 c-c80 n-317 n-314) + (cell-edge c-c79 c-c87 n-313 n-316) + (cell-edge c-c80 c-c120 n-320 n-321) + (cell-edge c-c80 c-c81 n-321 n-314) + (cell-edge c-c80 c-c130 n-317 n-320) + (cell-edge c-c81 c-c82 n-289 n-314) + (cell-edge c-c81 c-c125 n-321 n-292) + (cell-edge c-c82 c-c83 n-149 n-314) + (cell-edge c-c84 c-c94 n-200 n-337) + (cell-edge c-c84 c-c85 n-337 n-338) + (cell-edge c-c84 c-c89 n-338 n-201) + (cell-edge c-c85 c-c137 n-340 n-341) + (cell-edge c-c85 c-c86 n-341 n-338) + (cell-edge c-c85 c-c93 n-337 n-340) + (cell-edge c-c86 c-c126 n-344 n-345) + (cell-edge c-c86 c-c87 n-345 n-338) + (cell-edge c-c86 c-c136 n-341 n-344) + (cell-edge c-c87 c-c88 n-313 n-338) + (cell-edge c-c87 c-c131 n-345 n-316) + (cell-edge c-c88 c-c89 n-173 n-338) + (cell-edge c-c90 c-c100 n-224 n-361) + (cell-edge c-c90 c-c91 n-361 n-362) + (cell-edge c-c90 c-c95 n-362 n-225) + (cell-edge c-c91 c-c143 n-364 n-365) + (cell-edge c-c91 c-c92 n-365 n-362) + (cell-edge c-c91 c-c99 n-361 n-364) + (cell-edge c-c92 c-c132 n-368 n-369) + (cell-edge c-c92 c-c93 n-369 n-362) + (cell-edge c-c92 c-c142 n-365 n-368) + (cell-edge c-c93 c-c94 n-337 n-362) + (cell-edge c-c93 c-c137 n-369 n-340) + (cell-edge c-c94 c-c95 n-197 n-362) + (cell-edge c-c96 c-c106 n-248 n-385) + (cell-edge c-c96 c-c97 n-385 n-386) + (cell-edge c-c96 c-c101 n-386 n-249) + (cell-edge c-c97 c-c149 n-388 n-389) + (cell-edge c-c97 c-c98 n-389 n-386) + (cell-edge c-c97 c-c105 n-385 n-388) + (cell-edge c-c98 c-c138 n-392 n-393) + (cell-edge c-c98 c-c99 n-393 n-386) + (cell-edge c-c98 c-c148 n-389 n-392) + (cell-edge c-c99 c-c100 n-361 n-386) + (cell-edge c-c99 c-c143 n-393 n-364) + (cell-edge c-c100 c-c101 n-221 n-386) + (cell-edge c-c102 c-outside-cell-408-409 n-408 n-409) + (cell-edge c-c102 c-c103 n-409 n-410) + (cell-edge c-c102 c-c107 n-410 n-411) + (cell-edge c-c102 c-outside-cell-411-408 n-411 n-408) + (cell-edge c-c103 c-c155 n-412 n-413) + (cell-edge c-c103 c-c104 n-413 n-410) + (cell-edge c-c103 c-outside-cell-409-412 n-409 n-412) + (cell-edge c-c104 c-c144 n-416 n-417) + (cell-edge c-c104 c-c105 n-417 n-410) + (cell-edge c-c104 c-c154 n-413 n-416) + (cell-edge c-c105 c-c106 n-385 n-410) + (cell-edge c-c105 c-c149 n-417 n-388) + (cell-edge c-c106 c-c107 n-245 n-410) + (cell-edge c-c107 c-outside-cell-244-411 n-244 n-411) + (cell-edge c-c108 c-c118 n-272 n-433) + (cell-edge c-c108 c-c109 n-433 n-434) + (cell-edge c-c108 c-c113 n-434 n-273) + (cell-edge c-c109 c-c167 n-436 n-437) + (cell-edge c-c109 c-c110 n-437 n-434) + (cell-edge c-c109 c-c117 n-433 n-436) + (cell-edge c-c110 c-c156 n-440 n-441) + (cell-edge c-c110 c-c111 n-441 n-434) + (cell-edge c-c110 c-c166 n-437 n-440) + (cell-edge c-c111 c-outside-cell-444-445 n-444 n-445) + (cell-edge c-c111 c-c112 n-445 n-434) + (cell-edge c-c111 c-c161 n-441 n-444) + (cell-edge c-c112 c-outside-cell-448-449 n-448 n-449) + (cell-edge c-c112 c-c113 n-449 n-434) + (cell-edge c-c112 c-outside-cell-445-448 n-445 n-448) + (cell-edge c-c113 c-outside-cell-449-276 n-449 n-276) + (cell-edge c-c114 c-c124 n-296 n-457) + (cell-edge c-c114 c-c115 n-457 n-458) + (cell-edge c-c114 c-c119 n-458 n-297) + (cell-edge c-c115 c-c173 n-460 n-461) + (cell-edge c-c115 c-c116 n-461 n-458) + (cell-edge c-c115 c-c123 n-457 n-460) + (cell-edge c-c116 c-c162 n-464 n-465) + (cell-edge c-c116 c-c117 n-465 n-458) + (cell-edge c-c116 c-c172 n-461 n-464) + (cell-edge c-c117 c-c118 n-433 n-458) + (cell-edge c-c117 c-c167 n-465 n-436) + (cell-edge c-c118 c-c119 n-269 n-458) + (cell-edge c-c120 c-c130 n-320 n-481) + (cell-edge c-c120 c-c121 n-481 n-482) + (cell-edge c-c120 c-c125 n-482 n-321) + (cell-edge c-c121 c-c179 n-484 n-485) + (cell-edge c-c121 c-c122 n-485 n-482) + (cell-edge c-c121 c-c129 n-481 n-484) + (cell-edge c-c122 c-c168 n-488 n-489) + (cell-edge c-c122 c-c123 n-489 n-482) + (cell-edge c-c122 c-c178 n-485 n-488) + (cell-edge c-c123 c-c124 n-457 n-482) + (cell-edge c-c123 c-c173 n-489 n-460) + (cell-edge c-c124 c-c125 n-293 n-482) + (cell-edge c-c126 c-c136 n-344 n-505) + (cell-edge c-c126 c-c127 n-505 n-506) + (cell-edge c-c126 c-c131 n-506 n-345) + (cell-edge c-c127 c-c185 n-508 n-509) + (cell-edge c-c127 c-c128 n-509 n-506) + (cell-edge c-c127 c-c135 n-505 n-508) + (cell-edge c-c128 c-c174 n-512 n-513) + (cell-edge c-c128 c-c129 n-513 n-506) + (cell-edge c-c128 c-c184 n-509 n-512) + (cell-edge c-c129 c-c130 n-481 n-506) + (cell-edge c-c129 c-c179 n-513 n-484) + (cell-edge c-c130 c-c131 n-317 n-506) + (cell-edge c-c132 c-c142 n-368 n-529) + (cell-edge c-c132 c-c133 n-529 n-530) + (cell-edge c-c132 c-c137 n-530 n-369) + (cell-edge c-c133 c-c191 n-532 n-533) + (cell-edge c-c133 c-c134 n-533 n-530) + (cell-edge c-c133 c-c141 n-529 n-532) + (cell-edge c-c134 c-c180 n-536 n-537) + (cell-edge c-c134 c-c135 n-537 n-530) + (cell-edge c-c134 c-c190 n-533 n-536) + (cell-edge c-c135 c-c136 n-505 n-530) + (cell-edge c-c135 c-c185 n-537 n-508) + (cell-edge c-c136 c-c137 n-341 n-530) + (cell-edge c-c138 c-c148 n-392 n-553) + (cell-edge c-c138 c-c139 n-553 n-554) + (cell-edge c-c138 c-c143 n-554 n-393) + (cell-edge c-c139 c-c197 n-556 n-557) + (cell-edge c-c139 c-c140 n-557 n-554) + (cell-edge c-c139 c-c147 n-553 n-556) + (cell-edge c-c140 c-c186 n-560 n-561) + (cell-edge c-c140 c-c141 n-561 n-554) + (cell-edge c-c140 c-c196 n-557 n-560) + (cell-edge c-c141 c-c142 n-529 n-554) + (cell-edge c-c141 c-c191 n-561 n-532) + (cell-edge c-c142 c-c143 n-365 n-554) + (cell-edge c-c144 c-c154 n-416 n-577) + (cell-edge c-c144 c-c145 n-577 n-578) + (cell-edge c-c144 c-c149 n-578 n-417) + (cell-edge c-c145 c-c203 n-580 n-581) + (cell-edge c-c145 c-c146 n-581 n-578) + (cell-edge c-c145 c-c153 n-577 n-580) + (cell-edge c-c146 c-c192 n-584 n-585) + (cell-edge c-c146 c-c147 n-585 n-578) + (cell-edge c-c146 c-c202 n-581 n-584) + (cell-edge c-c147 c-c148 n-553 n-578) + (cell-edge c-c147 c-c197 n-585 n-556) + (cell-edge c-c148 c-c149 n-389 n-578) + (cell-edge c-c150 c-outside-cell-600-601 n-600 n-601) + (cell-edge c-c150 c-c151 n-601 n-602) + (cell-edge c-c150 c-c155 n-602 n-603) + (cell-edge c-c150 c-outside-cell-603-600 n-603 n-600) + (cell-edge c-c151 c-c209 n-604 n-605) + (cell-edge c-c151 c-c152 n-605 n-602) + (cell-edge c-c151 c-outside-cell-601-604 n-601 n-604) + (cell-edge c-c152 c-c198 n-608 n-609) + (cell-edge c-c152 c-c153 n-609 n-602) + (cell-edge c-c152 c-c208 n-605 n-608) + (cell-edge c-c153 c-c154 n-577 n-602) + (cell-edge c-c153 c-c203 n-609 n-580) + (cell-edge c-c154 c-c155 n-413 n-602) + (cell-edge c-c155 c-outside-cell-412-603 n-412 n-603) + (cell-edge c-c156 c-c166 n-440 n-625) + (cell-edge c-c156 c-c157 n-625 n-626) + (cell-edge c-c156 c-c161 n-626 n-441) + (cell-edge c-c157 c-c215 n-628 n-629) + (cell-edge c-c157 c-c158 n-629 n-626) + (cell-edge c-c157 c-c165 n-625 n-628) + (cell-edge c-c158 c-outside-cell-632-633 n-632 n-633) + (cell-edge c-c158 c-c159 n-633 n-626) + (cell-edge c-c158 c-c214 n-629 n-632) + (cell-edge c-c159 c-outside-cell-636-637 n-636 n-637) + (cell-edge c-c159 c-c160 n-637 n-626) + (cell-edge c-c159 c-outside-cell-633-636 n-633 n-636) + (cell-edge c-c160 c-outside-cell-640-641 n-640 n-641) + (cell-edge c-c160 c-c161 n-641 n-626) + (cell-edge c-c160 c-outside-cell-637-640 n-637 n-640) + (cell-edge c-c161 c-outside-cell-641-444 n-641 n-444) + (cell-edge c-c162 c-c172 n-464 n-649) + (cell-edge c-c162 c-c163 n-649 n-650) + (cell-edge c-c162 c-c167 n-650 n-465) + (cell-edge c-c163 c-c221 n-652 n-653) + (cell-edge c-c163 c-c164 n-653 n-650) + (cell-edge c-c163 c-c171 n-649 n-652) + (cell-edge c-c164 c-c210 n-656 n-657) + (cell-edge c-c164 c-c165 n-657 n-650) + (cell-edge c-c164 c-c220 n-653 n-656) + (cell-edge c-c165 c-c166 n-625 n-650) + (cell-edge c-c165 c-c215 n-657 n-628) + (cell-edge c-c166 c-c167 n-437 n-650) + (cell-edge c-c168 c-c178 n-488 n-673) + (cell-edge c-c168 c-c169 n-673 n-674) + (cell-edge c-c168 c-c173 n-674 n-489) + (cell-edge c-c169 c-c227 n-676 n-677) + (cell-edge c-c169 c-c170 n-677 n-674) + (cell-edge c-c169 c-c177 n-673 n-676) + (cell-edge c-c170 c-c216 n-680 n-681) + (cell-edge c-c170 c-c171 n-681 n-674) + (cell-edge c-c170 c-c226 n-677 n-680) + (cell-edge c-c171 c-c172 n-649 n-674) + (cell-edge c-c171 c-c221 n-681 n-652) + (cell-edge c-c172 c-c173 n-461 n-674) + (cell-edge c-c174 c-c184 n-512 n-697) + (cell-edge c-c174 c-c175 n-697 n-698) + (cell-edge c-c174 c-c179 n-698 n-513) + (cell-edge c-c175 c-c233 n-700 n-701) + (cell-edge c-c175 c-c176 n-701 n-698) + (cell-edge c-c175 c-c183 n-697 n-700) + (cell-edge c-c176 c-c222 n-704 n-705) + (cell-edge c-c176 c-c177 n-705 n-698) + (cell-edge c-c176 c-c232 n-701 n-704) + (cell-edge c-c177 c-c178 n-673 n-698) + (cell-edge c-c177 c-c227 n-705 n-676) + (cell-edge c-c178 c-c179 n-485 n-698) + (cell-edge c-c180 c-c190 n-536 n-721) + (cell-edge c-c180 c-c181 n-721 n-722) + (cell-edge c-c180 c-c185 n-722 n-537) + (cell-edge c-c181 c-c239 n-724 n-725) + (cell-edge c-c181 c-c182 n-725 n-722) + (cell-edge c-c181 c-c189 n-721 n-724) + (cell-edge c-c182 c-c228 n-728 n-729) + (cell-edge c-c182 c-c183 n-729 n-722) + (cell-edge c-c182 c-c238 n-725 n-728) + (cell-edge c-c183 c-c184 n-697 n-722) + (cell-edge c-c183 c-c233 n-729 n-700) + (cell-edge c-c184 c-c185 n-509 n-722) + (cell-edge c-c186 c-c196 n-560 n-745) + (cell-edge c-c186 c-c187 n-745 n-746) + (cell-edge c-c186 c-c191 n-746 n-561) + (cell-edge c-c187 c-c245 n-748 n-749) + (cell-edge c-c187 c-c188 n-749 n-746) + (cell-edge c-c187 c-c195 n-745 n-748) + (cell-edge c-c188 c-c234 n-752 n-753) + (cell-edge c-c188 c-c189 n-753 n-746) + (cell-edge c-c188 c-c244 n-749 n-752) + (cell-edge c-c189 c-c190 n-721 n-746) + (cell-edge c-c189 c-c239 n-753 n-724) + (cell-edge c-c190 c-c191 n-533 n-746) + (cell-edge c-c192 c-c202 n-584 n-769) + (cell-edge c-c192 c-c193 n-769 n-770) + (cell-edge c-c192 c-c197 n-770 n-585) + (cell-edge c-c193 c-c251 n-772 n-773) + (cell-edge c-c193 c-c194 n-773 n-770) + (cell-edge c-c193 c-c201 n-769 n-772) + (cell-edge c-c194 c-c240 n-776 n-777) + (cell-edge c-c194 c-c195 n-777 n-770) + (cell-edge c-c194 c-c250 n-773 n-776) + (cell-edge c-c195 c-c196 n-745 n-770) + (cell-edge c-c195 c-c245 n-777 n-748) + (cell-edge c-c196 c-c197 n-557 n-770) + (cell-edge c-c198 c-c208 n-608 n-793) + (cell-edge c-c198 c-c199 n-793 n-794) + (cell-edge c-c198 c-c203 n-794 n-609) + (cell-edge c-c199 c-c257 n-796 n-797) + (cell-edge c-c199 c-c200 n-797 n-794) + (cell-edge c-c199 c-c207 n-793 n-796) + (cell-edge c-c200 c-c246 n-800 n-801) + (cell-edge c-c200 c-c201 n-801 n-794) + (cell-edge c-c200 c-c256 n-797 n-800) + (cell-edge c-c201 c-c202 n-769 n-794) + (cell-edge c-c201 c-c251 n-801 n-772) + (cell-edge c-c202 c-c203 n-581 n-794) + (cell-edge c-c204 c-outside-cell-816-817 n-816 n-817) + (cell-edge c-c204 c-c205 n-817 n-818) + (cell-edge c-c204 c-c209 n-818 n-819) + (cell-edge c-c204 c-outside-cell-819-816 n-819 n-816) + (cell-edge c-c205 c-outside-cell-820-821 n-820 n-821) + (cell-edge c-c205 c-c206 n-821 n-818) + (cell-edge c-c205 c-outside-cell-817-820 n-817 n-820) + (cell-edge c-c206 c-c252 n-824 n-825) + (cell-edge c-c206 c-c207 n-825 n-818) + (cell-edge c-c206 c-outside-cell-821-824 n-821 n-824) + (cell-edge c-c207 c-c208 n-793 n-818) + (cell-edge c-c207 c-c257 n-825 n-796) + (cell-edge c-c208 c-c209 n-605 n-818) + (cell-edge c-c209 c-outside-cell-604-819 n-604 n-819) + (cell-edge c-c210 c-c220 n-656 n-841) + (cell-edge c-c210 c-c211 n-841 n-842) + (cell-edge c-c210 c-c215 n-842 n-657) + (cell-edge c-c211 c-c263 n-844 n-845) + (cell-edge c-c211 c-c212 n-845 n-842) + (cell-edge c-c211 c-c219 n-841 n-844) + (cell-edge c-c212 c-outside-cell-848-849 n-848 n-849) + (cell-edge c-c212 c-c213 n-849 n-842) + (cell-edge c-c212 c-c262 n-845 n-848) + (cell-edge c-c213 c-outside-cell-852-853 n-852 n-853) + (cell-edge c-c213 c-c214 n-853 n-842) + (cell-edge c-c213 c-outside-cell-849-852 n-849 n-852) + (cell-edge c-c214 c-c215 n-629 n-842) + (cell-edge c-c214 c-outside-cell-853-632 n-853 n-632) + (cell-edge c-c216 c-c226 n-680 n-865) + (cell-edge c-c216 c-c217 n-865 n-866) + (cell-edge c-c216 c-c221 n-866 n-681) + (cell-edge c-c217 c-c269 n-868 n-869) + (cell-edge c-c217 c-c218 n-869 n-866) + (cell-edge c-c217 c-c225 n-865 n-868) + (cell-edge c-c218 c-c258 n-872 n-873) + (cell-edge c-c218 c-c219 n-873 n-866) + (cell-edge c-c218 c-c268 n-869 n-872) + (cell-edge c-c219 c-c220 n-841 n-866) + (cell-edge c-c219 c-c263 n-873 n-844) + (cell-edge c-c220 c-c221 n-653 n-866) + (cell-edge c-c222 c-c232 n-704 n-889) + (cell-edge c-c222 c-c223 n-889 n-890) + (cell-edge c-c222 c-c227 n-890 n-705) + (cell-edge c-c223 c-c275 n-892 n-893) + (cell-edge c-c223 c-c224 n-893 n-890) + (cell-edge c-c223 c-c231 n-889 n-892) + (cell-edge c-c224 c-c264 n-896 n-897) + (cell-edge c-c224 c-c225 n-897 n-890) + (cell-edge c-c224 c-c274 n-893 n-896) + (cell-edge c-c225 c-c226 n-865 n-890) + (cell-edge c-c225 c-c269 n-897 n-868) + (cell-edge c-c226 c-c227 n-677 n-890) + (cell-edge c-c228 c-c238 n-728 n-913) + (cell-edge c-c228 c-c229 n-913 n-914) + (cell-edge c-c228 c-c233 n-914 n-729) + (cell-edge c-c229 c-c281 n-916 n-917) + (cell-edge c-c229 c-c230 n-917 n-914) + (cell-edge c-c229 c-c237 n-913 n-916) + (cell-edge c-c230 c-c270 n-920 n-921) + (cell-edge c-c230 c-c231 n-921 n-914) + (cell-edge c-c230 c-c280 n-917 n-920) + (cell-edge c-c231 c-c232 n-889 n-914) + (cell-edge c-c231 c-c275 n-921 n-892) + (cell-edge c-c232 c-c233 n-701 n-914) + (cell-edge c-c234 c-c244 n-752 n-937) + (cell-edge c-c234 c-c235 n-937 n-938) + (cell-edge c-c234 c-c239 n-938 n-753) + (cell-edge c-c235 c-c287 n-940 n-941) + (cell-edge c-c235 c-c236 n-941 n-938) + (cell-edge c-c235 c-c243 n-937 n-940) + (cell-edge c-c236 c-c276 n-944 n-945) + (cell-edge c-c236 c-c237 n-945 n-938) + (cell-edge c-c236 c-c286 n-941 n-944) + (cell-edge c-c237 c-c238 n-913 n-938) + (cell-edge c-c237 c-c281 n-945 n-916) + (cell-edge c-c238 c-c239 n-725 n-938) + (cell-edge c-c240 c-c250 n-776 n-961) + (cell-edge c-c240 c-c241 n-961 n-962) + (cell-edge c-c240 c-c245 n-962 n-777) + (cell-edge c-c241 c-c293 n-964 n-965) + (cell-edge c-c241 c-c242 n-965 n-962) + (cell-edge c-c241 c-c249 n-961 n-964) + (cell-edge c-c242 c-c282 n-968 n-969) + (cell-edge c-c242 c-c243 n-969 n-962) + (cell-edge c-c242 c-c292 n-965 n-968) + (cell-edge c-c243 c-c244 n-937 n-962) + (cell-edge c-c243 c-c287 n-969 n-940) + (cell-edge c-c244 c-c245 n-749 n-962) + (cell-edge c-c246 c-c256 n-800 n-985) + (cell-edge c-c246 c-c247 n-985 n-986) + (cell-edge c-c246 c-c251 n-986 n-801) + (cell-edge c-c247 c-c299 n-988 n-989) + (cell-edge c-c247 c-c248 n-989 n-986) + (cell-edge c-c247 c-c255 n-985 n-988) + (cell-edge c-c248 c-c288 n-992 n-993) + (cell-edge c-c248 c-c249 n-993 n-986) + (cell-edge c-c248 c-c298 n-989 n-992) + (cell-edge c-c249 c-c250 n-961 n-986) + (cell-edge c-c249 c-c293 n-993 n-964) + (cell-edge c-c250 c-c251 n-773 n-986) + (cell-edge c-c252 c-outside-cell-824-1009 n-824 n-1009) + (cell-edge c-c252 c-c253 n-1009 n-1010) + (cell-edge c-c252 c-c257 n-1010 n-825) + (cell-edge c-c253 c-outside-cell-1012-1013 n-1012 n-1013) + (cell-edge c-c253 c-c254 n-1013 n-1010) + (cell-edge c-c253 c-outside-cell-1009-1012 n-1009 n-1012) + (cell-edge c-c254 c-c294 n-1016 n-1017) + (cell-edge c-c254 c-c255 n-1017 n-1010) + (cell-edge c-c254 c-outside-cell-1013-1016 n-1013 n-1016) + (cell-edge c-c255 c-c256 n-985 n-1010) + (cell-edge c-c255 c-c299 n-1017 n-988) + (cell-edge c-c256 c-c257 n-797 n-1010) + (cell-edge c-c258 c-c268 n-872 n-1033) + (cell-edge c-c258 c-c259 n-1033 n-1034) + (cell-edge c-c258 c-c263 n-1034 n-873) + (cell-edge c-c259 c-c305 n-1036 n-1037) + (cell-edge c-c259 c-c260 n-1037 n-1034) + (cell-edge c-c259 c-c267 n-1033 n-1036) + (cell-edge c-c260 c-outside-cell-1040-1041 n-1040 n-1041) + (cell-edge c-c260 c-c261 n-1041 n-1034) + (cell-edge c-c260 c-c304 n-1037 n-1040) + (cell-edge c-c261 c-outside-cell-1044-1045 n-1044 n-1045) + (cell-edge c-c261 c-c262 n-1045 n-1034) + (cell-edge c-c261 c-outside-cell-1041-1044 n-1041 n-1044) + (cell-edge c-c262 c-c263 n-845 n-1034) + (cell-edge c-c262 c-outside-cell-1045-848 n-1045 n-848) + (cell-edge c-c264 c-c274 n-896 n-1057) + (cell-edge c-c264 c-c265 n-1057 n-1058) + (cell-edge c-c264 c-c269 n-1058 n-897) + (cell-edge c-c265 c-c311 n-1060 n-1061) + (cell-edge c-c265 c-c266 n-1061 n-1058) + (cell-edge c-c265 c-c273 n-1057 n-1060) + (cell-edge c-c266 c-c300 n-1064 n-1065) + (cell-edge c-c266 c-c267 n-1065 n-1058) + (cell-edge c-c266 c-c310 n-1061 n-1064) + (cell-edge c-c267 c-c268 n-1033 n-1058) + (cell-edge c-c267 c-c305 n-1065 n-1036) + (cell-edge c-c268 c-c269 n-869 n-1058) + (cell-edge c-c270 c-c280 n-920 n-1081) + (cell-edge c-c270 c-c271 n-1081 n-1082) + (cell-edge c-c270 c-c275 n-1082 n-921) + (cell-edge c-c271 c-c317 n-1084 n-1085) + (cell-edge c-c271 c-c272 n-1085 n-1082) + (cell-edge c-c271 c-c279 n-1081 n-1084) + (cell-edge c-c272 c-c306 n-1088 n-1089) + (cell-edge c-c272 c-c273 n-1089 n-1082) + (cell-edge c-c272 c-c316 n-1085 n-1088) + (cell-edge c-c273 c-c274 n-1057 n-1082) + (cell-edge c-c273 c-c311 n-1089 n-1060) + (cell-edge c-c274 c-c275 n-893 n-1082) + (cell-edge c-c276 c-c286 n-944 n-1105) + (cell-edge c-c276 c-c277 n-1105 n-1106) + (cell-edge c-c276 c-c281 n-1106 n-945) + (cell-edge c-c277 c-c323 n-1108 n-1109) + (cell-edge c-c277 c-c278 n-1109 n-1106) + (cell-edge c-c277 c-c285 n-1105 n-1108) + (cell-edge c-c278 c-c312 n-1112 n-1113) + (cell-edge c-c278 c-c279 n-1113 n-1106) + (cell-edge c-c278 c-c322 n-1109 n-1112) + (cell-edge c-c279 c-c280 n-1081 n-1106) + (cell-edge c-c279 c-c317 n-1113 n-1084) + (cell-edge c-c280 c-c281 n-917 n-1106) + (cell-edge c-c282 c-c292 n-968 n-1129) + (cell-edge c-c282 c-c283 n-1129 n-1130) + (cell-edge c-c282 c-c287 n-1130 n-969) + (cell-edge c-c283 c-c329 n-1132 n-1133) + (cell-edge c-c283 c-c284 n-1133 n-1130) + (cell-edge c-c283 c-c291 n-1129 n-1132) + (cell-edge c-c284 c-c318 n-1136 n-1137) + (cell-edge c-c284 c-c285 n-1137 n-1130) + (cell-edge c-c284 c-c328 n-1133 n-1136) + (cell-edge c-c285 c-c286 n-1105 n-1130) + (cell-edge c-c285 c-c323 n-1137 n-1108) + (cell-edge c-c286 c-c287 n-941 n-1130) + (cell-edge c-c288 c-c298 n-992 n-1153) + (cell-edge c-c288 c-c289 n-1153 n-1154) + (cell-edge c-c288 c-c293 n-1154 n-993) + (cell-edge c-c289 c-c335 n-1156 n-1157) + (cell-edge c-c289 c-c290 n-1157 n-1154) + (cell-edge c-c289 c-c297 n-1153 n-1156) + (cell-edge c-c290 c-c324 n-1160 n-1161) + (cell-edge c-c290 c-c291 n-1161 n-1154) + (cell-edge c-c290 c-c334 n-1157 n-1160) + (cell-edge c-c291 c-c292 n-1129 n-1154) + (cell-edge c-c291 c-c329 n-1161 n-1132) + (cell-edge c-c292 c-c293 n-965 n-1154) + (cell-edge c-c294 c-outside-cell-1016-1177 n-1016 n-1177) + (cell-edge c-c294 c-c295 n-1177 n-1178) + (cell-edge c-c294 c-c299 n-1178 n-1017) + (cell-edge c-c295 c-outside-cell-1180-1181 n-1180 n-1181) + (cell-edge c-c295 c-c296 n-1181 n-1178) + (cell-edge c-c295 c-outside-cell-1177-1180 n-1177 n-1180) + (cell-edge c-c296 c-c330 n-1184 n-1185) + (cell-edge c-c296 c-c297 n-1185 n-1178) + (cell-edge c-c296 c-outside-cell-1181-1184 n-1181 n-1184) + (cell-edge c-c297 c-c298 n-1153 n-1178) + (cell-edge c-c297 c-c335 n-1185 n-1156) + (cell-edge c-c298 c-c299 n-989 n-1178) + (cell-edge c-c300 c-c310 n-1064 n-1201) + (cell-edge c-c300 c-c301 n-1201 n-1202) + (cell-edge c-c300 c-c305 n-1202 n-1065) + (cell-edge c-c301 c-c341 n-1204 n-1205) + (cell-edge c-c301 c-c302 n-1205 n-1202) + (cell-edge c-c301 c-c309 n-1201 n-1204) + (cell-edge c-c302 c-outside-cell-1208-1209 n-1208 n-1209) + (cell-edge c-c302 c-c303 n-1209 n-1202) + (cell-edge c-c302 c-c340 n-1205 n-1208) + (cell-edge c-c303 c-outside-cell-1212-1213 n-1212 n-1213) + (cell-edge c-c303 c-c304 n-1213 n-1202) + (cell-edge c-c303 c-outside-cell-1209-1212 n-1209 n-1212) + (cell-edge c-c304 c-c305 n-1037 n-1202) + (cell-edge c-c304 c-outside-cell-1213-1040 n-1213 n-1040) + (cell-edge c-c306 c-c316 n-1088 n-1225) + (cell-edge c-c306 c-c307 n-1225 n-1226) + (cell-edge c-c306 c-c311 n-1226 n-1089) + (cell-edge c-c307 c-c347 n-1228 n-1229) + (cell-edge c-c307 c-c308 n-1229 n-1226) + (cell-edge c-c307 c-c315 n-1225 n-1228) + (cell-edge c-c308 c-c336 n-1232 n-1233) + (cell-edge c-c308 c-c309 n-1233 n-1226) + (cell-edge c-c308 c-c346 n-1229 n-1232) + (cell-edge c-c309 c-c310 n-1201 n-1226) + (cell-edge c-c309 c-c341 n-1233 n-1204) + (cell-edge c-c310 c-c311 n-1061 n-1226) + (cell-edge c-c312 c-c322 n-1112 n-1249) + (cell-edge c-c312 c-c313 n-1249 n-1250) + (cell-edge c-c312 c-c317 n-1250 n-1113) + (cell-edge c-c313 c-c353 n-1252 n-1253) + (cell-edge c-c313 c-c314 n-1253 n-1250) + (cell-edge c-c313 c-c321 n-1249 n-1252) + (cell-edge c-c314 c-c342 n-1256 n-1257) + (cell-edge c-c314 c-c315 n-1257 n-1250) + (cell-edge c-c314 c-c352 n-1253 n-1256) + (cell-edge c-c315 c-c316 n-1225 n-1250) + (cell-edge c-c315 c-c347 n-1257 n-1228) + (cell-edge c-c316 c-c317 n-1085 n-1250) + (cell-edge c-c318 c-c328 n-1136 n-1273) + (cell-edge c-c318 c-c319 n-1273 n-1274) + (cell-edge c-c318 c-c323 n-1274 n-1137) + (cell-edge c-c319 c-c359 n-1276 n-1277) + (cell-edge c-c319 c-c320 n-1277 n-1274) + (cell-edge c-c319 c-c327 n-1273 n-1276) + (cell-edge c-c320 c-c348 n-1280 n-1281) + (cell-edge c-c320 c-c321 n-1281 n-1274) + (cell-edge c-c320 c-c358 n-1277 n-1280) + (cell-edge c-c321 c-c322 n-1249 n-1274) + (cell-edge c-c321 c-c353 n-1281 n-1252) + (cell-edge c-c322 c-c323 n-1109 n-1274) + (cell-edge c-c324 c-c334 n-1160 n-1297) + (cell-edge c-c324 c-c325 n-1297 n-1298) + (cell-edge c-c324 c-c329 n-1298 n-1161) + (cell-edge c-c325 c-c365 n-1300 n-1301) + (cell-edge c-c325 c-c326 n-1301 n-1298) + (cell-edge c-c325 c-c333 n-1297 n-1300) + (cell-edge c-c326 c-c354 n-1304 n-1305) + (cell-edge c-c326 c-c327 n-1305 n-1298) + (cell-edge c-c326 c-c364 n-1301 n-1304) + (cell-edge c-c327 c-c328 n-1273 n-1298) + (cell-edge c-c327 c-c359 n-1305 n-1276) + (cell-edge c-c328 c-c329 n-1133 n-1298) + (cell-edge c-c330 c-outside-cell-1184-1321 n-1184 n-1321) + (cell-edge c-c330 c-c331 n-1321 n-1322) + (cell-edge c-c330 c-c335 n-1322 n-1185) + (cell-edge c-c331 c-outside-cell-1324-1325 n-1324 n-1325) + (cell-edge c-c331 c-c332 n-1325 n-1322) + (cell-edge c-c331 c-outside-cell-1321-1324 n-1321 n-1324) + (cell-edge c-c332 c-c360 n-1328 n-1329) + (cell-edge c-c332 c-c333 n-1329 n-1322) + (cell-edge c-c332 c-outside-cell-1325-1328 n-1325 n-1328) + (cell-edge c-c333 c-c334 n-1297 n-1322) + (cell-edge c-c333 c-c365 n-1329 n-1300) + (cell-edge c-c334 c-c335 n-1157 n-1322) + (cell-edge c-c336 c-c346 n-1232 n-1345) + (cell-edge c-c336 c-c337 n-1345 n-1346) + (cell-edge c-c336 c-c341 n-1346 n-1233) + (cell-edge c-c337 c-outside-cell-1348-1349 n-1348 n-1349) + (cell-edge c-c337 c-c338 n-1349 n-1346) + (cell-edge c-c337 c-c345 n-1345 n-1348) + (cell-edge c-c338 c-outside-cell-1352-1353 n-1352 n-1353) + (cell-edge c-c338 c-c339 n-1353 n-1346) + (cell-edge c-c338 c-outside-cell-1349-1352 n-1349 n-1352) + (cell-edge c-c339 c-outside-cell-1356-1357 n-1356 n-1357) + (cell-edge c-c339 c-c340 n-1357 n-1346) + (cell-edge c-c339 c-outside-cell-1353-1356 n-1353 n-1356) + (cell-edge c-c340 c-c341 n-1205 n-1346) + (cell-edge c-c340 c-outside-cell-1357-1208 n-1357 n-1208) + (cell-edge c-c342 c-c352 n-1256 n-1369) + (cell-edge c-c342 c-c343 n-1369 n-1370) + (cell-edge c-c342 c-c347 n-1370 n-1257) + (cell-edge c-c343 c-outside-cell-1372-1373 n-1372 n-1373) + (cell-edge c-c343 c-c344 n-1373 n-1370) + (cell-edge c-c343 c-c351 n-1369 n-1372) + (cell-edge c-c344 c-outside-cell-1376-1377 n-1376 n-1377) + (cell-edge c-c344 c-c345 n-1377 n-1370) + (cell-edge c-c344 c-outside-cell-1373-1376 n-1373 n-1376) + (cell-edge c-c345 c-c346 n-1345 n-1370) + (cell-edge c-c345 c-outside-cell-1377-1348 n-1377 n-1348) + (cell-edge c-c346 c-c347 n-1229 n-1370) + (cell-edge c-c348 c-c358 n-1280 n-1393) + (cell-edge c-c348 c-c349 n-1393 n-1394) + (cell-edge c-c348 c-c353 n-1394 n-1281) + (cell-edge c-c349 c-outside-cell-1396-1397 n-1396 n-1397) + (cell-edge c-c349 c-c350 n-1397 n-1394) + (cell-edge c-c349 c-c357 n-1393 n-1396) + (cell-edge c-c350 c-outside-cell-1400-1401 n-1400 n-1401) + (cell-edge c-c350 c-c351 n-1401 n-1394) + (cell-edge c-c350 c-outside-cell-1397-1400 n-1397 n-1400) + (cell-edge c-c351 c-c352 n-1369 n-1394) + (cell-edge c-c351 c-outside-cell-1401-1372 n-1401 n-1372) + (cell-edge c-c352 c-c353 n-1253 n-1394) + (cell-edge c-c354 c-c364 n-1304 n-1417) + (cell-edge c-c354 c-c355 n-1417 n-1418) + (cell-edge c-c354 c-c359 n-1418 n-1305) + (cell-edge c-c355 c-outside-cell-1420-1421 n-1420 n-1421) + (cell-edge c-c355 c-c356 n-1421 n-1418) + (cell-edge c-c355 c-c363 n-1417 n-1420) + (cell-edge c-c356 c-outside-cell-1424-1425 n-1424 n-1425) + (cell-edge c-c356 c-c357 n-1425 n-1418) + (cell-edge c-c356 c-outside-cell-1421-1424 n-1421 n-1424) + (cell-edge c-c357 c-c358 n-1393 n-1418) + (cell-edge c-c357 c-outside-cell-1425-1396 n-1425 n-1396) + (cell-edge c-c358 c-c359 n-1277 n-1418) + (cell-edge c-c360 c-outside-cell-1328-1441 n-1328 n-1441) + (cell-edge c-c360 c-c361 n-1441 n-1442) + (cell-edge c-c360 c-c365 n-1442 n-1329) + (cell-edge c-c361 c-outside-cell-1444-1445 n-1444 n-1445) + (cell-edge c-c361 c-c362 n-1445 n-1442) + (cell-edge c-c361 c-outside-cell-1441-1444 n-1441 n-1444) + (cell-edge c-c362 c-outside-cell-1448-1449 n-1448 n-1449) + (cell-edge c-c362 c-c363 n-1449 n-1442) + (cell-edge c-c362 c-outside-cell-1445-1448 n-1445 n-1448) + (cell-edge c-c363 c-c364 n-1417 n-1442) + (cell-edge c-c363 c-outside-cell-1449-1420 n-1449 n-1420) + (cell-edge c-c364 c-c365 n-1301 n-1442) + + +) +(:goal + (and + (not (node-degree1 n-0)) + (not (node-degree1 n-1)) + (not (node-degree1 n-100)) + (not (node-degree1 n-1009)) + (not (node-degree1 n-101)) + (not (node-degree1 n-1010)) + (not (node-degree1 n-1012)) + (not (node-degree1 n-1013)) + (not (node-degree1 n-1016)) + (not (node-degree1 n-1017)) + (not (node-degree1 n-1033)) + (not (node-degree1 n-1034)) + (not (node-degree1 n-1036)) + (not (node-degree1 n-1037)) + (not (node-degree1 n-104)) + (not (node-degree1 n-1040)) + (not (node-degree1 n-1041)) + (not (node-degree1 n-1044)) + (not (node-degree1 n-1045)) + (not (node-degree1 n-105)) + (not (node-degree1 n-1057)) + (not (node-degree1 n-1058)) + (not (node-degree1 n-1060)) + (not (node-degree1 n-1061)) + (not (node-degree1 n-1064)) + (not (node-degree1 n-1065)) + (not (node-degree1 n-1081)) + (not (node-degree1 n-1082)) + (not (node-degree1 n-1084)) + (not (node-degree1 n-1085)) + (not (node-degree1 n-1088)) + (not (node-degree1 n-1089)) + (not (node-degree1 n-1105)) + (not (node-degree1 n-1106)) + (not (node-degree1 n-1108)) + (not (node-degree1 n-1109)) + (not (node-degree1 n-1112)) + (not (node-degree1 n-1113)) + (not (node-degree1 n-1129)) + (not (node-degree1 n-113)) + (not (node-degree1 n-1130)) + (not (node-degree1 n-1132)) + (not (node-degree1 n-1133)) + (not (node-degree1 n-1136)) + (not (node-degree1 n-1137)) + (not (node-degree1 n-1153)) + (not (node-degree1 n-1154)) + (not (node-degree1 n-1156)) + (not (node-degree1 n-1157)) + (not (node-degree1 n-116)) + (not (node-degree1 n-1160)) + (not (node-degree1 n-1161)) + (not (node-degree1 n-1177)) + (not (node-degree1 n-1178)) + (not (node-degree1 n-1180)) + (not (node-degree1 n-1181)) + (not (node-degree1 n-1184)) + (not (node-degree1 n-1185)) + (not (node-degree1 n-12)) + (not (node-degree1 n-1201)) + (not (node-degree1 n-1202)) + (not (node-degree1 n-1204)) + (not (node-degree1 n-1205)) + (not (node-degree1 n-1208)) + (not (node-degree1 n-1209)) + (not (node-degree1 n-121)) + (not (node-degree1 n-1212)) + (not (node-degree1 n-1213)) + (not (node-degree1 n-122)) + (not (node-degree1 n-1225)) + (not (node-degree1 n-1226)) + (not (node-degree1 n-1228)) + (not (node-degree1 n-1229)) + (not (node-degree1 n-1232)) + (not (node-degree1 n-1233)) + (not (node-degree1 n-124)) + (not (node-degree1 n-1249)) + (not (node-degree1 n-125)) + (not (node-degree1 n-1250)) + (not (node-degree1 n-1252)) + (not (node-degree1 n-1253)) + (not (node-degree1 n-1256)) + (not (node-degree1 n-1257)) + (not (node-degree1 n-1273)) + (not (node-degree1 n-1274)) + (not (node-degree1 n-1276)) + (not (node-degree1 n-1277)) + (not (node-degree1 n-128)) + (not (node-degree1 n-1280)) + (not (node-degree1 n-1281)) + (not (node-degree1 n-129)) + (not (node-degree1 n-1297)) + (not (node-degree1 n-1298)) + (not (node-degree1 n-13)) + (not (node-degree1 n-1300)) + (not (node-degree1 n-1301)) + (not (node-degree1 n-1304)) + (not (node-degree1 n-1305)) + (not (node-degree1 n-132)) + (not (node-degree1 n-1321)) + (not (node-degree1 n-1322)) + (not (node-degree1 n-1324)) + (not (node-degree1 n-1325)) + (not (node-degree1 n-1328)) + (not (node-degree1 n-1329)) + (not (node-degree1 n-133)) + (not (node-degree1 n-1345)) + (not (node-degree1 n-1346)) + (not (node-degree1 n-1348)) + (not (node-degree1 n-1349)) + (not (node-degree1 n-1352)) + (not (node-degree1 n-1353)) + (not (node-degree1 n-1356)) + (not (node-degree1 n-1357)) + (not (node-degree1 n-136)) + (not (node-degree1 n-1369)) + (not (node-degree1 n-137)) + (not (node-degree1 n-1370)) + (not (node-degree1 n-1372)) + (not (node-degree1 n-1373)) + (not (node-degree1 n-1376)) + (not (node-degree1 n-1377)) + (not (node-degree1 n-1393)) + (not (node-degree1 n-1394)) + (not (node-degree1 n-1396)) + (not (node-degree1 n-1397)) + (not (node-degree1 n-1400)) + (not (node-degree1 n-1401)) + (not (node-degree1 n-1417)) + (not (node-degree1 n-1418)) + (not (node-degree1 n-1420)) + (not (node-degree1 n-1421)) + (not (node-degree1 n-1424)) + (not (node-degree1 n-1425)) + (not (node-degree1 n-1441)) + (not (node-degree1 n-1442)) + (not (node-degree1 n-1444)) + (not (node-degree1 n-1445)) + (not (node-degree1 n-1448)) + (not (node-degree1 n-1449)) + (not (node-degree1 n-145)) + (not (node-degree1 n-146)) + (not (node-degree1 n-148)) + (not (node-degree1 n-149)) + (not (node-degree1 n-152)) + (not (node-degree1 n-153)) + (not (node-degree1 n-16)) + (not (node-degree1 n-169)) + (not (node-degree1 n-17)) + (not (node-degree1 n-170)) + (not (node-degree1 n-172)) + (not (node-degree1 n-173)) + (not (node-degree1 n-176)) + (not (node-degree1 n-177)) + (not (node-degree1 n-193)) + (not (node-degree1 n-194)) + (not (node-degree1 n-196)) + (not (node-degree1 n-197)) + (not (node-degree1 n-2)) + (not (node-degree1 n-20)) + (not (node-degree1 n-200)) + (not (node-degree1 n-201)) + (not (node-degree1 n-217)) + (not (node-degree1 n-218)) + (not (node-degree1 n-220)) + (not (node-degree1 n-221)) + (not (node-degree1 n-224)) + (not (node-degree1 n-225)) + (not (node-degree1 n-24)) + (not (node-degree1 n-240)) + (not (node-degree1 n-241)) + (not (node-degree1 n-242)) + (not (node-degree1 n-243)) + (not (node-degree1 n-244)) + (not (node-degree1 n-245)) + (not (node-degree1 n-248)) + (not (node-degree1 n-249)) + (not (node-degree1 n-25)) + (not (node-degree1 n-26)) + (not (node-degree1 n-265)) + (not (node-degree1 n-266)) + (not (node-degree1 n-268)) + (not (node-degree1 n-269)) + (not (node-degree1 n-27)) + (not (node-degree1 n-272)) + (not (node-degree1 n-273)) + (not (node-degree1 n-276)) + (not (node-degree1 n-277)) + (not (node-degree1 n-28)) + (not (node-degree1 n-280)) + (not (node-degree1 n-281)) + (not (node-degree1 n-289)) + (not (node-degree1 n-29)) + (not (node-degree1 n-290)) + (not (node-degree1 n-292)) + (not (node-degree1 n-293)) + (not (node-degree1 n-296)) + (not (node-degree1 n-297)) + (not (node-degree1 n-3)) + (not (node-degree1 n-313)) + (not (node-degree1 n-314)) + (not (node-degree1 n-316)) + (not (node-degree1 n-317)) + (not (node-degree1 n-32)) + (not (node-degree1 n-320)) + (not (node-degree1 n-321)) + (not (node-degree1 n-33)) + (not (node-degree1 n-337)) + (not (node-degree1 n-338)) + (not (node-degree1 n-340)) + (not (node-degree1 n-341)) + (not (node-degree1 n-344)) + (not (node-degree1 n-345)) + (not (node-degree1 n-361)) + (not (node-degree1 n-362)) + (not (node-degree1 n-364)) + (not (node-degree1 n-365)) + (not (node-degree1 n-368)) + (not (node-degree1 n-369)) + (not (node-degree1 n-385)) + (not (node-degree1 n-386)) + (not (node-degree1 n-388)) + (not (node-degree1 n-389)) + (not (node-degree1 n-392)) + (not (node-degree1 n-393)) + (not (node-degree1 n-4)) + (not (node-degree1 n-408)) + (not (node-degree1 n-409)) + (not (node-degree1 n-41)) + (not (node-degree1 n-410)) + (not (node-degree1 n-411)) + (not (node-degree1 n-412)) + (not (node-degree1 n-413)) + (not (node-degree1 n-416)) + (not (node-degree1 n-417)) + (not (node-degree1 n-433)) + (not (node-degree1 n-434)) + (not (node-degree1 n-436)) + (not (node-degree1 n-437)) + (not (node-degree1 n-44)) + (not (node-degree1 n-440)) + (not (node-degree1 n-441)) + (not (node-degree1 n-444)) + (not (node-degree1 n-445)) + (not (node-degree1 n-448)) + (not (node-degree1 n-449)) + (not (node-degree1 n-457)) + (not (node-degree1 n-458)) + (not (node-degree1 n-460)) + (not (node-degree1 n-461)) + (not (node-degree1 n-464)) + (not (node-degree1 n-465)) + (not (node-degree1 n-48)) + (not (node-degree1 n-481)) + (not (node-degree1 n-482)) + (not (node-degree1 n-484)) + (not (node-degree1 n-485)) + (not (node-degree1 n-488)) + (not (node-degree1 n-489)) + (not (node-degree1 n-49)) + (not (node-degree1 n-5)) + (not (node-degree1 n-50)) + (not (node-degree1 n-505)) + (not (node-degree1 n-506)) + (not (node-degree1 n-508)) + (not (node-degree1 n-509)) + (not (node-degree1 n-51)) + (not (node-degree1 n-512)) + (not (node-degree1 n-513)) + (not (node-degree1 n-52)) + (not (node-degree1 n-529)) + (not (node-degree1 n-53)) + (not (node-degree1 n-530)) + (not (node-degree1 n-532)) + (not (node-degree1 n-533)) + (not (node-degree1 n-536)) + (not (node-degree1 n-537)) + (not (node-degree1 n-553)) + (not (node-degree1 n-554)) + (not (node-degree1 n-556)) + (not (node-degree1 n-557)) + (not (node-degree1 n-56)) + (not (node-degree1 n-560)) + (not (node-degree1 n-561)) + (not (node-degree1 n-57)) + (not (node-degree1 n-577)) + (not (node-degree1 n-578)) + (not (node-degree1 n-580)) + (not (node-degree1 n-581)) + (not (node-degree1 n-584)) + (not (node-degree1 n-585)) + (not (node-degree1 n-600)) + (not (node-degree1 n-601)) + (not (node-degree1 n-602)) + (not (node-degree1 n-603)) + (not (node-degree1 n-604)) + (not (node-degree1 n-605)) + (not (node-degree1 n-608)) + (not (node-degree1 n-609)) + (not (node-degree1 n-625)) + (not (node-degree1 n-626)) + (not (node-degree1 n-628)) + (not (node-degree1 n-629)) + (not (node-degree1 n-632)) + (not (node-degree1 n-633)) + (not (node-degree1 n-636)) + (not (node-degree1 n-637)) + (not (node-degree1 n-640)) + (not (node-degree1 n-641)) + (not (node-degree1 n-649)) + (not (node-degree1 n-65)) + (not (node-degree1 n-650)) + (not (node-degree1 n-652)) + (not (node-degree1 n-653)) + (not (node-degree1 n-656)) + (not (node-degree1 n-657)) + (not (node-degree1 n-673)) + (not (node-degree1 n-674)) + (not (node-degree1 n-676)) + (not (node-degree1 n-677)) + (not (node-degree1 n-68)) + (not (node-degree1 n-680)) + (not (node-degree1 n-681)) + (not (node-degree1 n-697)) + (not (node-degree1 n-698)) + (not (node-degree1 n-700)) + (not (node-degree1 n-701)) + (not (node-degree1 n-704)) + (not (node-degree1 n-705)) + (not (node-degree1 n-72)) + (not (node-degree1 n-721)) + (not (node-degree1 n-722)) + (not (node-degree1 n-724)) + (not (node-degree1 n-725)) + (not (node-degree1 n-728)) + (not (node-degree1 n-729)) + (not (node-degree1 n-73)) + (not (node-degree1 n-74)) + (not (node-degree1 n-745)) + (not (node-degree1 n-746)) + (not (node-degree1 n-748)) + (not (node-degree1 n-749)) + (not (node-degree1 n-75)) + (not (node-degree1 n-752)) + (not (node-degree1 n-753)) + (not (node-degree1 n-76)) + (not (node-degree1 n-769)) + (not (node-degree1 n-77)) + (not (node-degree1 n-770)) + (not (node-degree1 n-772)) + (not (node-degree1 n-773)) + (not (node-degree1 n-776)) + (not (node-degree1 n-777)) + (not (node-degree1 n-793)) + (not (node-degree1 n-794)) + (not (node-degree1 n-796)) + (not (node-degree1 n-797)) + (not (node-degree1 n-8)) + (not (node-degree1 n-80)) + (not (node-degree1 n-800)) + (not (node-degree1 n-801)) + (not (node-degree1 n-81)) + (not (node-degree1 n-816)) + (not (node-degree1 n-817)) + (not (node-degree1 n-818)) + (not (node-degree1 n-819)) + (not (node-degree1 n-820)) + (not (node-degree1 n-821)) + (not (node-degree1 n-824)) + (not (node-degree1 n-825)) + (not (node-degree1 n-841)) + (not (node-degree1 n-842)) + (not (node-degree1 n-844)) + (not (node-degree1 n-845)) + (not (node-degree1 n-848)) + (not (node-degree1 n-849)) + (not (node-degree1 n-852)) + (not (node-degree1 n-853)) + (not (node-degree1 n-865)) + (not (node-degree1 n-866)) + (not (node-degree1 n-868)) + (not (node-degree1 n-869)) + (not (node-degree1 n-872)) + (not (node-degree1 n-873)) + (not (node-degree1 n-889)) + (not (node-degree1 n-89)) + (not (node-degree1 n-890)) + (not (node-degree1 n-892)) + (not (node-degree1 n-893)) + (not (node-degree1 n-896)) + (not (node-degree1 n-897)) + (not (node-degree1 n-9)) + (not (node-degree1 n-913)) + (not (node-degree1 n-914)) + (not (node-degree1 n-916)) + (not (node-degree1 n-917)) + (not (node-degree1 n-92)) + (not (node-degree1 n-920)) + (not (node-degree1 n-921)) + (not (node-degree1 n-937)) + (not (node-degree1 n-938)) + (not (node-degree1 n-940)) + (not (node-degree1 n-941)) + (not (node-degree1 n-944)) + (not (node-degree1 n-945)) + (not (node-degree1 n-96)) + (not (node-degree1 n-961)) + (not (node-degree1 n-962)) + (not (node-degree1 n-964)) + (not (node-degree1 n-965)) + (not (node-degree1 n-968)) + (not (node-degree1 n-969)) + (not (node-degree1 n-97)) + (not (node-degree1 n-98)) + (not (node-degree1 n-985)) + (not (node-degree1 n-986)) + (not (node-degree1 n-988)) + (not (node-degree1 n-989)) + (not (node-degree1 n-99)) + (not (node-degree1 n-992)) + (not (node-degree1 n-993)) + + (cell-capacity c-c2 cap-0) + (cell-capacity c-c4 cap-0) + (cell-capacity c-c5 cap-0) + (cell-capacity c-c9 cap-0) + (cell-capacity c-c11 cap-0) + (cell-capacity c-c14 cap-0) + (cell-capacity c-c16 cap-0) + (cell-capacity c-c18 cap-0) + (cell-capacity c-c21 cap-0) + (cell-capacity c-c24 cap-0) + (cell-capacity c-c28 cap-0) + (cell-capacity c-c32 cap-0) + (cell-capacity c-c34 cap-0) + (cell-capacity c-c36 cap-0) + (cell-capacity c-c37 cap-0) + (cell-capacity c-c38 cap-0) + (cell-capacity c-c41 cap-0) + (cell-capacity c-c44 cap-0) + (cell-capacity c-c47 cap-0) + (cell-capacity c-c48 cap-0) + (cell-capacity c-c49 cap-0) + (cell-capacity c-c54 cap-0) + (cell-capacity c-c55 cap-0) + (cell-capacity c-c58 cap-0) + (cell-capacity c-c59 cap-0) + (cell-capacity c-c61 cap-0) + (cell-capacity c-c64 cap-0) + (cell-capacity c-c67 cap-0) + (cell-capacity c-c69 cap-0) + (cell-capacity c-c71 cap-0) + (cell-capacity c-c72 cap-0) + (cell-capacity c-c73 cap-0) + (cell-capacity c-c77 cap-0) + (cell-capacity c-c79 cap-0) + (cell-capacity c-c81 cap-0) + (cell-capacity c-c82 cap-0) + (cell-capacity c-c83 cap-0) + (cell-capacity c-c84 cap-0) + (cell-capacity c-c87 cap-0) + (cell-capacity c-c93 cap-0) + (cell-capacity c-c94 cap-0) + (cell-capacity c-c97 cap-0) + (cell-capacity c-c98 cap-0) + (cell-capacity c-c99 cap-0) + (cell-capacity c-c102 cap-0) + (cell-capacity c-c110 cap-0) + (cell-capacity c-c111 cap-0) + (cell-capacity c-c122 cap-0) + (cell-capacity c-c125 cap-0) + (cell-capacity c-c128 cap-0) + (cell-capacity c-c130 cap-0) + (cell-capacity c-c133 cap-0) + (cell-capacity c-c134 cap-0) + (cell-capacity c-c135 cap-0) + (cell-capacity c-c137 cap-0) + (cell-capacity c-c142 cap-0) + (cell-capacity c-c145 cap-0) + (cell-capacity c-c146 cap-0) + (cell-capacity c-c147 cap-0) + (cell-capacity c-c148 cap-0) + (cell-capacity c-c151 cap-0) + (cell-capacity c-c152 cap-0) + (cell-capacity c-c153 cap-0) + (cell-capacity c-c158 cap-0) + (cell-capacity c-c161 cap-0) + (cell-capacity c-c162 cap-0) + (cell-capacity c-c163 cap-0) + (cell-capacity c-c164 cap-0) + (cell-capacity c-c165 cap-0) + (cell-capacity c-c166 cap-0) + (cell-capacity c-c169 cap-0) + (cell-capacity c-c170 cap-0) + (cell-capacity c-c171 cap-0) + (cell-capacity c-c173 cap-0) + (cell-capacity c-c177 cap-0) + (cell-capacity c-c179 cap-0) + (cell-capacity c-c181 cap-0) + (cell-capacity c-c183 cap-0) + (cell-capacity c-c186 cap-0) + (cell-capacity c-c187 cap-0) + (cell-capacity c-c188 cap-0) + (cell-capacity c-c189 cap-0) + (cell-capacity c-c190 cap-0) + (cell-capacity c-c191 cap-0) + (cell-capacity c-c194 cap-0) + (cell-capacity c-c197 cap-0) + (cell-capacity c-c202 cap-0) + (cell-capacity c-c206 cap-0) + (cell-capacity c-c207 cap-0) + (cell-capacity c-c209 cap-0) + (cell-capacity c-c210 cap-0) + (cell-capacity c-c211 cap-0) + (cell-capacity c-c212 cap-0) + (cell-capacity c-c213 cap-0) + (cell-capacity c-c214 cap-0) + (cell-capacity c-c215 cap-0) + (cell-capacity c-c218 cap-0) + (cell-capacity c-c222 cap-0) + (cell-capacity c-c225 cap-0) + (cell-capacity c-c226 cap-0) + (cell-capacity c-c229 cap-0) + (cell-capacity c-c232 cap-0) + (cell-capacity c-c233 cap-0) + (cell-capacity c-c236 cap-0) + (cell-capacity c-c237 cap-0) + (cell-capacity c-c238 cap-0) + (cell-capacity c-c241 cap-0) + (cell-capacity c-c243 cap-0) + (cell-capacity c-c245 cap-0) + (cell-capacity c-c248 cap-0) + (cell-capacity c-c249 cap-0) + (cell-capacity c-c253 cap-0) + (cell-capacity c-c255 cap-0) + (cell-capacity c-c256 cap-0) + (cell-capacity c-c257 cap-0) + (cell-capacity c-c259 cap-0) + (cell-capacity c-c261 cap-0) + (cell-capacity c-c265 cap-0) + (cell-capacity c-c266 cap-0) + (cell-capacity c-c270 cap-0) + (cell-capacity c-c276 cap-0) + (cell-capacity c-c277 cap-0) + (cell-capacity c-c278 cap-0) + (cell-capacity c-c286 cap-0) + (cell-capacity c-c289 cap-0) + (cell-capacity c-c291 cap-0) + (cell-capacity c-c295 cap-0) + (cell-capacity c-c297 cap-0) + (cell-capacity c-c299 cap-0) + (cell-capacity c-c303 cap-0) + (cell-capacity c-c305 cap-0) + (cell-capacity c-c306 cap-0) + (cell-capacity c-c307 cap-0) + (cell-capacity c-c308 cap-0) + (cell-capacity c-c309 cap-0) + (cell-capacity c-c311 cap-0) + (cell-capacity c-c314 cap-0) + (cell-capacity c-c316 cap-0) + (cell-capacity c-c317 cap-0) + (cell-capacity c-c321 cap-0) + (cell-capacity c-c325 cap-0) + (cell-capacity c-c332 cap-0) + (cell-capacity c-c333 cap-0) + (cell-capacity c-c334 cap-0) + (cell-capacity c-c335 cap-0) + (cell-capacity c-c337 cap-0) + (cell-capacity c-c340 cap-0) + (cell-capacity c-c341 cap-0) + (cell-capacity c-c344 cap-0) + (cell-capacity c-c350 cap-0) + (cell-capacity c-c351 cap-0) + (cell-capacity c-c353 cap-0) + (cell-capacity c-c354 cap-0) + (cell-capacity c-c355 cap-0) + (cell-capacity c-c356 cap-0) + (cell-capacity c-c358 cap-0) + (cell-capacity c-c360 cap-0) + (cell-capacity c-c361 cap-0) + (cell-capacity c-c363 cap-0) + (cell-capacity c-c365 cap-0) + ) +) +) + + + diff --git a/slitherlink-sat23-adl/domain.pddl b/slitherlink-sat23-adl/domain.pddl new file mode 100644 index 00000000..6385c7e8 --- /dev/null +++ b/slitherlink-sat23-adl/domain.pddl @@ -0,0 +1,185 @@ +(define (domain slitherlink) +(:requirements :typing :adl) + +(:types + node - object + cell - object + cell-capacity-level - object +) + +(:predicates + ;; Ordering of cell capacities + (CELL-CAPACITY-INC ?clower ?chigher - cell-capacity-level) + ;; Current cell capacity, i.e., how many links can be placed around the cell + (CELL-CAPACITY ?c - cell ?cap - cell-capacity-level) + ;; The edge between nodes ?n1 ?n2 is an edge bordering cells ?c1 and ?c2 + (CELL-EDGE ?c1 ?c2 - cell ?n1 ?n2 - node) + ;; The node (vertex) is not connected to any link + (node-degree0 ?n - node) + ;; The node is connected to exactly one link + (node-degree1 ?n - node) + ;; The node is connected to exactly two links + (node-degree2 ?n - node) + ;; ?n1 and ?n2 are (slither)linked + (linked ?n1 ?n2 - node) + ;; Disables link-0-0 action after its first use + (disable-link-0-0) +) + +;; This action is used only at the beginning of a plan. Disabling it (using +;; the predicate disable-link-0-0) after its first use ensures that the +;; solution is a single cycle. +;; Without it, the plan could produce several closed loops. For example: +;; input: possible incorrect solution: correct solution: +;; + + + + +-+ + + +-+-+-+ +;; 3 . . |3|. . |3 . .| +;; + + + + + + +-+ +-+ +-+ +;; . . 3 |.|.|3| .|.|3 +;; + + + + +-+ + + +-+ +-+ +;; . 1 3 . 1|3| |. 1 3| +;; + + + + + + +-+ +-+-+-+ +;; +;; Another possibility would be to remove this action entirely and put one +;; starting link in the initial state. This can be accomplished without +;; actually changing this domain file by simply putting (disable-link-0-0) +;; in the initial state. +;; +;; A yet another possibility would be to add a (zero-cost) verification +;; procedure that traverses the links and makes sure they form a single cycle. +;; We decided not to go in this direction here. +;; +(:action link-0-0 + :parameters (?n1 - node ?n2 - node + ?c1 - cell ?c1capfrom ?c1capto - cell-capacity-level + ?c2 - cell ?c2capfrom ?c2capto - cell-capacity-level) + :precondition + (and + (not (linked ?n1 ?n2)) + (node-degree0 ?n1) + (node-degree0 ?n2) + (CELL-EDGE ?c1 ?c2 ?n1 ?n2) + (CELL-CAPACITY ?c1 ?c1capfrom) + (CELL-CAPACITY ?c2 ?c2capfrom) + (CELL-CAPACITY-INC ?c1capto ?c1capfrom) + (CELL-CAPACITY-INC ?c2capto ?c2capfrom) + (not (disable-link-0-0)) + ) + :effect + (and + (linked ?n1 ?n2) + + (not (node-degree0 ?n1)) + (node-degree1 ?n1) + + (not (node-degree0 ?n2)) + (node-degree1 ?n2) + + (not (CELL-CAPACITY ?c1 ?c1capfrom)) + (CELL-CAPACITY ?c1 ?c1capto) + + (not (CELL-CAPACITY ?c2 ?c2capfrom)) + (CELL-CAPACITY ?c2 ?c2capto) + + (disable-link-0-0) + ) +) + +(:action link-0-1 + :parameters (?n1 - node ?n2 - node + ?c1 - cell ?c1capfrom ?c1capto - cell-capacity-level + ?c2 - cell ?c2capfrom ?c2capto - cell-capacity-level) + :precondition + (and + (not (linked ?n1 ?n2)) + (node-degree0 ?n1) + (node-degree1 ?n2) + (CELL-EDGE ?c1 ?c2 ?n1 ?n2) + (CELL-CAPACITY ?c1 ?c1capfrom) + (CELL-CAPACITY ?c2 ?c2capfrom) + (CELL-CAPACITY-INC ?c1capto ?c1capfrom) + (CELL-CAPACITY-INC ?c2capto ?c2capfrom) + ) + :effect + (and + (linked ?n1 ?n2) + + (not (node-degree0 ?n1)) + (node-degree1 ?n1) + + (not (node-degree1 ?n2)) + (node-degree2 ?n2) + + (not (CELL-CAPACITY ?c1 ?c1capfrom)) + (CELL-CAPACITY ?c1 ?c1capto) + + (not (CELL-CAPACITY ?c2 ?c2capfrom)) + (CELL-CAPACITY ?c2 ?c2capto) + ) +) + +(:action link-1-0 + :parameters (?n1 - node ?n2 - node + ?c1 - cell ?c1capfrom ?c1capto - cell-capacity-level + ?c2 - cell ?c2capfrom ?c2capto - cell-capacity-level) + :precondition + (and + (not (linked ?n1 ?n2)) + (node-degree1 ?n1) + (node-degree0 ?n2) + (CELL-EDGE ?c1 ?c2 ?n1 ?n2) + (CELL-CAPACITY ?c1 ?c1capfrom) + (CELL-CAPACITY ?c2 ?c2capfrom) + (CELL-CAPACITY-INC ?c1capto ?c1capfrom) + (CELL-CAPACITY-INC ?c2capto ?c2capfrom) + ) + :effect + (and + (linked ?n1 ?n2) + + (not (node-degree1 ?n1)) + (node-degree2 ?n1) + + (not (node-degree0 ?n2)) + (node-degree1 ?n2) + + (not (CELL-CAPACITY ?c1 ?c1capfrom)) + (CELL-CAPACITY ?c1 ?c1capto) + + (not (CELL-CAPACITY ?c2 ?c2capfrom)) + (CELL-CAPACITY ?c2 ?c2capto) + ) +) + +(:action link-1-1 + :parameters (?n1 - node ?n2 - node + ?c1 - cell ?c1capfrom ?c1capto - cell-capacity-level + ?c2 - cell ?c2capfrom ?c2capto - cell-capacity-level) + :precondition + (and + (not (linked ?n1 ?n2)) + (node-degree1 ?n1) + (node-degree1 ?n2) + (CELL-EDGE ?c1 ?c2 ?n1 ?n2) + (CELL-CAPACITY ?c1 ?c1capfrom) + (CELL-CAPACITY ?c2 ?c2capfrom) + (CELL-CAPACITY-INC ?c1capto ?c1capfrom) + (CELL-CAPACITY-INC ?c2capto ?c2capfrom) + ) + :effect + (and + (linked ?n1 ?n2) + + (not (node-degree1 ?n1)) + (node-degree2 ?n1) + + (not (node-degree1 ?n2)) + (node-degree2 ?n2) + + (not (CELL-CAPACITY ?c1 ?c1capfrom)) + (CELL-CAPACITY ?c1 ?c1capto) + + (not (CELL-CAPACITY ?c2 ?c2capfrom)) + (CELL-CAPACITY ?c2 ?c2capto) + ) +) +) diff --git a/slitherlink-sat23-adl/p01.pddl b/slitherlink-sat23-adl/p01.pddl new file mode 100644 index 00000000..25cedda1 --- /dev/null +++ b/slitherlink-sat23-adl/p01.pddl @@ -0,0 +1,173 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 5 3 p01.pddl p01.plan +;; +;; 3.2 +;; 23. +;; ... +;; 2.2 +;; .22 +;; +;; +-+-+-+ +;; |3 . 2| +;; +-+-+ + +;; 2 3|.| +;; +-+-+ + +;; |. . .| +;; +-+-+ + +;; 2 .|2| +;; +-+-+ + +;; |. 2 2| +;; +-+-+-+ + +(define (problem sliterlink-554153) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-1-0 n-1-1 n-1-2 n-1-3 n-2-0 n-2-1 n-2-2 n-2-3 n-3-0 n-3-1 n-3-2 n-3-3 n-4-0 n-4-1 n-4-2 n-4-3 n-5-0 n-5-1 n-5-2 n-5-3 - node + cell-0-0 cell-0-1 cell-0-2 cell-1-0 cell-1-1 cell-1-2 cell-2-0 cell-2-1 cell-2-2 cell-3-0 cell-3-1 cell-3-2 cell-4-0 cell-4-1 cell-4-2 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-3) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-3-0 cap-2) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-2) + (CELL-CAPACITY cell-4-2 cap-2) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-4-0 cell-outside-0-down n-5-0 n-5-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-4-1 cell-outside-1-down n-5-1 n-5-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-4-2 cell-outside-2-down n-5-2 n-5-3) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-2 cell-outside-0-right n-0-3 n-1-3) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-2 cell-outside-1-right n-1-3 n-2-3) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-2 cell-outside-2-right n-2-3 n-3-3) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-2 cell-outside-3-right n-3-3 n-4-3) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-2 cell-outside-4-right n-4-3 n-5-3) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p02.pddl b/slitherlink-sat23-adl/p02.pddl new file mode 100644 index 00000000..f38c0a0e --- /dev/null +++ b/slitherlink-sat23-adl/p02.pddl @@ -0,0 +1,228 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 4 6 p02.pddl p02.plan +;; +;; 32..3. +;; .....2 +;; 2..3.. +;; 3212.3 +;; +;; +-+ +-+ +-+ +;; |3|2 .|.|3|.| +;; + +-+-+ +-+ + +;; |. . . . . 2| +;; +-+-+ +-+-+-+ +;; 2 .|.|3 . . +;; +-+-+ +-+-+-+ +;; |3 2 1 2 . 3| +;; +-+-+-+-+-+-+ + +(define (problem sliterlink-747973) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-2) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-3) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-2) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-3) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-3-0 cap-3) + (CELL-CAPACITY cell-3-1 cap-2) + (CELL-CAPACITY cell-3-2 cap-1) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-3-0 cell-outside-0-down n-4-0 n-4-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-3-1 cell-outside-1-down n-4-1 n-4-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-3-2 cell-outside-2-down n-4-2 n-4-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-3-3 cell-outside-3-down n-4-3 n-4-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-3-4 cell-outside-4-down n-4-4 n-4-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-3-5 cell-outside-5-down n-4-5 n-4-6) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-5 cell-outside-0-right n-0-6 n-1-6) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-5 cell-outside-1-right n-1-6 n-2-6) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-5 cell-outside-2-right n-2-6 n-3-6) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-5 cell-outside-3-right n-3-6 n-4-6) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p03.pddl b/slitherlink-sat23-adl/p03.pddl new file mode 100644 index 00000000..05c874cc --- /dev/null +++ b/slitherlink-sat23-adl/p03.pddl @@ -0,0 +1,263 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 7 4 p03.pddl p03.plan +;; +;; 2... +;; .32. +;; 1... +;; ...3 +;; 22.. +;; 2..3 +;; 3.13 +;; +;; +-+-+-+-+ +;; |2 . . .| +;; + +-+-+ + +;; |.|3 2|.| +;; + +-+ +-+ +;; |1 .|. . +;; + +-+ +-+ +;; |.|. .|3| +;; + +-+-+ + +;; |2 2 . .| +;; +-+-+ +-+ +;; 2 .|.|3 +;; +-+-+ +-+ +;; |3 . 1 3| +;; +-+-+-+-+ + +(define (problem sliterlink-920116) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-0-0 cap-2) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-3) + (CELL-CAPACITY cell-1-2 cap-2) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-2-0 cap-1) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-3) + (CELL-CAPACITY cell-4-0 cap-2) + (CELL-CAPACITY cell-4-1 cap-2) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-3) + (CELL-CAPACITY cell-6-0 cap-3) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-1) + (CELL-CAPACITY cell-6-3 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-6-0 cell-outside-0-down n-7-0 n-7-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-6-1 cell-outside-1-down n-7-1 n-7-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-6-2 cell-outside-2-down n-7-2 n-7-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-6-3 cell-outside-3-down n-7-3 n-7-4) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-3 cell-outside-0-right n-0-4 n-1-4) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-3 cell-outside-1-right n-1-4 n-2-4) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-3 cell-outside-2-right n-2-4 n-3-4) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-3 cell-outside-3-right n-3-4 n-4-4) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-3 cell-outside-4-right n-4-4 n-5-4) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-3 cell-outside-5-right n-5-4 n-6-4) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-3 cell-outside-6-right n-6-4 n-7-4) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-6-3 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p04.pddl b/slitherlink-sat23-adl/p04.pddl new file mode 100644 index 00000000..03858e90 --- /dev/null +++ b/slitherlink-sat23-adl/p04.pddl @@ -0,0 +1,268 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 5 6 p04.pddl p04.plan +;; +;; 3.1..2 +;; ..2... +;; 221... +;; .1..1. +;; 22.3.3 +;; +;; +-+-+-+-+-+-+ +;; |3 . 1 . . 2| +;; +-+-+ +-+-+ + +;; . .|2|. .|.| +;; +-+ +-+ + + +;; 2|2 1 .|.|.| +;; +-+ +-+-+ + + +;; |. 1|. . 1|.| +;; +-+ +-+-+ + + +;; 2|2 . 3|.|3| +;; +-+-+-+ +-+ + +(define (problem sliterlink-739363) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-1) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-2) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-2) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-2) + (CELL-CAPACITY cell-2-2 cap-1) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-1) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-1) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-4-0 cap-2) + (CELL-CAPACITY cell-4-1 cap-2) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-3) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-4-0 cell-outside-0-down n-5-0 n-5-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-4-1 cell-outside-1-down n-5-1 n-5-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-4-2 cell-outside-2-down n-5-2 n-5-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-4-3 cell-outside-3-down n-5-3 n-5-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-4-4 cell-outside-4-down n-5-4 n-5-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-4-5 cell-outside-5-down n-5-5 n-5-6) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-5 cell-outside-0-right n-0-6 n-1-6) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-5 cell-outside-1-right n-1-6 n-2-6) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-5 cell-outside-2-right n-2-6 n-3-6) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-5 cell-outside-3-right n-3-6 n-4-6) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-5 cell-outside-4-right n-4-6 n-5-6) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p05.pddl b/slitherlink-sat23-adl/p05.pddl new file mode 100644 index 00000000..0fb79843 --- /dev/null +++ b/slitherlink-sat23-adl/p05.pddl @@ -0,0 +1,280 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 4 8 p05.pddl p05.plan +;; +;; ..3.2.3. +;; 2.32...2 +;; 2....23. +;; ..3..12. +;; +;; +-+ +-+-+ +-+ +-+ +;; |.|.|3 .|2|.|3|.| +;; + + +-+ + + +-+ + +;; |2|. 3|2|.|. . 2| +;; + +-+-+ + + +-+-+ +;; |2 . . .|.|2|3 . +;; +-+ +-+ +-+ +-+-+ +;; .|.|3|. . 1 2 .| +;; +-+ +-+-+-+-+-+ + +(define (problem sliterlink-874875) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-3) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-2) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-3) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-3) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-2) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-2) + (CELL-CAPACITY cell-2-6 cap-3) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-3) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-1) + (CELL-CAPACITY cell-3-6 cap-2) + (CELL-CAPACITY cell-3-7 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-3-0 cell-outside-0-down n-4-0 n-4-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-3-1 cell-outside-1-down n-4-1 n-4-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-3-2 cell-outside-2-down n-4-2 n-4-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-3-3 cell-outside-3-down n-4-3 n-4-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-3-4 cell-outside-4-down n-4-4 n-4-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-3-5 cell-outside-5-down n-4-5 n-4-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-3-6 cell-outside-6-down n-4-6 n-4-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-3-7 cell-outside-7-down n-4-7 n-4-8) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-7 cell-outside-0-right n-0-8 n-1-8) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-7 cell-outside-1-right n-1-8 n-2-8) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-7 cell-outside-2-right n-2-8 n-3-8) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-7 cell-outside-3-right n-3-8 n-4-8) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-2-6 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p06.pddl b/slitherlink-sat23-adl/p06.pddl new file mode 100644 index 00000000..c7b89e1f --- /dev/null +++ b/slitherlink-sat23-adl/p06.pddl @@ -0,0 +1,310 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 6 6 p06.pddl p06.plan +;; +;; ..22.. +;; 2222.. +;; ..2... +;; ..3..2 +;; .2212. +;; .2332. +;; +;; +-+-+-+-+-+-+ +;; |. . 2 2 . .| +;; +-+-+-+-+-+ + +;; 2 2 2 2 .|.| +;; +-+-+-+-+-+ + +;; |. . 2 . . .| +;; +-+-+-+ +-+ + +;; . . 3|.|.|2| +;; +-+-+ + + + +;; .|2 2 1|2|.| +;; +-+ +-+ + + + +;; |. 2|3|3|2|.| +;; +-+-+ +-+ +-+ + +(define (problem sliterlink-30512) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-0-3 cap-2) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-2) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-2) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-3) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-2) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-2) + (CELL-CAPACITY cell-4-2 cap-2) + (CELL-CAPACITY cell-4-3 cap-1) + (CELL-CAPACITY cell-4-4 cap-2) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-2) + (CELL-CAPACITY cell-5-2 cap-3) + (CELL-CAPACITY cell-5-3 cap-3) + (CELL-CAPACITY cell-5-4 cap-2) + (CELL-CAPACITY cell-5-5 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-5-0 cell-outside-0-down n-6-0 n-6-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-5-1 cell-outside-1-down n-6-1 n-6-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-5-2 cell-outside-2-down n-6-2 n-6-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-5-3 cell-outside-3-down n-6-3 n-6-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-5-4 cell-outside-4-down n-6-4 n-6-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-5-5 cell-outside-5-down n-6-5 n-6-6) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-5 cell-outside-0-right n-0-6 n-1-6) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-5 cell-outside-1-right n-1-6 n-2-6) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-5 cell-outside-2-right n-2-6 n-3-6) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-5 cell-outside-3-right n-3-6 n-4-6) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-5 cell-outside-4-right n-4-6 n-5-6) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-5 cell-outside-5-right n-5-6 n-6-6) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-4 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p07.pddl b/slitherlink-sat23-adl/p07.pddl new file mode 100644 index 00000000..0b532234 --- /dev/null +++ b/slitherlink-sat23-adl/p07.pddl @@ -0,0 +1,335 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 5 8 p07.pddl p07.plan +;; +;; .3...2.. +;; .211..22 +;; 1..22.22 +;; 2..23212 +;; ....2..3 +;; +;; +-+ +-+ +-+ +-+-+ +;; |.|3|.|.|.|2|. .| +;; + +-+ +-+ + + +-+ +;; |. 2 1 1 .|.|2|2 +;; +-+-+-+ +-+ + + +;; 1 . .|2|2 .|2|2 +;; +-+ + + +-+ +-+ +;; 2|.|.|2|3|2 1 2| +;; +-+ +-+ +-+ +-+ + +;; |. . . . 2 .|.|3| +;; +-+-+-+-+-+-+ +-+ + +(define (problem sliterlink-824812) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-3) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-2) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-1) + (CELL-CAPACITY cell-1-3 cap-1) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-2) + (CELL-CAPACITY cell-1-7 cap-2) + (CELL-CAPACITY cell-2-0 cap-1) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-2) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-2) + (CELL-CAPACITY cell-2-7 cap-2) + (CELL-CAPACITY cell-3-0 cap-2) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-3) + (CELL-CAPACITY cell-3-5 cap-2) + (CELL-CAPACITY cell-3-6 cap-1) + (CELL-CAPACITY cell-3-7 cap-2) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-2) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-4-0 cell-outside-0-down n-5-0 n-5-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-4-1 cell-outside-1-down n-5-1 n-5-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-4-2 cell-outside-2-down n-5-2 n-5-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-4-3 cell-outside-3-down n-5-3 n-5-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-4-4 cell-outside-4-down n-5-4 n-5-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-4-5 cell-outside-5-down n-5-5 n-5-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-4-6 cell-outside-6-down n-5-6 n-5-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-4-7 cell-outside-7-down n-5-7 n-5-8) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-7 cell-outside-0-right n-0-8 n-1-8) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-7 cell-outside-1-right n-1-8 n-2-8) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-7 cell-outside-2-right n-2-8 n-3-8) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-7 cell-outside-3-right n-3-8 n-4-8) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-7 cell-outside-4-right n-4-8 n-5-8) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-2-6 cap-0) + (CELL-CAPACITY cell-2-7 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-3-7 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-4-7 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p08.pddl b/slitherlink-sat23-adl/p08.pddl new file mode 100644 index 00000000..d33aa272 --- /dev/null +++ b/slitherlink-sat23-adl/p08.pddl @@ -0,0 +1,374 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 9 5 p08.pddl p08.plan +;; +;; 31..3 +;; ...1. +;; 3.2.2 +;; ..2.. +;; .2... +;; 23.3. +;; ..... +;; ..2.. +;; 3.233 +;; +;; +-+-+-+ +-+ +;; |3 1 .|.|3| +;; +-+ +-+ + + +;; .|.|. 1|.| +;; +-+ +-+ + + +;; |3 . 2|.|2| +;; +-+-+ + + + +;; . .|2|.|.| +;; +-+-+ +-+ + +;; |. 2 . . .| +;; + +-+ +-+ + +;; |2|3|.|3|.| +;; + + +-+ + + +;; |.|. . .|.| +;; +-+ +-+-+ + +;; . .|2 . .| +;; +-+-+ +-+ + +;; |3 . 2|3|3| +;; +-+-+-+ +-+ + +(define (problem sliterlink-626829) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-9-5 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-1) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-3) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-1) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-2) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-2) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-2) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-3) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-3) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-2) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-8-0 cap-3) + (CELL-CAPACITY cell-8-1 cap-4) + (CELL-CAPACITY cell-8-2 cap-2) + (CELL-CAPACITY cell-8-3 cap-3) + (CELL-CAPACITY cell-8-4 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-9-5) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-7-4 cell-8-4 n-8-4 n-8-5) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-8-0 cell-outside-0-down n-9-0 n-9-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-8-1 cell-outside-1-down n-9-1 n-9-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-8-2 cell-outside-2-down n-9-2 n-9-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-8-3 cell-outside-3-down n-9-3 n-9-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-8-4 cell-outside-4-down n-9-4 n-9-5) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-8-3 cell-8-4 n-8-4 n-9-4) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-4 cell-outside-0-right n-0-5 n-1-5) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-4 cell-outside-1-right n-1-5 n-2-5) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-4 cell-outside-2-right n-2-5 n-3-5) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-4 cell-outside-3-right n-3-5 n-4-5) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-4 cell-outside-4-right n-4-5 n-5-5) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-4 cell-outside-5-right n-5-5 n-6-5) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-4 cell-outside-6-right n-6-5 n-7-5) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-4 cell-outside-7-right n-7-5 n-8-5) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-4 cell-outside-8-right n-8-5 n-9-5) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + (not (node-degree1 n-9-5)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-7-2 cap-0) + (CELL-CAPACITY cell-8-0 cap-0) + (CELL-CAPACITY cell-8-2 cap-0) + (CELL-CAPACITY cell-8-3 cap-0) + (CELL-CAPACITY cell-8-4 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p09.pddl b/slitherlink-sat23-adl/p09.pddl new file mode 100644 index 00000000..f77e53ad --- /dev/null +++ b/slitherlink-sat23-adl/p09.pddl @@ -0,0 +1,407 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 12 4 p09.pddl p09.plan +;; +;; 3.2. +;; .... +;; ..2. +;; 1.22 +;; ..11 +;; 2.3. +;; ...2 +;; .... +;; .... +;; ..22 +;; .3.3 +;; ...3 +;; +;; +-+-+-+-+ +;; |3 . 2 .| +;; +-+-+-+ + +;; . . .|.| +;; +-+ +-+ + +;; |.|.|2 .| +;; + +-+ +-+ +;; |1 . 2|2 +;; + +-+-+ +;; |.|. 1 1 +;; + +-+ +-+ +;; |2 .|3|.| +;; +-+ +-+ + +;; .|. . 2| +;; +-+ +-+-+ +;; |. .|. . +;; + +-+ +-+ +;; |.|. .|.| +;; + + +-+ + +;; |.|.|2 2| +;; + + + +-+ +;; |.|3|.|3 +;; + +-+ +-+ +;; |. . . 3| +;; +-+-+-+-+ + +(define (problem sliterlink-736266) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-10-0 n-10-1 n-10-2 n-10-3 n-10-4 n-11-0 n-11-1 n-11-2 n-11-3 n-11-4 n-12-0 n-12-1 n-12-2 n-12-3 n-12-4 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-9-0 cell-9-1 cell-9-2 cell-9-3 cell-10-0 cell-10-1 cell-10-2 cell-10-3 cell-11-0 cell-11-1 cell-11-2 cell-11-3 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-9-left cell-outside-9-right cell-outside-10-left cell-outside-10-right cell-outside-11-left cell-outside-11-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-9-left cap-1) + (CELL-CAPACITY cell-outside-9-right cap-1) + (CELL-CAPACITY cell-outside-10-left cap-1) + (CELL-CAPACITY cell-outside-10-right cap-1) + (CELL-CAPACITY cell-outside-11-left cap-1) + (CELL-CAPACITY cell-outside-11-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-2) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-3-0 cap-1) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-1) + (CELL-CAPACITY cell-4-3 cap-1) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-3) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-2) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-8-0 cap-4) + (CELL-CAPACITY cell-8-1 cap-4) + (CELL-CAPACITY cell-8-2 cap-4) + (CELL-CAPACITY cell-8-3 cap-4) + (CELL-CAPACITY cell-9-0 cap-4) + (CELL-CAPACITY cell-9-1 cap-4) + (CELL-CAPACITY cell-9-2 cap-2) + (CELL-CAPACITY cell-9-3 cap-2) + (CELL-CAPACITY cell-10-0 cap-4) + (CELL-CAPACITY cell-10-1 cap-3) + (CELL-CAPACITY cell-10-2 cap-4) + (CELL-CAPACITY cell-10-3 cap-3) + (CELL-CAPACITY cell-11-0 cap-4) + (CELL-CAPACITY cell-11-1 cap-4) + (CELL-CAPACITY cell-11-2 cap-4) + (CELL-CAPACITY cell-11-3 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-10-0) + (node-degree0 n-10-1) + (node-degree0 n-10-2) + (node-degree0 n-10-3) + (node-degree0 n-10-4) + (node-degree0 n-11-0) + (node-degree0 n-11-1) + (node-degree0 n-11-2) + (node-degree0 n-11-3) + (node-degree0 n-11-4) + (node-degree0 n-12-0) + (node-degree0 n-12-1) + (node-degree0 n-12-2) + (node-degree0 n-12-3) + (node-degree0 n-12-4) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-8-0 cell-9-0 n-9-0 n-9-1) + (CELL-EDGE cell-8-1 cell-9-1 n-9-1 n-9-2) + (CELL-EDGE cell-8-2 cell-9-2 n-9-2 n-9-3) + (CELL-EDGE cell-8-3 cell-9-3 n-9-3 n-9-4) + (CELL-EDGE cell-9-0 cell-10-0 n-10-0 n-10-1) + (CELL-EDGE cell-9-1 cell-10-1 n-10-1 n-10-2) + (CELL-EDGE cell-9-2 cell-10-2 n-10-2 n-10-3) + (CELL-EDGE cell-9-3 cell-10-3 n-10-3 n-10-4) + (CELL-EDGE cell-10-0 cell-11-0 n-11-0 n-11-1) + (CELL-EDGE cell-10-1 cell-11-1 n-11-1 n-11-2) + (CELL-EDGE cell-10-2 cell-11-2 n-11-2 n-11-3) + (CELL-EDGE cell-10-3 cell-11-3 n-11-3 n-11-4) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-11-0 cell-outside-0-down n-12-0 n-12-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-11-1 cell-outside-1-down n-12-1 n-12-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-11-2 cell-outside-2-down n-12-2 n-12-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-11-3 cell-outside-3-down n-12-3 n-12-4) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-9-0 cell-9-1 n-9-1 n-10-1) + (CELL-EDGE cell-10-0 cell-10-1 n-10-1 n-11-1) + (CELL-EDGE cell-11-0 cell-11-1 n-11-1 n-12-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-9-1 cell-9-2 n-9-2 n-10-2) + (CELL-EDGE cell-10-1 cell-10-2 n-10-2 n-11-2) + (CELL-EDGE cell-11-1 cell-11-2 n-11-2 n-12-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-9-2 cell-9-3 n-9-3 n-10-3) + (CELL-EDGE cell-10-2 cell-10-3 n-10-3 n-11-3) + (CELL-EDGE cell-11-2 cell-11-3 n-11-3 n-12-3) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-3 cell-outside-0-right n-0-4 n-1-4) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-3 cell-outside-1-right n-1-4 n-2-4) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-3 cell-outside-2-right n-2-4 n-3-4) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-3 cell-outside-3-right n-3-4 n-4-4) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-3 cell-outside-4-right n-4-4 n-5-4) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-3 cell-outside-5-right n-5-4 n-6-4) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-3 cell-outside-6-right n-6-4 n-7-4) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-3 cell-outside-7-right n-7-4 n-8-4) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-3 cell-outside-8-right n-8-4 n-9-4) + (CELL-EDGE cell-outside-9-left cell-9-0 n-9-0 n-10-0) + (CELL-EDGE cell-9-3 cell-outside-9-right n-9-4 n-10-4) + (CELL-EDGE cell-outside-10-left cell-10-0 n-10-0 n-11-0) + (CELL-EDGE cell-10-3 cell-outside-10-right n-10-4 n-11-4) + (CELL-EDGE cell-outside-11-left cell-11-0 n-11-0 n-12-0) + (CELL-EDGE cell-11-3 cell-outside-11-right n-11-4 n-12-4) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-10-0)) + (not (node-degree1 n-10-1)) + (not (node-degree1 n-10-2)) + (not (node-degree1 n-10-3)) + (not (node-degree1 n-10-4)) + (not (node-degree1 n-11-0)) + (not (node-degree1 n-11-1)) + (not (node-degree1 n-11-2)) + (not (node-degree1 n-11-3)) + (not (node-degree1 n-11-4)) + (not (node-degree1 n-12-0)) + (not (node-degree1 n-12-1)) + (not (node-degree1 n-12-2)) + (not (node-degree1 n-12-3)) + (not (node-degree1 n-12-4)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-6-3 cap-0) + (CELL-CAPACITY cell-9-2 cap-0) + (CELL-CAPACITY cell-9-3 cap-0) + (CELL-CAPACITY cell-10-1 cap-0) + (CELL-CAPACITY cell-10-3 cap-0) + (CELL-CAPACITY cell-11-3 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p10.pddl b/slitherlink-sat23-adl/p10.pddl new file mode 100644 index 00000000..092ca133 --- /dev/null +++ b/slitherlink-sat23-adl/p10.pddl @@ -0,0 +1,388 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 7 7 p10.pddl p10.plan +;; +;; 3..2... +;; ..3..32 +;; .2..... +;; ...1.20 +;; .322... +;; 1.1..13 +;; ......2 +;; +;; +-+ +-+-+-+-+ +;; |3|. .|2 . . .| +;; + + +-+ +-+ +-+ +;; |.|.|3 .|.|3|2 +;; + + +-+ + +-+ +;; |.|2 .|.|. . . +;; + +-+-+ +-+ +;; |. . . 1 .|2 0 +;; +-+ +-+-+ +-+ +;; .|3|2 2|. .|. +;; +-+ +-+ +-+ +;; 1 . 1 . .|1 3| +;; +-+-+-+-+-+ +-+ +;; |. . . . . .|2 +;; +-+-+-+-+-+-+ + +(define (problem sliterlink-437655) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-2) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-3) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-3) + (CELL-CAPACITY cell-1-6 cap-2) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-2) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-1) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-2) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-3) + (CELL-CAPACITY cell-4-2 cap-2) + (CELL-CAPACITY cell-4-3 cap-2) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-5-0 cap-1) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-1) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-1) + (CELL-CAPACITY cell-5-6 cap-3) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-2) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-6-0 cell-outside-0-down n-7-0 n-7-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-6-1 cell-outside-1-down n-7-1 n-7-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-6-2 cell-outside-2-down n-7-2 n-7-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-6-3 cell-outside-3-down n-7-3 n-7-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-6-4 cell-outside-4-down n-7-4 n-7-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-6-5 cell-outside-5-down n-7-5 n-7-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-6-6 cell-outside-6-down n-7-6 n-7-7) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-6 cell-outside-0-right n-0-7 n-1-7) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-6 cell-outside-1-right n-1-7 n-2-7) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-6 cell-outside-2-right n-2-7 n-3-7) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-6 cell-outside-3-right n-3-7 n-4-7) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-6 cell-outside-4-right n-4-7 n-5-7) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-6 cell-outside-5-right n-5-7 n-6-7) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-6 cell-outside-6-right n-6-7 n-7-7) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-5 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-6-6 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p11.pddl b/slitherlink-sat23-adl/p11.pddl new file mode 100644 index 00000000..69d059ce --- /dev/null +++ b/slitherlink-sat23-adl/p11.pddl @@ -0,0 +1,440 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 8 7 p11.pddl p11.plan +;; +;; .2....3 +;; 3..2222 +;; 311...3 +;; .32211. +;; ......2 +;; .2211.. +;; ...3.32 +;; ....1.3 +;; +;; +-+-+ +-+-+-+ +;; |. 2|. .|. . 3| +;; +-+ + +-+ +-+-+ +;; 3|.|.|2 2|2 2 +;; +-+ +-+ +-+ +-+ +;; |3 1 1 .|. .|3| +;; +-+-+ +-+ + + +;; . 3|2|2 1 1|.| +;; +-+-+ + +-+ + + +;; |. . .|.|.|.|2| +;; + +-+-+ + +-+ + +;; |.|2 2 1|1 . .| +;; + + +-+ + +-+-+ +;; |.|.|.|3|.|3 2 +;; + +-+ +-+ +-+-+ +;; |. . . . 1 . 3| +;; +-+-+-+-+-+-+-+ + +(define (problem sliterlink-399989) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-2) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-3) + (CELL-CAPACITY cell-1-0 cap-3) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-2) + (CELL-CAPACITY cell-1-5 cap-2) + (CELL-CAPACITY cell-1-6 cap-2) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-1) + (CELL-CAPACITY cell-2-2 cap-1) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-3) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-3) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-1) + (CELL-CAPACITY cell-3-5 cap-1) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-2) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-2) + (CELL-CAPACITY cell-5-2 cap-2) + (CELL-CAPACITY cell-5-3 cap-1) + (CELL-CAPACITY cell-5-4 cap-1) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-4) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-3) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-3) + (CELL-CAPACITY cell-6-6 cap-2) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-7-4 cap-1) + (CELL-CAPACITY cell-7-5 cap-4) + (CELL-CAPACITY cell-7-6 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-7-0 cell-outside-0-down n-8-0 n-8-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-7-1 cell-outside-1-down n-8-1 n-8-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-7-2 cell-outside-2-down n-8-2 n-8-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-7-3 cell-outside-3-down n-8-3 n-8-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-7-4 cell-outside-4-down n-8-4 n-8-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-7-5 cell-outside-5-down n-8-5 n-8-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-7-6 cell-outside-6-down n-8-6 n-8-7) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-6 cell-outside-0-right n-0-7 n-1-7) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-6 cell-outside-1-right n-1-7 n-2-7) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-6 cell-outside-2-right n-2-7 n-3-7) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-6 cell-outside-3-right n-3-7 n-4-7) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-6 cell-outside-4-right n-4-7 n-5-7) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-6 cell-outside-5-right n-5-7 n-6-7) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-6 cell-outside-6-right n-6-7 n-7-7) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-6 cell-outside-7-right n-7-7 n-8-7) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-2-6 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-4-6 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-4 cap-0) + (CELL-CAPACITY cell-6-3 cap-0) + (CELL-CAPACITY cell-6-5 cap-0) + (CELL-CAPACITY cell-6-6 cap-0) + (CELL-CAPACITY cell-7-4 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p12.pddl b/slitherlink-sat23-adl/p12.pddl new file mode 100644 index 00000000..329297ff --- /dev/null +++ b/slitherlink-sat23-adl/p12.pddl @@ -0,0 +1,454 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 6 10 p12.pddl p12.plan +;; +;; .......... +;; ...2.22..3 +;; .3.3.3.... +;; 2.0...2.23 +;; .12..12... +;; .2.2..3.33 +;; +;; +-+-+-+-+-+-+-+-+-+-+ +;; |. . . . . . . . . .| +;; + +-+-+ +-+-+-+-+ +-+ +;; |.|. .|2|. 2 2 .|.|3 +;; + +-+ + + +-+-+-+ +-+ +;; |. 3|.|3|.|3 . . . .| +;; + +-+ +-+ +-+-+-+ +-+ +;; |2|. 0 . . . 2 .|2|3 +;; + + +-+-+-+-+-+ +-+ +;; |.|1 2|. . 1 2 . . .| +;; + + +-+ +-+ +-+ +-+ + +;; |.|2|. 2|.|.|3|.|3|3| +;; +-+ +-+-+ +-+ +-+ +-+ + +(define (problem sliterlink-585381) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-0-10 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-1-10 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-2-10 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-3-10 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-4-10 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-5-10 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-6-10 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-0-9 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down cell-outside-9-up cell-outside-9-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-outside-9-up cap-1) + (CELL-CAPACITY cell-outside-9-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-0-9 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-2) + (CELL-CAPACITY cell-1-6 cap-2) + (CELL-CAPACITY cell-1-7 cap-4) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-1-9 cap-3) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-3) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-3) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-3) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-2-8 cap-4) + (CELL-CAPACITY cell-2-9 cap-4) + (CELL-CAPACITY cell-3-0 cap-2) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-2) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-3-8 cap-2) + (CELL-CAPACITY cell-3-9 cap-3) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-1) + (CELL-CAPACITY cell-4-2 cap-2) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-1) + (CELL-CAPACITY cell-4-6 cap-2) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-4-8 cap-4) + (CELL-CAPACITY cell-4-9 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-2) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-2) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-3) + (CELL-CAPACITY cell-5-7 cap-4) + (CELL-CAPACITY cell-5-8 cap-3) + (CELL-CAPACITY cell-5-9 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-0-10) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-1-10) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-2-10) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-3-10) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-4-10) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-5-10) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-6-10) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-0-9 cell-1-9 n-1-9 n-1-10) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-1-9 cell-2-9 n-2-9 n-2-10) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-2-9 cell-3-9 n-3-9 n-3-10) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-3-9 cell-4-9 n-4-9 n-4-10) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-4-9 cell-5-9 n-5-9 n-5-10) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-5-0 cell-outside-0-down n-6-0 n-6-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-5-1 cell-outside-1-down n-6-1 n-6-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-5-2 cell-outside-2-down n-6-2 n-6-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-5-3 cell-outside-3-down n-6-3 n-6-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-5-4 cell-outside-4-down n-6-4 n-6-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-5-5 cell-outside-5-down n-6-5 n-6-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-5-6 cell-outside-6-down n-6-6 n-6-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-5-7 cell-outside-7-down n-6-7 n-6-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-5-8 cell-outside-8-down n-6-8 n-6-9) + (CELL-EDGE cell-outside-9-up cell-0-9 n-0-9 n-0-10) + (CELL-EDGE cell-5-9 cell-outside-9-down n-6-9 n-6-10) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-0-8 cell-0-9 n-0-9 n-1-9) + (CELL-EDGE cell-1-8 cell-1-9 n-1-9 n-2-9) + (CELL-EDGE cell-2-8 cell-2-9 n-2-9 n-3-9) + (CELL-EDGE cell-3-8 cell-3-9 n-3-9 n-4-9) + (CELL-EDGE cell-4-8 cell-4-9 n-4-9 n-5-9) + (CELL-EDGE cell-5-8 cell-5-9 n-5-9 n-6-9) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-9 cell-outside-0-right n-0-10 n-1-10) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-9 cell-outside-1-right n-1-10 n-2-10) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-9 cell-outside-2-right n-2-10 n-3-10) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-9 cell-outside-3-right n-3-10 n-4-10) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-9 cell-outside-4-right n-4-10 n-5-10) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-9 cell-outside-5-right n-5-10 n-6-10) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-10)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-10)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-10)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-10)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-10)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-10)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-10)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-1-9 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-3-9 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-4-6 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-5-8 cap-0) + (CELL-CAPACITY cell-5-9 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p13.pddl b/slitherlink-sat23-adl/p13.pddl new file mode 100644 index 00000000..cf2357de --- /dev/null +++ b/slitherlink-sat23-adl/p13.pddl @@ -0,0 +1,484 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 8 8 p13.pddl p13.plan +;; +;; ..12...3 +;; 3....... +;; 3132..3. +;; ..21.21. +;; .1....12 +;; 222..3.. +;; 2.3.3.3. +;; ......2. +;; +;; +-+-+ +-+-+-+-+ +;; |. .|1 2|. . . 3| +;; +-+ + +-+ +-+-+-+ +;; 3|.|.|. .|. . . +;; +-+ + + +-+ +-+ +;; |3 1|3|2|. .|3|. +;; +-+ +-+ +-+-+ +-+ +;; .|. 2 1 . 2 1 .| +;; +-+ +-+-+-+-+-+-+ +;; |. 1|. . . . 1 2 +;; +-+ + +-+ +-+ +-+ +;; 2|2|2|.|.|3|.|.| +;; + + + + + + + + +;; 2|.|3|.|3|.|3|.| +;; +-+ +-+ +-+ +-+ + +;; |. . . . . . 2 .| +;; +-+-+-+-+-+-+-+-+ + +(define (problem sliterlink-953166) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-1) + (CELL-CAPACITY cell-0-3 cap-2) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-3) + (CELL-CAPACITY cell-1-0 cap-3) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-4) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-1) + (CELL-CAPACITY cell-2-2 cap-3) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-3) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-1) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-2) + (CELL-CAPACITY cell-3-6 cap-1) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-1) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-1) + (CELL-CAPACITY cell-4-7 cap-2) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-2) + (CELL-CAPACITY cell-5-2 cap-2) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-3) + (CELL-CAPACITY cell-5-6 cap-4) + (CELL-CAPACITY cell-5-7 cap-4) + (CELL-CAPACITY cell-6-0 cap-2) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-3) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-3) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-3) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-7-5 cap-4) + (CELL-CAPACITY cell-7-6 cap-2) + (CELL-CAPACITY cell-7-7 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-7-0 cell-outside-0-down n-8-0 n-8-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-7-1 cell-outside-1-down n-8-1 n-8-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-7-2 cell-outside-2-down n-8-2 n-8-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-7-3 cell-outside-3-down n-8-3 n-8-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-7-4 cell-outside-4-down n-8-4 n-8-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-7-5 cell-outside-5-down n-8-5 n-8-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-7-6 cell-outside-6-down n-8-6 n-8-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-7-7 cell-outside-7-down n-8-7 n-8-8) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-7 cell-outside-0-right n-0-8 n-1-8) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-7 cell-outside-1-right n-1-8 n-2-8) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-7 cell-outside-2-right n-2-8 n-3-8) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-7 cell-outside-3-right n-3-8 n-4-8) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-7 cell-outside-4-right n-4-8 n-5-8) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-7 cell-outside-5-right n-5-8 n-6-8) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-7 cell-outside-6-right n-6-8 n-7-8) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-7 cell-outside-7-right n-7-8 n-8-8) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-3 cap-0) + (CELL-CAPACITY cell-0-7 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-6 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-6 cap-0) + (CELL-CAPACITY cell-4-7 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-5 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-6-4 cap-0) + (CELL-CAPACITY cell-6-6 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p14.pddl b/slitherlink-sat23-adl/p14.pddl new file mode 100644 index 00000000..c81ca3dc --- /dev/null +++ b/slitherlink-sat23-adl/p14.pddl @@ -0,0 +1,533 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 8 9 p14.pddl p14.plan +;; +;; ..3...3.. +;; 22.23...3 +;; 1..2...23 +;; .2.....22 +;; .2.1.2.1. +;; 21....2.. +;; 3.2..3..1 +;; ..32..2.3 +;; +;; +-+ +-+-+-+-+ +-+-+ +;; |.|.|3 . . .|3|. .| +;; + + +-+-+-+ +-+ +-+ +;; |2|2 . 2 3|. . .|3 +;; + +-+-+-+-+ +-+ +-+ +;; |1 . . 2 . .|.|2 3| +;; + +-+-+-+ +-+ +-+-+ +;; |.|2 . .|.|. . 2 2 +;; + + +-+-+ +-+-+-+-+ +;; |.|2|. 1 . 2 . 1 .| +;; +-+ +-+ +-+-+-+ +-+ +;; 2 1 .|.|. . 2|.|. +;; +-+-+-+ + +-+ +-+ +;; |3 . 2 .|.|3|. . 1 +;; +-+ +-+ +-+ +-+-+-+ +;; .|.|3|2 . . 2 . 3| +;; +-+ +-+-+-+-+-+-+ + +(define (problem sliterlink-810884) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 n-8-9 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-3) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-3) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-1-0 cap-2) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-3) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-4) + (CELL-CAPACITY cell-1-8 cap-3) + (CELL-CAPACITY cell-2-0 cap-1) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-2) + (CELL-CAPACITY cell-2-8 cap-3) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-2) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-3-7 cap-2) + (CELL-CAPACITY cell-3-8 cap-2) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-2) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-1) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-2) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-1) + (CELL-CAPACITY cell-4-8 cap-4) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-1) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-2) + (CELL-CAPACITY cell-5-7 cap-4) + (CELL-CAPACITY cell-5-8 cap-4) + (CELL-CAPACITY cell-6-0 cap-3) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-2) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-3) + (CELL-CAPACITY cell-6-6 cap-4) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-6-8 cap-1) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-3) + (CELL-CAPACITY cell-7-3 cap-2) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-7-5 cap-4) + (CELL-CAPACITY cell-7-6 cap-2) + (CELL-CAPACITY cell-7-7 cap-4) + (CELL-CAPACITY cell-7-8 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + (node-degree0 n-8-9) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-6-8 cell-7-8 n-7-8 n-7-9) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-7-0 cell-outside-0-down n-8-0 n-8-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-7-1 cell-outside-1-down n-8-1 n-8-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-7-2 cell-outside-2-down n-8-2 n-8-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-7-3 cell-outside-3-down n-8-3 n-8-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-7-4 cell-outside-4-down n-8-4 n-8-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-7-5 cell-outside-5-down n-8-5 n-8-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-7-6 cell-outside-6-down n-8-6 n-8-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-7-7 cell-outside-7-down n-8-7 n-8-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-7-8 cell-outside-8-down n-8-8 n-8-9) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-7-7 cell-7-8 n-7-8 n-8-8) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-8 cell-outside-0-right n-0-9 n-1-9) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-8 cell-outside-1-right n-1-9 n-2-9) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-8 cell-outside-2-right n-2-9 n-3-9) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-8 cell-outside-3-right n-3-9 n-4-9) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-8 cell-outside-4-right n-4-9 n-5-9) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-8 cell-outside-5-right n-5-9 n-6-9) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-8 cell-outside-6-right n-6-9 n-7-9) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-8 cell-outside-7-right n-7-9 n-8-9) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + (not (node-degree1 n-8-9)) + + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-8 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-7 cap-0) + (CELL-CAPACITY cell-2-8 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-7 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-4-7 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-6-5 cap-0) + (CELL-CAPACITY cell-6-8 cap-0) + (CELL-CAPACITY cell-7-2 cap-0) + (CELL-CAPACITY cell-7-3 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + (CELL-CAPACITY cell-7-8 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p15.pddl b/slitherlink-sat23-adl/p15.pddl new file mode 100644 index 00000000..06e79a78 --- /dev/null +++ b/slitherlink-sat23-adl/p15.pddl @@ -0,0 +1,564 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 7 11 p15.pddl p15.plan +;; +;; 3.3....3... +;; .3..02222.3 +;; 2.2..2.2... +;; ..2....2132 +;; .1..3.2.2.. +;; ....1.12.22 +;; 0....3222.. +;; +;; +-+ +-+ +-+ +-+-+ +-+-+ +;; |3|.|3|.|.|.|. 3|.|. .| +;; + + + +-+ +-+ +-+ + +-+ +;; |.|3|. . 0 2 2|2 2|.|3 +;; + +-+ +-+ +-+-+ +-+ +-+ +;; |2 . 2|.|.|2 . 2|. . .| +;; +-+ +-+ +-+ +-+-+ +-+-+ +;; .|.|2 . . .|. 2 1|3 2 +;; +-+ + +-+ + +-+ +-+-+ +;; |. 1|. .|3|.|2|.|2 . .| +;; +-+ +-+ + +-+ + +-+-+-+ +;; .|. .|.|1 . 1|2 . 2 2 +;; +-+ +-+ +-+ +-+-+-+-+ +;; 0 .|. . .|3|2 2 2 . .| +;; +-+-+-+ +-+-+-+-+-+ + +(define (problem sliterlink-658699) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-0-10 n-0-11 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-1-10 n-1-11 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-2-10 n-2-11 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-3-10 n-3-11 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-4-10 n-4-11 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-5-10 n-5-11 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-6-10 n-6-11 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-7-10 n-7-11 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-0-9 cell-0-10 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down cell-outside-9-up cell-outside-9-down cell-outside-10-up cell-outside-10-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-outside-9-up cap-1) + (CELL-CAPACITY cell-outside-9-down cap-1) + (CELL-CAPACITY cell-outside-10-up cap-1) + (CELL-CAPACITY cell-outside-10-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-3) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-4) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-3) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-0-9 cap-4) + (CELL-CAPACITY cell-0-10 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-3) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-5 cap-2) + (CELL-CAPACITY cell-1-6 cap-2) + (CELL-CAPACITY cell-1-7 cap-2) + (CELL-CAPACITY cell-1-8 cap-2) + (CELL-CAPACITY cell-1-9 cap-4) + (CELL-CAPACITY cell-1-10 cap-3) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-2) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-2) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-2) + (CELL-CAPACITY cell-2-8 cap-4) + (CELL-CAPACITY cell-2-9 cap-4) + (CELL-CAPACITY cell-2-10 cap-4) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-3-7 cap-2) + (CELL-CAPACITY cell-3-8 cap-1) + (CELL-CAPACITY cell-3-9 cap-3) + (CELL-CAPACITY cell-3-10 cap-2) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-1) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-3) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-2) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-4-8 cap-2) + (CELL-CAPACITY cell-4-9 cap-4) + (CELL-CAPACITY cell-4-10 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-1) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-1) + (CELL-CAPACITY cell-5-7 cap-2) + (CELL-CAPACITY cell-5-8 cap-4) + (CELL-CAPACITY cell-5-9 cap-2) + (CELL-CAPACITY cell-5-10 cap-2) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-3) + (CELL-CAPACITY cell-6-6 cap-2) + (CELL-CAPACITY cell-6-7 cap-2) + (CELL-CAPACITY cell-6-8 cap-2) + (CELL-CAPACITY cell-6-9 cap-4) + (CELL-CAPACITY cell-6-10 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-0-10) + (node-degree0 n-0-11) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-1-10) + (node-degree0 n-1-11) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-2-10) + (node-degree0 n-2-11) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-3-10) + (node-degree0 n-3-11) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-4-10) + (node-degree0 n-4-11) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-5-10) + (node-degree0 n-5-11) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-6-10) + (node-degree0 n-6-11) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-7-10) + (node-degree0 n-7-11) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-0-9 cell-1-9 n-1-9 n-1-10) + (CELL-EDGE cell-0-10 cell-1-10 n-1-10 n-1-11) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-1-9 cell-2-9 n-2-9 n-2-10) + (CELL-EDGE cell-1-10 cell-2-10 n-2-10 n-2-11) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-2-9 cell-3-9 n-3-9 n-3-10) + (CELL-EDGE cell-2-10 cell-3-10 n-3-10 n-3-11) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-3-9 cell-4-9 n-4-9 n-4-10) + (CELL-EDGE cell-3-10 cell-4-10 n-4-10 n-4-11) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-4-9 cell-5-9 n-5-9 n-5-10) + (CELL-EDGE cell-4-10 cell-5-10 n-5-10 n-5-11) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-5-9 cell-6-9 n-6-9 n-6-10) + (CELL-EDGE cell-5-10 cell-6-10 n-6-10 n-6-11) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-6-0 cell-outside-0-down n-7-0 n-7-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-6-1 cell-outside-1-down n-7-1 n-7-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-6-2 cell-outside-2-down n-7-2 n-7-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-6-3 cell-outside-3-down n-7-3 n-7-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-6-4 cell-outside-4-down n-7-4 n-7-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-6-5 cell-outside-5-down n-7-5 n-7-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-6-6 cell-outside-6-down n-7-6 n-7-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-6-7 cell-outside-7-down n-7-7 n-7-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-6-8 cell-outside-8-down n-7-8 n-7-9) + (CELL-EDGE cell-outside-9-up cell-0-9 n-0-9 n-0-10) + (CELL-EDGE cell-6-9 cell-outside-9-down n-7-9 n-7-10) + (CELL-EDGE cell-outside-10-up cell-0-10 n-0-10 n-0-11) + (CELL-EDGE cell-6-10 cell-outside-10-down n-7-10 n-7-11) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-0-8 cell-0-9 n-0-9 n-1-9) + (CELL-EDGE cell-1-8 cell-1-9 n-1-9 n-2-9) + (CELL-EDGE cell-2-8 cell-2-9 n-2-9 n-3-9) + (CELL-EDGE cell-3-8 cell-3-9 n-3-9 n-4-9) + (CELL-EDGE cell-4-8 cell-4-9 n-4-9 n-5-9) + (CELL-EDGE cell-5-8 cell-5-9 n-5-9 n-6-9) + (CELL-EDGE cell-6-8 cell-6-9 n-6-9 n-7-9) + (CELL-EDGE cell-0-9 cell-0-10 n-0-10 n-1-10) + (CELL-EDGE cell-1-9 cell-1-10 n-1-10 n-2-10) + (CELL-EDGE cell-2-9 cell-2-10 n-2-10 n-3-10) + (CELL-EDGE cell-3-9 cell-3-10 n-3-10 n-4-10) + (CELL-EDGE cell-4-9 cell-4-10 n-4-10 n-5-10) + (CELL-EDGE cell-5-9 cell-5-10 n-5-10 n-6-10) + (CELL-EDGE cell-6-9 cell-6-10 n-6-10 n-7-10) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-10 cell-outside-0-right n-0-11 n-1-11) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-10 cell-outside-1-right n-1-11 n-2-11) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-10 cell-outside-2-right n-2-11 n-3-11) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-10 cell-outside-3-right n-3-11 n-4-11) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-10 cell-outside-4-right n-4-11 n-5-11) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-10 cell-outside-5-right n-5-11 n-6-11) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-10 cell-outside-6-right n-6-11 n-7-11) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-10)) + (not (node-degree1 n-0-11)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-10)) + (not (node-degree1 n-1-11)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-10)) + (not (node-degree1 n-2-11)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-10)) + (not (node-degree1 n-3-11)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-10)) + (not (node-degree1 n-4-11)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-10)) + (not (node-degree1 n-5-11)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-10)) + (not (node-degree1 n-6-11)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-10)) + (not (node-degree1 n-7-11)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-7 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-1-8 cap-0) + (CELL-CAPACITY cell-1-10 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-2-7 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-7 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-3-9 cap-0) + (CELL-CAPACITY cell-3-10 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-4-6 cap-0) + (CELL-CAPACITY cell-4-8 cap-0) + (CELL-CAPACITY cell-5-4 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-5-7 cap-0) + (CELL-CAPACITY cell-5-9 cap-0) + (CELL-CAPACITY cell-5-10 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-5 cap-0) + (CELL-CAPACITY cell-6-6 cap-0) + (CELL-CAPACITY cell-6-7 cap-0) + (CELL-CAPACITY cell-6-8 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p16.pddl b/slitherlink-sat23-adl/p16.pddl new file mode 100644 index 00000000..6a388519 --- /dev/null +++ b/slitherlink-sat23-adl/p16.pddl @@ -0,0 +1,585 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 9 9 p16.pddl p16.plan +;; +;; .21.2..2. +;; .2....... +;; ....3003. +;; 32....1.. +;; .....2... +;; 2..1..2.1 +;; ...3..... +;; ...3.13.3 +;; 322.23..2 +;; +;; +-+-+ +-+-+-+-+ +;; |. 2|1 .|2 . . 2|. +;; +-+ + +-+ +-+-+ +-+ +;; .|2|.|. .|. .|. .| +;; +-+ +-+ +-+ +-+ + +;; |. . . .|3 0 0 3|.| +;; +-+ +-+ +-+ +-+ + +;; 3|2|.|. .|. 1|. .| +;; +-+ + +-+ +-+ +-+ + +;; |. .|. .|. 2|. .|.| +;; + +-+ +-+ +-+ +-+ +;; |2|. . 1 .|. 2|. 1 +;; + +-+-+-+ +-+ +-+ +;; |. . . 3|. .|. .|. +;; + +-+ +-+ +-+ +-+ +;; |.|.|.|3 . 1 3|. 3| +;; + + + +-+ +-+-+ +-+ +;; |3|2|2 .|2|3 . .|2 +;; +-+ +-+-+ +-+-+-+ + +(define (problem sliterlink-720210) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 n-8-9 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-9-5 n-9-6 n-9-7 n-9-8 n-9-9 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-2) + (CELL-CAPACITY cell-0-2 cap-1) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-2) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-2) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-4) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-3) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-2-6 cap-0) + (CELL-CAPACITY cell-2-7 cap-3) + (CELL-CAPACITY cell-2-8 cap-4) + (CELL-CAPACITY cell-3-0 cap-3) + (CELL-CAPACITY cell-3-1 cap-2) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-1) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-3-8 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-2) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-4-8 cap-4) + (CELL-CAPACITY cell-5-0 cap-2) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-1) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-2) + (CELL-CAPACITY cell-5-7 cap-4) + (CELL-CAPACITY cell-5-8 cap-1) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-3) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-4) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-6-8 cap-4) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-3) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-7-5 cap-1) + (CELL-CAPACITY cell-7-6 cap-3) + (CELL-CAPACITY cell-7-7 cap-4) + (CELL-CAPACITY cell-7-8 cap-3) + (CELL-CAPACITY cell-8-0 cap-3) + (CELL-CAPACITY cell-8-1 cap-2) + (CELL-CAPACITY cell-8-2 cap-2) + (CELL-CAPACITY cell-8-3 cap-4) + (CELL-CAPACITY cell-8-4 cap-2) + (CELL-CAPACITY cell-8-5 cap-3) + (CELL-CAPACITY cell-8-6 cap-4) + (CELL-CAPACITY cell-8-7 cap-4) + (CELL-CAPACITY cell-8-8 cap-2) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + (node-degree0 n-8-9) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-9-5) + (node-degree0 n-9-6) + (node-degree0 n-9-7) + (node-degree0 n-9-8) + (node-degree0 n-9-9) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-6-8 cell-7-8 n-7-8 n-7-9) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-7-4 cell-8-4 n-8-4 n-8-5) + (CELL-EDGE cell-7-5 cell-8-5 n-8-5 n-8-6) + (CELL-EDGE cell-7-6 cell-8-6 n-8-6 n-8-7) + (CELL-EDGE cell-7-7 cell-8-7 n-8-7 n-8-8) + (CELL-EDGE cell-7-8 cell-8-8 n-8-8 n-8-9) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-8-0 cell-outside-0-down n-9-0 n-9-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-8-1 cell-outside-1-down n-9-1 n-9-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-8-2 cell-outside-2-down n-9-2 n-9-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-8-3 cell-outside-3-down n-9-3 n-9-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-8-4 cell-outside-4-down n-9-4 n-9-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-8-5 cell-outside-5-down n-9-5 n-9-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-8-6 cell-outside-6-down n-9-6 n-9-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-8-7 cell-outside-7-down n-9-7 n-9-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-8-8 cell-outside-8-down n-9-8 n-9-9) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-8-3 cell-8-4 n-8-4 n-9-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-8-4 cell-8-5 n-8-5 n-9-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-8-5 cell-8-6 n-8-6 n-9-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-8-6 cell-8-7 n-8-7 n-9-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-7-7 cell-7-8 n-7-8 n-8-8) + (CELL-EDGE cell-8-7 cell-8-8 n-8-8 n-9-8) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-8 cell-outside-0-right n-0-9 n-1-9) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-8 cell-outside-1-right n-1-9 n-2-9) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-8 cell-outside-2-right n-2-9 n-3-9) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-8 cell-outside-3-right n-3-9 n-4-9) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-8 cell-outside-4-right n-4-9 n-5-9) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-8 cell-outside-5-right n-5-9 n-6-9) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-8 cell-outside-6-right n-6-9 n-7-9) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-8 cell-outside-7-right n-7-9 n-8-9) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-8 cell-outside-8-right n-8-9 n-9-9) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + (not (node-degree1 n-8-9)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + (not (node-degree1 n-9-5)) + (not (node-degree1 n-9-6)) + (not (node-degree1 n-9-7)) + (not (node-degree1 n-9-8)) + (not (node-degree1 n-9-9)) + + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-7 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-2-6 cap-0) + (CELL-CAPACITY cell-2-7 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-5-8 cap-0) + (CELL-CAPACITY cell-6-3 cap-0) + (CELL-CAPACITY cell-7-3 cap-0) + (CELL-CAPACITY cell-7-5 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + (CELL-CAPACITY cell-7-8 cap-0) + (CELL-CAPACITY cell-8-0 cap-0) + (CELL-CAPACITY cell-8-1 cap-0) + (CELL-CAPACITY cell-8-2 cap-0) + (CELL-CAPACITY cell-8-4 cap-0) + (CELL-CAPACITY cell-8-5 cap-0) + (CELL-CAPACITY cell-8-8 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p17.pddl b/slitherlink-sat23-adl/p17.pddl new file mode 100644 index 00000000..7ae45ddf --- /dev/null +++ b/slitherlink-sat23-adl/p17.pddl @@ -0,0 +1,650 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 9 10 p17.pddl p17.plan +;; +;; ....3...13 +;; .21.0..3.. +;; 3..233...2 +;; 22.....22. +;; 2.21.11.22 +;; 32...2.222 +;; ....2.2... +;; 312.1.2222 +;; ....23.22. +;; +;; +-+ +-+ +-+-+-+-+ +;; . .|.|.|3|.|. . 1 3| +;; +-+ +-+ +-+ +-+ +-+ +;; .|2 1 . 0 . .|3|.|. +;; +-+ +-+-+ +-+ + + +-+ +;; |3 .|. 2|3|3|.|.|. 2| +;; +-+-+ +-+ + + +-+ + +;; 2 2 . . . .|.|2 2|.| +;; +-+-+-+-+-+-+ +-+ + + +;; |2 . 2 1 . 1 1 .|2|2| +;; + +-+-+ +-+ +-+ + + + +;; |3|2 .|.|.|2|.|2|2|2| +;; +-+ + + + + + + + + +;; . . .|.|2|.|2|.|.|.| +;; +-+-+-+ + +-+ + + + + +;; |3 1 2 .|1 . 2|2|2|2| +;; +-+ +-+ + +-+-+ + + + +;; .|.|.|.|2|3 . 2|2|.| +;; +-+ +-+ +-+-+-+ +-+ + +(define (problem sliterlink-146453) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-0-10 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-1-10 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-2-10 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-3-10 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-4-10 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-5-10 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-6-10 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-7-10 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 n-8-9 n-8-10 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-9-5 n-9-6 n-9-7 n-9-8 n-9-9 n-9-10 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-0-9 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down cell-outside-9-up cell-outside-9-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-outside-9-up cap-1) + (CELL-CAPACITY cell-outside-9-down cap-1) + (CELL-CAPACITY cell-0-0 cap-4) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-3) + (CELL-CAPACITY cell-0-5 cap-4) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-0-8 cap-1) + (CELL-CAPACITY cell-0-9 cap-3) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-1) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-3) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-1-9 cap-4) + (CELL-CAPACITY cell-2-0 cap-3) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-3) + (CELL-CAPACITY cell-2-5 cap-3) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-2-8 cap-4) + (CELL-CAPACITY cell-2-9 cap-2) + (CELL-CAPACITY cell-3-0 cap-2) + (CELL-CAPACITY cell-3-1 cap-2) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-3-7 cap-2) + (CELL-CAPACITY cell-3-8 cap-2) + (CELL-CAPACITY cell-3-9 cap-4) + (CELL-CAPACITY cell-4-0 cap-2) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-2) + (CELL-CAPACITY cell-4-3 cap-1) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-1) + (CELL-CAPACITY cell-4-6 cap-1) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-4-8 cap-2) + (CELL-CAPACITY cell-4-9 cap-2) + (CELL-CAPACITY cell-5-0 cap-3) + (CELL-CAPACITY cell-5-1 cap-2) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-4) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-2) + (CELL-CAPACITY cell-5-6 cap-4) + (CELL-CAPACITY cell-5-7 cap-2) + (CELL-CAPACITY cell-5-8 cap-2) + (CELL-CAPACITY cell-5-9 cap-2) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-2) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-2) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-6-8 cap-4) + (CELL-CAPACITY cell-6-9 cap-4) + (CELL-CAPACITY cell-7-0 cap-3) + (CELL-CAPACITY cell-7-1 cap-1) + (CELL-CAPACITY cell-7-2 cap-2) + (CELL-CAPACITY cell-7-3 cap-4) + (CELL-CAPACITY cell-7-4 cap-1) + (CELL-CAPACITY cell-7-5 cap-4) + (CELL-CAPACITY cell-7-6 cap-2) + (CELL-CAPACITY cell-7-7 cap-2) + (CELL-CAPACITY cell-7-8 cap-2) + (CELL-CAPACITY cell-7-9 cap-2) + (CELL-CAPACITY cell-8-0 cap-4) + (CELL-CAPACITY cell-8-1 cap-4) + (CELL-CAPACITY cell-8-2 cap-4) + (CELL-CAPACITY cell-8-3 cap-4) + (CELL-CAPACITY cell-8-4 cap-2) + (CELL-CAPACITY cell-8-5 cap-3) + (CELL-CAPACITY cell-8-6 cap-4) + (CELL-CAPACITY cell-8-7 cap-2) + (CELL-CAPACITY cell-8-8 cap-2) + (CELL-CAPACITY cell-8-9 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-0-10) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-1-10) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-2-10) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-3-10) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-4-10) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-5-10) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-6-10) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-7-10) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + (node-degree0 n-8-9) + (node-degree0 n-8-10) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-9-5) + (node-degree0 n-9-6) + (node-degree0 n-9-7) + (node-degree0 n-9-8) + (node-degree0 n-9-9) + (node-degree0 n-9-10) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-0-9 cell-1-9 n-1-9 n-1-10) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-1-9 cell-2-9 n-2-9 n-2-10) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-2-9 cell-3-9 n-3-9 n-3-10) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-3-9 cell-4-9 n-4-9 n-4-10) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-4-9 cell-5-9 n-5-9 n-5-10) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-5-9 cell-6-9 n-6-9 n-6-10) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-6-8 cell-7-8 n-7-8 n-7-9) + (CELL-EDGE cell-6-9 cell-7-9 n-7-9 n-7-10) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-7-4 cell-8-4 n-8-4 n-8-5) + (CELL-EDGE cell-7-5 cell-8-5 n-8-5 n-8-6) + (CELL-EDGE cell-7-6 cell-8-6 n-8-6 n-8-7) + (CELL-EDGE cell-7-7 cell-8-7 n-8-7 n-8-8) + (CELL-EDGE cell-7-8 cell-8-8 n-8-8 n-8-9) + (CELL-EDGE cell-7-9 cell-8-9 n-8-9 n-8-10) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-8-0 cell-outside-0-down n-9-0 n-9-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-8-1 cell-outside-1-down n-9-1 n-9-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-8-2 cell-outside-2-down n-9-2 n-9-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-8-3 cell-outside-3-down n-9-3 n-9-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-8-4 cell-outside-4-down n-9-4 n-9-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-8-5 cell-outside-5-down n-9-5 n-9-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-8-6 cell-outside-6-down n-9-6 n-9-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-8-7 cell-outside-7-down n-9-7 n-9-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-8-8 cell-outside-8-down n-9-8 n-9-9) + (CELL-EDGE cell-outside-9-up cell-0-9 n-0-9 n-0-10) + (CELL-EDGE cell-8-9 cell-outside-9-down n-9-9 n-9-10) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-8-3 cell-8-4 n-8-4 n-9-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-8-4 cell-8-5 n-8-5 n-9-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-8-5 cell-8-6 n-8-6 n-9-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-8-6 cell-8-7 n-8-7 n-9-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-7-7 cell-7-8 n-7-8 n-8-8) + (CELL-EDGE cell-8-7 cell-8-8 n-8-8 n-9-8) + (CELL-EDGE cell-0-8 cell-0-9 n-0-9 n-1-9) + (CELL-EDGE cell-1-8 cell-1-9 n-1-9 n-2-9) + (CELL-EDGE cell-2-8 cell-2-9 n-2-9 n-3-9) + (CELL-EDGE cell-3-8 cell-3-9 n-3-9 n-4-9) + (CELL-EDGE cell-4-8 cell-4-9 n-4-9 n-5-9) + (CELL-EDGE cell-5-8 cell-5-9 n-5-9 n-6-9) + (CELL-EDGE cell-6-8 cell-6-9 n-6-9 n-7-9) + (CELL-EDGE cell-7-8 cell-7-9 n-7-9 n-8-9) + (CELL-EDGE cell-8-8 cell-8-9 n-8-9 n-9-9) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-9 cell-outside-0-right n-0-10 n-1-10) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-9 cell-outside-1-right n-1-10 n-2-10) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-9 cell-outside-2-right n-2-10 n-3-10) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-9 cell-outside-3-right n-3-10 n-4-10) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-9 cell-outside-4-right n-4-10 n-5-10) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-9 cell-outside-5-right n-5-10 n-6-10) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-9 cell-outside-6-right n-6-10 n-7-10) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-9 cell-outside-7-right n-7-10 n-8-10) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-9 cell-outside-8-right n-8-10 n-9-10) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-10)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-10)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-10)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-10)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-10)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-10)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-10)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-10)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-10)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + (not (node-degree1 n-8-9)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-10)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + (not (node-degree1 n-9-5)) + (not (node-degree1 n-9-6)) + (not (node-degree1 n-9-7)) + (not (node-degree1 n-9-8)) + (not (node-degree1 n-9-9)) + + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-8 cap-0) + (CELL-CAPACITY cell-0-9 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-2-9 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-7 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-4-6 cap-0) + (CELL-CAPACITY cell-4-8 cap-0) + (CELL-CAPACITY cell-4-9 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-5 cap-0) + (CELL-CAPACITY cell-5-7 cap-0) + (CELL-CAPACITY cell-5-8 cap-0) + (CELL-CAPACITY cell-5-9 cap-0) + (CELL-CAPACITY cell-6-4 cap-0) + (CELL-CAPACITY cell-6-6 cap-0) + (CELL-CAPACITY cell-7-0 cap-0) + (CELL-CAPACITY cell-7-1 cap-0) + (CELL-CAPACITY cell-7-2 cap-0) + (CELL-CAPACITY cell-7-4 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + (CELL-CAPACITY cell-7-7 cap-0) + (CELL-CAPACITY cell-7-8 cap-0) + (CELL-CAPACITY cell-7-9 cap-0) + (CELL-CAPACITY cell-8-4 cap-0) + (CELL-CAPACITY cell-8-5 cap-0) + (CELL-CAPACITY cell-8-7 cap-0) + (CELL-CAPACITY cell-8-8 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p18.pddl b/slitherlink-sat23-adl/p18.pddl new file mode 100644 index 00000000..b564e977 --- /dev/null +++ b/slitherlink-sat23-adl/p18.pddl @@ -0,0 +1,713 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 10 10 p18.pddl p18.plan +;; +;; 222.213..3 +;; ..2...3... +;; 22..22.233 +;; ...222.... +;; .3.22..232 +;; 1..21..... +;; ..23.3.232 +;; ..22.3.... +;; 22.22..21. +;; .23..2.2.3 +;; +;; +-+-+-+-+ +-+-+ +-+ +;; |2 2 2 .|2 1|3 .|.|3| +;; + +-+-+ +-+ +-+ +-+ + +;; |.|. 2|. .|. 3|. . .| +;; + + +-+-+ +-+ +-+ + +;; |2|2 . . 2 2|. 2|3|3| +;; + +-+-+-+-+-+ +-+ +-+ +;; |. . . 2 2 2 .|. . . +;; + +-+-+-+-+-+-+ +-+ +;; |.|3 . 2 2 . . 2|3|2 +;; + +-+-+-+-+-+-+-+ +-+ +;; |1 . . 2 1 . . . . .| +;; + +-+ +-+ +-+-+ +-+ + +;; |.|.|2|3|.|3 .|2|3|2| +;; + + + + + +-+ + + + + +;; |.|.|2|2|. 3|.|.|.|.| +;; + + + + + +-+ +-+ +-+ +;; |2|2|.|2|2|. . 2 1 . +;; + + + + + +-+-+-+-+-+ +;; |.|2|3|.|. 2 . 2 . 3| +;; +-+ +-+ +-+-+-+-+-+-+ + +(define (problem sliterlink-129102) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-0-10 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-1-10 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-2-10 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-3-10 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-4-10 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-5-10 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-6-10 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-7-10 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 n-8-9 n-8-10 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-9-5 n-9-6 n-9-7 n-9-8 n-9-9 n-9-10 n-10-0 n-10-1 n-10-2 n-10-3 n-10-4 n-10-5 n-10-6 n-10-7 n-10-8 n-10-9 n-10-10 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-0-9 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-9-0 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-9-left cell-outside-9-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down cell-outside-9-up cell-outside-9-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-9-left cap-1) + (CELL-CAPACITY cell-outside-9-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-outside-9-up cap-1) + (CELL-CAPACITY cell-outside-9-down cap-1) + (CELL-CAPACITY cell-0-0 cap-2) + (CELL-CAPACITY cell-0-1 cap-2) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-2) + (CELL-CAPACITY cell-0-5 cap-1) + (CELL-CAPACITY cell-0-6 cap-3) + (CELL-CAPACITY cell-0-7 cap-4) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-0-9 cap-3) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-2) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-3) + (CELL-CAPACITY cell-1-7 cap-4) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-1-9 cap-4) + (CELL-CAPACITY cell-2-0 cap-2) + (CELL-CAPACITY cell-2-1 cap-2) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-2) + (CELL-CAPACITY cell-2-5 cap-2) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-2) + (CELL-CAPACITY cell-2-8 cap-3) + (CELL-CAPACITY cell-2-9 cap-3) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-2) + (CELL-CAPACITY cell-3-4 cap-2) + (CELL-CAPACITY cell-3-5 cap-2) + (CELL-CAPACITY cell-3-6 cap-4) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-3-8 cap-4) + (CELL-CAPACITY cell-3-9 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-3) + (CELL-CAPACITY cell-4-2 cap-4) + (CELL-CAPACITY cell-4-3 cap-2) + (CELL-CAPACITY cell-4-4 cap-2) + (CELL-CAPACITY cell-4-5 cap-4) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-2) + (CELL-CAPACITY cell-4-8 cap-3) + (CELL-CAPACITY cell-4-9 cap-2) + (CELL-CAPACITY cell-5-0 cap-1) + (CELL-CAPACITY cell-5-1 cap-4) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-2) + (CELL-CAPACITY cell-5-4 cap-1) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-4) + (CELL-CAPACITY cell-5-7 cap-4) + (CELL-CAPACITY cell-5-8 cap-4) + (CELL-CAPACITY cell-5-9 cap-4) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-2) + (CELL-CAPACITY cell-6-3 cap-3) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-3) + (CELL-CAPACITY cell-6-6 cap-4) + (CELL-CAPACITY cell-6-7 cap-2) + (CELL-CAPACITY cell-6-8 cap-3) + (CELL-CAPACITY cell-6-9 cap-2) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-4) + (CELL-CAPACITY cell-7-2 cap-2) + (CELL-CAPACITY cell-7-3 cap-2) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-7-5 cap-3) + (CELL-CAPACITY cell-7-6 cap-4) + (CELL-CAPACITY cell-7-7 cap-4) + (CELL-CAPACITY cell-7-8 cap-4) + (CELL-CAPACITY cell-7-9 cap-4) + (CELL-CAPACITY cell-8-0 cap-2) + (CELL-CAPACITY cell-8-1 cap-2) + (CELL-CAPACITY cell-8-2 cap-4) + (CELL-CAPACITY cell-8-3 cap-2) + (CELL-CAPACITY cell-8-4 cap-2) + (CELL-CAPACITY cell-8-5 cap-4) + (CELL-CAPACITY cell-8-6 cap-4) + (CELL-CAPACITY cell-8-7 cap-2) + (CELL-CAPACITY cell-8-8 cap-1) + (CELL-CAPACITY cell-8-9 cap-4) + (CELL-CAPACITY cell-9-0 cap-4) + (CELL-CAPACITY cell-9-1 cap-2) + (CELL-CAPACITY cell-9-2 cap-3) + (CELL-CAPACITY cell-9-3 cap-4) + (CELL-CAPACITY cell-9-4 cap-4) + (CELL-CAPACITY cell-9-5 cap-2) + (CELL-CAPACITY cell-9-6 cap-4) + (CELL-CAPACITY cell-9-7 cap-2) + (CELL-CAPACITY cell-9-8 cap-4) + (CELL-CAPACITY cell-9-9 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-0-10) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-1-10) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-2-10) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-3-10) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-4-10) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-5-10) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-6-10) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-7-10) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + (node-degree0 n-8-9) + (node-degree0 n-8-10) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-9-5) + (node-degree0 n-9-6) + (node-degree0 n-9-7) + (node-degree0 n-9-8) + (node-degree0 n-9-9) + (node-degree0 n-9-10) + (node-degree0 n-10-0) + (node-degree0 n-10-1) + (node-degree0 n-10-2) + (node-degree0 n-10-3) + (node-degree0 n-10-4) + (node-degree0 n-10-5) + (node-degree0 n-10-6) + (node-degree0 n-10-7) + (node-degree0 n-10-8) + (node-degree0 n-10-9) + (node-degree0 n-10-10) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-0-9 cell-1-9 n-1-9 n-1-10) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-1-9 cell-2-9 n-2-9 n-2-10) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-2-9 cell-3-9 n-3-9 n-3-10) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-3-9 cell-4-9 n-4-9 n-4-10) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-4-9 cell-5-9 n-5-9 n-5-10) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-5-9 cell-6-9 n-6-9 n-6-10) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-6-8 cell-7-8 n-7-8 n-7-9) + (CELL-EDGE cell-6-9 cell-7-9 n-7-9 n-7-10) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-7-4 cell-8-4 n-8-4 n-8-5) + (CELL-EDGE cell-7-5 cell-8-5 n-8-5 n-8-6) + (CELL-EDGE cell-7-6 cell-8-6 n-8-6 n-8-7) + (CELL-EDGE cell-7-7 cell-8-7 n-8-7 n-8-8) + (CELL-EDGE cell-7-8 cell-8-8 n-8-8 n-8-9) + (CELL-EDGE cell-7-9 cell-8-9 n-8-9 n-8-10) + (CELL-EDGE cell-8-0 cell-9-0 n-9-0 n-9-1) + (CELL-EDGE cell-8-1 cell-9-1 n-9-1 n-9-2) + (CELL-EDGE cell-8-2 cell-9-2 n-9-2 n-9-3) + (CELL-EDGE cell-8-3 cell-9-3 n-9-3 n-9-4) + (CELL-EDGE cell-8-4 cell-9-4 n-9-4 n-9-5) + (CELL-EDGE cell-8-5 cell-9-5 n-9-5 n-9-6) + (CELL-EDGE cell-8-6 cell-9-6 n-9-6 n-9-7) + (CELL-EDGE cell-8-7 cell-9-7 n-9-7 n-9-8) + (CELL-EDGE cell-8-8 cell-9-8 n-9-8 n-9-9) + (CELL-EDGE cell-8-9 cell-9-9 n-9-9 n-9-10) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-9-0 cell-outside-0-down n-10-0 n-10-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-9-1 cell-outside-1-down n-10-1 n-10-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-9-2 cell-outside-2-down n-10-2 n-10-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-9-3 cell-outside-3-down n-10-3 n-10-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-9-4 cell-outside-4-down n-10-4 n-10-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-9-5 cell-outside-5-down n-10-5 n-10-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-9-6 cell-outside-6-down n-10-6 n-10-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-9-7 cell-outside-7-down n-10-7 n-10-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-9-8 cell-outside-8-down n-10-8 n-10-9) + (CELL-EDGE cell-outside-9-up cell-0-9 n-0-9 n-0-10) + (CELL-EDGE cell-9-9 cell-outside-9-down n-10-9 n-10-10) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-9-0 cell-9-1 n-9-1 n-10-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-9-1 cell-9-2 n-9-2 n-10-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-9-2 cell-9-3 n-9-3 n-10-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-8-3 cell-8-4 n-8-4 n-9-4) + (CELL-EDGE cell-9-3 cell-9-4 n-9-4 n-10-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-8-4 cell-8-5 n-8-5 n-9-5) + (CELL-EDGE cell-9-4 cell-9-5 n-9-5 n-10-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-8-5 cell-8-6 n-8-6 n-9-6) + (CELL-EDGE cell-9-5 cell-9-6 n-9-6 n-10-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-8-6 cell-8-7 n-8-7 n-9-7) + (CELL-EDGE cell-9-6 cell-9-7 n-9-7 n-10-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-7-7 cell-7-8 n-7-8 n-8-8) + (CELL-EDGE cell-8-7 cell-8-8 n-8-8 n-9-8) + (CELL-EDGE cell-9-7 cell-9-8 n-9-8 n-10-8) + (CELL-EDGE cell-0-8 cell-0-9 n-0-9 n-1-9) + (CELL-EDGE cell-1-8 cell-1-9 n-1-9 n-2-9) + (CELL-EDGE cell-2-8 cell-2-9 n-2-9 n-3-9) + (CELL-EDGE cell-3-8 cell-3-9 n-3-9 n-4-9) + (CELL-EDGE cell-4-8 cell-4-9 n-4-9 n-5-9) + (CELL-EDGE cell-5-8 cell-5-9 n-5-9 n-6-9) + (CELL-EDGE cell-6-8 cell-6-9 n-6-9 n-7-9) + (CELL-EDGE cell-7-8 cell-7-9 n-7-9 n-8-9) + (CELL-EDGE cell-8-8 cell-8-9 n-8-9 n-9-9) + (CELL-EDGE cell-9-8 cell-9-9 n-9-9 n-10-9) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-9 cell-outside-0-right n-0-10 n-1-10) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-9 cell-outside-1-right n-1-10 n-2-10) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-9 cell-outside-2-right n-2-10 n-3-10) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-9 cell-outside-3-right n-3-10 n-4-10) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-9 cell-outside-4-right n-4-10 n-5-10) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-9 cell-outside-5-right n-5-10 n-6-10) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-9 cell-outside-6-right n-6-10 n-7-10) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-9 cell-outside-7-right n-7-10 n-8-10) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-9 cell-outside-8-right n-8-10 n-9-10) + (CELL-EDGE cell-outside-9-left cell-9-0 n-9-0 n-10-0) + (CELL-EDGE cell-9-9 cell-outside-9-right n-9-10 n-10-10) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-10)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-10)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-10-0)) + (not (node-degree1 n-10-1)) + (not (node-degree1 n-10-10)) + (not (node-degree1 n-10-2)) + (not (node-degree1 n-10-3)) + (not (node-degree1 n-10-4)) + (not (node-degree1 n-10-5)) + (not (node-degree1 n-10-6)) + (not (node-degree1 n-10-7)) + (not (node-degree1 n-10-8)) + (not (node-degree1 n-10-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-10)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-10)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-10)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-10)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-10)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-10)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-10)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + (not (node-degree1 n-8-9)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-10)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + (not (node-degree1 n-9-5)) + (not (node-degree1 n-9-6)) + (not (node-degree1 n-9-7)) + (not (node-degree1 n-9-8)) + (not (node-degree1 n-9-9)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-0-6 cap-0) + (CELL-CAPACITY cell-0-9 cap-0) + (CELL-CAPACITY cell-1-2 cap-0) + (CELL-CAPACITY cell-1-6 cap-0) + (CELL-CAPACITY cell-2-0 cap-0) + (CELL-CAPACITY cell-2-1 cap-0) + (CELL-CAPACITY cell-2-4 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-2-7 cap-0) + (CELL-CAPACITY cell-2-8 cap-0) + (CELL-CAPACITY cell-2-9 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + (CELL-CAPACITY cell-3-5 cap-0) + (CELL-CAPACITY cell-4-1 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-4-4 cap-0) + (CELL-CAPACITY cell-4-7 cap-0) + (CELL-CAPACITY cell-4-8 cap-0) + (CELL-CAPACITY cell-4-9 cap-0) + (CELL-CAPACITY cell-5-0 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-4 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-6-3 cap-0) + (CELL-CAPACITY cell-6-5 cap-0) + (CELL-CAPACITY cell-6-7 cap-0) + (CELL-CAPACITY cell-6-8 cap-0) + (CELL-CAPACITY cell-6-9 cap-0) + (CELL-CAPACITY cell-7-2 cap-0) + (CELL-CAPACITY cell-7-3 cap-0) + (CELL-CAPACITY cell-7-5 cap-0) + (CELL-CAPACITY cell-8-0 cap-0) + (CELL-CAPACITY cell-8-1 cap-0) + (CELL-CAPACITY cell-8-3 cap-0) + (CELL-CAPACITY cell-8-4 cap-0) + (CELL-CAPACITY cell-8-7 cap-0) + (CELL-CAPACITY cell-8-8 cap-0) + (CELL-CAPACITY cell-9-1 cap-0) + (CELL-CAPACITY cell-9-2 cap-0) + (CELL-CAPACITY cell-9-5 cap-0) + (CELL-CAPACITY cell-9-7 cap-0) + (CELL-CAPACITY cell-9-9 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p19.pddl b/slitherlink-sat23-adl/p19.pddl new file mode 100644 index 00000000..b3cff1b0 --- /dev/null +++ b/slitherlink-sat23-adl/p19.pddl @@ -0,0 +1,751 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 9 12 p19.pddl p19.plan +;; +;; 322.32.3..2. +;; .2.221...... +;; .........122 +;; ..232.12..3. +;; 1.0..2..3.1. +;; .3.3..212..2 +;; .......2..03 +;; .1.3.3.2...3 +;; .3.1..2.3.2. +;; +;; +-+ +-+-+-+ +-+-+ +-+-+-+ +;; |3|2|2 . 3|2|. 3|.|. 2 .| +;; + + + +-+-+ + +-+ + +-+-+ +;; |.|2|.|2 2 1|.|. .|.|. . +;; + + + + +-+ + + + +-+-+ +;; |.|.|.|.|.|.|.|. .|1 2 2| +;; + + + + + + + +-+-+ +-+ + +;; |.|.|2|3|2|.|1 2 . .|3|.| +;; + +-+ +-+ +-+ +-+ +-+ +-+ +;; |1 . 0 . . 2 .|.|3|. 1 . +;; + +-+ +-+-+-+-+ +-+ +-+ +;; |.|3|.|3 . . 2 1 2 .|.|2 +;; +-+ + +-+-+-+-+-+-+-+ +-+ +;; . .|. . . . . 2 . . 0 3| +;; +-+-+ +-+ +-+-+-+-+-+ +-+ +;; |. 1 .|3|.|3 . 2 . .|.|3 +;; +-+ +-+ + +-+-+-+-+ + +-+ +;; .|3|. 1|. . 2 . 3|.|2 .| +;; +-+ +-+-+-+-+-+ +-+-+ + +(define (problem sliterlink-939616) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-0-10 n-0-11 n-0-12 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-1-10 n-1-11 n-1-12 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-2-10 n-2-11 n-2-12 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-3-10 n-3-11 n-3-12 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-4-10 n-4-11 n-4-12 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-5-10 n-5-11 n-5-12 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-6-10 n-6-11 n-6-12 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-7-10 n-7-11 n-7-12 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 n-8-9 n-8-10 n-8-11 n-8-12 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-9-5 n-9-6 n-9-7 n-9-8 n-9-9 n-9-10 n-9-11 n-9-12 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-0-9 cell-0-10 cell-0-11 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-1-11 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-2-11 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-3-11 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-4-11 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-5-11 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-6-11 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-7-11 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-8-11 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down cell-outside-9-up cell-outside-9-down cell-outside-10-up cell-outside-10-down cell-outside-11-up cell-outside-11-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-outside-9-up cap-1) + (CELL-CAPACITY cell-outside-9-down cap-1) + (CELL-CAPACITY cell-outside-10-up cap-1) + (CELL-CAPACITY cell-outside-10-down cap-1) + (CELL-CAPACITY cell-outside-11-up cap-1) + (CELL-CAPACITY cell-outside-11-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-2) + (CELL-CAPACITY cell-0-2 cap-2) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-3) + (CELL-CAPACITY cell-0-5 cap-2) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-3) + (CELL-CAPACITY cell-0-8 cap-4) + (CELL-CAPACITY cell-0-9 cap-4) + (CELL-CAPACITY cell-0-10 cap-2) + (CELL-CAPACITY cell-0-11 cap-4) + (CELL-CAPACITY cell-1-0 cap-4) + (CELL-CAPACITY cell-1-1 cap-2) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-2) + (CELL-CAPACITY cell-1-4 cap-2) + (CELL-CAPACITY cell-1-5 cap-1) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-4) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-1-9 cap-4) + (CELL-CAPACITY cell-1-10 cap-4) + (CELL-CAPACITY cell-1-11 cap-4) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-4) + (CELL-CAPACITY cell-2-3 cap-4) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-4) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-2-8 cap-4) + (CELL-CAPACITY cell-2-9 cap-1) + (CELL-CAPACITY cell-2-10 cap-2) + (CELL-CAPACITY cell-2-11 cap-2) + (CELL-CAPACITY cell-3-0 cap-4) + (CELL-CAPACITY cell-3-1 cap-4) + (CELL-CAPACITY cell-3-2 cap-2) + (CELL-CAPACITY cell-3-3 cap-3) + (CELL-CAPACITY cell-3-4 cap-2) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-1) + (CELL-CAPACITY cell-3-7 cap-2) + (CELL-CAPACITY cell-3-8 cap-4) + (CELL-CAPACITY cell-3-9 cap-4) + (CELL-CAPACITY cell-3-10 cap-3) + (CELL-CAPACITY cell-3-11 cap-4) + (CELL-CAPACITY cell-4-0 cap-1) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-3 cap-4) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-2) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-4) + (CELL-CAPACITY cell-4-8 cap-3) + (CELL-CAPACITY cell-4-9 cap-4) + (CELL-CAPACITY cell-4-10 cap-1) + (CELL-CAPACITY cell-4-11 cap-4) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-3) + (CELL-CAPACITY cell-5-2 cap-4) + (CELL-CAPACITY cell-5-3 cap-3) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-2) + (CELL-CAPACITY cell-5-7 cap-1) + (CELL-CAPACITY cell-5-8 cap-2) + (CELL-CAPACITY cell-5-9 cap-4) + (CELL-CAPACITY cell-5-10 cap-4) + (CELL-CAPACITY cell-5-11 cap-2) + (CELL-CAPACITY cell-6-0 cap-4) + (CELL-CAPACITY cell-6-1 cap-4) + (CELL-CAPACITY cell-6-2 cap-4) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-4) + (CELL-CAPACITY cell-6-6 cap-4) + (CELL-CAPACITY cell-6-7 cap-2) + (CELL-CAPACITY cell-6-8 cap-4) + (CELL-CAPACITY cell-6-9 cap-4) + (CELL-CAPACITY cell-6-10 cap-0) + (CELL-CAPACITY cell-6-11 cap-3) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-1) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-3) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-7-5 cap-3) + (CELL-CAPACITY cell-7-6 cap-4) + (CELL-CAPACITY cell-7-7 cap-2) + (CELL-CAPACITY cell-7-8 cap-4) + (CELL-CAPACITY cell-7-9 cap-4) + (CELL-CAPACITY cell-7-10 cap-4) + (CELL-CAPACITY cell-7-11 cap-3) + (CELL-CAPACITY cell-8-0 cap-4) + (CELL-CAPACITY cell-8-1 cap-3) + (CELL-CAPACITY cell-8-2 cap-4) + (CELL-CAPACITY cell-8-3 cap-1) + (CELL-CAPACITY cell-8-4 cap-4) + (CELL-CAPACITY cell-8-5 cap-4) + (CELL-CAPACITY cell-8-6 cap-2) + (CELL-CAPACITY cell-8-7 cap-4) + (CELL-CAPACITY cell-8-8 cap-3) + (CELL-CAPACITY cell-8-9 cap-4) + (CELL-CAPACITY cell-8-10 cap-2) + (CELL-CAPACITY cell-8-11 cap-4) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-0-10) + (node-degree0 n-0-11) + (node-degree0 n-0-12) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-1-10) + (node-degree0 n-1-11) + (node-degree0 n-1-12) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-2-10) + (node-degree0 n-2-11) + (node-degree0 n-2-12) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-3-10) + (node-degree0 n-3-11) + (node-degree0 n-3-12) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-4-10) + (node-degree0 n-4-11) + (node-degree0 n-4-12) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-5-10) + (node-degree0 n-5-11) + (node-degree0 n-5-12) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-6-10) + (node-degree0 n-6-11) + (node-degree0 n-6-12) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-7-10) + (node-degree0 n-7-11) + (node-degree0 n-7-12) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + (node-degree0 n-8-9) + (node-degree0 n-8-10) + (node-degree0 n-8-11) + (node-degree0 n-8-12) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-9-5) + (node-degree0 n-9-6) + (node-degree0 n-9-7) + (node-degree0 n-9-8) + (node-degree0 n-9-9) + (node-degree0 n-9-10) + (node-degree0 n-9-11) + (node-degree0 n-9-12) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-0-9 cell-1-9 n-1-9 n-1-10) + (CELL-EDGE cell-0-10 cell-1-10 n-1-10 n-1-11) + (CELL-EDGE cell-0-11 cell-1-11 n-1-11 n-1-12) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-1-9 cell-2-9 n-2-9 n-2-10) + (CELL-EDGE cell-1-10 cell-2-10 n-2-10 n-2-11) + (CELL-EDGE cell-1-11 cell-2-11 n-2-11 n-2-12) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-2-9 cell-3-9 n-3-9 n-3-10) + (CELL-EDGE cell-2-10 cell-3-10 n-3-10 n-3-11) + (CELL-EDGE cell-2-11 cell-3-11 n-3-11 n-3-12) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-3-9 cell-4-9 n-4-9 n-4-10) + (CELL-EDGE cell-3-10 cell-4-10 n-4-10 n-4-11) + (CELL-EDGE cell-3-11 cell-4-11 n-4-11 n-4-12) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-4-9 cell-5-9 n-5-9 n-5-10) + (CELL-EDGE cell-4-10 cell-5-10 n-5-10 n-5-11) + (CELL-EDGE cell-4-11 cell-5-11 n-5-11 n-5-12) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-5-9 cell-6-9 n-6-9 n-6-10) + (CELL-EDGE cell-5-10 cell-6-10 n-6-10 n-6-11) + (CELL-EDGE cell-5-11 cell-6-11 n-6-11 n-6-12) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-6-8 cell-7-8 n-7-8 n-7-9) + (CELL-EDGE cell-6-9 cell-7-9 n-7-9 n-7-10) + (CELL-EDGE cell-6-10 cell-7-10 n-7-10 n-7-11) + (CELL-EDGE cell-6-11 cell-7-11 n-7-11 n-7-12) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-7-4 cell-8-4 n-8-4 n-8-5) + (CELL-EDGE cell-7-5 cell-8-5 n-8-5 n-8-6) + (CELL-EDGE cell-7-6 cell-8-6 n-8-6 n-8-7) + (CELL-EDGE cell-7-7 cell-8-7 n-8-7 n-8-8) + (CELL-EDGE cell-7-8 cell-8-8 n-8-8 n-8-9) + (CELL-EDGE cell-7-9 cell-8-9 n-8-9 n-8-10) + (CELL-EDGE cell-7-10 cell-8-10 n-8-10 n-8-11) + (CELL-EDGE cell-7-11 cell-8-11 n-8-11 n-8-12) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-8-0 cell-outside-0-down n-9-0 n-9-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-8-1 cell-outside-1-down n-9-1 n-9-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-8-2 cell-outside-2-down n-9-2 n-9-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-8-3 cell-outside-3-down n-9-3 n-9-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-8-4 cell-outside-4-down n-9-4 n-9-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-8-5 cell-outside-5-down n-9-5 n-9-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-8-6 cell-outside-6-down n-9-6 n-9-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-8-7 cell-outside-7-down n-9-7 n-9-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-8-8 cell-outside-8-down n-9-8 n-9-9) + (CELL-EDGE cell-outside-9-up cell-0-9 n-0-9 n-0-10) + (CELL-EDGE cell-8-9 cell-outside-9-down n-9-9 n-9-10) + (CELL-EDGE cell-outside-10-up cell-0-10 n-0-10 n-0-11) + (CELL-EDGE cell-8-10 cell-outside-10-down n-9-10 n-9-11) + (CELL-EDGE cell-outside-11-up cell-0-11 n-0-11 n-0-12) + (CELL-EDGE cell-8-11 cell-outside-11-down n-9-11 n-9-12) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-8-3 cell-8-4 n-8-4 n-9-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-8-4 cell-8-5 n-8-5 n-9-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-8-5 cell-8-6 n-8-6 n-9-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-8-6 cell-8-7 n-8-7 n-9-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-7-7 cell-7-8 n-7-8 n-8-8) + (CELL-EDGE cell-8-7 cell-8-8 n-8-8 n-9-8) + (CELL-EDGE cell-0-8 cell-0-9 n-0-9 n-1-9) + (CELL-EDGE cell-1-8 cell-1-9 n-1-9 n-2-9) + (CELL-EDGE cell-2-8 cell-2-9 n-2-9 n-3-9) + (CELL-EDGE cell-3-8 cell-3-9 n-3-9 n-4-9) + (CELL-EDGE cell-4-8 cell-4-9 n-4-9 n-5-9) + (CELL-EDGE cell-5-8 cell-5-9 n-5-9 n-6-9) + (CELL-EDGE cell-6-8 cell-6-9 n-6-9 n-7-9) + (CELL-EDGE cell-7-8 cell-7-9 n-7-9 n-8-9) + (CELL-EDGE cell-8-8 cell-8-9 n-8-9 n-9-9) + (CELL-EDGE cell-0-9 cell-0-10 n-0-10 n-1-10) + (CELL-EDGE cell-1-9 cell-1-10 n-1-10 n-2-10) + (CELL-EDGE cell-2-9 cell-2-10 n-2-10 n-3-10) + (CELL-EDGE cell-3-9 cell-3-10 n-3-10 n-4-10) + (CELL-EDGE cell-4-9 cell-4-10 n-4-10 n-5-10) + (CELL-EDGE cell-5-9 cell-5-10 n-5-10 n-6-10) + (CELL-EDGE cell-6-9 cell-6-10 n-6-10 n-7-10) + (CELL-EDGE cell-7-9 cell-7-10 n-7-10 n-8-10) + (CELL-EDGE cell-8-9 cell-8-10 n-8-10 n-9-10) + (CELL-EDGE cell-0-10 cell-0-11 n-0-11 n-1-11) + (CELL-EDGE cell-1-10 cell-1-11 n-1-11 n-2-11) + (CELL-EDGE cell-2-10 cell-2-11 n-2-11 n-3-11) + (CELL-EDGE cell-3-10 cell-3-11 n-3-11 n-4-11) + (CELL-EDGE cell-4-10 cell-4-11 n-4-11 n-5-11) + (CELL-EDGE cell-5-10 cell-5-11 n-5-11 n-6-11) + (CELL-EDGE cell-6-10 cell-6-11 n-6-11 n-7-11) + (CELL-EDGE cell-7-10 cell-7-11 n-7-11 n-8-11) + (CELL-EDGE cell-8-10 cell-8-11 n-8-11 n-9-11) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-11 cell-outside-0-right n-0-12 n-1-12) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-11 cell-outside-1-right n-1-12 n-2-12) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-11 cell-outside-2-right n-2-12 n-3-12) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-11 cell-outside-3-right n-3-12 n-4-12) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-11 cell-outside-4-right n-4-12 n-5-12) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-11 cell-outside-5-right n-5-12 n-6-12) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-11 cell-outside-6-right n-6-12 n-7-12) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-11 cell-outside-7-right n-7-12 n-8-12) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-11 cell-outside-8-right n-8-12 n-9-12) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-10)) + (not (node-degree1 n-0-11)) + (not (node-degree1 n-0-12)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-10)) + (not (node-degree1 n-1-11)) + (not (node-degree1 n-1-12)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-10)) + (not (node-degree1 n-2-11)) + (not (node-degree1 n-2-12)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-10)) + (not (node-degree1 n-3-11)) + (not (node-degree1 n-3-12)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-10)) + (not (node-degree1 n-4-11)) + (not (node-degree1 n-4-12)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-10)) + (not (node-degree1 n-5-11)) + (not (node-degree1 n-5-12)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-10)) + (not (node-degree1 n-6-11)) + (not (node-degree1 n-6-12)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-10)) + (not (node-degree1 n-7-11)) + (not (node-degree1 n-7-12)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-10)) + (not (node-degree1 n-8-11)) + (not (node-degree1 n-8-12)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + (not (node-degree1 n-8-9)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-10)) + (not (node-degree1 n-9-11)) + (not (node-degree1 n-9-12)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + (not (node-degree1 n-9-5)) + (not (node-degree1 n-9-6)) + (not (node-degree1 n-9-7)) + (not (node-degree1 n-9-8)) + (not (node-degree1 n-9-9)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-1 cap-0) + (CELL-CAPACITY cell-0-2 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-0-7 cap-0) + (CELL-CAPACITY cell-0-10 cap-0) + (CELL-CAPACITY cell-1-1 cap-0) + (CELL-CAPACITY cell-1-3 cap-0) + (CELL-CAPACITY cell-1-4 cap-0) + (CELL-CAPACITY cell-1-5 cap-0) + (CELL-CAPACITY cell-2-9 cap-0) + (CELL-CAPACITY cell-2-10 cap-0) + (CELL-CAPACITY cell-2-11 cap-0) + (CELL-CAPACITY cell-3-2 cap-0) + (CELL-CAPACITY cell-3-3 cap-0) + (CELL-CAPACITY cell-3-4 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-3-7 cap-0) + (CELL-CAPACITY cell-3-10 cap-0) + (CELL-CAPACITY cell-4-0 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-4-8 cap-0) + (CELL-CAPACITY cell-4-10 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-5-7 cap-0) + (CELL-CAPACITY cell-5-8 cap-0) + (CELL-CAPACITY cell-5-11 cap-0) + (CELL-CAPACITY cell-6-7 cap-0) + (CELL-CAPACITY cell-6-10 cap-0) + (CELL-CAPACITY cell-6-11 cap-0) + (CELL-CAPACITY cell-7-1 cap-0) + (CELL-CAPACITY cell-7-3 cap-0) + (CELL-CAPACITY cell-7-5 cap-0) + (CELL-CAPACITY cell-7-7 cap-0) + (CELL-CAPACITY cell-7-11 cap-0) + (CELL-CAPACITY cell-8-1 cap-0) + (CELL-CAPACITY cell-8-3 cap-0) + (CELL-CAPACITY cell-8-6 cap-0) + (CELL-CAPACITY cell-8-8 cap-0) + (CELL-CAPACITY cell-8-10 cap-0) + ) +) +) + + diff --git a/slitherlink-sat23-adl/p20.pddl b/slitherlink-sat23-adl/p20.pddl new file mode 100644 index 00000000..9355221a --- /dev/null +++ b/slitherlink-sat23-adl/p20.pddl @@ -0,0 +1,768 @@ +;; ../../../domain-slitherlink/generator-solver/generate-pddl.py gen 10 11 p20.pddl p20.plan +;; +;; 3...21.21.. +;; 1......2..2 +;; ..12.1....3 +;; 31....1.22. +;; ..21.1.32.2 +;; .132..22223 +;; 322..1..... +;; .2.3.22.... +;; ..12.1.3... +;; ...2...1323 +;; +;; +-+-+-+-+-+-+-+-+-+-+-+ +;; |3 . . . 2 1 . 2 1 . .| +;; +-+-+-+-+-+ +-+-+ +-+-+ +;; 1 . . . .|.|. 2|.|. 2 +;; +-+ +-+ +-+ +-+ +-+ +;; .|.|1 2|. 1 .|. . .|3| +;; +-+ + +-+ +-+ +-+-+-+ + +;; |3 1|.|. .|.|1 . 2 2 .| +;; +-+ +-+ +-+ + +-+-+-+-+ +;; .|. 2 1|. 1|.|3 2 . 2 +;; +-+-+ + + +-+-+-+-+ +;; . 1 3|2|. .|2 2 2 2 3| +;; +-+ +-+ +-+ +-+-+-+-+-+ +;; |3|2|2 . .|1 . . . . . +;; + + + +-+-+ +-+-+-+-+-+ +;; |.|2|.|3 . 2|2 . . . .| +;; + + + +-+-+-+ +-+ +-+ + +;; |.|.|1 2 . 1 .|3|.|.|.| +;; + +-+ +-+-+ +-+ + + + + +;; |. . .|2 .|.|. 1|3|2|3| +;; +-+-+-+ +-+ +-+ +-+ + +(define (problem sliterlink-869501) +(:domain slitherlink) + +(:objects + cap-0 cap-1 cap-2 cap-3 cap-4 - cell-capacity-level + n-0-0 n-0-1 n-0-2 n-0-3 n-0-4 n-0-5 n-0-6 n-0-7 n-0-8 n-0-9 n-0-10 n-0-11 n-1-0 n-1-1 n-1-2 n-1-3 n-1-4 n-1-5 n-1-6 n-1-7 n-1-8 n-1-9 n-1-10 n-1-11 n-2-0 n-2-1 n-2-2 n-2-3 n-2-4 n-2-5 n-2-6 n-2-7 n-2-8 n-2-9 n-2-10 n-2-11 n-3-0 n-3-1 n-3-2 n-3-3 n-3-4 n-3-5 n-3-6 n-3-7 n-3-8 n-3-9 n-3-10 n-3-11 n-4-0 n-4-1 n-4-2 n-4-3 n-4-4 n-4-5 n-4-6 n-4-7 n-4-8 n-4-9 n-4-10 n-4-11 n-5-0 n-5-1 n-5-2 n-5-3 n-5-4 n-5-5 n-5-6 n-5-7 n-5-8 n-5-9 n-5-10 n-5-11 n-6-0 n-6-1 n-6-2 n-6-3 n-6-4 n-6-5 n-6-6 n-6-7 n-6-8 n-6-9 n-6-10 n-6-11 n-7-0 n-7-1 n-7-2 n-7-3 n-7-4 n-7-5 n-7-6 n-7-7 n-7-8 n-7-9 n-7-10 n-7-11 n-8-0 n-8-1 n-8-2 n-8-3 n-8-4 n-8-5 n-8-6 n-8-7 n-8-8 n-8-9 n-8-10 n-8-11 n-9-0 n-9-1 n-9-2 n-9-3 n-9-4 n-9-5 n-9-6 n-9-7 n-9-8 n-9-9 n-9-10 n-9-11 n-10-0 n-10-1 n-10-2 n-10-3 n-10-4 n-10-5 n-10-6 n-10-7 n-10-8 n-10-9 n-10-10 n-10-11 - node + cell-0-0 cell-0-1 cell-0-2 cell-0-3 cell-0-4 cell-0-5 cell-0-6 cell-0-7 cell-0-8 cell-0-9 cell-0-10 cell-1-0 cell-1-1 cell-1-2 cell-1-3 cell-1-4 cell-1-5 cell-1-6 cell-1-7 cell-1-8 cell-1-9 cell-1-10 cell-2-0 cell-2-1 cell-2-2 cell-2-3 cell-2-4 cell-2-5 cell-2-6 cell-2-7 cell-2-8 cell-2-9 cell-2-10 cell-3-0 cell-3-1 cell-3-2 cell-3-3 cell-3-4 cell-3-5 cell-3-6 cell-3-7 cell-3-8 cell-3-9 cell-3-10 cell-4-0 cell-4-1 cell-4-2 cell-4-3 cell-4-4 cell-4-5 cell-4-6 cell-4-7 cell-4-8 cell-4-9 cell-4-10 cell-5-0 cell-5-1 cell-5-2 cell-5-3 cell-5-4 cell-5-5 cell-5-6 cell-5-7 cell-5-8 cell-5-9 cell-5-10 cell-6-0 cell-6-1 cell-6-2 cell-6-3 cell-6-4 cell-6-5 cell-6-6 cell-6-7 cell-6-8 cell-6-9 cell-6-10 cell-7-0 cell-7-1 cell-7-2 cell-7-3 cell-7-4 cell-7-5 cell-7-6 cell-7-7 cell-7-8 cell-7-9 cell-7-10 cell-8-0 cell-8-1 cell-8-2 cell-8-3 cell-8-4 cell-8-5 cell-8-6 cell-8-7 cell-8-8 cell-8-9 cell-8-10 cell-9-0 cell-9-1 cell-9-2 cell-9-3 cell-9-4 cell-9-5 cell-9-6 cell-9-7 cell-9-8 cell-9-9 cell-9-10 cell-outside-0-left cell-outside-0-right cell-outside-1-left cell-outside-1-right cell-outside-2-left cell-outside-2-right cell-outside-3-left cell-outside-3-right cell-outside-4-left cell-outside-4-right cell-outside-5-left cell-outside-5-right cell-outside-6-left cell-outside-6-right cell-outside-7-left cell-outside-7-right cell-outside-8-left cell-outside-8-right cell-outside-9-left cell-outside-9-right cell-outside-0-up cell-outside-0-down cell-outside-1-up cell-outside-1-down cell-outside-2-up cell-outside-2-down cell-outside-3-up cell-outside-3-down cell-outside-4-up cell-outside-4-down cell-outside-5-up cell-outside-5-down cell-outside-6-up cell-outside-6-down cell-outside-7-up cell-outside-7-down cell-outside-8-up cell-outside-8-down cell-outside-9-up cell-outside-9-down cell-outside-10-up cell-outside-10-down - cell +) + +(:init + (CELL-CAPACITY-INC cap-0 cap-1) + (CELL-CAPACITY-INC cap-1 cap-2) + (CELL-CAPACITY-INC cap-2 cap-3) + (CELL-CAPACITY-INC cap-3 cap-4) + + (CELL-CAPACITY cell-outside-0-left cap-1) + (CELL-CAPACITY cell-outside-0-right cap-1) + (CELL-CAPACITY cell-outside-1-left cap-1) + (CELL-CAPACITY cell-outside-1-right cap-1) + (CELL-CAPACITY cell-outside-2-left cap-1) + (CELL-CAPACITY cell-outside-2-right cap-1) + (CELL-CAPACITY cell-outside-3-left cap-1) + (CELL-CAPACITY cell-outside-3-right cap-1) + (CELL-CAPACITY cell-outside-4-left cap-1) + (CELL-CAPACITY cell-outside-4-right cap-1) + (CELL-CAPACITY cell-outside-5-left cap-1) + (CELL-CAPACITY cell-outside-5-right cap-1) + (CELL-CAPACITY cell-outside-6-left cap-1) + (CELL-CAPACITY cell-outside-6-right cap-1) + (CELL-CAPACITY cell-outside-7-left cap-1) + (CELL-CAPACITY cell-outside-7-right cap-1) + (CELL-CAPACITY cell-outside-8-left cap-1) + (CELL-CAPACITY cell-outside-8-right cap-1) + (CELL-CAPACITY cell-outside-9-left cap-1) + (CELL-CAPACITY cell-outside-9-right cap-1) + (CELL-CAPACITY cell-outside-0-up cap-1) + (CELL-CAPACITY cell-outside-0-down cap-1) + (CELL-CAPACITY cell-outside-1-up cap-1) + (CELL-CAPACITY cell-outside-1-down cap-1) + (CELL-CAPACITY cell-outside-2-up cap-1) + (CELL-CAPACITY cell-outside-2-down cap-1) + (CELL-CAPACITY cell-outside-3-up cap-1) + (CELL-CAPACITY cell-outside-3-down cap-1) + (CELL-CAPACITY cell-outside-4-up cap-1) + (CELL-CAPACITY cell-outside-4-down cap-1) + (CELL-CAPACITY cell-outside-5-up cap-1) + (CELL-CAPACITY cell-outside-5-down cap-1) + (CELL-CAPACITY cell-outside-6-up cap-1) + (CELL-CAPACITY cell-outside-6-down cap-1) + (CELL-CAPACITY cell-outside-7-up cap-1) + (CELL-CAPACITY cell-outside-7-down cap-1) + (CELL-CAPACITY cell-outside-8-up cap-1) + (CELL-CAPACITY cell-outside-8-down cap-1) + (CELL-CAPACITY cell-outside-9-up cap-1) + (CELL-CAPACITY cell-outside-9-down cap-1) + (CELL-CAPACITY cell-outside-10-up cap-1) + (CELL-CAPACITY cell-outside-10-down cap-1) + (CELL-CAPACITY cell-0-0 cap-3) + (CELL-CAPACITY cell-0-1 cap-4) + (CELL-CAPACITY cell-0-2 cap-4) + (CELL-CAPACITY cell-0-3 cap-4) + (CELL-CAPACITY cell-0-4 cap-2) + (CELL-CAPACITY cell-0-5 cap-1) + (CELL-CAPACITY cell-0-6 cap-4) + (CELL-CAPACITY cell-0-7 cap-2) + (CELL-CAPACITY cell-0-8 cap-1) + (CELL-CAPACITY cell-0-9 cap-4) + (CELL-CAPACITY cell-0-10 cap-4) + (CELL-CAPACITY cell-1-0 cap-1) + (CELL-CAPACITY cell-1-1 cap-4) + (CELL-CAPACITY cell-1-2 cap-4) + (CELL-CAPACITY cell-1-3 cap-4) + (CELL-CAPACITY cell-1-4 cap-4) + (CELL-CAPACITY cell-1-5 cap-4) + (CELL-CAPACITY cell-1-6 cap-4) + (CELL-CAPACITY cell-1-7 cap-2) + (CELL-CAPACITY cell-1-8 cap-4) + (CELL-CAPACITY cell-1-9 cap-4) + (CELL-CAPACITY cell-1-10 cap-2) + (CELL-CAPACITY cell-2-0 cap-4) + (CELL-CAPACITY cell-2-1 cap-4) + (CELL-CAPACITY cell-2-2 cap-1) + (CELL-CAPACITY cell-2-3 cap-2) + (CELL-CAPACITY cell-2-4 cap-4) + (CELL-CAPACITY cell-2-5 cap-1) + (CELL-CAPACITY cell-2-6 cap-4) + (CELL-CAPACITY cell-2-7 cap-4) + (CELL-CAPACITY cell-2-8 cap-4) + (CELL-CAPACITY cell-2-9 cap-4) + (CELL-CAPACITY cell-2-10 cap-3) + (CELL-CAPACITY cell-3-0 cap-3) + (CELL-CAPACITY cell-3-1 cap-1) + (CELL-CAPACITY cell-3-2 cap-4) + (CELL-CAPACITY cell-3-3 cap-4) + (CELL-CAPACITY cell-3-4 cap-4) + (CELL-CAPACITY cell-3-5 cap-4) + (CELL-CAPACITY cell-3-6 cap-1) + (CELL-CAPACITY cell-3-7 cap-4) + (CELL-CAPACITY cell-3-8 cap-2) + (CELL-CAPACITY cell-3-9 cap-2) + (CELL-CAPACITY cell-3-10 cap-4) + (CELL-CAPACITY cell-4-0 cap-4) + (CELL-CAPACITY cell-4-1 cap-4) + (CELL-CAPACITY cell-4-2 cap-2) + (CELL-CAPACITY cell-4-3 cap-1) + (CELL-CAPACITY cell-4-4 cap-4) + (CELL-CAPACITY cell-4-5 cap-1) + (CELL-CAPACITY cell-4-6 cap-4) + (CELL-CAPACITY cell-4-7 cap-3) + (CELL-CAPACITY cell-4-8 cap-2) + (CELL-CAPACITY cell-4-9 cap-4) + (CELL-CAPACITY cell-4-10 cap-2) + (CELL-CAPACITY cell-5-0 cap-4) + (CELL-CAPACITY cell-5-1 cap-1) + (CELL-CAPACITY cell-5-2 cap-3) + (CELL-CAPACITY cell-5-3 cap-2) + (CELL-CAPACITY cell-5-4 cap-4) + (CELL-CAPACITY cell-5-5 cap-4) + (CELL-CAPACITY cell-5-6 cap-2) + (CELL-CAPACITY cell-5-7 cap-2) + (CELL-CAPACITY cell-5-8 cap-2) + (CELL-CAPACITY cell-5-9 cap-2) + (CELL-CAPACITY cell-5-10 cap-3) + (CELL-CAPACITY cell-6-0 cap-3) + (CELL-CAPACITY cell-6-1 cap-2) + (CELL-CAPACITY cell-6-2 cap-2) + (CELL-CAPACITY cell-6-3 cap-4) + (CELL-CAPACITY cell-6-4 cap-4) + (CELL-CAPACITY cell-6-5 cap-1) + (CELL-CAPACITY cell-6-6 cap-4) + (CELL-CAPACITY cell-6-7 cap-4) + (CELL-CAPACITY cell-6-8 cap-4) + (CELL-CAPACITY cell-6-9 cap-4) + (CELL-CAPACITY cell-6-10 cap-4) + (CELL-CAPACITY cell-7-0 cap-4) + (CELL-CAPACITY cell-7-1 cap-2) + (CELL-CAPACITY cell-7-2 cap-4) + (CELL-CAPACITY cell-7-3 cap-3) + (CELL-CAPACITY cell-7-4 cap-4) + (CELL-CAPACITY cell-7-5 cap-2) + (CELL-CAPACITY cell-7-6 cap-2) + (CELL-CAPACITY cell-7-7 cap-4) + (CELL-CAPACITY cell-7-8 cap-4) + (CELL-CAPACITY cell-7-9 cap-4) + (CELL-CAPACITY cell-7-10 cap-4) + (CELL-CAPACITY cell-8-0 cap-4) + (CELL-CAPACITY cell-8-1 cap-4) + (CELL-CAPACITY cell-8-2 cap-1) + (CELL-CAPACITY cell-8-3 cap-2) + (CELL-CAPACITY cell-8-4 cap-4) + (CELL-CAPACITY cell-8-5 cap-1) + (CELL-CAPACITY cell-8-6 cap-4) + (CELL-CAPACITY cell-8-7 cap-3) + (CELL-CAPACITY cell-8-8 cap-4) + (CELL-CAPACITY cell-8-9 cap-4) + (CELL-CAPACITY cell-8-10 cap-4) + (CELL-CAPACITY cell-9-0 cap-4) + (CELL-CAPACITY cell-9-1 cap-4) + (CELL-CAPACITY cell-9-2 cap-4) + (CELL-CAPACITY cell-9-3 cap-2) + (CELL-CAPACITY cell-9-4 cap-4) + (CELL-CAPACITY cell-9-5 cap-4) + (CELL-CAPACITY cell-9-6 cap-4) + (CELL-CAPACITY cell-9-7 cap-1) + (CELL-CAPACITY cell-9-8 cap-3) + (CELL-CAPACITY cell-9-9 cap-2) + (CELL-CAPACITY cell-9-10 cap-3) + + (node-degree0 n-0-0) + (node-degree0 n-0-1) + (node-degree0 n-0-2) + (node-degree0 n-0-3) + (node-degree0 n-0-4) + (node-degree0 n-0-5) + (node-degree0 n-0-6) + (node-degree0 n-0-7) + (node-degree0 n-0-8) + (node-degree0 n-0-9) + (node-degree0 n-0-10) + (node-degree0 n-0-11) + (node-degree0 n-1-0) + (node-degree0 n-1-1) + (node-degree0 n-1-2) + (node-degree0 n-1-3) + (node-degree0 n-1-4) + (node-degree0 n-1-5) + (node-degree0 n-1-6) + (node-degree0 n-1-7) + (node-degree0 n-1-8) + (node-degree0 n-1-9) + (node-degree0 n-1-10) + (node-degree0 n-1-11) + (node-degree0 n-2-0) + (node-degree0 n-2-1) + (node-degree0 n-2-2) + (node-degree0 n-2-3) + (node-degree0 n-2-4) + (node-degree0 n-2-5) + (node-degree0 n-2-6) + (node-degree0 n-2-7) + (node-degree0 n-2-8) + (node-degree0 n-2-9) + (node-degree0 n-2-10) + (node-degree0 n-2-11) + (node-degree0 n-3-0) + (node-degree0 n-3-1) + (node-degree0 n-3-2) + (node-degree0 n-3-3) + (node-degree0 n-3-4) + (node-degree0 n-3-5) + (node-degree0 n-3-6) + (node-degree0 n-3-7) + (node-degree0 n-3-8) + (node-degree0 n-3-9) + (node-degree0 n-3-10) + (node-degree0 n-3-11) + (node-degree0 n-4-0) + (node-degree0 n-4-1) + (node-degree0 n-4-2) + (node-degree0 n-4-3) + (node-degree0 n-4-4) + (node-degree0 n-4-5) + (node-degree0 n-4-6) + (node-degree0 n-4-7) + (node-degree0 n-4-8) + (node-degree0 n-4-9) + (node-degree0 n-4-10) + (node-degree0 n-4-11) + (node-degree0 n-5-0) + (node-degree0 n-5-1) + (node-degree0 n-5-2) + (node-degree0 n-5-3) + (node-degree0 n-5-4) + (node-degree0 n-5-5) + (node-degree0 n-5-6) + (node-degree0 n-5-7) + (node-degree0 n-5-8) + (node-degree0 n-5-9) + (node-degree0 n-5-10) + (node-degree0 n-5-11) + (node-degree0 n-6-0) + (node-degree0 n-6-1) + (node-degree0 n-6-2) + (node-degree0 n-6-3) + (node-degree0 n-6-4) + (node-degree0 n-6-5) + (node-degree0 n-6-6) + (node-degree0 n-6-7) + (node-degree0 n-6-8) + (node-degree0 n-6-9) + (node-degree0 n-6-10) + (node-degree0 n-6-11) + (node-degree0 n-7-0) + (node-degree0 n-7-1) + (node-degree0 n-7-2) + (node-degree0 n-7-3) + (node-degree0 n-7-4) + (node-degree0 n-7-5) + (node-degree0 n-7-6) + (node-degree0 n-7-7) + (node-degree0 n-7-8) + (node-degree0 n-7-9) + (node-degree0 n-7-10) + (node-degree0 n-7-11) + (node-degree0 n-8-0) + (node-degree0 n-8-1) + (node-degree0 n-8-2) + (node-degree0 n-8-3) + (node-degree0 n-8-4) + (node-degree0 n-8-5) + (node-degree0 n-8-6) + (node-degree0 n-8-7) + (node-degree0 n-8-8) + (node-degree0 n-8-9) + (node-degree0 n-8-10) + (node-degree0 n-8-11) + (node-degree0 n-9-0) + (node-degree0 n-9-1) + (node-degree0 n-9-2) + (node-degree0 n-9-3) + (node-degree0 n-9-4) + (node-degree0 n-9-5) + (node-degree0 n-9-6) + (node-degree0 n-9-7) + (node-degree0 n-9-8) + (node-degree0 n-9-9) + (node-degree0 n-9-10) + (node-degree0 n-9-11) + (node-degree0 n-10-0) + (node-degree0 n-10-1) + (node-degree0 n-10-2) + (node-degree0 n-10-3) + (node-degree0 n-10-4) + (node-degree0 n-10-5) + (node-degree0 n-10-6) + (node-degree0 n-10-7) + (node-degree0 n-10-8) + (node-degree0 n-10-9) + (node-degree0 n-10-10) + (node-degree0 n-10-11) + + (CELL-EDGE cell-0-0 cell-1-0 n-1-0 n-1-1) + (CELL-EDGE cell-0-1 cell-1-1 n-1-1 n-1-2) + (CELL-EDGE cell-0-2 cell-1-2 n-1-2 n-1-3) + (CELL-EDGE cell-0-3 cell-1-3 n-1-3 n-1-4) + (CELL-EDGE cell-0-4 cell-1-4 n-1-4 n-1-5) + (CELL-EDGE cell-0-5 cell-1-5 n-1-5 n-1-6) + (CELL-EDGE cell-0-6 cell-1-6 n-1-6 n-1-7) + (CELL-EDGE cell-0-7 cell-1-7 n-1-7 n-1-8) + (CELL-EDGE cell-0-8 cell-1-8 n-1-8 n-1-9) + (CELL-EDGE cell-0-9 cell-1-9 n-1-9 n-1-10) + (CELL-EDGE cell-0-10 cell-1-10 n-1-10 n-1-11) + (CELL-EDGE cell-1-0 cell-2-0 n-2-0 n-2-1) + (CELL-EDGE cell-1-1 cell-2-1 n-2-1 n-2-2) + (CELL-EDGE cell-1-2 cell-2-2 n-2-2 n-2-3) + (CELL-EDGE cell-1-3 cell-2-3 n-2-3 n-2-4) + (CELL-EDGE cell-1-4 cell-2-4 n-2-4 n-2-5) + (CELL-EDGE cell-1-5 cell-2-5 n-2-5 n-2-6) + (CELL-EDGE cell-1-6 cell-2-6 n-2-6 n-2-7) + (CELL-EDGE cell-1-7 cell-2-7 n-2-7 n-2-8) + (CELL-EDGE cell-1-8 cell-2-8 n-2-8 n-2-9) + (CELL-EDGE cell-1-9 cell-2-9 n-2-9 n-2-10) + (CELL-EDGE cell-1-10 cell-2-10 n-2-10 n-2-11) + (CELL-EDGE cell-2-0 cell-3-0 n-3-0 n-3-1) + (CELL-EDGE cell-2-1 cell-3-1 n-3-1 n-3-2) + (CELL-EDGE cell-2-2 cell-3-2 n-3-2 n-3-3) + (CELL-EDGE cell-2-3 cell-3-3 n-3-3 n-3-4) + (CELL-EDGE cell-2-4 cell-3-4 n-3-4 n-3-5) + (CELL-EDGE cell-2-5 cell-3-5 n-3-5 n-3-6) + (CELL-EDGE cell-2-6 cell-3-6 n-3-6 n-3-7) + (CELL-EDGE cell-2-7 cell-3-7 n-3-7 n-3-8) + (CELL-EDGE cell-2-8 cell-3-8 n-3-8 n-3-9) + (CELL-EDGE cell-2-9 cell-3-9 n-3-9 n-3-10) + (CELL-EDGE cell-2-10 cell-3-10 n-3-10 n-3-11) + (CELL-EDGE cell-3-0 cell-4-0 n-4-0 n-4-1) + (CELL-EDGE cell-3-1 cell-4-1 n-4-1 n-4-2) + (CELL-EDGE cell-3-2 cell-4-2 n-4-2 n-4-3) + (CELL-EDGE cell-3-3 cell-4-3 n-4-3 n-4-4) + (CELL-EDGE cell-3-4 cell-4-4 n-4-4 n-4-5) + (CELL-EDGE cell-3-5 cell-4-5 n-4-5 n-4-6) + (CELL-EDGE cell-3-6 cell-4-6 n-4-6 n-4-7) + (CELL-EDGE cell-3-7 cell-4-7 n-4-7 n-4-8) + (CELL-EDGE cell-3-8 cell-4-8 n-4-8 n-4-9) + (CELL-EDGE cell-3-9 cell-4-9 n-4-9 n-4-10) + (CELL-EDGE cell-3-10 cell-4-10 n-4-10 n-4-11) + (CELL-EDGE cell-4-0 cell-5-0 n-5-0 n-5-1) + (CELL-EDGE cell-4-1 cell-5-1 n-5-1 n-5-2) + (CELL-EDGE cell-4-2 cell-5-2 n-5-2 n-5-3) + (CELL-EDGE cell-4-3 cell-5-3 n-5-3 n-5-4) + (CELL-EDGE cell-4-4 cell-5-4 n-5-4 n-5-5) + (CELL-EDGE cell-4-5 cell-5-5 n-5-5 n-5-6) + (CELL-EDGE cell-4-6 cell-5-6 n-5-6 n-5-7) + (CELL-EDGE cell-4-7 cell-5-7 n-5-7 n-5-8) + (CELL-EDGE cell-4-8 cell-5-8 n-5-8 n-5-9) + (CELL-EDGE cell-4-9 cell-5-9 n-5-9 n-5-10) + (CELL-EDGE cell-4-10 cell-5-10 n-5-10 n-5-11) + (CELL-EDGE cell-5-0 cell-6-0 n-6-0 n-6-1) + (CELL-EDGE cell-5-1 cell-6-1 n-6-1 n-6-2) + (CELL-EDGE cell-5-2 cell-6-2 n-6-2 n-6-3) + (CELL-EDGE cell-5-3 cell-6-3 n-6-3 n-6-4) + (CELL-EDGE cell-5-4 cell-6-4 n-6-4 n-6-5) + (CELL-EDGE cell-5-5 cell-6-5 n-6-5 n-6-6) + (CELL-EDGE cell-5-6 cell-6-6 n-6-6 n-6-7) + (CELL-EDGE cell-5-7 cell-6-7 n-6-7 n-6-8) + (CELL-EDGE cell-5-8 cell-6-8 n-6-8 n-6-9) + (CELL-EDGE cell-5-9 cell-6-9 n-6-9 n-6-10) + (CELL-EDGE cell-5-10 cell-6-10 n-6-10 n-6-11) + (CELL-EDGE cell-6-0 cell-7-0 n-7-0 n-7-1) + (CELL-EDGE cell-6-1 cell-7-1 n-7-1 n-7-2) + (CELL-EDGE cell-6-2 cell-7-2 n-7-2 n-7-3) + (CELL-EDGE cell-6-3 cell-7-3 n-7-3 n-7-4) + (CELL-EDGE cell-6-4 cell-7-4 n-7-4 n-7-5) + (CELL-EDGE cell-6-5 cell-7-5 n-7-5 n-7-6) + (CELL-EDGE cell-6-6 cell-7-6 n-7-6 n-7-7) + (CELL-EDGE cell-6-7 cell-7-7 n-7-7 n-7-8) + (CELL-EDGE cell-6-8 cell-7-8 n-7-8 n-7-9) + (CELL-EDGE cell-6-9 cell-7-9 n-7-9 n-7-10) + (CELL-EDGE cell-6-10 cell-7-10 n-7-10 n-7-11) + (CELL-EDGE cell-7-0 cell-8-0 n-8-0 n-8-1) + (CELL-EDGE cell-7-1 cell-8-1 n-8-1 n-8-2) + (CELL-EDGE cell-7-2 cell-8-2 n-8-2 n-8-3) + (CELL-EDGE cell-7-3 cell-8-3 n-8-3 n-8-4) + (CELL-EDGE cell-7-4 cell-8-4 n-8-4 n-8-5) + (CELL-EDGE cell-7-5 cell-8-5 n-8-5 n-8-6) + (CELL-EDGE cell-7-6 cell-8-6 n-8-6 n-8-7) + (CELL-EDGE cell-7-7 cell-8-7 n-8-7 n-8-8) + (CELL-EDGE cell-7-8 cell-8-8 n-8-8 n-8-9) + (CELL-EDGE cell-7-9 cell-8-9 n-8-9 n-8-10) + (CELL-EDGE cell-7-10 cell-8-10 n-8-10 n-8-11) + (CELL-EDGE cell-8-0 cell-9-0 n-9-0 n-9-1) + (CELL-EDGE cell-8-1 cell-9-1 n-9-1 n-9-2) + (CELL-EDGE cell-8-2 cell-9-2 n-9-2 n-9-3) + (CELL-EDGE cell-8-3 cell-9-3 n-9-3 n-9-4) + (CELL-EDGE cell-8-4 cell-9-4 n-9-4 n-9-5) + (CELL-EDGE cell-8-5 cell-9-5 n-9-5 n-9-6) + (CELL-EDGE cell-8-6 cell-9-6 n-9-6 n-9-7) + (CELL-EDGE cell-8-7 cell-9-7 n-9-7 n-9-8) + (CELL-EDGE cell-8-8 cell-9-8 n-9-8 n-9-9) + (CELL-EDGE cell-8-9 cell-9-9 n-9-9 n-9-10) + (CELL-EDGE cell-8-10 cell-9-10 n-9-10 n-9-11) + (CELL-EDGE cell-outside-0-up cell-0-0 n-0-0 n-0-1) + (CELL-EDGE cell-9-0 cell-outside-0-down n-10-0 n-10-1) + (CELL-EDGE cell-outside-1-up cell-0-1 n-0-1 n-0-2) + (CELL-EDGE cell-9-1 cell-outside-1-down n-10-1 n-10-2) + (CELL-EDGE cell-outside-2-up cell-0-2 n-0-2 n-0-3) + (CELL-EDGE cell-9-2 cell-outside-2-down n-10-2 n-10-3) + (CELL-EDGE cell-outside-3-up cell-0-3 n-0-3 n-0-4) + (CELL-EDGE cell-9-3 cell-outside-3-down n-10-3 n-10-4) + (CELL-EDGE cell-outside-4-up cell-0-4 n-0-4 n-0-5) + (CELL-EDGE cell-9-4 cell-outside-4-down n-10-4 n-10-5) + (CELL-EDGE cell-outside-5-up cell-0-5 n-0-5 n-0-6) + (CELL-EDGE cell-9-5 cell-outside-5-down n-10-5 n-10-6) + (CELL-EDGE cell-outside-6-up cell-0-6 n-0-6 n-0-7) + (CELL-EDGE cell-9-6 cell-outside-6-down n-10-6 n-10-7) + (CELL-EDGE cell-outside-7-up cell-0-7 n-0-7 n-0-8) + (CELL-EDGE cell-9-7 cell-outside-7-down n-10-7 n-10-8) + (CELL-EDGE cell-outside-8-up cell-0-8 n-0-8 n-0-9) + (CELL-EDGE cell-9-8 cell-outside-8-down n-10-8 n-10-9) + (CELL-EDGE cell-outside-9-up cell-0-9 n-0-9 n-0-10) + (CELL-EDGE cell-9-9 cell-outside-9-down n-10-9 n-10-10) + (CELL-EDGE cell-outside-10-up cell-0-10 n-0-10 n-0-11) + (CELL-EDGE cell-9-10 cell-outside-10-down n-10-10 n-10-11) + (CELL-EDGE cell-0-0 cell-0-1 n-0-1 n-1-1) + (CELL-EDGE cell-1-0 cell-1-1 n-1-1 n-2-1) + (CELL-EDGE cell-2-0 cell-2-1 n-2-1 n-3-1) + (CELL-EDGE cell-3-0 cell-3-1 n-3-1 n-4-1) + (CELL-EDGE cell-4-0 cell-4-1 n-4-1 n-5-1) + (CELL-EDGE cell-5-0 cell-5-1 n-5-1 n-6-1) + (CELL-EDGE cell-6-0 cell-6-1 n-6-1 n-7-1) + (CELL-EDGE cell-7-0 cell-7-1 n-7-1 n-8-1) + (CELL-EDGE cell-8-0 cell-8-1 n-8-1 n-9-1) + (CELL-EDGE cell-9-0 cell-9-1 n-9-1 n-10-1) + (CELL-EDGE cell-0-1 cell-0-2 n-0-2 n-1-2) + (CELL-EDGE cell-1-1 cell-1-2 n-1-2 n-2-2) + (CELL-EDGE cell-2-1 cell-2-2 n-2-2 n-3-2) + (CELL-EDGE cell-3-1 cell-3-2 n-3-2 n-4-2) + (CELL-EDGE cell-4-1 cell-4-2 n-4-2 n-5-2) + (CELL-EDGE cell-5-1 cell-5-2 n-5-2 n-6-2) + (CELL-EDGE cell-6-1 cell-6-2 n-6-2 n-7-2) + (CELL-EDGE cell-7-1 cell-7-2 n-7-2 n-8-2) + (CELL-EDGE cell-8-1 cell-8-2 n-8-2 n-9-2) + (CELL-EDGE cell-9-1 cell-9-2 n-9-2 n-10-2) + (CELL-EDGE cell-0-2 cell-0-3 n-0-3 n-1-3) + (CELL-EDGE cell-1-2 cell-1-3 n-1-3 n-2-3) + (CELL-EDGE cell-2-2 cell-2-3 n-2-3 n-3-3) + (CELL-EDGE cell-3-2 cell-3-3 n-3-3 n-4-3) + (CELL-EDGE cell-4-2 cell-4-3 n-4-3 n-5-3) + (CELL-EDGE cell-5-2 cell-5-3 n-5-3 n-6-3) + (CELL-EDGE cell-6-2 cell-6-3 n-6-3 n-7-3) + (CELL-EDGE cell-7-2 cell-7-3 n-7-3 n-8-3) + (CELL-EDGE cell-8-2 cell-8-3 n-8-3 n-9-3) + (CELL-EDGE cell-9-2 cell-9-3 n-9-3 n-10-3) + (CELL-EDGE cell-0-3 cell-0-4 n-0-4 n-1-4) + (CELL-EDGE cell-1-3 cell-1-4 n-1-4 n-2-4) + (CELL-EDGE cell-2-3 cell-2-4 n-2-4 n-3-4) + (CELL-EDGE cell-3-3 cell-3-4 n-3-4 n-4-4) + (CELL-EDGE cell-4-3 cell-4-4 n-4-4 n-5-4) + (CELL-EDGE cell-5-3 cell-5-4 n-5-4 n-6-4) + (CELL-EDGE cell-6-3 cell-6-4 n-6-4 n-7-4) + (CELL-EDGE cell-7-3 cell-7-4 n-7-4 n-8-4) + (CELL-EDGE cell-8-3 cell-8-4 n-8-4 n-9-4) + (CELL-EDGE cell-9-3 cell-9-4 n-9-4 n-10-4) + (CELL-EDGE cell-0-4 cell-0-5 n-0-5 n-1-5) + (CELL-EDGE cell-1-4 cell-1-5 n-1-5 n-2-5) + (CELL-EDGE cell-2-4 cell-2-5 n-2-5 n-3-5) + (CELL-EDGE cell-3-4 cell-3-5 n-3-5 n-4-5) + (CELL-EDGE cell-4-4 cell-4-5 n-4-5 n-5-5) + (CELL-EDGE cell-5-4 cell-5-5 n-5-5 n-6-5) + (CELL-EDGE cell-6-4 cell-6-5 n-6-5 n-7-5) + (CELL-EDGE cell-7-4 cell-7-5 n-7-5 n-8-5) + (CELL-EDGE cell-8-4 cell-8-5 n-8-5 n-9-5) + (CELL-EDGE cell-9-4 cell-9-5 n-9-5 n-10-5) + (CELL-EDGE cell-0-5 cell-0-6 n-0-6 n-1-6) + (CELL-EDGE cell-1-5 cell-1-6 n-1-6 n-2-6) + (CELL-EDGE cell-2-5 cell-2-6 n-2-6 n-3-6) + (CELL-EDGE cell-3-5 cell-3-6 n-3-6 n-4-6) + (CELL-EDGE cell-4-5 cell-4-6 n-4-6 n-5-6) + (CELL-EDGE cell-5-5 cell-5-6 n-5-6 n-6-6) + (CELL-EDGE cell-6-5 cell-6-6 n-6-6 n-7-6) + (CELL-EDGE cell-7-5 cell-7-6 n-7-6 n-8-6) + (CELL-EDGE cell-8-5 cell-8-6 n-8-6 n-9-6) + (CELL-EDGE cell-9-5 cell-9-6 n-9-6 n-10-6) + (CELL-EDGE cell-0-6 cell-0-7 n-0-7 n-1-7) + (CELL-EDGE cell-1-6 cell-1-7 n-1-7 n-2-7) + (CELL-EDGE cell-2-6 cell-2-7 n-2-7 n-3-7) + (CELL-EDGE cell-3-6 cell-3-7 n-3-7 n-4-7) + (CELL-EDGE cell-4-6 cell-4-7 n-4-7 n-5-7) + (CELL-EDGE cell-5-6 cell-5-7 n-5-7 n-6-7) + (CELL-EDGE cell-6-6 cell-6-7 n-6-7 n-7-7) + (CELL-EDGE cell-7-6 cell-7-7 n-7-7 n-8-7) + (CELL-EDGE cell-8-6 cell-8-7 n-8-7 n-9-7) + (CELL-EDGE cell-9-6 cell-9-7 n-9-7 n-10-7) + (CELL-EDGE cell-0-7 cell-0-8 n-0-8 n-1-8) + (CELL-EDGE cell-1-7 cell-1-8 n-1-8 n-2-8) + (CELL-EDGE cell-2-7 cell-2-8 n-2-8 n-3-8) + (CELL-EDGE cell-3-7 cell-3-8 n-3-8 n-4-8) + (CELL-EDGE cell-4-7 cell-4-8 n-4-8 n-5-8) + (CELL-EDGE cell-5-7 cell-5-8 n-5-8 n-6-8) + (CELL-EDGE cell-6-7 cell-6-8 n-6-8 n-7-8) + (CELL-EDGE cell-7-7 cell-7-8 n-7-8 n-8-8) + (CELL-EDGE cell-8-7 cell-8-8 n-8-8 n-9-8) + (CELL-EDGE cell-9-7 cell-9-8 n-9-8 n-10-8) + (CELL-EDGE cell-0-8 cell-0-9 n-0-9 n-1-9) + (CELL-EDGE cell-1-8 cell-1-9 n-1-9 n-2-9) + (CELL-EDGE cell-2-8 cell-2-9 n-2-9 n-3-9) + (CELL-EDGE cell-3-8 cell-3-9 n-3-9 n-4-9) + (CELL-EDGE cell-4-8 cell-4-9 n-4-9 n-5-9) + (CELL-EDGE cell-5-8 cell-5-9 n-5-9 n-6-9) + (CELL-EDGE cell-6-8 cell-6-9 n-6-9 n-7-9) + (CELL-EDGE cell-7-8 cell-7-9 n-7-9 n-8-9) + (CELL-EDGE cell-8-8 cell-8-9 n-8-9 n-9-9) + (CELL-EDGE cell-9-8 cell-9-9 n-9-9 n-10-9) + (CELL-EDGE cell-0-9 cell-0-10 n-0-10 n-1-10) + (CELL-EDGE cell-1-9 cell-1-10 n-1-10 n-2-10) + (CELL-EDGE cell-2-9 cell-2-10 n-2-10 n-3-10) + (CELL-EDGE cell-3-9 cell-3-10 n-3-10 n-4-10) + (CELL-EDGE cell-4-9 cell-4-10 n-4-10 n-5-10) + (CELL-EDGE cell-5-9 cell-5-10 n-5-10 n-6-10) + (CELL-EDGE cell-6-9 cell-6-10 n-6-10 n-7-10) + (CELL-EDGE cell-7-9 cell-7-10 n-7-10 n-8-10) + (CELL-EDGE cell-8-9 cell-8-10 n-8-10 n-9-10) + (CELL-EDGE cell-9-9 cell-9-10 n-9-10 n-10-10) + (CELL-EDGE cell-outside-0-left cell-0-0 n-0-0 n-1-0) + (CELL-EDGE cell-0-10 cell-outside-0-right n-0-11 n-1-11) + (CELL-EDGE cell-outside-1-left cell-1-0 n-1-0 n-2-0) + (CELL-EDGE cell-1-10 cell-outside-1-right n-1-11 n-2-11) + (CELL-EDGE cell-outside-2-left cell-2-0 n-2-0 n-3-0) + (CELL-EDGE cell-2-10 cell-outside-2-right n-2-11 n-3-11) + (CELL-EDGE cell-outside-3-left cell-3-0 n-3-0 n-4-0) + (CELL-EDGE cell-3-10 cell-outside-3-right n-3-11 n-4-11) + (CELL-EDGE cell-outside-4-left cell-4-0 n-4-0 n-5-0) + (CELL-EDGE cell-4-10 cell-outside-4-right n-4-11 n-5-11) + (CELL-EDGE cell-outside-5-left cell-5-0 n-5-0 n-6-0) + (CELL-EDGE cell-5-10 cell-outside-5-right n-5-11 n-6-11) + (CELL-EDGE cell-outside-6-left cell-6-0 n-6-0 n-7-0) + (CELL-EDGE cell-6-10 cell-outside-6-right n-6-11 n-7-11) + (CELL-EDGE cell-outside-7-left cell-7-0 n-7-0 n-8-0) + (CELL-EDGE cell-7-10 cell-outside-7-right n-7-11 n-8-11) + (CELL-EDGE cell-outside-8-left cell-8-0 n-8-0 n-9-0) + (CELL-EDGE cell-8-10 cell-outside-8-right n-8-11 n-9-11) + (CELL-EDGE cell-outside-9-left cell-9-0 n-9-0 n-10-0) + (CELL-EDGE cell-9-10 cell-outside-9-right n-9-11 n-10-11) + + +) +(:goal + (and + (not (node-degree1 n-0-0)) + (not (node-degree1 n-0-1)) + (not (node-degree1 n-0-10)) + (not (node-degree1 n-0-11)) + (not (node-degree1 n-0-2)) + (not (node-degree1 n-0-3)) + (not (node-degree1 n-0-4)) + (not (node-degree1 n-0-5)) + (not (node-degree1 n-0-6)) + (not (node-degree1 n-0-7)) + (not (node-degree1 n-0-8)) + (not (node-degree1 n-0-9)) + (not (node-degree1 n-1-0)) + (not (node-degree1 n-1-1)) + (not (node-degree1 n-1-10)) + (not (node-degree1 n-1-11)) + (not (node-degree1 n-1-2)) + (not (node-degree1 n-1-3)) + (not (node-degree1 n-1-4)) + (not (node-degree1 n-1-5)) + (not (node-degree1 n-1-6)) + (not (node-degree1 n-1-7)) + (not (node-degree1 n-1-8)) + (not (node-degree1 n-1-9)) + (not (node-degree1 n-10-0)) + (not (node-degree1 n-10-1)) + (not (node-degree1 n-10-10)) + (not (node-degree1 n-10-11)) + (not (node-degree1 n-10-2)) + (not (node-degree1 n-10-3)) + (not (node-degree1 n-10-4)) + (not (node-degree1 n-10-5)) + (not (node-degree1 n-10-6)) + (not (node-degree1 n-10-7)) + (not (node-degree1 n-10-8)) + (not (node-degree1 n-10-9)) + (not (node-degree1 n-2-0)) + (not (node-degree1 n-2-1)) + (not (node-degree1 n-2-10)) + (not (node-degree1 n-2-11)) + (not (node-degree1 n-2-2)) + (not (node-degree1 n-2-3)) + (not (node-degree1 n-2-4)) + (not (node-degree1 n-2-5)) + (not (node-degree1 n-2-6)) + (not (node-degree1 n-2-7)) + (not (node-degree1 n-2-8)) + (not (node-degree1 n-2-9)) + (not (node-degree1 n-3-0)) + (not (node-degree1 n-3-1)) + (not (node-degree1 n-3-10)) + (not (node-degree1 n-3-11)) + (not (node-degree1 n-3-2)) + (not (node-degree1 n-3-3)) + (not (node-degree1 n-3-4)) + (not (node-degree1 n-3-5)) + (not (node-degree1 n-3-6)) + (not (node-degree1 n-3-7)) + (not (node-degree1 n-3-8)) + (not (node-degree1 n-3-9)) + (not (node-degree1 n-4-0)) + (not (node-degree1 n-4-1)) + (not (node-degree1 n-4-10)) + (not (node-degree1 n-4-11)) + (not (node-degree1 n-4-2)) + (not (node-degree1 n-4-3)) + (not (node-degree1 n-4-4)) + (not (node-degree1 n-4-5)) + (not (node-degree1 n-4-6)) + (not (node-degree1 n-4-7)) + (not (node-degree1 n-4-8)) + (not (node-degree1 n-4-9)) + (not (node-degree1 n-5-0)) + (not (node-degree1 n-5-1)) + (not (node-degree1 n-5-10)) + (not (node-degree1 n-5-11)) + (not (node-degree1 n-5-2)) + (not (node-degree1 n-5-3)) + (not (node-degree1 n-5-4)) + (not (node-degree1 n-5-5)) + (not (node-degree1 n-5-6)) + (not (node-degree1 n-5-7)) + (not (node-degree1 n-5-8)) + (not (node-degree1 n-5-9)) + (not (node-degree1 n-6-0)) + (not (node-degree1 n-6-1)) + (not (node-degree1 n-6-10)) + (not (node-degree1 n-6-11)) + (not (node-degree1 n-6-2)) + (not (node-degree1 n-6-3)) + (not (node-degree1 n-6-4)) + (not (node-degree1 n-6-5)) + (not (node-degree1 n-6-6)) + (not (node-degree1 n-6-7)) + (not (node-degree1 n-6-8)) + (not (node-degree1 n-6-9)) + (not (node-degree1 n-7-0)) + (not (node-degree1 n-7-1)) + (not (node-degree1 n-7-10)) + (not (node-degree1 n-7-11)) + (not (node-degree1 n-7-2)) + (not (node-degree1 n-7-3)) + (not (node-degree1 n-7-4)) + (not (node-degree1 n-7-5)) + (not (node-degree1 n-7-6)) + (not (node-degree1 n-7-7)) + (not (node-degree1 n-7-8)) + (not (node-degree1 n-7-9)) + (not (node-degree1 n-8-0)) + (not (node-degree1 n-8-1)) + (not (node-degree1 n-8-10)) + (not (node-degree1 n-8-11)) + (not (node-degree1 n-8-2)) + (not (node-degree1 n-8-3)) + (not (node-degree1 n-8-4)) + (not (node-degree1 n-8-5)) + (not (node-degree1 n-8-6)) + (not (node-degree1 n-8-7)) + (not (node-degree1 n-8-8)) + (not (node-degree1 n-8-9)) + (not (node-degree1 n-9-0)) + (not (node-degree1 n-9-1)) + (not (node-degree1 n-9-10)) + (not (node-degree1 n-9-11)) + (not (node-degree1 n-9-2)) + (not (node-degree1 n-9-3)) + (not (node-degree1 n-9-4)) + (not (node-degree1 n-9-5)) + (not (node-degree1 n-9-6)) + (not (node-degree1 n-9-7)) + (not (node-degree1 n-9-8)) + (not (node-degree1 n-9-9)) + + (CELL-CAPACITY cell-0-0 cap-0) + (CELL-CAPACITY cell-0-4 cap-0) + (CELL-CAPACITY cell-0-5 cap-0) + (CELL-CAPACITY cell-0-7 cap-0) + (CELL-CAPACITY cell-0-8 cap-0) + (CELL-CAPACITY cell-1-0 cap-0) + (CELL-CAPACITY cell-1-7 cap-0) + (CELL-CAPACITY cell-1-10 cap-0) + (CELL-CAPACITY cell-2-2 cap-0) + (CELL-CAPACITY cell-2-3 cap-0) + (CELL-CAPACITY cell-2-5 cap-0) + (CELL-CAPACITY cell-2-10 cap-0) + (CELL-CAPACITY cell-3-0 cap-0) + (CELL-CAPACITY cell-3-1 cap-0) + (CELL-CAPACITY cell-3-6 cap-0) + (CELL-CAPACITY cell-3-8 cap-0) + (CELL-CAPACITY cell-3-9 cap-0) + (CELL-CAPACITY cell-4-2 cap-0) + (CELL-CAPACITY cell-4-3 cap-0) + (CELL-CAPACITY cell-4-5 cap-0) + (CELL-CAPACITY cell-4-7 cap-0) + (CELL-CAPACITY cell-4-8 cap-0) + (CELL-CAPACITY cell-4-10 cap-0) + (CELL-CAPACITY cell-5-1 cap-0) + (CELL-CAPACITY cell-5-2 cap-0) + (CELL-CAPACITY cell-5-3 cap-0) + (CELL-CAPACITY cell-5-6 cap-0) + (CELL-CAPACITY cell-5-7 cap-0) + (CELL-CAPACITY cell-5-8 cap-0) + (CELL-CAPACITY cell-5-9 cap-0) + (CELL-CAPACITY cell-5-10 cap-0) + (CELL-CAPACITY cell-6-0 cap-0) + (CELL-CAPACITY cell-6-1 cap-0) + (CELL-CAPACITY cell-6-2 cap-0) + (CELL-CAPACITY cell-6-5 cap-0) + (CELL-CAPACITY cell-7-1 cap-0) + (CELL-CAPACITY cell-7-3 cap-0) + (CELL-CAPACITY cell-7-5 cap-0) + (CELL-CAPACITY cell-7-6 cap-0) + (CELL-CAPACITY cell-8-2 cap-0) + (CELL-CAPACITY cell-8-3 cap-0) + (CELL-CAPACITY cell-8-5 cap-0) + (CELL-CAPACITY cell-8-7 cap-0) + (CELL-CAPACITY cell-9-3 cap-0) + (CELL-CAPACITY cell-9-7 cap-0) + (CELL-CAPACITY cell-9-8 cap-0) + (CELL-CAPACITY cell-9-9 cap-0) + (CELL-CAPACITY cell-9-10 cap-0) + ) +) +) + + diff --git a/suites.py b/suites.py index 84ce2775..c8c6264f 100755 --- a/suites.py +++ b/suites.py @@ -349,6 +349,53 @@ def suite_ipc18(): suite_ipc18_opt() + suite_ipc18_sat())) +def suite_ipc23_opt_adl(): + return [ + 'folding-opt23-adl', + 'labyrinth-opt23-adl', + 'recharging-robots-opt23-adl', + 'ricochet-robots-opt23-adl', + 'rubiks-cube-opt23-adl', + 'slitherlink-opt23-adl', + ] + + +def suite_ipc23_opt_strips(): + return [ + 'quantum-layout-opt23-strips', + ] + + +def suite_ipc23_opt(): + return sorted(suite_ipc23_opt_adl() + suite_ipc23_opt_strips()) + + +def suite_ipc23_sat_adl(): + return [ + 'folding-sat23-adl', + 'labyrinth-sat23-adl', + 'recharging-robots-sat23-adl', + 'ricochet-robots-sat23-adl', + 'rubiks-cube-sat23-adl', + 'slitherlink-sat23-adl', + ] + + +def suite_ipc23_sat_strips(): + return [ + 'quantum-layout-sat23-strips', + ] + + +def suite_ipc23_sat(): + return sorted(suite_ipc23_sat_adl() + suite_ipc23_sat_strips()) + + +def suite_ipc23(): + return sorted(set( + suite_ipc23_opt() + suite_ipc23_sat())) + + def suite_unsolvable(): return sorted( ['mystery:prob%02d.pddl' % index @@ -360,7 +407,7 @@ def suite_optimal_adl(): return sorted( suite_ipc98_to_ipc04_adl() + suite_ipc06_adl() + suite_ipc08_opt_adl() + suite_ipc14_opt_adl() + - suite_ipc18_opt_adl()) + suite_ipc18_opt_adl() + suite_ipc23_opt_adl()) def suite_optimal_strips(): @@ -368,7 +415,7 @@ def suite_optimal_strips(): suite_ipc98_to_ipc04_strips() + suite_ipc06_strips() + suite_ipc06_strips_compilations() + suite_ipc08_opt_strips() + suite_ipc11_opt() + suite_ipc14_opt_strips() + - suite_ipc18_opt_strips()) + suite_ipc18_opt_strips() + suite_ipc23_opt_strips()) def suite_optimal(): @@ -380,7 +427,7 @@ def suite_satisficing_adl(): return sorted( suite_ipc98_to_ipc04_adl() + suite_ipc06_adl() + suite_ipc08_sat_adl() + suite_ipc14_sat_adl() + - suite_ipc18_sat_adl()) + suite_ipc18_sat_adl() + suite_ipc23_sat_adl()) def suite_satisficing_strips(): @@ -388,7 +435,7 @@ def suite_satisficing_strips(): suite_ipc98_to_ipc04_strips() + suite_ipc06_strips() + suite_ipc06_strips_compilations() + suite_ipc08_sat_strips() + suite_ipc11_sat() + suite_ipc14_sat_strips() + - suite_ipc18_sat_strips()) + suite_ipc18_sat_strips() + suite_ipc23_sat_strips()) def suite_satisficing(): @@ -399,7 +446,7 @@ def suite_all(): return sorted( suite_ipc98_to_ipc04() + suite_ipc06() + suite_ipc06_strips_compilations() + suite_ipc08() + - suite_ipc11() + suite_ipc14() + suite_ipc18() + + suite_ipc11() + suite_ipc14() + suite_ipc18() + suite_ipc23() + suite_alternative_formulations()) @@ -457,6 +504,8 @@ def suite_all(): 'floortile-opt14-strips': [], 'floortile-sat11-strips': [], 'floortile-sat14-strips': [], + 'folding-opt23-adl': [TAG_HAS_ONLY_BINARY_COST_ACTIONS], + 'folding-sat23-adl': [TAG_HAS_ONLY_BINARY_COST_ACTIONS], 'freecell': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'ged-opt14-strips': [TAG_HAS_ZERO_COST_ACTIONS], 'ged-sat14-strips': [TAG_HAS_ZERO_COST_ACTIONS], @@ -465,6 +514,8 @@ def suite_all(): 'hiking-agl14-strips': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'hiking-opt14-strips': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'hiking-sat14-strips': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'labyrinth-opt23-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'labyrinth-sat23-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'logistics00': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'logistics98': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'maintenance-opt14-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], @@ -513,7 +564,15 @@ def suite_all(): 'psr-large': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'psr-middle': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'psr-small': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'quantum-layout-opt23-strips': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'quantum-layout-sat23-strips': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'recharging-robots-opt23-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'recharging-robots-sat23-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'ricochet-robots-opt23-adl': [TAG_HAS_ONLY_BINARY_COST_ACTIONS], + 'ricochet-robots-sat23-adl': [TAG_HAS_ONLY_BINARY_COST_ACTIONS], 'rovers': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'rubiks-cube-opt23-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'rubiks-cube-sat23-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'satellite': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'scanalyzer-08-strips': [], 'scanalyzer-opt11-strips': [], @@ -521,6 +580,8 @@ def suite_all(): 'schedule': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'settlers-opt18-adl': [TAG_HAS_ZERO_COST_ACTIONS], 'settlers-sat18-adl': [TAG_HAS_ZERO_COST_ACTIONS], + 'slitherlink-opt23-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], + 'slitherlink-sat23-adl': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'snake-opt18-strips': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'snake-sat18-strips': [TAG_HAS_ONLY_UNIT_COST_ACTIONS], 'sokoban-opt08-strips': [TAG_HAS_ONLY_BINARY_COST_ACTIONS], diff --git a/tests.py b/tests.py index dcebdbb7..b00df828 100644 --- a/tests.py +++ b/tests.py @@ -37,7 +37,8 @@ def test_suite_satisficing(): set(suite_satisficing_adl() + suite_satisficing_strips()) == set(suite_ipc98_to_ipc04() + suite_ipc06() + suite_ipc06_strips_compilations() + suite_ipc08_sat() + - suite_ipc11_sat() + suite_ipc14_sat() + suite_ipc18_sat())) + suite_ipc11_sat() + suite_ipc14_sat() + suite_ipc18_sat() + + suite_ipc23_sat())) def test_suite_optimal(): @@ -45,7 +46,8 @@ def test_suite_optimal(): set(suite_optimal_adl() + suite_optimal_strips()) == set(suite_ipc98_to_ipc04() + suite_ipc06() + suite_ipc06_strips_compilations() + suite_ipc08_opt() + - suite_ipc11_opt() + suite_ipc14_opt() + suite_ipc18_opt())) + suite_ipc11_opt() + suite_ipc14_opt() + suite_ipc18_opt() + + suite_ipc23_opt())) def test_all_domains_covered():