Activity networks and precedence tables
Plan a project step by step with activity networks in Year 12 VCE General Mathematics. Before a Ballarat builder can pour a slab or a Melbourne school can stage a musical, some jobs must wait for others. A precedence table records which jobs come first, and a network turns it into a clear picture of arrows and events.
You will read immediate predecessors off a network, draw networks from precedence tables and check them, and learn when a dashed dummy activity of zero duration is needed to show a dependency correctly. These networks are the starting point for forward and backward scanning, where you find when each activity can start.
Theory
An activity network turns a project's precedence table into a diagram of arrows and events. This Year 12 General Mathematics guide for students in Victoria shows how to read immediate predecessors, draw a network from a table, and decide when a dashed dummy activity is needed.
A project is broken into activities, each with a duration. A precedence table lists every activity, its duration and its immediate predecessors: the activities that must be finished just before it can start.
An activity network shows the same information as a directed graph. Each activity is an arrow labelled with its letter and duration, such as \(C, 4\). Each event is a numbered circle marking the moment some activities end and others begin. There is one start event and one finish event. An activity can start only when every activity ending at its starting event is finished.
Sometimes the dependencies cannot be drawn with real activities alone. A dummy activity is a dashed arrow with zero duration and no letter. It does no work: it only passes on a dependency, or keeps two activities from joining the same pair of events.
Reading a network:
A dummy activity adds no time:
Counting: each activity in the table is exactly one solid arrow; dummies are extra dashed arrows. The number of events includes the start and finish events.
(1) Activity \(X\) needs only \(P\), but activity \(Y\) needs \(P\) and \(Q\): a dummy carries \(P\) to where \(Y\) starts.
(2) Two activities have the same immediate predecessors and the same followers: a dummy keeps them from joining the same two events.
Drawing a network from a precedence table
- Draw the start event. Every activity with no immediate predecessor leaves it.
- Take the activities in order. Activities with exactly the same immediate predecessors start at the same event, where those predecessors end.
- If an activity is needed on its own by one activity and together with others by another, end it at its own event and add a dummy to carry it on.
- If two arrows would join the same two events, end one of them at a new event and join that event to the other with a dummy.
- Activities that nothing follows end at the finish event.
- Check: read the immediate predecessors back off your network and compare with the table.
Adding a new activity to a network
- Start the new arrow at the event where its immediate predecessors end.
- End it at the event where the activities that need it start, and add it to their immediate predecessors.
- If it would join the same two events as an existing arrow, end it at a new event and add a dummy.
- To find every activity that must be finished before an activity starts, follow all the arrows (and dummies) back from its starting event to the start.
An activity's immediate predecessors are the activities whose arrows end at the event where it starts.
| \(A, B\) | \(:\) | \(\text{leave the start event, so no predecessors}\) |
| \(C, D\) | \(:\) | \(\text{start at event 2, where } A \text{ ends}\) |
| \(E\) | \(:\) | \(\text{starts at event 3, where } B \text{ and } D \text{ end}\) |
| \(F\) | \(:\) | \(\text{starts at event 4, where } C \text{ ends}\) |
| \(G\) | \(:\) | \(\text{starts at event 5, where } E \text{ and } F \text{ end}\) |
| Activity | Immediate predecessor(s) | Duration (weeks) |
|---|---|---|
| \(A\) | – | \(3\) |
| \(B\) | – | \(2\) |
| \(C\) | A | \(4\) |
| \(D\) | A | \(1\) |
| \(E\) | B, D | \(3\) |
| \(F\) | C | \(2\) |
| \(G\) | E, F | \(5\) |
Only the immediate predecessors are listed: \(G\) also depends on \(A\), but only through \(E\) and \(F\).
| Activity | Immediate predecessor(s) | Duration (days) |
|---|---|---|
| \(A\) | – | \(5\) |
| \(B\) | – | \(3\) |
| \(C\) | A | \(2\) |
| \(D\) | B | \(4\) |
| \(E\) | B | \(2\) |
| \(F\) | C, D | \(3\) |
| \(G\) | E | \(6\) |
| \(H\) | F, G | \(1\) |
Activities with no predecessor leave the start event. Activities that share exactly the same immediate predecessors start at the same event.
- \(A\) and \(B\) leave the start event \(1\).
- \(C\) needs only \(A\): it leaves event \(2\), where \(A\) ends.
- \(D\) and \(E\) both need only \(B\): they both leave event \(3\), where \(B\) ends.
- \(F\) needs \(C\) and \(D\): both end at event \(4\). \(G\) needs \(E\): it ends at event \(5\).
- \(H\) needs \(F\) and \(G\): both end at event \(6\), and \(H\) ends at the finish event \(7\).
| \(\text{event } 1\) | \(:\) | \(\text{start: A and B leave}\) |
| \(\text{event } 2\) | \(:\) | \(\text{A ends, then C starts}\) |
| \(\text{event } 3\) | \(:\) | \(\text{B ends, then D and E start}\) |
| \(\text{event } 4\) | \(:\) | \(\text{C and D end, then F starts}\) |
| \(\text{event } 5\) | \(:\) | \(\text{E ends, then G starts}\) |
| \(\text{event } 6\) | \(:\) | \(\text{F and G end, then H starts}\) |
| \(\text{event } 7\) | \(:\) | \(\text{finish: H ends}\) |
Check: every activity in the table is one arrow, and reading the network back gives the same table. No dummy is needed.
| Activity | Immediate predecessor(s) | Duration (hours) |
|---|---|---|
| \(A\) | – | \(5\) |
| \(B\) | A | \(2\) |
| \(C\) | A | \(4\) |
| \(D\) | B | \(3\) |
| \(E\) | B, C | \(6\) |
| \(F\) | D, E | \(1\) |
Look for an activity needed on its own by one activity but together with another activity by a second one.
\(D\) needs only \(B\), but \(E\) needs \(B\) and \(C\). If \(D\) and \(E\) both started where \(B\) ends, \(D\) would also have to wait for \(C\).
- \(B\) ends at event \(3\); \(D\) leaves event \(3\).
- \(C\) ends at event \(4\); \(E\) leaves event \(4\).
- A dummy from event \(3\) to event \(4\) carries the end of \(B\) into event \(4\), so \(E\) waits for both \(B\) and \(C\) while \(D\) waits only for \(B\).
| \(\text{predecessors of } D\) | \(:\) | \(B\) |
| \(\text{predecessors of } E\) | \(:\) | \(C \text{, and } B \text{ through the dummy}\) |
| \(\text{duration of the dummy}\) | \(=\) | \(0\) |
The dummy is dashed, takes no time and has no letter. It only shows that \(E\) depends on \(B\).
| Activity | Immediate predecessor(s) | Duration (days) |
|---|---|---|
| \(A\) | – | \(2\) |
| \(B\) | – | \(3\) |
| \(C\) | A | \(4\) |
| \(D\) | A | \(6\) |
| \(E\) | B, C, D | \(2\) |
\(C\) and \(D\) have the same immediate predecessor (\(A\)) and the same follower (\(E\)).
Drawn directly, \(C\) and \(D\) would be two arrows joining the same pair of events, so the network could not tell them apart. Instead \(D\) ends at its own event \(3\), and a dummy joins event \(3\) to event \(4\), where \(E\) starts.
| \(\text{event } 1\) | \(:\) | \(\text{start: A and B leave}\) |
| \(\text{event } 2\) | \(:\) | \(\text{A ends, then C and D start}\) |
| \(\text{event } 3\) | \(:\) | \(\text{D ends, then dummy starts}\) |
| \(\text{event } 4\) | \(:\) | \(\text{B, C and dummy end, then E starts}\) |
| \(\text{event } 5\) | \(:\) | \(\text{finish: E ends}\) |
The network has \(5\) events and \(1\) dummy. \(E\) still has immediate predecessors \(B\), \(C\) and \(D\).
Common pitfalls
Frequently asked questions
What is an immediate predecessor in an activity network?
It is an activity that must be completed just before another activity can start. In a network it is an activity whose arrow ends at the event where the other activity begins.
What is a dummy activity?
A dummy activity is a dashed arrow with zero duration. It does no work and has no letter; it only shows that one activity depends on another, or stops two activities joining the same pair of events.
When do you need a dummy activity?
When an activity is needed on its own by one activity but together with another activity by a second one, or when two activities have the same predecessors and the same followers and would otherwise share both events.
How do you draw an activity network using a precedence table?
Start with the activities that have no predecessors leaving the start event. Activities with the same immediate predecessors start at the same event. Add dummies where needed, end the last activities at the finish event, then read the network back to check it.
Does a dummy activity add time to a project?
No. A dummy has a duration of 0, so it never adds time. It only changes which activities must finish before others can start.