PERT/CPM - PowerPoint PPT Presentation

About This Presentation
Title:

PERT/CPM

Description:

Initialize fin[v] = 0 for all vertices v. A. B. C. G. H. D. E. F. I. 4 ... Initialize fin[v] = 0 for all vertices v. Consider vertices v in topological order: ... – PowerPoint PPT presentation

Number of Views:162
Avg rating:3.0/5.0
Slides: 13
Provided by: kevin59
Category:
Tags: cpm | pert | fin

less

Transcript and Presenter's Notes

Title: PERT/CPM


1
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.

F
D
3
6
E
time
5
C
H
I
A
B
G
0
6
4
0
2
4
2
PERT/CPM
  • Algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.

0
earliest finish time
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
3
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
4
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
5
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
6
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
7
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
8
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
9
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
10
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
11
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

0
0
F
D
3
0
6
E
5
0
0
0
0
0
0
C
H
I
A
B
G
0
6
4
0
2
4
12
PERT/CPM
  • PERT/CPM algorithm.
  • Compute topological order of vertices A B C D
    E F G H I.
  • Initialize finv 0 for all vertices v.
  • Consider vertices v in topological order
  • for each edge v-w, set finw max(finw,
    finv timew)

13
10
F
D
3
15
6
E
critical path
5
19
0
6
25
25
4
C
H
I
A
B
G
0
6
4
0
2
4
Write a Comment
User Comments (0)
About PowerShow.com