虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Max-Int

  • c++二、通过将其元素插入到双向链表中的方法对数组A进行排序。算法对链表的当前操作位置进行维护

    c++二、通过将其元素插入到双向链表中的方法对数组A进行排序。算法对链表的当前操作位置进行维护,当需要插入表项时,若新元素比当前位置值要大,则往前移动;若小则往后移动。编写函数DoubleSort实现上述排序算法。 template <class T> void DoubliSort( T a[], int n)

    标签: 元素 对数 排序 算法

    上传时间: 2013-12-03

    上传用户:gundamwzc

  • 二、通过将其元素插入到双向链表中的方法对数组A进行排序。算法对链表的当前操作位置进行维护

    二、通过将其元素插入到双向链表中的方法对数组A进行排序。算法对链表的当前操作位置进行维护,当需要插入表项时,若新元素比当前位置值要大,则往前移动;若小则往后移动。编写函数DoubleSort实现上述排序算法。 template <class T> void DoubliSort( T a[], int n)

    标签: 元素 对数 排序 算法

    上传时间: 2016-07-15

    上传用户:远远ssad

  • 词法分析器的功能是输入源程序

    词法分析器的功能是输入源程序,输出单词符号。词法分析器的单词符号常常表示成以下的二元式(单词种别码,单词符号的属性值)。 识别保留字:if、int、for、while、do、return、break、continue; 单词种别码为1。 其他的都识别为标识符;单词种别码为2。 常数为无符号整形数;单词种别码为3。 运算符包括:+、-、*、/、=、>、<、>=、<=、!= ; 单词种别码为4。 分隔符包括:,、 、{、}、(、)、【、】; 单词种别码为5。

    标签: 分析器 输入 源程序

    上传时间: 2016-07-15

    上传用户:aig85

  • 多目标遗传算法程序 to run Demo files, is to run SGALAB_demo_*.m what s new: 1) Multiple-Objective GAs

    多目标遗传算法程序 to run Demo files, is to run SGALAB_demo_*.m what s new: 1) Multiple-Objective GAs VEGA NSGA NPGA MOGA 2) More TSP mutation and Crossover methods PMX OX CX EAX Boolmatrix 3) More selection methods Truncation tornament stochastic 4) mutation methods binary single point int/real single point 5) encoding/decoding methods binary integer/real messy gray DNA permuation to fix the plot bugs for 4001 , download this file and replace old files.

    标签: Multiple-Objective SGALAB_demo run files

    上传时间: 2013-12-21

    上传用户:mhp0114

  • 词法分析器 对输入一个函数

    词法分析器 对输入一个函数,并对其分析main() { int a,b a = 10 b = a + 20 }

    标签: 分析器 函数 输入

    上传时间: 2013-12-20

    上传用户:hfmm633

  • 16位A/D转换程序

    16位A/D转换程序,使用MAX+PLUS2做的,用状态机做的,但不够完善,望大家见谅

    标签: 转换 程序

    上传时间: 2016-07-23

    上传用户:赵云兴

  • 基于某一文件创建一个输入流

    基于某一文件创建一个输入流,然后基于某一文件创建一个输出流,定义一个int类型的变量,用来记录读出的字节个数,将输入流中的信息写入字节数组中,使用输出流的方法,将数组中的信息写入文件中

    标签: 输入

    上传时间: 2014-01-04

    上传用户:lwwhust

  • 编写一个冒泡排序的模板

    编写一个冒泡排序的模板,并利用它分别对int型和字符数据进行排序

    标签: 编写 排序 模板

    上传时间: 2016-08-03

    上传用户:R50974

  • The task of clustering Web sessions is to group Web sessions based on similarity and consists of max

    The task of clustering Web sessions is to group Web sessions based on similarity and consists of maximizing the intra- group similarity while minimizing the inter-group similarity. The first and foremost question needed to be considered in clustering W b sessions is how to measure the similarity between Web sessions.However.there are many shortcomings in traditiona1 measurements.This paper introduces a new method for measuring similarities between Web pages that takes into account not only the URL but also the viewing time of the visited web page.Yhen we give a new method to measure the similarity of Web sessions using sequence alignment and the similarity of W eb page access in detail Experiments have proved that our method is valid and e币cient.

    标签: sessions clustering similarity Web

    上传时间: 2014-01-11

    上传用户:songrui

  • LCS,即最常公共子序列的的C语言解法。prepare_for_backdate(char

    LCS,即最常公共子序列的的C语言解法。prepare_for_backdate(char,char,int,int)函数是为后面的回溯法求得最长公共子序列做准备,并可得到子序列长度。lcs(char,int,int)函数是输出子序列的。并用到了第一个函数的结果。因为要得到最终的子序列,要知道那些地方是可输出的位置,因此构造数组b[][],当为1时表明当前位置匹配,可输出,为2时需要往上回溯,为3时需要往左回溯,直到找到下一个为1的位置。而c[][]数组是保存找子序列过程中匹配位数。

    标签: prepare_for_backdate char LCS C语言

    上传时间: 2014-01-11

    上传用户:yuchunhai1990