搜索资源列表
sgayiyuanyouhua
- 改进遗传算法-郭涛算法做最优化问题很管用,算法的基本思想是 先任意产生n个随机数,然后从n个数里随机选择m个数,再有这m个 数合成一个新数,将这个新数同n个数中间适应值函数值的最差的比较, 如果好的话就取代最差的那个,如果它比最好的还要好的话,则把最好的 也取代。如果比最差的坏,则重新合成一个新数。依次循环下去。 -improved genetic algorithm - Guo Tao algorithm optimization is the most
half
- 折半查找的算法思想是将数列按有序化(递增或递减)排列,查找过程中采用跳跃式方式查找,即先以有序数列的中点位置为比较对象,如果要找的元素值小于该中点元素,则将待查序列缩小为左半部分,否则为右半部分。通过一次比较,将查找区间缩小一半。 折半查找是一种高效的查找方法。它可以明显减少比较次数,提高查找效率。但是,折半查找的先决条件是查找表中的数据元素必须有序-Binary search algorithm idea is to sequence by ordering (ascending or des
Landlords
- 斗地主出牌算法 根据斗地主出牌规则.对玩家出的牌进行检验.判断是否符合出牌规则. 思路:将玩家的牌按升序排序.然后将牌进行拆分,分存在4个数组中.-Landlords Landlords out a card algorithm based on the licensing rules. On the player out of cards for testing. To determine whether the licensing rules. Idea: The player&
ShellSort
- 自己根据希尔排序的核心思想,用C Sharp实现了希尔排序。更为直观明了。-The shell sort algorithm is realization by myself according to its core idea.
idea
- 关于idea算法加密工具实现的源码,详细解释了idea算法实现的过程和说明-About idea encryption algorithm tools to achieve the source code