搜索资源列表
递归算法快速排序
- 分而治之方法还可以用于实现另一种完全不同的排序方法,这种排序法称为快速排序(quick sort)。在这种方法中, n 个元素被分成三段(组):左段l e f t,右段r i g h t和中段m i d d l e。中段仅包含一个元素。左段中各元素都小于等于中段元素,右段中各元素都大于等于中段元素。因此l e f t和r i g h t中的元素可以独立排序,并且不必对l e f t和r i g h t的排序结果进行合并。m i d d l e中的元素被称为支点( p i v o t )。图1 4
tushendu
- 图的深度遍历,输出结果为(红色为键盘输入的数据,权值都置为1): 输入顶点数和弧数:8 9 输入8个顶点. 输入顶点0:a 输入顶点1:b 输入顶点2:c 输入顶点3:d 输入顶点4:e 输入顶点5:f 输入顶点6:g 输入顶点7:h 输入9条弧. 输入弧0:a b 1 输入弧1:b d 1 输入弧2:b e 1 输入弧3:d h 1 输入弧4:e h 1 输入弧5:a c 1 输入
ibe具有认证功能算法
- 1 Boneh-Franlin的IBE算法主要由四个子算法组成:Setup,Extract,Encrypt和Decrypt,分别完成系统参数建立、密钥提取、加密和解密的功能。假定消息的明文空间为 ,密文空间 。 (1)、建立: 给定一个安全参数 k蝂+ Step 1: 执行G生成一个素数q, 两个q阶群G1, G2 , 和一个可用的双线性映射 ê: G1碐1瓽2。 此外选取G1 任一生成元 P蜧1,再选取两个HASH函数 H3:{ 0, 1}n×{0, 1}n。 -?, H4:。 :{ 0,
hyplas
- ************************************************************************ * * * * * THIS IS THE H Y P L A S 2.0 README FILE * * ----------------- * * * * HYPLAS is a finite element program for implicit small and large * * strain analisys of hyperelast
antnet-1.1.rar
- Programming language: Developed in Omnet++. Comment: The model implements the AntNet routing algorithm proposed in: G. Di Caro and M. Dorigo. AntNet: Distributed Stigmergetic Control for Communications Networks. Journal of Artificial Intelligence Re
Strapdown
- 一、数据说明: 1:惯导系统为指北方位的捷连系统。初始经度为116.344695283度、纬度为39.975172度,高度h为30米。 初速度为v0=[0.000048637 0.000206947 0.007106781],飞行高度不变。 2:jlfw中为600秒的数据,陀螺仪和加速度计采样周期分别为为1/80秒和1/80秒。 3:初始姿态角为[0.120992605 0.010445947 91.637207](俯仰,横滚,航向,单位为度), jlfw中保存的为比力信
1-9
- 1-9数字填入三个分式的a-i中,使a/bc+d/ef+g/hi=1成立-1-9 the number of fill in the three fraction of ai, so that a/bc+ d/ef+ g/hi = 1 to set up
G.984.1-200303
- GPON 标准 GPON ITU 标准 G984.1-2003 -GPON ITU standard G984.1-2003
caculateAmulBequalCC
- 计算这个智力题: 在这个乘法算式里,每一个字母代表着0-9中的一个数,不同字母代表不同数。 A B C D E F G H * A J --------------------- E J A H F D G K C B D F H A J E C --------------------- C C C C C C C C C 请问,C 代表哪个数字?-Calculation of the intellectual questions: In th
longest
- Problem B:Longest Ordered Subsequence A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any sequence (ai1, ai2, ..., aiK), where 1 <= i1 < i2 < ... &l
Untitled1
- 【问题描述】 设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。 【基本要求】 (1)初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树; (2)编码:利用建好的哈夫曼树生成哈夫曼编码; (3)输出编码; (4)设字符集及频度如下表: 字符:A B C D E F 频度:4 9 23 2 17 15 字符:G H I J K 频度:1 2 3 3 4 -【Descr iption】 d
hqp-1.9.5.tar
- HQP is a solver for nonlinearly constrained large-scale optimization. It is intended for problems with sufficient regular sparsity structure. Such optimization problems arise e.g. from the numerical treatment of optimal control problems. External int
FE2d132
- Finite element program written by Charles G. Dietz 2D model incorporating grids, beams, and quads PowerBasic 9.00 (32 bit compiler)
particle-filting
- 粒子滤波算法摆脱了解决非线性滤波问题时随机量必须满足高斯分布的制约条件 并在一定程度上解决了粒子数样本匮乏问题 因此近年来该算法在许多领域得到成功应用$目前已有许多会议和讨论组都将粒子滤波作为专题进行深入讨论和学术交流-QJPRQ Elc8&m :jelf dgwd99&jvdej gq:c&decwe 9d:ejv&chj&ec:d:cqi:pcrcw’8jfjgmdeelcg g&jgcd:"g g= #diqqjdghj&ec:9: u&cfCelcmcgc:jvjwcdq h9d:e
particlefilterprogram
- 对粒子滤波算法的原理和应用进行综述’首先针对非线性非高斯系统的状态滤波问题C阐述粒子滤波的原理D然后在分析采样=重要性=重采样算法基础上C讨论粒子滤波算法存在的主要问题和改进手段D最后从概率密度函数的角度出发C将粒子滤波方法与其他非线性滤波算法进行比较C阐明了粒子滤波的适应性C给出了粒子滤波在一些研究领域中的应用C并展望了其未来发展方向-QJPRQ Elc8&m :jelf dgwd99&jvdej gq:c&decwe 9d:ejv&chj&ec:d:cqi:pcrcw’8jfjgmdeelc
LDPC
- 这是关于LDPC信道编码模块设计的程序 打开源程序,先运行gengrate_h.m程序,陆续将码长设置为756bit,列重设置为3,行重设置为9。在Workspace中同时将H、A、B、C、D、E、Hget、Fget、g、Tget这是个变量选择另存为encode_in.mat 格式。再运行main_encode.m进行编码,主程序运行后,在当前目录下,自动生成编码结果文件“encode—out.mat”,这将作为下一次扩频调制仿真实验的的输入信号。最后分别查看Workspace中的变量s
getWeights
- When used to mean force, its magnitude (a scalar quantity), often denoted by an italic letter W, is the product of the mass m of the object and the magnitude of the local gravitational acceleration g [3] thus: W = mg. When considered a vector, weight
DBMM
- 单表密码 定义: 1、 明表: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2、 明文 they will arrive tomorrow 3、 密钥 K=Monday 4、 密码实现 1) 将明文与密钥转为数字串: K=(12,14,13,3,0,24)
Matlab_MA3457
- MATLAB Course Adriana Hera puting Communications Center Computing & Communications Center 1 . V ariables, Operators 2.Matrices 3.Matlab Functions 4.Relational operators & Loops (Flow Control) 5.scr ipts 6 U D fi d F ti 6 . U ser D e
spgl1_1.9
- %SPGL1 Solve basis pursuit, basis pursuit denoise, and LASSO % % [x, r, g, info] = spgl1(A, b, tau, sigma, x0, options) % % --------------------------------------------------------------------- % Solve the basis pursuit denoise (BPDN) problem
