Professional Documents
Culture Documents
ICWS 2006, 2
Chicago
Hierarchical Task Network (HTN) Planning
: compound
preconditions: (at ?p ?x) task
(destination ?p ?y) : primitive
(available-truck ?t) task
: state
subtasks:
subtasks: subtasks:
ICWS 2006, 4
Chicago
HTN-Only System Framework
Web Services
Hotel Reservation WS
plan
Train Timetable WS
Airplane Timetable WS
input
…
data
Input Web
HTN
Domain Service
Planner
Analyzer Executor
planning
problem
ICWS 2006, 5
Chicago
HTN-Only System Framework
I'd like to make a trip
next week.
I want to depart Web Services
Aizu-wakamatsu at
14:00 and arrive at Hotel Reservation WS
plan San-Francisco.
Train Timetable WS
…
data
Arrival Location = San-Francisco
Input Web
HTN
Domain Service
Planner
Analyzer Executor
planning
problem
ICWS 2006, 6
Chicago
HTN-Only System Framework
initial states:
Web Services
(departure-location aizu-wakamatsu)
(departure-time _1400)
Hotel Reservation WS
(departure-date _20060221)
plan (arrival-location san-francisco))
Train Timetable WS
goal task: (trip)
Airplane Timetable WS
input
…
data
Input Web
HTN
Domain Service
Planner
Analyzer Executor
planning
problem
ICWS 2006, 7
Chicago
HTN-Only System Framework
task: (travel ?from ?to)
Web Services
preconditions: Hotel Reservation WS
plan . . .
Train Timetable WS
subtasks:
…
data
Input Web
HTN
Domain Service
Planner
Analyzer Executor
planning
(available-train JR-Banetsu-West-Line
problem
aizu-wakamatsu _0600 koriyama _0712)
...
ICWS 2006, 8
Chicago
HTN-Only System Framework
(!travel-by-train JR-Banetsu-West-Line
aizu-wakamatsu _1413 _20060221
Web Services
koriyama _1513 _ 20060221)
(!travel-by-train Hotel
Tsubasa-186
Reservation WS
koriyama _1525 _ 20060221
plan tokyo _1648 _ 20060221)
(!travel-by-train Train Timetable WS
Narita-Express-37
tokyo _1703 _ 20060221
narita _1757Timetable
Airplane _ 20060221)
WS
input (!travel-by-airplane ANA-B2
…
data narita _2000 _ 20060221
san-francisco _1100 _ 20060221)
Input Web
HTN
Domain Service
Planner
Analyzer Executor
planning
problem
ICWS 2006, 9
Chicago
Problems with an HTN-Only System
Web service composition by a planner has
limitations:
Inefficient for autonomous finding solution in
planning
Not good for dealing user’s various requests
Weak in maintenance
ICWS 2006, 10
Chicago
HTN-CSP Combined System Framework
Web Services
plan Hotel Reservation WS
…
Input
HTN CSP CSP
Domain
Planner Constructor Solver
Analyzer
planning CSP CSP
problem representation tuple
ICWS 2006, 11
Chicago
CSP Constructor HTN Planner Domain Analyzer
Goal
Variable Representation Trip
<Z, D, C>
Z: variables Domain Representation Sub-Goal Sub-Goal Shopping
D: domains
C: constraints Constraint Representation ・
・
・
Trip Trip
Domain Domain
Dy
UDDI
Master-Layer Sub-Layer
nam
defined with
Hotel Ontology
ic R
Reservation
equ
Robot with Hotel Web Service
e
Situation Calculus Label
st
Assigner Train
Control
…
(arrival-date tokyo) = 2006/2/21
(arrival-date narita) = 2006/2/21
Input (arrival-date koriyama) = 2006/2/21
HTN CSP CSP
Domain (departure-time narita) = 20:00
Planner
(departure-date Constructor
narita) = 2006/2/21 Solver
Analyzer
(arrival-time san-francisco) = 11:00
planning (arrival-dateCSP CSP
san-francisco) = 2006/2/21
problem representation tuple
ICWS 2006, 13
Chicago
Performance Comparison
Number of Processing Activity
Scenario
ICWS 2006, 14
Chicago
Advantages of the HTN-CSP Combined System
Development Efficiency
Scheduling is already integrated
Flexibility
HTN-CSP combined system:
― Can represent complex problems more easily
HTN-only system:
― Might produce scenarios that are hard to solve
Extensibility
HTN-CSP combined system:
― Featurescan be added easily
― Many algorithms for solving CSPs available
HTN-only system:
― To add new features, the planning domain must be rewritten i
n many cases
ICWS 2006, 15
Chicago
Conclusion and Future Work
Suggested a combined HTN-CSP
architecture for automatic Web service
composition
Efficient for planning and scheduling
Future work
Automating HTN – CSP encoding
Fully automated problem solving (service
composition) in a Semantic Web environment
using this framework
ICWS 2006, 16
Chicago