搜索资源列表
ds_baogao
- 哈夫曼编码与解码演示程序 1、 从初始界面中给出的信息选择相应功能; 2、 从终端读入字符集大小n,以及n个字符和n个权值。建立huffman树,并将它存于文件hfmtree.dat中 3、 利用已经建好的huffman树对文件tobetran.dat中的正文进行编码,然后将结果存入文件codefile.dat中; 4、 利用已经建好的huffman树将文件codefile.dat中的代码进行译码,结果存入文件textfile.dat中; 5、 将文件codefile.dat
6
- (1) 从终端读入字符集大小为n(即字符的个数),逐一输入n个字符和相应的n个权值(即字符出现的频度),建立哈夫曼树,将它存于文件 hfmtree 中。并将建立好的哈夫曼树以树或凹入法形式输出 对每个字符进行编码并且输出。 (2) 利用已建好的哈夫曼编码文件 hfmtree ,对键盘输入的正文进行译码。输出字符正文,再输出该文的二进制码。 -(1) read from the terminal into the character set of size n (ie the numbe
nbody
- 模拟n-body,用并行库mpi去模拟n-body问题的simulation-Analog n-body simulation to simulate the n-body problem with parallel library mpi
nBody_seq
- Simple all-pairs algorithm for N-body simulation and 3 scenarios of initial conditions.
ellipse-master (1)
- Solar system simmulator in Oxygine N-body simmulation of solar system. Simmulation is done using boost odeint using this example. It is possible to move camera and zoom in and out using mouse wheel/two touches. Following toolbar buttons are pr
