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

doc<b>web-Inf</b>classes

  • crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC

    crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下: (1) 设要发送的数据对应的多项式为P(x)。 (2) 发送方和接收方约定一个生成多项式G(x),设该生成多项式 的最高次幂为r。 (3) 在数据块的末尾添加r个0,则其相对应的多项式为M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),获得商Q(x)和余式R(x),则 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2运算,T(x)所对应的数据是在原数 据块的末尾加上余式所对应的数据得到的。 (6) 发送T(x)所对应的数据。 (7) 设接收端接收到的数据对应的多项式为T’(x),将T’(x)除以G(x) ,若余式为0,则认为没有错误,否则认为有错

    标签: crc CRC 多项式 位运算

    上传时间: 2014-01-16

    上传用户:hphh

  • displaytag的使用方法 首先当然是要下载它的jar包了

    displaytag的使用方法 首先当然是要下载它的jar包了,这里可以下载到最新的版本。将jar包放到WEB-INF的lib文件夹下。另外还需要两个辅助包:apache的commons-lang和standard包

    标签: displaytag jar

    上传时间: 2014-01-22

    上传用户:cc1

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    标签: represented integers group items

    上传时间: 2016-01-17

    上传用户:jeffery

  • 欢迎使用eWebSoft在线文本编辑器飞鱼修改版 。 JSP+XML+BEAN 部署方式: 直接把压缩目录中的文件拷贝到您的网站发布目录下即可。 修改: 一般来说

    欢迎使用eWebSoft在线文本编辑器飞鱼修改版 。 JSP+XML+BEAN 部署方式: 直接把压缩目录中的文件拷贝到您的网站发布目录下即可。 修改: 一般来说,您只要修改/WEB-INF目录下面的style.xml和button.xml就可以了。 应用:请参考index.jsp和submit.jsp。

    标签: eWebSoft BEAN JSP XML

    上传时间: 2013-12-26

    上传用户:windwolf2000

  • 一个学习MVC的很好的实例 此项目以JSP、servlet、JavaBean实现MVC三层架构

    一个学习MVC的很好的实例 此项目以JSP、servlet、JavaBean实现MVC三层架构,*仅供参考* 环境:eclipse_3.2、myeclipse_5.1、jdk_6.0、tomcat_5.5、数据库sql server 2005 为方便调试,未设置默认首页,请从bookworm.jsp登陆 数据库端口、帐户、密码等可能有所不同,请到BookStore\WebRoot\WEB-INF下的 connection.xml文件中更改配置

    标签: MVC JavaBean servlet JSP

    上传时间: 2014-11-26

    上传用户:gonuiln

  • 用游标的方法实现对称差的计算

    用游标的方法实现对称差的计算,即 (A-B)+(B-A)

    标签: 对称 计算

    上传时间: 2016-05-23

    上传用户:远远ssad

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

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

    标签: 分析器 函数 输入

    上传时间: 2013-12-20

    上传用户:hfmm633

  • 基因算法

    基因算法,用VC++或MATLAB,java等工具设计一程序计算任一个随机产生的DNA基因表达式的有效长度和值 设随机产生的基因表达式为: + Q - / b * b a Q b a a b a a b b a a a b

    标签: 基因 算法

    上传时间: 2014-01-09

    上传用户:aa54

  • 函数再现机构设计 试设计一曲柄摇杆机构

    函数再现机构设计 试设计一曲柄摇杆机构,再现函数 要求: 输入构件的转角范围180°,输出构件摆角范围30°,即: 当输入构件从a转至a+90时,输出构件从b转至b+30 当输入构件从a+90转至a+180时,输出构件从b+30转至b

    标签: 机构 函数 曲柄

    上传时间: 2013-12-17

    上传用户:英雄

  • 用Itext生成Pdf格式文件。 1、新建一个Java工程 2、在工程下新建一个包smart.app.pdf 3、将Source下的所有类拷贝到新建的包smart.app.pdf里面 4

    用Itext生成Pdf格式文件。 1、新建一个Java工程 2、在工程下新建一个包smart.app.pdf 3、将Source下的所有类拷贝到新建的包smart.app.pdf里面 4、将Enviroument里面的ExportPDF.jar放到工程的WebRoot\WEB-INF\lib下 5、将JSP文件夹下的JSP页面拷贝到工程的WebRoot下 6、运行工程就可以调用类CreatPdf.java就可生成pdf;

    标签: smart app Source

    上传时间: 2016-10-07

    上传用户:R50974