mirror of
https://github.com/RAIRLab/Spectra.git
synced 2025-10-05 22:21:20 +00:00
More tweaks.
This commit is contained in:
parent
c9201bc0b2
commit
afde7793e5
7 changed files with 69 additions and 33 deletions
|
@ -60,26 +60,21 @@
|
|||
]
|
||||
}
|
||||
|
||||
:goals {G1 {:priority 1.0
|
||||
:goals {G1 {:priority 6.0
|
||||
:state [(not (open (door room1)))]}
|
||||
|
||||
G2 {:priority 1.0
|
||||
G2 {:priority 6.0
|
||||
:state [(in prisoner room1)]}
|
||||
|
||||
G3 {:priority 1.0
|
||||
G3 {:priority 6.0
|
||||
:state [(forall [?room]
|
||||
(if (in prisoner ?room)
|
||||
(in self ?room)))]}
|
||||
|
||||
G4 {:priority 2.0
|
||||
|
||||
:state [(interrogates commander prisoner)]}
|
||||
|
||||
G5 {:priority 1.0
|
||||
G4 {:priority 3.0
|
||||
:state [(in prisoner room2)
|
||||
(in self room2)]}
|
||||
(in self room2)]}
|
||||
G5 {:priority 2.0
|
||||
|
||||
|
||||
}
|
||||
:state [(interrogates commander prisoner)]}}
|
||||
|
||||
}
|
16
target/classes/edu/rpi/rair/temp.clj
Normal file
16
target/classes/edu/rpi/rair/temp.clj
Normal file
|
@ -0,0 +1,16 @@
|
|||
{G1 {:priority 6.0
|
||||
:state [(not (open (door room1)))]}
|
||||
|
||||
G2 {:priority 6.0
|
||||
:state [(in prisoner room1)]}
|
||||
|
||||
G3 {:priority 6.0
|
||||
:state [(forall [?room]
|
||||
(if (in prisoner ?room)
|
||||
(in self ?room)))]}
|
||||
G4 {:priority 3.0
|
||||
:state [(in prisoner room2)
|
||||
(in self room2)]}
|
||||
G5 {:priority 2.0
|
||||
|
||||
:state [(interrogates commander prisoner)]}}
|
Loading…
Add table
Add a link
Reference in a new issue