检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈寿文[1]
出 处:《蚌埠学院学报》2012年第6期24-27,共4页Journal of Bengbu University
摘 要:在递归概念的分析基础上,对递归策略求解归并排序问题进行了探讨。通过递归定义归并排序问题,明确了递归策略求解该排序问题的边界条件和递归模式。利用二叉树构建过程模拟归并排序的递归求解步骤,并结合面向对象程序设计思想设计了MergeSort类以封装归并排序数据源和相关排序、合并操作。这为学生理解并掌握递归策略设计算法提供了参考。After analyzing the concept of recursion,it explores how to solve the merge sort problem by u- sing recursion strategy. In order to find the solution, recursively define the merge sort problem to explicit the boundary condition with the schema of recursion about it firstly. Utilizing the construction process of binary tree's to simulate the execution steps about the method. Then,design the MergeSort class based on object orient program method to encapsulate the data source of merge sort algorithm with its relating oper- ation, such as sorting, merging. It provides a consult view for students in understanding and mastering how to design algorithm by using reeursion strategy.
分 类 号:TP301.6[自动化与计算机技术—计算机系统结构] TP311.12[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249