检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:杨晓明[1]
机构地区:[1]西安翻译学院,陕西西安710105
出 处:《电子测试》2014年第3期48-49,43,共3页Electronic Test
摘 要:根据冒泡排序算法的基本原理,对冒泡排序算法进行了一定的改进,使每一趟循环从只能确定一个最大数或最小数,改进为可以确定最大、最小两个数,通过设置监视哨,使循环在序列已有序时及时退出,从而减少循环次数,降低时间复杂度,优化算法。According to its basic principle, the bubble sort algorithm is improved---each cycle of such algorithm, which used to determine a maximum or a minimum number,can determine both the maximum and minimum numbers at the same time.In order to make circulation exit timely when the sequence has its order,the times of circulation and time complexity will be reduced and the algorithm will be optimized by setting the surveillance.
分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.116.43.130