An add-on for managing behaviours with priority in JADE
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

An add-on for managing behaviours with priority in JADE

on

  • 1,078 views

Presentation at IAT 2006

Presentation at IAT 2006

Statistics

Views

Total Views
1,078
Views on SlideShare
1,077
Embed Views
1

Actions

Likes
0
Downloads
6
Comments
0

1 Embed 1

http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

An add-on for managing behaviours with priority in JADE Presentation Transcript

  • 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. JADE
    • Java Agent DEvelopment Framework
    • FIPA compliant
    • Agent tasks encapsulated in Behaviours
    . . . public void action(); public boolean done(); . . .
  • 3. JADE
    • Behaviours can be formed by smaller sub-behaviours
      • Parallel scheduling
      • Sequential scheduling
    . . . public void action(); public boolean done(); . . . . . . public void action(); public boolean done(); . . . . . . public void action(); public boolean done(); . . .
  • 4. ParallelBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4
  • 5. ParallelBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4
  • 6. SequentialBehaviour
    • Executes children in a sequential way
    B 1 B 2 B 3 B 4
  • 7. SequentialBehaviour
    • Executes children in a sequential way
    B 1 B 2 B 3 B 4
  • 8. SequentialBehaviour
    • Executes children in a sequential way
    B 1 B 2 B 3 B 4
  • 9. Behaviours with priority
    • Each Behaviour are assigned with a priority
    • Priority is a positive number
    • The lesser the number, the greater the priority
    • Two priorities
      • Static priority: assigned by the user
      • Dynamic priority: used only by the ParallelPriorityBehaviour
  • 10. ParallelPriorityBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4 2 1 0 1 2 1 0 1
  • 11. ParallelPriorityBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4 2 1 0 1 2 1 0 1
  • 12. ParallelPriorityBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4 2 1 0 1 1 0 0 0
  • 13. ParallelPriorityBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4 2 1 0 1 1 1 0 0
  • 14. ParallelPriorityBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4 2 1 0 1 1 1 0 1
  • 15. ParallelPriorityBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4 2 1 0 1 0 0 0 0
  • 16. ParallelPriorityBehaviour
    • Executes children in a parallel way
    B 1 B 2 B 3 B 4 2 1 0 1 2 0 0 0
  • 17. SequentialPriorityBehaviour
    • Executes children in a sequential way
    • Policy regarding blocked children
    B 1 B 2 B 3 B 4 2 1 0 1
  • 18. SequentialPriorityBehaviour
    • Executes children in a sequential way
    • Policy regarding blocked children
    B 1 B 2 B 3 B 4 2 1 0 1
  • 19. SequentialPriorityBehaviour
    • Executes children in a sequential way
    • Policy regarding blocked children
    B 1 B 2 B 3 B 4 2 1 0 1
  • 20. SequentialPriorityBehaviour
    • Executes children in a sequential way
    • Policy regarding blocked children
    B 1 B 2 B 3 B 4 2 1 0 1
  • 21. SequentialPriorityBehaviour
    • Executes children in a sequential way
    • Policy regarding blocked children
    B 1 B 2 B 3 B 4 2 1 0 1
  • 22. Example of application
    • Agent that uses its full time
      • In normal time, it executes several specific tasks
      • When it is idle (i.e. these tasks can not be executed) it runs other tasks of maintenance.
    Specific Tasks Idle Tasks
  • 23. Example of application
    • Encapsulate specific tasks and idle tasks in two different ParallelPriorityBehaviour
    ST 1 p1 ST 2 p2 ST 3 p3 IT 1 p1 IT 2 p2 IT 3 p3
  • 24. Example of application
    • Insert both parallel behaviours in a SequentialPriorityBehaviour with priorities 1 and 2, and policy to skip blocked behaviours
    1 2 ST 1 p1 ST 2 p2 ST 3 p3 IT 1 p1 IT 2 p2 IT 3 p3
  • 25. Summary
    • Two new priority-based scheduler Behaviours are proposed
      • ParallelPriorityBehaviour
      • SequentialPriorityBehaviour
    • They are able to run as the current scheduler implementations
  • 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