next up previous
Next: The action proposition Up: The domain description Previous: The domain description

The type declaration section

is a collection of fluent declarations, non-sensing action declarations and sensing action declarations. Declarations restrict the kind of fluents and actions that are allowed in the domain by typing the kind of objects that can be arguments of the terms.

A fluent declaration is an expression of the form:

fluent(f(X1 ,..., Xn)) : -t1(X1) ,..., tn(Xn)

where f is a fluent symbol of arity n, the Xi s are variables and the ti s type symbols.

A non-sensing action declaration is an expression of the form:

action(a(X1 ,..., Xn)) : -t1(X1) ,..., tn(Xn)

where a is a non-sensing action symbol of arity n, the Xi s are variables and the ti s type symbols.

A sensing action declaration is an expression of the form:

sensing(a(X1 ,..., Xn)) : -t1(X1) ,..., tn(Xn)

where a is a sensing action symbol of arity n, the Xi s are variables and the ti s type symbols.



next up previous
Next: The action proposition Up: The domain description Previous: The domain description



www-admin@icot.or.jp