资源列表
DineRun
- 哲学家吃饭问题 当五个人都拿到左手边筷子,都等待拿右手边筷子,则因为谁都不能放下手中的筷子,这样就进入无止境的等待,构成死锁 * 解决方法1:奇数号先拿左边的筷子,偶数号先拿右边的筷子,即相邻两个人先拿其中间夹的筷子,使这个筷子成为临界资源; * 解决方法2:两边的筷子都空闲时,再拿筷子,if(chopstick.flag(n)==false&&chopstick.flag(n 5)==false); * 解决方法3:只允许(n-1)个人同时进餐; * 本程序采用方
file-cscope
- A shell scr ipt that used to create cscope file list for cross index. Just put it into kernel directory, run this scr ipt, then run cscope -bk.-A shell scr ipt that used to create cscope file list for cross index. Just put it into kernel director
shellbat
- 一个利用SHELL调用批处理的源码,利用API的句柄检查是否批处理执行完成,可等批处理执行完成后,再执行VB的下一行代码。-SHELL invoked using a batch of source code, using API' s handle to check the implementation of the completion of a batch could be the implementation of such a batch is completed, the im
klahkahs
- 取文件时间模块,很好的易模块,适合易编程者使用-Get file time module, a very good and easy module, suitable and easy to use programming
VBSHELL
- VB shell等待,等待被调用的程序执行完毕。-VB shell waiting, waiting for the called program is finished.
Back-Propagation
- Back Propagation Algorithm in Neural Network.
game-of-life
- 说明生命游戏(game of life)为1970年由英国数学家J. H. Conway所提出,某一细胞的邻居包 括上、下、左、右、左上、左下、右上与右下相邻之细胞,游戏规则如下: 孤单死亡:如果细胞的邻居小于一个,则该细胞在下一次状态将死亡。此为c语言实现的算法。-Algorithm Gossip is a classic arithmetic program,which you should have a good look.
galton
- ConvertWC_2_MB AND ConvertWC_2_MB unicode 转换-unicode change
qxnh
- 本代码使用最小二乘法完成两特性曲线的拟合 可输入拟合点个数-Least squares curve fitting
ellipse
- 绘制椭圆,输入为椭圆中心坐标,方向,角度-drawing ellipse
matble-pso
- 带交叉因子的改进粒子群优化算法,有详尽的解释-improved pso
modified-of-untitled12
- the source code is for asking the user a password and grant or cancel the login process to other part of the software.