正在加载图片...
2. Repeat until the open list has only one node left )From open pick two nodes having the lowest equencies/probabilities, create a parent node of them (b) Assign the sum of the children,'s frequencies/probabilities to the parent node and insert it into OPEN (c) Assign code 0, I to the two branches of the tree, and delete the children from open Symbol Count OPEN (1)OPEN (2)OPEN (3) B 10 C 3 Total ndicate merge node with other node with number in column2. Repeat until the OPEN list has only one node left: (a) From OPEN pick two nodes having the lowest frequencies/probabilities, create a parent node of them. (b) Assign the sum of the children's frequencies/probabilities to the parent node and insert it into OPEN. (c) Assign code 0, 1 to the two branches of the tree, and delete the children from OPEN. Symbol Count OPEN (1) OPEN (2) OPEN (3) A 8 20 B 10 C 3 7 12 - D 4 - E 5 - Total 30 - indicate merge node with other node with number in column
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有