Skip to content

Commit

Permalink
[test] issue KCL-Planning#34
Browse files Browse the repository at this point in the history
  • Loading branch information
guicho271828 committed Feb 22, 2019
1 parent a3d89ee commit a86823a
Show file tree
Hide file tree
Showing 23 changed files with 10,487 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ jdepend:
test: all
issue-21/run.sh
# issue-22/run.sh
issue-34/run.sh

# DO NOT DELETE THIS LINE -- makemake depends on it.

Expand Down
521 changes: 521 additions & 0 deletions issue-34/domain9980.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9981.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9982.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9983.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9984.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9985.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9986.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9987.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9988.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9989.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9990.pddl

Large diffs are not rendered by default.

521 changes: 521 additions & 0 deletions issue-34/domain9991.pddl

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions issue-34/domain9992.pddl

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions issue-34/domain9993.pddl

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions issue-34/domain9994.pddl

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions issue-34/domain9995.pddl

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions issue-34/domain9996.pddl

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions issue-34/domain9997.pddl

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions issue-34/domain9998.pddl

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions issue-34/domain9999.pddl

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions issue-34/generator.ros
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/sh
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#
(progn ;;init forms
(ros:ensure-asdf)
#+quicklisp(ql:quickload '(:alexandria :iterate) :silent t)
)

(defpackage :ros.script.testcase.3759830013
(:use :cl :alexandria :iterate))
(in-package :ros.script.testcase.3759830013)

(defmethod print-object ((o (eql nil)) s)
(write-char #\( s)
(write-char #\) s))

(iter (for i from 8000 to 10000)
(with-open-file (*standard-output* (format nil "domain~2,,,'0@a.pddl" i)
:direction :output
:if-exists :supersede
:if-does-not-exist :create)
(print `(define (domain latent)
(:requirements :strips)
(:predicates
,@(mapcar (compose #'list #'intern #'string #'gensym)
(iota i)))
(:action pickup :parameters ()
:precondition (and (g0))
:effect (and (g1)))))))

;;; vim: set ft=lisp lisp:
25 changes: 25 additions & 0 deletions issue-34/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

dir=$(dirname $(readlink -ef $0))

echo $dir/domain9980.pddl ; $dir/../validate -v $dir/domain9980.pddl || exit 1
echo $dir/domain9981.pddl ; $dir/../validate -v $dir/domain9981.pddl || exit 1
echo $dir/domain9982.pddl ; $dir/../validate -v $dir/domain9982.pddl || exit 1
echo $dir/domain9983.pddl ; $dir/../validate -v $dir/domain9983.pddl || exit 1
echo $dir/domain9984.pddl ; $dir/../validate -v $dir/domain9984.pddl || exit 1
echo $dir/domain9985.pddl ; $dir/../validate -v $dir/domain9985.pddl || exit 1
echo $dir/domain9986.pddl ; $dir/../validate -v $dir/domain9986.pddl || exit 1
echo $dir/domain9987.pddl ; $dir/../validate -v $dir/domain9987.pddl || exit 1
echo $dir/domain9988.pddl ; $dir/../validate -v $dir/domain9988.pddl || exit 1
echo $dir/domain9989.pddl ; $dir/../validate -v $dir/domain9989.pddl || exit 1
echo $dir/domain9990.pddl ; $dir/../validate -v $dir/domain9990.pddl || exit 1
echo $dir/domain9991.pddl ; $dir/../validate -v $dir/domain9991.pddl || exit 1
echo $dir/domain9992.pddl ; $dir/../validate -v $dir/domain9992.pddl || exit 1
echo $dir/domain9993.pddl ; $dir/../validate -v $dir/domain9993.pddl || exit 1
echo $dir/domain9994.pddl ; $dir/../validate -v $dir/domain9994.pddl || exit 1
echo $dir/domain9995.pddl ; $dir/../validate -v $dir/domain9995.pddl || exit 1
echo $dir/domain9996.pddl ; $dir/../validate -v $dir/domain9996.pddl || exit 1
echo $dir/domain9997.pddl ; $dir/../validate -v $dir/domain9997.pddl || exit 1
echo $dir/domain9998.pddl ; $dir/../validate -v $dir/domain9998.pddl || exit 1
echo $dir/domain9999.pddl ; $dir/../validate -v $dir/domain9999.pddl || exit 1

0 comments on commit a86823a

Please sign in to comment.