-
编译原理实验LL1文法判断C语言实现
应用背景编译原理实验中的LL1文法判断,输入文法,分为可推出空判断、first集、follow集、select集的计算,最后判断是否是LL1文法。代码有注释,各模块功能齐全。关键技术用到了一些C库函数,代码还可进行精简,注重代码重用,阅读容易。
- 2022-06-18 06:44:54下载
- 积分:1
-
交通仿真(排队论)小程序
This is the project of my course in the USA:
Customers
arrive at a service station (with a single server) according to the Poisson
process with a mean arrival rate of lambda = 0.3 (customers/min). Each customer
waits in queue (if present), proceeds to receive service upon his/her turn, and
departs the system when the service is completed. The service time is uniformly
distributed between 2.5 and 4.5 minutes. On each day, the service station is
open for two hours. Any customers in queue at the end of work hours are served
before closing the service station for the day. Use simulation (do 100
simulation runs) to determine
- 2023-02-02 14:55:04下载
- 积分:1
-
国际象棋骑士遍历问题
国际象棋的骑士遍历也称跳马问题、马踏棋盘问题:在8*8方格的国际象棋棋盘上,从任意指定的方格出发,为象棋中的马寻找一条走遍棋盘每一格并且只经过一次的一条路径。程序从“深度优先”、“广度优先”两种算法思想入手,并设计了Java GUI界面,很好地展示了骑士遍历的过程。
- 2022-03-24 22:04:15下载
- 积分:1
-
ECC密码体制
这本书包含了有关ECC密码的基本知识!从互联网上获得的最好的书希望你会喜欢阅读;
- 2022-08-05 12:22:12下载
- 积分:1
-
MATLAB编写的模拟退火算法的m文件,蛮不错的呦。
MATLAB编写的模拟退火算法的m文件,蛮不错的呦。-MATLAB prepared simulated annealing algorithm m documents Yo pretty good.
- 2022-11-10 06:55:03下载
- 积分:1
-
旅行商问题
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅...
旅行商问题
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅费)最小。
例如:给定4个城市{1,2,3,4}及其各城市之间的路程
最优路线是1,3,2,4,1,
其最短路程是25-a salesman, traveling salesman problem, a number of cities to sell commodities, the known distance between the city (or travel). He selected from a resident, after each city again, the last resident to return to the line, making the total distance (or travel) is the smallest. For example : given four cities (1,2,3,4) and the distance between the city optimal route is 1,3,2,4, 1, the shortest distance is 25
- 2022-03-31 13:34:20下载
- 积分:1
-
java外部排序与内存排序
生成一个具有10,000,000个记录的文本文件,其中每个记录由100个字节组成。实验只考虑记录的一个属性A,假定A为整数类型。记录在block上封装时,采用non-spanned方式,即块上小于一个记录的空间不使用。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-01 01:23:44下载
- 积分:1
-
波峰值频率
项目包括一个测试实施的Goertzel算法频率的认可。说明:给出的主导间距为给定的选择视觉逼近。你可以得到相当准确的读数清洁或中档合成的信号,但仍可能会遇到不准确的较低的低音频率或更复杂的信号。包括一个可调节的滚动条来估计一波剪辑的平均节奏。选择样本的足够数目(约2000至4000)。首选的.wav格式为16位,44100千赫,单声道/立体声。
- 2022-05-31 17:39:38下载
- 积分:1
-
离散代码
资源描述离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码离散数学代码
- 2023-06-26 20:00:03下载
- 积分:1
-
该代码是《科学与工程数值算法》(visual C++实现)一书中的源代码,里面包括常见的数值算法的实现,主要包括复数运算、矩阵运算、线性方程组的求解、非线性方程...
该代码是《科学与工程数值算法》(visual C++实现)一书中的源代码,里面包括常见的数值算法的实现,主要包括复数运算、矩阵运算、线性方程组的求解、非线性方程组的求解以及差值和数值积分的实现。-The code is " Science and Engineering, Numerical Algorithms" (visual C++ to achieve) the book" s source code, which include the common realization of numerical algorithm, including complex calculations, matrix operations, linear equations, nonlinear equations, as well as the margin and the achievement of numerical integration.
- 2022-01-31 18:20:24下载
- 积分:1