The Java Agent Framework and Multi-Agent System Simulator

6 downloads 1685 Views 327KB Size Report
IIS-9812755. The views .... By both monitoring the events the compo- nents produce .... react to the actions of another by monitoring the data that it produces. For.
                                                                     

       

                      !  !    !           " !     ! # # $ %         !    !!     !  &      !    !         !$ '  !   !   (  ) 

*()+   #  $ ,  !!        

           !  !   !          " !     ! # $   

# () (  )  #   ! #   !

  

                                                                  !        .&         /  0 1    * /0+   )  /  2    )  

!   )   #    3)45#67##586  3)45#66#5#959$ ' $ $ :    

;       

  

  : !    #    

    $ '  

!      #                    '   6    $                                                    $         



 !               $      %  ?   ?  3%??4  !    !    9  !>  2             9  #                      Æ     !                           !           !    $               %??               !                   6     "     !                   !                '        "    

   ! !   12      %??       $  !                 6       "   3"4   !       6     12!                                !         !               > 

   

                 %??    #       !            !            0               8 !                      

   !         !            $     !                                       !      !       !                                 (*        ! () $

9

12  !  1  ? %   8        1   12            !            ?   1  :"  12              !           !      8              $    !     !   6  1  

        !            !   12      1 8                   !        ! !   2        !   (*-/                     &        !        $ !          ! !                           $   ! !            

         $                                               A           &        "        

                                     %                             !                                                         !   0 6                               

Component/Class API Events Common API Events Dependencies

Data State Data

           ! () $

4

12 !   1   !    !                             12   !     )   1                                  12     !          $                           !                                  6     '        !  !     '            $       &     ! 96!     !         ! Æ              ! !        %        !    6     ! !           3  &  6   4      :"         !          "          & :"  BC :"  6      2            6    #             :"           $      12             =        !            !  3 2  *4 2                   >   =         !        6  $    !      !      !                 :" ! #  #            !  %??    

             %             !     %??  '   & =     B C  %??           "           =             $=:   %?? =                  =       !            !       !       !        !                  %??             ! > 6           %?? A6             6 !                       %??      " 

7

                     !     !      !    $  &    12           $             Æ           6        6 !  !         #  "   ! Æ        !         :"         96!      #  !             6  $      -+ 12    ! !        6 !  $        !     $=: !            

    #   3DE%       64 "     !           =       =  !        !           5    6      %??                          !         $         !            !        #            2 6         !  !           &            $    !       !   !                         5    !  6                            ?     !                           $ !                   !    !              6                  $   !   5$=    35$=4   ())/   !                ! $           '                     $    ! !                                              ? 

                          ()*/   ?                 #       6           Æ 

=

 !   2            5$= ?    !        ! "      !                  !          >       !    $                       !        !        '       !       $                     !    !          !    =            ?       6 =           

            $            !           2      !             ?       !     $      ?      !  !  6                  $                  $              

              ! '    !      6  =        !   '               $          !   '                     $                    3

  !!  !  4  

 $ 2?%   !                           "                 !                                $ #    !  2?%   !  2?% =         !            #    $     !               ! '           6  0          6   !  

              A6        12  !         

         

@   !           #      '   !    "         %?    !                  

6

  6 F =          6       #         ! F =  !          Æ   !              !      6      F "              !       !        >    F   #     !   F "  !      !    F    !                     !     3 !            6 4         B    C     #        $ !     '                     '       !           (**/                  G       !! >   !    

   ! $              !    ! $   !    !  !  !               !  !$  !              !    #    $             !      >! !     #   ! !          $     !

 !   !    !!    AB   !$  "    #                      !    !              ! $  "            !  #     #       $    ! !!   ! !      !>    !      !   !   

     !             !     $                  ! $ ,        !         !  !       $ '          !  !          ! ! C           C! $     $                   ! $ .  

                    !       !  !# !  $       !            &  !   

$ ,  !! !              #        ! $ '  !     !            >

!             &    $         %??     0                  !



        6    !         2                                A6 !     &                                          #    !  6  #      G                            !              !        Quality Accumulation Function

wash-dishes

Task

seq_sum

load

load-dishes

0.95) 0.05) 1.0) 1.0)

enables

wash

rinse

dry

ld-glasses-fast

0.6) 0.4) 1.0) 1.0)

pre-rinse-hot Q:(8 (5 C:(0 D:(3

Expected Method Results Resource

rinse-cycle

enables

pre-rinse

ld-glasses-slow

ld-dshs-fast Q:(10 (0 C:(0 D:(2

wash-cycle

exactly - one

ld-dshs-slow Q:(10 (0 C:(0 D:(5

seq_sum

load-glasses load-sware

exactly - one

Method Interrelationship

clean

sum

Method

0.8) 0.2) 1.0) 1.0)

pre-rinse-warm

consumes (10 1.0)

Electric

slow-dry

consumes (5 1.0)

HotWater

Q:(5 (8 C:(0 D:(3

0.6) 0.4) 1.0) 1.0)

quick-dry

produces (2 1.0)

produces (8 1.0)

Noise

Resource Interrelationship

  %        D   

     

%??                 ! 5    *..- (H/ "          !                        6        "                               ! 3         4 $  %??        I     !                              %??     (*; ,/  

          8   !  3 2  -4        $   A   %   ?      '     !     



     !  (. *;/                   $                    $            -           !          !       !      '     !    9           $   !   !              !    !         %                          %    '     !      6  '              !  !     6      '          !            6  $ '     3E24 !    !   '    !   !     8 '  2 6   E2 !     '    !    '     !        !   !           "     !      #       '     !      $    !                 !        $      !     -          !   

 #   #                      0                !          !    "                        !   !      $  &         !        #              "    '               E2 !    !  #  #   !     $         -                   >        2  ,        !       3    4   &                   !  !             

                             5#                                               !   8 ! %??           !                             5#    !            '        

5

       !      !   #   !     #      !  $ '           !    %??                     $   !  %??  12    !       12      %??          >        6   !   B%??  C            '          $           !>                         $                           !       '  5               12               $    !     %?? !    %??           0   %??       $=:J": !              "    

     8                    6          !   !       (*M/ "               !                  ! # $     !     !                          !     $  !    6  #              $           &       3    (*H/4       3 =  @ (*/  7:7:(M/4    '        '                '   !      & 

         12      6                %??    !  C     C       '  !                                   !     %??              !'            6        !  ?   !   #      !                 $ "    >  .   3     #  !           4      *;;+     3);  4 ?         #                     !    9  ?              >          !   (*H/ "                  !  &  (*-/        6      !                  K          Æ    ! !                                                   &  !             !      "     6          !          9   3    !   6   

6

         4            B   C          '               Æ             !             !    >!         !  Æ                              !           !        '               !          6        '              ! Æ              !             $    !      &          6     !                    6                                                    '          $ %??      6                                    !& 

    ' ( )

  !      35?@4            "  >                    

       $                 !              @     !              !  

      !  &                 !     "  !           !       !            !                   !                   !              "        12                ?              !   >  "            !         3 4                            !              !     %??                5?@  0      !            ¾ /   !      / 2

5 Problem Solver

Sensor

State

Log

Execute

Control

Communicate

Execute

Control

Communicate

Resource Modeler

Directory Service

Scan Scheduler

Scheduler

Observe

  ' %  ;    < () $            !    $      !     !                         !     #    %??                 !                 !  '     ! %?? " 8              !       6   $                       6  !      0              '   12            $   !   >   12  G =  =   A6       

! !     0'  $ A6                 '   !  &    Æ     &  2      .                  !    O                            '  P ?  #   &    !        Æ  5#   '                       &                      %          6    !   (*-/       :=$         !           5  !> 5  $ %

58 #

$  

$         !   12J%??       '        6  #         

    !      !     

    !         >               $ 12  !                  6                       6    12    ! !               !  6   !  $       !     6         !    ! '        8 !       0      128    !                   %??                    6 

    $ %??      !             !              

              $                       !          ! !          ' "  "    >                  12     %?? 5#        !  '            6       !    "   !       > 12         !                    6      '      2     J J        &              !             12           96!  6 !  0 #   %??             !                  %

 

            !       !     $   !   5 $=       6      &  %         > $  : O  ? OE Q  !    "    >  $ 5?@  > 

59

  !    %  1  ?  ?    !   !        6      !        :=$  & 

$       '  !$ 2!            $                  =E88 66=$ 5$ F$ $ @   $ :!  $ .$   $        ! #  $              5$     !  $  !       !  $ $    $       !  "   #$  %     $ 0   ..            667$ 8$ F$   $    $   %      "    $ 0                    669$ 9$ F     G  2 $ : ! ;     ! !! !  !

$              #$   *5+H6E 84 665$ 4$ F     G  2 $ I    !   !>  $ '  !                 66$ '  ! /  6#5$ 7$ F  $   $ '       ! $  $ 0

 ! F$  # !  2$ :     #  & '  (    "       ) $  0 J' 0  664$ )   $ =$ F  $    G  /$ 2 $ : ! ;     ! !! !  !#

$               #$   *5+H6E84 (  665$ 6$ F  $    G  /$ 2 $ I    !   !>  #

$         #$     * *  "   5*8+H59E58   66$  !    A !    ! !  %  ; H !    

    @  B$ $ F  $    G  /$ 2 $          >      !  $       +,  7E8=  2 G 669$ 

 ' !   $ !  !!    '/#69#$ $   .$ 0!! D    0 ! /$ $ @     !! >

            $  " ' 8*8+H$ 7E85 66$ ,   $ 5$ @  D ! $  / !           $         '  ! /  '/#66=#89 % #  66=$ $ @  D !  @  @  G  2 $   !#     %  ; !   $     '  ! /#   '/#66#48           

Suggest Documents