搜索资源列表
jiaohuanfapaixu
- 本程序介绍了通用排序法中应用选择法排序,并附有对该方法的详细说明!-procedures of the General Sort application selection, in order of the method together with a detailed descr iption!
200661131050069
- 选择排序是一种比较优化的排序,它定义的k意义在于表示一次循环后找到的最小(大)值的位置,然后让第i个(第几次循环就是第几个)植交换,这样在第一轮循环中就把最小(大)的值换到了最前面,如果只用i,j 的话,就没有办法找出待排序数据中的最值了 比较排序也叫冒泡排序,就是把相邻的数据比较交换,因为其把小的数字从后面往前慢慢移动,感觉象水泡上升一样,所以叫冒泡排序法. 如过你还没理解,留言~-SELECTION SORT is a more optimal sequencing, its def
sortcompare
- 排序算法比较:直接插入排序、折半插入排序,起泡排序、快速排序、选择排序、堆排序,/基数排序/,希尔排序法,共八种
Algorithm
- c++经典小程序。包括河内塔 费式数列 巴斯卡三角形 三色棋 老鼠走迷官(一) 老鼠走迷官(二) 骑士走棋盘 八个皇后 八枚银币 生命游戏 字串核对 双色、三色河内塔 背包问题(Knapsack Problem) 数、运算 蒙地卡罗法求 PI Eratosthenes筛选求质数 超长整数运算(大数运算) 长 PI 最大公因数、最小公倍数、因式分解 完美数 阿姆斯壮数 最大
someag
- 各种内部排序法演示,程序对输入的无序序列分别用简单插入,折半插入,一趟快速排序,简单选择排序,堆排序等算法进行排序输出。-internal sequencing demonstrated that the procedures for the importation of disorderly sequences were inserted with a simple, half-inserted, the trip rapid sequencing, simple choice, in ord
C源代码实例
- 包含220个C语言的各种源程序:001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010 猜数字游戏 011 模拟ATM(自动柜员机)界面 012 用一维数组统计学生成绩 013 用二维数组实现矩阵转置 014 求解二维数组的最大/最小元素 015 利用数组求前n个
WL40987330 C语言算法集
- 目录 第一部分 基础篇 001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010&
select
- 选择排序的比较:(1)生成一组随机数以顺序方式存储,并输出。(2)利用选择排序法排序,同时统计比较次数和移动次数,显示结果。(3)利用堆排序法排序,同时统计比较次数和移动次数,显示结果。-Sorted comparison: (a) generating a set of random numbers is stored in a sequential manner, and output. (2) the use of select sort order, and statistical co
code
- 该程序为利用选择排序法给数组排序的程序。-Select the method to use to sort an array of programs.
order
- 通过冒泡排序法和选择排序法实现对若干数字的排序。-To achieve the order of several numbers
Heap-sort
- Heap排序法让搜寻的路径由树根至最后一个树叶,而不是整个未排序部份,因而称之为改良的选择排序法。-Heap sort to make a path the root to search for the last one leaves, rather than the entire unsorted part, which is called a modified selection sort.
xuanzeandcharu
- 选择排序法和直接插入排序法的简单实现代码-Select sort method and direct insertion sort simple implementation code
shell_sort
- 利用fortran编写的选择排序法的例子,是一个经典例子,可以拿来学习和练手-Examples of using the selection sort written in fortran, is a classic example, can be used to learn and practice hand
paixufa
- 主要介绍冒泡排序法跟选择排序法,并区分两者的不同-Describes different sort bubble sort with choices and distinguish between the two
SEARCH
- 数据结构中的三种排序方法编程,分别是直接插入排序法排序,冒泡排序法排序,选择排序法排序,注:只有一个程序有输出,其他两个需要在调试里面看-Three sorted by programming data structures, which are sort of direct insertion sort, bubble sort sort, Sorting, Note: Only one program has output, the other two need to look insid
Selection-method-main4
- 这是用C++语言写的一个用选择排序法排序的程序-This is written in c++ language with a selection method of the program
KNN
- K最邻近密度估计技术是一种分类方法,不是聚类方法。 不是最优方法,实践中比较流行。 通俗但不一定易懂的规则是: 1.计算待分类数据和不同类中每一个数据的距离(欧氏或马氏)。 2.选出最小的前K数据个距离,这里用到选择排序法。 3.对比这前K个距离,找出K个数据中包含最多的是那个类的数据,即为待分类数据所在的类。(K nearest neighbor density estimation is a classification method, not a clustering metho
knn1
- K最邻近密度估计技术是一种分类方法,不是聚类方法。 不是最优方法,实践中比较流行。 通俗但不一定易懂的规则是: 1.计算待分类数据和不同类中每一个数据的距离(欧氏或马氏)。 2.选出最小的前K数据个距离,这里用到选择排序法。 3.对比这前K个距离,找出K个数据中包含最多的是那个类的数据,即为待分类数据所在的类。(K nearest neighbor density estimation is a classification method, not a clustering metho
数字排序
- 对10个数进行排序?1.程序分析:可以利用选择法,即从后9个比较过程中,选择一个最小的与第一个元素交换,??????? 下次类推,即用第二个元素与后8个进行比较,并进行交换。?(The number 10 ranking 1. program analysis: can use the selection method, from 9 months after the comparison process, select a minimum exchange with the first
Desktop
- 冒泡排序;选择排序;直接插入排序;二分法插入排序 topsis和ahp方法(Bubble sort; select sorting; direct insertion sort; dichotomy insertion sort. topsis ahp)