摘要
提出一种生成所有堆的枚举算法。该算法按照从深层次向低层次的顺序生成堆,采用单个数判断法。测试结果验证了该算法的有效性和可靠性。
An enumerating algorithm to generate all heaps is proposed in the article. The algorithm generates heaps from deeper levels to lower levels by making judgments of single number. Test results have validated the effectiveness and reliability of the algorithm.
出处
《计算机应用与软件》
CSCD
北大核心
2012年第7期264-265,273,共3页
Computer Applications and Software
关键词
生成
堆
枚举
单个数判断
Generation Heap Enumerating Judgment of single number