mirror of
https://github.com/RAIRLab/Spectra.git
synced 2024-11-25 02:16:31 -05:00
Simplify same room definition
This commit is contained in:
parent
d4c4e71000
commit
14e418b37a
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
(not (open (door room1)))
|
(not (open (door room1)))
|
||||||
|
|
||||||
(forall [?x ?y ?room] (implies (and (and (in ?x ?room) (in ?y ?room)) (not (= ?x ?y))) (sameroom ?x ?y)))
|
(forall [?x ?y ?room] (implies (and (and (in ?x ?room) (in ?y ?room)) (not (= ?x ?y))) (sameroom ?x ?y)))
|
||||||
(forall [?x ?y] (exists ?room (implies (sameroom ?x ?y) (and (in ?x ?room) (in ?y ?room)) )) )
|
(forall [?x ?y] (implies (sameroom ?x ?y) (exists ?room (and (in ?x ?room) (in ?y ?room)))))
|
||||||
]
|
]
|
||||||
|
|
||||||
:goal []
|
:goal []
|
||||||
|
|
Loading…
Reference in a new issue