From: nishioka@toro.mri.co.jp (NISHIOKA Toshihiro)
Newsgroups: fj.comp.oops
Subject: Re: agents in OO modeling (Re: OO software life cycle (hwang's))
Date: 10 Nov 92 03:00:31 GMT
Distribution: fj.comp.oops
Organization: Mitsubishi Research Institute, INC.
In-reply-to: hokimoto@jaist-east.ac.jp's message of 9 Nov 92 08:58:04 GMT


$@!!;0I)Am9g8&5f=j$N@>2,$G$9!#(J

In article <HOKIMOTO.92Nov9175804@is17e0s09.jaist-east.ac.jp> hokimoto@jaist-east.ac.jp (Akihiro Hokimoto) writes:

>$@$b$7!"(JObject $@$,B>$N(J Object $@$,H/@8$7$?(J event $@$r<u$1$?$H$-!"(J event $@$r(J
>$@<u$1$H$C$?(J Object $@$@$1$,>uBV$rJQ2=$7!"$=$l$KBP1~$9$k=hM}$r$9$k$N$G$"(J
>$@$l$P!"(Jpassive $@$N$_$r9MN8$9$l$PNI$$$h$&$K;W$($^$9(J$@!#$?$@!"$3$N(J event $@$r(J
>$@<u$1$H$C$?(J Object $@$,<+8J>pJs!J<+8J>pJs$ODI2C!?:o=|2DG=!K$r;2>H$7!"$5(J
>$@$i$KB>$N(J Object $@$K(J event $@$rAw$k>l9g$,$"$j$^$9!#$3$N$h$&$J(J event $@$O!"(J
>active/passive $@$N6hJL$r$7$J$1$l$P$&$^$/(J$@I=8=$G$-$J$$$h$&$J5$$,$7$F$$$^$9!#(J

$@!!$=$&$G$9$+!#!#!#(J
$@!!(JOMT Book[1] $@$r$*;}$A$@$C$?$i(J 5.5.2 Internal Actions $@$r8fMw2<$5$$!#(J
$@!!$@$$$?$$$NEz$,=P$F$=$&$K;W$$$^$9!#(J
$@!!(Jstate diagram $@$N(J transition arrow $@$K$O!"(Jcondition $@$H$$$&(J Boolean
value $@$r(J bracket $@$K$O$5$s$G=q$/$3$H$,$G$-$^$9!#(J
$@!!$A$g$C$H(J informal $@$G$9$,!"(J$@$3$3$K(J [self.attribute1 == foo] $@$H$+$J$s$H(J
$@$+=q$$$H$1$P$$$$$h$&$K;W$($^$9!#(J

>  $@$?$H$($P!"(JObject A $@$,(J Object B $@$KBP$7$F(J event a $@$rH/@8$9$k!#(J

>     Object A --- event a ---> Object B

>  $@$=$7$F!"(JObject B $@$,(J event a $@$r<u$1$F(J Object B $@$@$1$G=hM}$r$9$k$+(J 
>  Object C $@$KBP$7$F(J event b $@$rH/@8$9$k$+(J Object D $@$KBP$7$F(J event c $@$r(J
>  $@H/@8$9$k!#(J

>     Object A --- event a ---> Object B 
>                            or Object B --- event b ---> Object C
>                            or Object B --- event c ---> Object D
>                          ...
>  event $@$rH/@8$9$k$+$7$J$$$+$O(J Method $@$,<+8J>pJs$r;2>H$9$k$3(J$@$H$K(J
>  $@$h$C$FA*Br$9$k$b$N$H$9$k!#(J

>$@$+$J$jCj>]E*$J%7%J%j%*$G$9$,!"$3$N$h$&$J>u67$r(J dynamic model $@$^$?(J$@$O(J
>$@B>$NJ}K!$G$&$^$/I=8=$7$?$$$N$G$9$,!D(J

$@!!$G$O!"(JObject B $@$NB0$9$k(J class $@$N(J state diagram $@$N0lIt$r=q(J$@$$$F$_$^$7$g(J
$@$&$+!#;DG0$J$,$i!"(JOMT $@$N(J notation $@$G$O!"(Jevent a $@$,(J Object A $@$+$iMh$?$b(J
$@$N$@!"$H$$$&;v<B$O(J$@!"(Jevent a $@$H0l=o$KAw$C$F$d$i$J$$$H(J Object B $@$K$OJ,$+(J
$@$i$J$$$h$&$K$J$C$F$$$^$9$N$G!"$3$3$G$O>J$-$^$9!#(J
$@!!$9$k$H!"$@$$$?$$$3$s$J46$8$G$7$g$&$+!#(J

      +------+ a[self.atrb1 == foo] +------+
      |State1|--------------------->|State2|
      +------+          |           +------+
                        |
                        | b
                        V
                   +--------+
                   |Object C|
                   +--------+

$@!!$G!"(JState1 $@$+$i$N(J transition $@$O!">/$J$/$H$b$b$&0lK\$"(J$@$j$^$7$F!"$=$N(J 
event $@$O(J a[self.atrb1 == bar] $@$+$J$s$+$G!"(Jc $@$H$$$&(J event $@$r(J Object D 
$@$KAw$j$^$9!#(J

$@!!(J$@$3$l$GG!2?$G$7$g$&$+(J?

$@!!$H$3$m$G!"$3$&$$$&(J diagram $@$,=q$1$k$?$a$K$O!"(JObject B $@$NB0$9$k(J class 
$@$H(J Object C, D $@$NB0$9$k(J class $@$N4V$K$O2?$i$+$N(J association $@$,$"$C$F!"(J
Object B $@$H(J Object C, D $@$N4V$K$O!"$=$N(J association $@$K4p$E$/(J link $@$,$J(J
$@$$$H$$$1$^$;$s!#(J

[1] J. Rumbaugh, et.al.; "Object-Oriented Modeling and Design" 1991,
Prentice Hall; ISBN 0-13-629841-9
---
$@@>2,(J