27.01.2014 Views

Multiagent Systems

Multiagent Systems

Multiagent Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Prof. Dr. Jürgen Dix · Department of Informatics, TUC <strong>Multiagent</strong> <strong>Systems</strong>, WS 06/07 139/731<br />

2. Basic Architectures 3. AOP<br />

Capabilities:<br />

1. Issue boarding pass (bp) exactly one hour before departure.<br />

IF (B (time -1h present(pass)) ∧<br />

B (time flight(?from, ?to, flightnum)))<br />

DO (time -1h physical_issue_bp(pass, flightnum, time) )<br />

We define this statement as a macro<br />

issue_bp(pass, flight_num, time).<br />

2. Keep track of the remaining seats.<br />

DO<br />

(?time (update_rem_seats(?time1, ?flightnum, ?add_seats))<br />

B<br />

(?time<br />

(rem_seats(?time1, ?flight_num, ?curr_seats))<br />

∧<br />

?curr_seats ≥ ?add_seats )

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!