Task Network Compiler
Example 5. RoundTrip Problem. Intermediate goal+Activity goal+event+ordering.
 Sinopsis: the user makes a roundtrip from Perugia and wants a plan with two intermediate goals task1 (i.e. be at Pisa) and task2 (i.e. be at roma). He also wants to "eat_at Roma", i.e. he has an activity goal. Moreover he knows that it will occur event1 "road between Firenze and Pisa close at 5:30PM". Finally he requires to be in Rome before occurring event1
The initial state encodes the topology of the road network, and specifies the final goals events and task goals of the user problem. 

Give a look to the problem domain below, press the solve button 
then try to modify the problem domain, or submit you own domain (see TNC Sintax Instructions, About Examples,
How to run TNC)

 
Facts Facts
 

TNC Sintax

The syntax for defining facts and operators is based on Graphplan syntax with the following extensions: where taskslist is a list of tasks, each of them defined by the syntax eventslist is a list of events, defined by the syntax
(label conditions)
and orderlist is a list of temporal constraints among tasks and events defined by
(label1 label2).
 
Graphplan syntax
Every object has a type specified as Initial state is specified as a special preconds fact, a list of  facts which are true: Goal state is specified as a special effects fact, a list of facts which are required to be true: Operators are specified by the classical preconditions/effects scheme with typed parameters : Example: (operator goto
                (params (<l1> place)(<l2> place))
                (preconds (at <l1>) (route <l1> <l2>))
                (effects (del at <l1>)(at <l2>)) )
 

TNC Architecture

TNC compiles the extended problem into the domain, it generates an appropriate and equivalent classical problem domain by adding artificial dummy operators, dummy facts and dummy goals.
 
TNC receives in

TNC References

Task Planning and Partial Order Planning: A Domain Transformation Approach
Marco Baioletti, Stefano Marcugini, Alfredo Milani
Lecture Notes in AI vol.1348, 52-63, Springer-Verlag 1997
4th European Conference On Planning, Sept 24-26 1997, Toulose, France
Encoding Planning Constraints into Partial Order Planning Domains
Marco Baioletti, Stefano Marcugini, Alfredo Milani
in KR98 Proceedings of 6th International Conference on Principles of Knowledge Representation and Reasoning, Trento, Italy, June 2-5, 1998
Partial Plans Completion with GRAPHPLAN
Marco Baioletti, Stefano Marcugini, Alfredo Milani,
Workshop on Planning as Combinatorial Search, Pittsburgh, USA, June 7, 1998