Professional Documents
Culture Documents
Assaignment 3
Assaignment 3
For m>n,
Deleting the sequence of vertices that leads back to the vertex vj,
ANS :
(i) Four Paths from nodes 14 to 15
• Path (14-9-11-10-15)
• Path (14-13-11-10-15)
• Path (14-13-12-17-15)
• Path (14-8-16-12-17-15)
• Cycle (14-13-11-9-14)
• Cyclic (14-9-11-13-14)
• Cyclic (14-13-12-16-8-14)
• Cyclic (14-8-16-12-13-14)
• 11
• 12
• 13
• 14
ANS :
Circuit (P-B-Q)
ANS :
A B C D E
A 0 1 1 0 0
B 1 0 1 0 0
C 1 1 0 1 0
D 0 0 1 0 1
E 0 0 0 1 1
A E
D
C
Q-7 : For the graphs A and B as shown in Fig., calculate
different parameters as given below
ANS :
u
Graph Vortex (v) Edges (e) Alpha Beta
= e-v+1
A 5 7 3 0.6 1.4
B 5 7 3 0.33 1.4
Alpha Index
For planner = u /(2v − 5)
= 2 (e=1 consider)
Relative Cost
25 10
10 10
15
10 10
10 15
10
10
10 20
25
Graph A 85 7 595
MST 40 4 160
GT 150 10 1500
15 15
10 10
15 15
10
10
Graph A
B 85 7 595
MST 40 4 160
GT 125 10 1250
(e=1 consider)
Graph A (a-b-c-d-e-a) = 5e = 5
Graph B (a-b-c-d-e-a) = 5e = 5
ANS :
(i) 16 edges and all vertices of degree 2
e = 16
d = 2
v = ?
∑
d . v = 2e
2 × v = 2 × 16
v = 16
(ii) 21 edges, 3 vertices of degree 4 and others each of degree 3
v = 13
Degree Of Degree of
Graph a Vertex Graph b Vertex
Vertex Vertex
P 3 P 3
Q 4 Q 4
Vertex = 5
Vertex = 5
R 2 R 2
Edges = 8 Edges = 8
S 4 S 4
T 3 T 3