Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
An add-on for managing behaviours with priority in JADE Juan A. Suárez-Romero Amparo Alonso-Betanzos Bertha Guijarro-Berdi...
JADE <ul><li>Java Agent DEvelopment Framework </li></ul><ul><li>FIPA compliant </li></ul><ul><li>Agent tasks encapsulated ...
JADE <ul><li>Behaviours can be formed by smaller sub-behaviours </li></ul><ul><ul><li>Parallel scheduling </li></ul></ul><...
ParallelBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4
ParallelBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4
SequentialBehaviour <ul><li>Executes children in a sequential way </li></ul>B 1 B 2 B 3 B 4
SequentialBehaviour <ul><li>Executes children in a sequential way </li></ul>B 1 B 2 B 3 B 4
SequentialBehaviour <ul><li>Executes children in a sequential way </li></ul>B 1 B 2 B 3 B 4
Behaviours with priority <ul><li>Each Behaviour are assigned with a priority </li></ul><ul><li>Priority is a positive numb...
ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 2 1 0 1
ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 2 1 0 1
ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 1 0 0 0
ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 1 1 0 0
ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 1 1 0 1
ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 0 0 0 0
ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 2 0 0 0
SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked child...
SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked child...
SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked child...
SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked child...
SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked child...
Example of application <ul><li>Agent that uses its full time </li></ul><ul><ul><li>In normal time, it executes several spe...
Example of application <ul><li>Encapsulate specific tasks and idle tasks in two different  ParallelPriorityBehaviour </li>...
Example of application <ul><li>Insert both parallel behaviours in a  SequentialPriorityBehaviour  with priorities 1 and 2,...
Summary <ul><li>Two new priority-based scheduler Behaviours are proposed </li></ul><ul><ul><li>ParallelPriorityBehaviour <...
An add-on for managing behaviours with priority in JADE Juan A. Suárez-Romero Amparo Alonso-Betanzos Bertha Guijarro-Berdi...
Upcoming SlideShare
Loading in …5
×

An add-on for managing behaviours with priority in JADE

961 views

Published on

Presentation at IAT 2006

Published in: Technology
  • Be the first to comment

  • Be the first to like this

An add-on for managing behaviours with priority in JADE

  1. 1. An add-on for managing behaviours with priority in JADE Juan A. Suárez-Romero Amparo Alonso-Betanzos Bertha Guijarro-Berdiñas Laboratory for Research and Development in Artificial Intelligence Department of Computer Science, University of A Coruña, Spain
  2. 2. JADE <ul><li>Java Agent DEvelopment Framework </li></ul><ul><li>FIPA compliant </li></ul><ul><li>Agent tasks encapsulated in Behaviours </li></ul>. . . public void action(); public boolean done(); . . .
  3. 3. JADE <ul><li>Behaviours can be formed by smaller sub-behaviours </li></ul><ul><ul><li>Parallel scheduling </li></ul></ul><ul><ul><li>Sequential scheduling </li></ul></ul>. . . public void action(); public boolean done(); . . . . . . public void action(); public boolean done(); . . . . . . public void action(); public boolean done(); . . .
  4. 4. ParallelBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4
  5. 5. ParallelBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4
  6. 6. SequentialBehaviour <ul><li>Executes children in a sequential way </li></ul>B 1 B 2 B 3 B 4
  7. 7. SequentialBehaviour <ul><li>Executes children in a sequential way </li></ul>B 1 B 2 B 3 B 4
  8. 8. SequentialBehaviour <ul><li>Executes children in a sequential way </li></ul>B 1 B 2 B 3 B 4
  9. 9. Behaviours with priority <ul><li>Each Behaviour are assigned with a priority </li></ul><ul><li>Priority is a positive number </li></ul><ul><li>The lesser the number, the greater the priority </li></ul><ul><li>Two priorities </li></ul><ul><ul><li>Static priority: assigned by the user </li></ul></ul><ul><ul><li>Dynamic priority: used only by the ParallelPriorityBehaviour </li></ul></ul>
  10. 10. ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 2 1 0 1
  11. 11. ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 2 1 0 1
  12. 12. ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 1 0 0 0
  13. 13. ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 1 1 0 0
  14. 14. ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 1 1 0 1
  15. 15. ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 0 0 0 0
  16. 16. ParallelPriorityBehaviour <ul><li>Executes children in a parallel way </li></ul>B 1 B 2 B 3 B 4 2 1 0 1 2 0 0 0
  17. 17. SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked children </li></ul>B 1 B 2 B 3 B 4 2 1 0 1
  18. 18. SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked children </li></ul>B 1 B 2 B 3 B 4 2 1 0 1
  19. 19. SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked children </li></ul>B 1 B 2 B 3 B 4 2 1 0 1
  20. 20. SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked children </li></ul>B 1 B 2 B 3 B 4 2 1 0 1
  21. 21. SequentialPriorityBehaviour <ul><li>Executes children in a sequential way </li></ul><ul><li>Policy regarding blocked children </li></ul>B 1 B 2 B 3 B 4 2 1 0 1
  22. 22. Example of application <ul><li>Agent that uses its full time </li></ul><ul><ul><li>In normal time, it executes several specific tasks </li></ul></ul><ul><ul><li>When it is idle (i.e. these tasks can not be executed) it runs other tasks of maintenance. </li></ul></ul>Specific Tasks Idle Tasks
  23. 23. Example of application <ul><li>Encapsulate specific tasks and idle tasks in two different ParallelPriorityBehaviour </li></ul>ST 1 p1 ST 2 p2 ST 3 p3 IT 1 p1 IT 2 p2 IT 3 p3
  24. 24. Example of application <ul><li>Insert both parallel behaviours in a SequentialPriorityBehaviour with priorities 1 and 2, and policy to skip blocked behaviours </li></ul>1 2 ST 1 p1 ST 2 p2 ST 3 p3 IT 1 p1 IT 2 p2 IT 3 p3
  25. 25. Summary <ul><li>Two new priority-based scheduler Behaviours are proposed </li></ul><ul><ul><li>ParallelPriorityBehaviour </li></ul></ul><ul><ul><li>SequentialPriorityBehaviour </li></ul></ul><ul><li>They are able to run as the current scheduler implementations </li></ul>
  26. 26. An add-on for managing behaviours with priority in JADE Juan A. Suárez-Romero Amparo Alonso-Betanzos Bertha Guijarro-Berdiñas Laboratory for Research and Development in Artificial Intelligence Department of Computer Science, University of A Coruña, Spain

×