n皇后问题求解(8<=n<=1000) a) 皇后个数的设定 在指定文本框内输入皇后个数即可,注意: 皇后个数在8和1000 之间(包括8和1000) b) 求解 点击<Solve>按钮即可进行求解. c) 求解过程显示 在标有Total Collision的静态文本框中将输出当前棋盘上的皇后总冲突数. 当冲突数降到0时,求解完毕. d) 求解结果显示 程序可以图形化显示8<=n<=50的皇后求解结果. e) 退出程序,点击<Exit>即可退出程序.
上传时间: 2016-01-28
上传用户:ztj182002
文件名 :test3.c * 文件描述:预测分析法实现的语法分析器。分析如下文法: * E->E+T | E-T | T * T->T*F | T/F |F * F->(E) | i * 输入:每行含一个表达式的文本文件(#号结束)。 * 输出:分析成功或不成功信息。 * 创建人:余洪周 <nick19842000.cublog.cn> 2006-12-16 * 版本号:1.0 * 说明 :为了表示的方便采用了如下的所示表示方法: * A=E B=T * 非终结符:0=E 1=E 2=T 3=T 4=F * 终结符 :0=i 1=+ 2=- 3=* 4=/ 5=( 6=) 7=#
上传时间: 2013-12-21
上传用户:cylnpy
Floyd-Warshall算法描述 1)适用范围: a)APSP(All Pairs Shortest Paths) b)稠密图效果最佳 c)边权可正可负 2)算法描述: a)初始化:dis[u,v]=w[u,v] b)For k:=1 to n For i:=1 to n For j:=1 to n If dis[i,j]>dis[i,k]+dis[k,j] Then Dis[I,j]:=dis[I,k]+dis[k,j] c)算法结束:dis即为所有点对的最短路径矩阵 3)算法小结:此算法简单有效,由于三重循环结构紧凑,对于稠密图,效率要高于执行|V|次Dijkstra算法。时间复杂度O(n^3)。 考虑下列变形:如(I,j)∈E则dis[I,j]初始为1,else初始为0,这样的Floyd算法最后的最短路径矩阵即成为一个判断I,j是否有通路的矩阵。更简单的,我们可以把dis设成boolean类型,则每次可以用“dis[I,j]:=dis[I,j]or(dis[I,k]and dis[k,j])”来代替算法描述中的蓝色部分,可以更直观地得到I,j的连通情况。
标签: Floyd-Warshall Shortest Pairs Paths
上传时间: 2013-12-01
上传用户:dyctj
//构造具有指定的标签的菜单 files = new Menu("文件(F)") compile = new Menu("编辑(E)") see = new Menu("查看(V)") format = new Menu("格式(O)") font = new Menu("字体和颜色(F)...") //在格式菜单下再添加一个字体及颜色的菜单 help = new Menu("帮助(H)") //构造具有指定的标签的菜单项 news = new MenuItem("新建(N)" + " " + "Ctrl+N") open = new MenuItem("打开(O)..." + " " + "Ctrl+O") save = new MenuItem("保存(S)" + " " + "Ctrl+S") other = new MenuItem("另存为(A)...") page = new MenuItem("页面设置(U)...") mim = new MenuItem("打印(P)..." + " " + "Ctrl+P") quit = new MenuItem("退出(X)")
上传时间: 2016-02-27
上传用户:小儒尼尼奥
Generate 100 samples of a zero-mean white noise sequence with variance , by using a uniform random number generator. a Compute the autocorrelation of for . b Compute the periodogram estimate and plot it. c Generate 10 different realizations of , and compute the corresponding sample autocorrelation sequences , and . Compute the average autocorrelation sequence as and the corresponding periodogram for . d Compute and plot the average periodogram using the Bartlett method. e Comment on the results in parts (a) through (d).
标签: zero-mean Generate sequence variance
上传时间: 2016-03-04
上传用户:朗朗乾坤
A Guide To Digital Design And Synthesis - 2Nd Ed 2003A Guide To Digital Design And Synthesis - 2Nd Ed 2003
标签: Synthesis Digital Design Guide
上传时间: 2016-03-04
上传用户:洛木卓
基于OFDM的无线宽带系统仿真It contains mainly two parts, i.e. link-level simulator and system-level simulator. Link-level simulator focus on a single-cell single-user scenario, where signal is transmitted from tx, and estimated at rx. Comparing the difference in tx/rx signal, the error rate can be found out. The output of the link-level simulator is the BLER/BER vs. SNR mapping table, that can be used for the system-level simulation. System-level simulator focus on a multi-cell multi-user scenario. For the sake of simplicity, it takes the mapping table aquired in the link-level simulation, measure the actural SNR, and finds the corresponding error rate.
标签: simulator i.e. system-level link-level
上传时间: 2016-03-15
上传用户:xsnjzljj
PHILIPS 7130 TV/FM capture card use PHILIPS 7130 chip , is a newly built-in TV card integrating FM radio and TV receiver. You can watch/record TV programs (up to 136 channels) and FM radio on PC. The powerful attached software enables you to & rename favorite channels as per your taste. Moreover, the remote controller makes watching TV through PC more convenient. Through PHILIPS 7130 TV/FM capture card, you can transfer & save the full screen/full motion video captured VCR, camcorder, PC camera or other video sources into hard disk, or you can burn the video to VCD/SVCD/DVD via professional rewrite software. PHILIPS 7130 TV/FM capture card supports snapshot, you can record wonderful clips to create your personal e-album, then share your works with your friends & family via Internet.
标签: PHILIPS 7130 card integrating
上传时间: 2013-12-26
上传用户:han_zh
This document is intended to serve as an introduction to Wavelet processing through a set of Matlab experiments. These experiments will gives an overview of three fundamental tasks in signal and image processing : signal, denoising and compression. These scripts are selfs contents (needed additional Matlab functions can be downloaded while reading the lectures). Each one of these five lectures should take between 1h and 2h in order to tests the various features of the scripts. One should copy/paste the provided code into a file names e.g. tp1.m, and launch the script directly from Matlab comand line > tp1 . Some of the scripts contains "holes" that you should try to fill on your own. I also provide the complete correction of these lectures as a set of Matlab scripts, but you should try as much as possible to avoid using them.
标签: introduction processing document intended
上传时间: 2016-03-22
上传用户:qlpqlq
This demonstration shows how a ZigBee coordinator can be set up. This demo allows the Demonstration Board (PICDEM Z or Explorer 16) to act as either a "Switching Load Controller" (e.g. a light) or a "Switching Remote Control" (e.g. a switch) as defined by the Home Controls, Lighting profile. It is designed to interact with a second Demonstration board programmed with the Demo RFD project
标签: This demonstration Demonstratio coordinator
上传时间: 2014-01-18
上传用户:dianxin61