EXERCISES Section 2.3 7(a)~(d)
(a)
(b)MAXPRIMES = 4
(c) t = (n = 1)
(d) node coverage: TR = {0,1,2,3,4,5,6,7,8,9,10,11,12,13}
edge coverage: TR = {(0,1),(1,2),(1,10),(2,3),(3,4),(4,5),(4,8),(5,6),(5,7),(6,8),(7,4),(8,1),(8,9),(9,1),(10,11),(10,12),(11,10)}
prime path coverage: TR : [0,1,2,3,4,5,6,8,9]
[0,1,2,3,4,5,7]
[0,1,2,3,4,8,9]
[0,1,10,12]
[0,1,10,11]
[1,2,3,4,5,6,8,9,1]
[1,2,3,4,5,6,8,1]
[1,2,3,4,8,1]
[1,2,3,4,8,9,1]
[2,3,4,5,6,8,9,1,2]
[2,3,4,5,6,8,1,2]
[2,3,4,8,9,1,2,]
[2,3,4,8,1,2]
[3,4,5,6,8,9,1,2,3]
[3,4,5,6,8,1,2,3]
[3,4,8,9,1,2,3]
[3,4,8,1,2,3]
[4,5,6,8,9,1,2,3,4]
[4,5,6,8,1,2,3,4]
[4,8,9,1,2,3,4]
[4,8,1,2,3,4]
[4,5,7,4]
[5,7,4,5]
[5,6,8,9,1,2,3,4,5]
[5,6,8,1,2,3,4,5]
[6,8,9,1,2,3,4,5,6]
[6,8,1,2,3,4,5,6]
[7,4,5,7]
[8,9,1,2,3,4,5,6,8]
[8,9,1,2,3,4,8]
[8,1,2,3,4,5,6,8]
[8,1,2,3,4,8]
[9,1,2,3,4,5,6,8,9]
[9,1,2,3,4,8,9]
[10,11,10]
[11,10,11]
-------------------------THE END-----------------------
P.S. HBD MINO!!!!!!:) 30 MAR, 2016