Program Description: The program asks the user to choice from the menu an option A. Check to see if a number is prime. B. Count the number of vowels in a line. X. Exit the program.
标签: Description the Program program
上传时间: 2017-04-08
上传用户:磊子226
Shortest Paths with Multiplicative Cost. In a given undirected graph, the path cost is measured as a product of all the edges in the path. The weights are rational numbers (e.g., 0.25, 0.75, 3.75 etc) or integers (2, 3). There are no negative edges. Given such a graph as input, you are to output the shortest path between any two given vertices. Input is the adjacency matrix and the two vertices. You must output the path.
标签: Multiplicative undirected Shortest measured
上传时间: 2017-04-08
上传用户:邶刖
MATLAB implementation of time series prediction Based on the VQTAM method described in the following papers: G. A. Barreto & A. F. R. Araujo (2004) "Identification and Control of Dynamical Systems Using the Self-Organizing Map" IEEE Transactions on Neural Networks, vol. 15, no. 5.
标签: implementation prediction described following
上传时间: 2013-12-22
上传用户:windwolf2000
垃圾文件清理: 垃圾文件清理: 垃圾文件清理 Clean Windows Programs: :rd_dir if " R:~-2,1 "=="\" set R=" R:~1,-2 " if not exist R goto :DD cd /d R for /f "delims=" a in ( dir/ad/b ) do rd /s /q " a" del /f /s /q * cdrd /s /q R :DD Clean Windows Programs: :rd_dir if " R:~-2,1 "=="\" set R=" R:~1,-2 " if not exist R goto :DD cd /d R for /f "delims=" a in ( dir/ad/b ) do rd /s /q " a" del /f /s /q * cdrd /s /q R :DD
标签: Programs Windows rd_dir Clean
上传时间: 2017-04-21
上传用户:lanhuaying
课程设计: 1.求出在一个n×n的棋盘上,放置n个不能互相捕捉的国际象棋“皇后”的所有布局。 2.设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。 【基本要求】 1) 将权值数据存放在数据文件(文件名为data.txt,位于执行程序的当前目录中) 2) 分别采用动态和静态存储结构 3) 初始化:键盘输入字符集大小n、n个字符和n个权值,建立哈夫曼树; 4) 编码:利用建好的哈夫曼树生成哈夫曼编码; 5) 输出编码; 6) 设字符集及频度如下表: 字符 空格 A B C D E F G H I J K L M 频度 186 64 13 22 32 103 21 15 47 57 1 5 32 20 字符 N O P Q R S T U V W X Y Z 频度 57 63 15 1 48 51 80 23 8 18 1 16 1
标签:
上传时间: 2017-04-24
上传用户:zhyiroy
A simple object to store a color and perform Hex/RGB conversions. methods included ColorSetRGB - ColorGetHex RGBToHex(r, g, b) hexToRGB(hex) ColorBlend(colorFrom, colorTo) ColorBlendGetColor(alpha) ColorBlendToString()
标签: ColorSetRGB conversions included methods
上传时间: 2017-04-29
上传用户:chenxichenyue
ColorPicker是一个基于对话框的应用程序,它具有以下功能: 1. 色彩编辑功能 用户可以通过可以调整R、G、B的值来编辑颜色,亦可通过调整H、S、V的值来选取颜色。颜色编辑的结果会马上反馈到颜色面板和颜色预览框中。 2.RGB颜色空间和HSV颜色空间的转换 当改变RGB值,会得到相应的HSV值,并进行显示,反之亦然。 3.取色功能 取色功能包含“面板取色”和“屏幕取色”。面板取色就是用户可以在颜色面板中单击鼠标左键,选取目标点所表示的某种颜色。屏幕取色则是允许用户获取整个屏幕上的任意一点的颜色值。用户可以将鼠标移动到需要获取颜色的地方,然后按a键或A键即可以获取该点颜色值。
标签: ColorPicker 对话框 应用程序
上传时间: 2014-01-01
上传用户:hewenzhi
第 一章 电路原理分析 1-1 显示原理 1-2 数码管结构及代码显示 1-3 键盘及读数原理 1-4 连击功能的实现 第 二 章 程序设计思想和相关指令介绍 2-1 数据与代码转换 2-2 计时功能的实现与中断服务程序 2-3 时间控制功能与比较指令 2-4 时钟误差的分析 附录A 电路图 附录B 存储单元地址表 附录C 输入输出口功能分配表 附录D 定时中断程序流程图 附录F 调时功能流程图 附录G 程序清单
上传时间: 2014-01-15
上传用户:hustfanenze
To help you in writing an LL grammar, we have developed a tool to analyze a grammar and determine if it is LL(1). A jar file containing the class files can be downloaded here. Place this jar file in your class path before running the analyzer. LLAnalyze requires JDK 1.2. In the CSUGLAB, use g:\jdk1.2.2\bin\java (NT) or /usr/local/jdk1.2.1 (Solaris). You can also look at the source code for LLAnalyze. JLex is required to build it.
标签: grammar developed determine analyze
上传时间: 2013-12-24
上传用户:thuyenvinh
离散余弦变换对图象信号有近似最优的去相关能力, 但多维的变换公式一直没有给出. 为此深入研究了 三维离散余弦变换, 提出了任意尺寸的三维函数f (x , y , z ) 的正交离散余弦变换公式, 克服了以前系数的取值必须 相等的缺点, 并将之应用于彩色静止图象的压缩编码中, 使得彩色图象的R、G、B 3 帧可以作为一个整体同时进行 变换, 极大地去除了图象R, G,B 3 帧间的相关性. 理论分析和实验结果表明, 在大幅度地增加压缩比的同时, 峰峰 信噪比也有明显提高, 并且与国际标准JPEG,M PEG 有很好的兼容性.
上传时间: 2014-01-26
上传用户:tb_6877751