搜索资源列表
josephus.1
- 描述:设编号为1,2,…,n(n>0)个人按顺时针方向围坐一圈,每人持有一个正整数密码。开始时任意给出一个报数上限值m,从第一个人开始顺时针方向自1起顺序报数,报到m时停止报数,抱m的人出列,从他在顺时针方向上的下一个人起重新自1起顺序报数;如此下去,直到所有人全部出列为止。要求设计一个程序模拟此过程,并给出出列人的编号序列。 .算法思想: Jeseph函数是实现问题要求的主要函数,其算法思想是:从1至m对带头结点的单循环链表循环计数,到m时,输出该结点的编号值,,再从
高校运动会系统
- 任务:参加运动会有n个学校,学校编号为1……n。比赛分成m个男子项目,和w个女子项目。项目编号为男子1……m,女子m+1……m+w。不同的项目取前五名或前三名积分;取前五名的积分分别为:7、5、3、2、1,前三名的积分分别为:5、3、2;哪些取前五名或前三名由学生自己设定。(m=10 , w=8 , n=15) 功能要求: 1). 可以输入各个项目的前三名或前五名的成绩; 2).能统计各学校总分(用链表); 3).可以按学校编号、学校总分、男女团体总分排序输出(快速、基数);
FFT of waveIn audio signals
- The Fast Fourier Transform (FFT) allows users to view the spectrum content of an audio signal. The FFT code presented here was written by Don Cross though his homepage appears to have subsequently been taken down. Rather than explain the mathematical
stacks
- Ex3.6 车皮编序问题 .问题描述: 在一个列车调度站中,1 条轨道连接到1 条侧轨处,形成1 个铁路转轨栈,如下图所示。 其中左边轨道为车皮入口,右边轨道为出口,编号为1,2,…,n 的n 个车皮从入口依次进 入转轨栈,由调度室安排车皮进出栈次序,并对车皮按其出栈次序重新编序a1, a2,., an 。 .编程任务: 给定正整数n,编程计算左边轨道车皮编号依次为1,2,…,n 时,在右边轨道最多可 以得到多少个不同的车皮编序方案
TribeFloodNet2k
- Tribe FloodNet 2k Distributed Denial Of Service Network 分布式拒绝服务工具的源代码,下面为英文说明: TFN can be seen as the yet most functional DoS attack tool with the best performance that is now almost impossible to detect. What is my point in releasing th
huffmancode111
- huffman完整源代码C语言实现,有本人超级详细解释(看不懂你去跳楼吧) 算法设计: 1、对给定的n个权值{W1,W2,W3,...,Wi,...,Wn}构成n棵二叉树的初始集合F={T1,T2,T3,...,Ti,...,Tn},其中每棵二叉树Ti中只有一个权值为Wi的根结点,它的左右子树均为空。(为方便在计算机上实现算法,一般还要求以Ti的权值Wi的升序排列。) 2、在F中选取两棵根结点权值最小的树作为新构造的二叉树的左右子树,新二叉树的根结点的权值为其左右子树的根结点的权值之
67
- 一, 一般步骤 (1),消除或减小恒定系差 (2),求测量数据的数学期望 ,即算术平均值 : , 其中n为测量数据次数, 为第 次测量的数据。 (3),求剩余误差 : (4),根据贝塞尔公式求标准偏差 : (5),检查是否有粗大误差。检查时用了肖维纳准则。如果某次测量的结果 所对应的 ,则认为是坏值,予以剔除。 (6),如有坏值,剔除后重新进行步骤(2)~(5)的计算,直至无坏值为止。 (7),判断有无变值系差。判断是可用马利科夫准则或阿卑—赫梅
udptransport
- 基于UDP实现简单的可靠数据传输 由于数据是在不可靠的信道上传输的,因此数据在信道上传输时可能会发生比特错误,数据丢失。Rdt3.0及之前的版本都是停止—等待协议,它限制了网络底层硬件的能力。为克服这个问题引入了流水线技术,两个能恢复流水线中的错误的基本方法:第N个分组重发和选择性重复。综上,要实现差错编码,顺序号,计时器,分组确认,滑动窗口,拥塞控制。-simple UDP based on the reliable data transmission of data is not rel
netwarchess
- 主要函数介绍: Init1() 程序启动时加载初始化 Init() 重新布棋初始化 Image0MouseDown 点到主棋盘空白处进行判断是否可以在此处布棋 Image1MouseDown 点到自方棋子记录原始的oldID、oldX、oldY的值 Image26MouseDown 点到对面棋进行判断 Image101MouseDown 点到副棋盘空白处进行判断是否可以在此处放棋 -main function presentations : Init1 () comm
google9_3
- You are given a String[] grid representing a rectangular grid of letters. You are also given a String find, a word you are to find within the grid. The starting point may be anywhere in the grid. The path may move up, down, left, right, or diagonally
FileWatch_demo
- This class helps you to monitor files like in the DevStudio. If the file is modified outside your application a message box pops up and lets you choose between ignoring modifications or reloading the data, thus discarding all changes. -This class hel
mulal
- This is the machine-generated representation of a Handle Graphics object and its children. Note that handle values may change when these objects are re-created. This may cause problems with any callbacks written to depend on the value of the ha
pentaho_data-1.2.0.534-GA
- A complete business intelligence platform that includes reporting, analysis (OLAP), dashboards, data mining and data integration (ETL). Use it as a full suite or as individual components that are accessible via web services. Ranked #1 in open source
Language_model_learning_in_English
- state of art language modeling methods: An Empirical Study of Smoothing Techniques for Language Modeling.pdf BLEU, a Method for Automatic Evaluation of Machine Translation.pdf Class-based n-gram models of natural language.pdf Distributed Lang
n-arq
- n-arq算法实现。这是一个数据链路层协议连续请求重发的实现算法。-Algorithm n-arq. This is a data link layer protocol request for re-implementation of the algorithm hair.
codedesign
- 用 C++编写简单的语句,实现输出 N重二进制码!-Using C++ to prepare a simple statement, re-N achieve output binary code!
2dfa
- 这是由RE转NFA再转DFA,最后识别的程序。参考了龙书和陈火旺的书,此程序最终完成的是下面网站要求的功能。http://info.ruc.edu.cn/wangqiuyue/comp_theory.htm-这是由RE转NFA再转DFA,最后识别的程序。参考了龙书和陈火旺的书,http://info.ruc.edu.cn/wangqiuyue/comp_theory.htm
N-huanghou
- 人工智能中的经典算法之一。对问题的多个分支选择一支进行探索,当探索到某一步时,发现原先选择并不优或达不到目标,就退回一步重新选择 回溯法适合用栈实现。探索过程当中入栈,退栈时返回分支选择的现场 -One of the classic algorithms in artificial intelligence. Multiple branches of the problem, choose one to explore, explore a step that the original
Nmatlab-n-nete
- 神经网络是单个并行处理元素的集合,我们从生物学神经系统得到启发。在自然界,网络络功能主要由神经节决定,我们可以通过改变连接点的权重来训练神经网络完成特定的功能 -The neural network is a collection of a single parallel processing elements, we are inspired by biological nervous system. In nature, the network network function is d
Transitive-Re-identification
- 行人再识别。人再次鉴定的准确性可以显著提高给定一个训练集,演示了外表的变化与非重叠的两个摄像头。我们测试时是否能保持这种优势直接标注的训练集并非对所有现场camera-pairs可用。给定的训练集捕捉相机A和B之间的对应关系和不同的训练集捕捉相机B和C之间的对应关系,传递鉴定算法(TRID)建议提供了一个分类器(A,C)对外观。该方法是基于统计建模和使用一个边缘化的推理过程。这种方法可以显著减少注释工作固有的学习系统。-Person re-identification accuracy can
