WK3 - Activity Cycle Diagram
WK3 - Activity Cycle Diagram
▪ACDs only use two symbols which describe the life cycle of
the system’s objects or entities:
Queues – passive state that involve no co-operation
between different classes of entity; a state in which the
entity waits for something to happen.
▪ Life cycle
defined for each entity type.
consists of queues and activities
activity
queue
DEVELOPING THE
ACD
Your task:
Summarise the states for each entity from
the given information above.
THE CAFÉ
EXAMPLE:
THE ENTITIES
Drink
Customer
Wait
Pour
Waiter
Idle
Drink from
Glass
Empty
Pour into
Full
THE CAFÉ
EXAMPLE:
THE LIFECYCLES
Drink from
wait idle
customer waiter
full glass empty
drink pour
Pour into
The ACD illustrates logically that
THE CAFÉ the activity DRINK cannot start
EXAMPLE: unless a customer is in the queue
WAIT and a glass is in the queue
THE ACD FULL. Similarly the activity POUR
cannot start unless a waiter is in
the queue IDLE and a glass is in
the queue EMPTY
full
glass
waiter
customer
empty
THE IMPORTANCE
OF ACD
Entity States
Machine Running
Broken waiting for electrician
Electrician disconnects machine
EXERCISE : Waiting heavy gang
Heavy gauge pull out machine
Waiting for mechanic
1. List the entity and its Being repaired
activity. Waiting for heavy gang
Heavy gang puts back machine
2. Draw the life cycle for Waiting for electrician
Electrician connects machine
each entity. Ready
3. Draw the ACD of the
Electrician Disconnect
system. Connect
Idle
Mechanic Repair
Idle
THE PRODUCTION PLAN
Entity States
Machine Running
Broken waiting for electrician
Electrician disconnects machine
EXERCISE : Waiting heavy gang
Heavy gauge pull out machine
Waiting for mechanic
1. List the entity and its Being repaired
activity. Waiting for heavy gang
Heavy gang puts back machine
2. Draw the life cycle for Waiting for electrician
Electrician connects machine
each entity. Ready
3. Draw the ACD of the
Electrician Disconnect
system. Connect
Idle
Mechanic Repair
Idle
THE RESTAURANT