liyinglan

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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

 

posted on 2016-03-30 21:29  liyinglan  阅读(155)  评论(0编辑  收藏  举报