1
DOMANDE TOERICHE AI
- Describe the notion of HLA in HTN and provide examples, considering the given problem.
HTN means Hierarchical task network. It follows 2 principles for creating a hierarchical
decomposition such that:
1) OPERATORS of classical planning are preserved, and more abstract concept of action are
introduced with HLA (High level actions).
2) Planning proceeds by decomposing non- primitive tasks recursively into smaller subtasks,
until primitive tasks are obtained.
For HTN action description, we have
1) PRIMITVE ACTIONS: actions that the agent can executed.
2) HLAs: each HLA (or a sequence of HLAs has one or more possible refinements into a sequence
of actions, each of which may be an HLA or a primitive action (which has no refinements by
definition).
They cannot be directly executed by the agent but they need to be transformed into
PRIMITVE ACTIONS. If HLA refinements contain all primitive actions are called
IMPLEMENTATION OF HLA.
An HLA achieves the goal from a given state if AT LEAST ONE of its IMPLEMENTATIONS
achieves the goal from that state.
HLA can control the VALUE OF VARIABLES.
Puoi scrivere anche come creare un piano (consiglio del prof. Se si ha tempo).
EXAMPLE OF HTN IN GENERAL
Hawaii vacation. In this example we have 5 HLA that are:
- go San Francisco airport.
- take Hawaii airlines, flight 11
- enjoy Honolulu
- take Hawaii airlines, flight 22
- go home
And then for the first HLA we can add refinements for examples, we can add:
- take bus
- take taxi
and so on…
EXAMPLE OF HTN CONSIDERING THE GIVEN PROBLEM (CLOW E GEORGIE)
The problem is to exchange the object. So, we have for HLA.
- goes to a certain location
- exchange object
- return at final position.
For the first HLA we can add refinements for examples, we can add:
- move P0 P1
- move P0 P3; move P3 P1
and so on…