(define (domain travelplanner)
(:requirements :typing :action-costs :fluents)
(:types location flight)
(:predicates
(connection ?origin - location ?destination - location ?fly - flight)
(at ?loc - location)
(ft ?f - flight))
(:functions
(cost ?origin - location ?destination - location ?fly - flight )
(time ?origin - location ?destination - location ?fly - flight )
(comfort ?origin - location ?destination - location ?fly - flight )
(arrival ?f - flight)
(departure ?f - flight )
(total-cost) )
(:action go
:parameters (?o ?d - location ?fd ?fa - flight)
:precondition (and (at ?o)
(ft ?fd)
(< ( arrival ?fa ) (departure ?fd) )
(connection ?o ?d ?fa)
)
:effect ( and (at ?d)
(ft ?fa)
(not (at ?o))
(not (ft ?fd))
(increase (total-cost) (cost ?o ?d ?fa) )
(increase (total-cost) (time ?o ?d ?fa) )
(increase (total-cost) (comfort?o ?d ?fa) )
)
)
)
--
You received this message because you are subscribed to the Google Groups "Fast Downward" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fast-downwar...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to fast-d...@googlegroups.com.