摘要
结合实际问题对"穷举"和"递推"算法的基本思想进行分析,研究算法的实现方法,借助C语言将算法转化为可执行的程序代码。"穷举"算法的关键是找到数据的测试范围和测试标准,并对测试标准的转化技巧、测试范围的控制方法进行了阐述。"递推"算法的归结到对递推初值、递推法则、递推次数三个条件的研究,并从顺推、逆推两个方向分别进行了阐述。
This paper analyzes the basic idea of"exhaustive"and"recursive"algorithm and implementation of the algorithm. The algorithm converted into executable code by C language. "Exhaustive" algorithm focuses find the test data ranges and testing standards. Conversion techniques and testing standards, test range control methods are described. "Recursive" algorithm attributed to the initial value of the recursion, recursive rule, the number of recursive three conditions studied, and in both directions along the push, the reverse push expounded respectively.
出处
《齐齐哈尔大学学报(自然科学版)》
2014年第6期29-32,共4页
Journal of Qiqihar University(Natural Science Edition)
关键词
C语言
穷举算法
递推算法
C language
exhaustive algorithm
recursive algorithm