Properties:
Use Case Diagrams
Class User |
Class Referee |
Class Player1 |
Class Player2 |
Class Player3 |
Class Scorekeeper |
In the game set up, the user tells
the Referee where to find the input
text file that identifies which agents
can communicate with each other, and
what the original domain values of
each agent are. This scenario also
tells the Historian where to write
the transaction history when the game
is wrapping up.
In Initialization, the Referee
communicates the agent initial
values and the History output
file.
Game play proceeds by having one
agent contact a second to receive
the Current_Selection of Domain
values. The receiving agent then
compares his Current_Selection and
removes Selections that are inconsistent
with those just brought in by the
rendezvous. After this, the receiving
agent sends a transaction to the
Historian. Finally, if there has
been no change of state after contacting
all of the possible communicants,
or if there are no values in the
Current_Selections, the agent contacts
the Referee to note the fact of
this agent not seeing any point in
continuing to revise his Selections.
When the Referee has received notice
that all of the agents have finished
revising their selections, he requests
that the Historian write out the
transaction record, together with
a statement as to the final state
of the game. Then, the Referee
notifies the user that the Historian's
output can be found at a particular
location.
Game Play
Entry Behavior :
Exit Behavior :
Do activity :
Stereotype: machine
Player_State_Diagram
Initial pseudo state |
Defined in Player_State
Entry Behavior :
Exit Behavior :
Do activity :
Entry Behavior :
Exit Behavior :
Do activity :
State action receive-signal |
Stereotype: receive-signal
Defined in Player_State
Expression :
Entry Behavior :
Exit Behavior :
Do activity :
Initial pseudo state |
Stereotype: Not_Playing
Defined in Participate_In_Play
Entry Behavior :
Exit Behavior :
Do activity :
Entry Behavior :
Exit Behavior :
Do activity :
Transition <transition> |
From Playing To state action
Trigger :
Guard :
Activity :
Transition <transition> |
From Playing To state action
Trigger :
Guard :
Activity :
Transition Not Playing |
Trigger :
Guard :
Activity :
State action receive-signal |
Stereotype: receive-signal
Defined in Participate_In_Play
Expression :
State action send-signal |
Stereotype: send-signal
Defined in Participate_In_Play
Expression :
State action send-signal |
Stereotype: send-signal
Defined in Participate_In_Play
Expression :
State action receive-signal |
Stereotype: receive-signal
Defined in Participate_In_Play
Expression :
Final state |
Defined in Player_State
Entry Behavior :
Exit Behavior :
Do activity :
State action receive-signal |
Stereotype: receive-signal
Defined in Player_State
Expression :
State action send-signal |
Stereotype: send-signal
Defined in Player_State
Expression :