Activity Network
Activity Network
Activity Network
Outline Materi
Activity on vertex (AOV) network AOV network(cont.) An AOV network Topology sort Example of topology sort Activity on edge (AOE) network Earliest time Latest time Other factors Critical paths Calculation of earliest times Calculation of Latest times Early and late and critical values
Predecessor :
Vertex i in an AOV network G is a predecessor of vertex j iff there is a directed path from vertex i to vertex j Vertex i is an immediate predecessor of vertex j iff <i, j> is an edge in G
Successor :
If i is a predecessor of j, then j is a successor of i. If i is an immediate predecessor of j, then j is an immediate successor of i
AOV network(cont.)
Transitive
A relation "" is transitive iff for all triples i, j,k, ij and jk => ik
Irreflexive
A relation""is irreflexive on a set S if ii is false for all elements, i, in S.
Partial order
A partial order is a precedence relation that is both transitive and irreflexive
Topological order
A topological order is a linear ordering of the vertices of a graph such that, for any two vertices, i, j, if i is a predecessor of j in the network then i precedes j in the linear ordering.
An AOV network
Topology sort
for (i = 0; i<n; i++) { if every vertex has a predecessor { fprintf(stderr,"Network has a cycle. \n"); exit(1); } pick a vertex v that has no predecessors; output v; delete v and all edges leading out of v from the network; }
Remarks on AOE
Determine the minimum amount of time required to complete a project An assessment of the activities whose duration should be shortened to reduce the overall completion time
Evaluate performance
activity whose duration time should be shortened minimum amount of time
Critical path
A path that has the longest length Minimum time required to complete the project
Earliest time
The earliest time an event, vi, can occur is the length of the longest path from the start vertex v0 to vertex vi
i.e., the earliest start time for all activities represented by edges leaving that vertex denote the time by e(i) for activity ai
Latest time
Latest time :
l(i) of activity, ai, is the latest time the activity may start without increasing the project duration
Projection duration :
length of the longest path from start to finish
Other factors
Critical activity :
An activity for which e(i)= l(i)
Remarks on critical :
The difference between l(i) and e(i) is a measure of how critical an activity is Identify critical activities so that we may concentrate our resources to reduce a project's duration
Critical paths
Critical paths: v0, v1, v4, v7, v8 , length= 18 ; v0, v1, v4, v6, v8 , length= 18