Created
October 21, 2018 16:52
-
-
Save keysii26/2e985621cd0adad998efadd61a46adb5 to your computer and use it in GitHub Desktop.
PDDL para el proyecto The Challenge | Don’t Forget the Can Opener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (domain ruta_escape) | |
(:requiriments :strips :typing) | |
(:types ubicacion localizable - objeto | |
persona vehiculo area - localizable) | |
) | |
(:predicates | |
(at ?persona - localizable ?loc- ubicacion ) | |
(in ?persona1 - persona ?unvehiculo - vehiculo) | |
(disponible ?unvehiculo - vehiculo ) | |
(evacuar ?persona - persona) | |
(distancia ?desde - ubicacion ?para -ubicacion) | |
(maximacapacidad ?unvehiculo - vehiculo) | |
) | |
(:action move | |
:parameters (?persona - persona | |
?loc - ubicacion | |
?unvehiculo - vehiculo | |
?origen - ubicacion | |
?destino - ubicacion | |
) | |
:precondition (and (at start ( at ?vehiculo ?origen)) | |
(at start (> (maximacapacidad ?vehiculo) (0))) | |
(at start(disponible ?unvehiculo))) | |
:effect (and (at start (not (at ?unvehiculo ?origen))) | |
(at end (at ?unvehiculo ?destino)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment