mirror of
https://github.com/RAIRLab/Spectra.git
synced 2024-11-09 19:20:35 -05:00
15 lines
535 B
Clojure
15 lines
535 B
Clojure
{:name "bidding problem"
|
|
:background []
|
|
:start [(bid 0)]
|
|
:goal [(bid 5)]
|
|
:actions
|
|
[(define-action post-new-bid (?number)
|
|
{:preconditions [(bid ?number)]
|
|
:additions [(bid ($$sum 1 ?number))]
|
|
:deletions [(bid ?number)]})]
|
|
|
|
:expected-plans ([(post-new-bid 0)
|
|
(post-new-bid 1)
|
|
(post-new-bid 2)
|
|
(post-new-bid 3)
|
|
(post-new-bid 4)])}
|