最新的libusb库,版本0.9.2,比0.1版改进了很多,很好用
标签: libusb
上传时间: 2013-12-28
上传用户:zhenyushaw
Amarok是一款在LINUX或其他类UNIX操作系统中运行的音频播放器软件。 经过两年开发后,Amarok 项目团队宣布 Amarok 的 2.0 版本正式发布。得益于 KDE 4 的跨平台特性,Amarok 2.0 除了可在 Linux 系统上运行之外,也能够在其他系统上使用,包括 Windows 和 Mac OS X。Amarok 2.0 相比 Amarok 1.x 而言,它是一个革新的版本。Amarok 2.0 对用户界面(UI)进行了完全的重新设计,集成了 Magnatune、Jamendo、MP3tunes、Last.fm、Shoutcast 等在线服务,对脚本 API 和插件支持进行了修订,从 KDE 3 迁移到了 KDE 4 框架,以及使用了 Solid、Phonon、Plasma 等核心技术。 Amarok 开发者说,发布 Amarok 2.0 仅仅只是一个开始,他们将继续增强和改进 Amarok 的功能。
上传时间: 2014-01-22
上传用户:refent
void Knight(int i , int j) { // printf("%d %dn",i,j) if (board[i][j] != 0 || i < 0 || i >= Size || j < 0 || j >= Size ) { return } step++ board[i][j]=step if (step == Size*Size) { showboard() system("PAUSE") return } //DFS Knight(i-2,j-1) //left Knight(i-2,j+1) Knight(i+2,j-1) //right Knight(i+2,j+1) Knight(i-1,j-2) //up Knight(i+1,j-2) Knight(i+1,j+2) //down Knight(i-1,j+2) // board[i][j]=0 step-- }
上传时间: 2014-01-17
上传用户:cxl274287265
OTSU Gray-level image segmentation using Otsu s method. Iseg = OTSU(I,n) computes a segmented image (Iseg) containing n classes by means of Otsu s n-thresholding method (Otsu N, A Threshold Selection Method from Gray-Level Histograms, IEEE Trans. Syst. Man Cybern. 9:62-66 1979). Thresholds are computed to maximize a separability criterion of the resultant classes in gray levels. OTSU(I) is equivalent to OTSU(I,2). By default, n=2 and the corresponding Iseg is therefore a binary image. The pixel values for Iseg are [0 1] if n=2, [0 0.5 1] if n=3, [0 0.333 0.666 1] if n=4, ... [Iseg,sep] = OTSU(I,n) returns the value (sep) of the separability criterion within the range [0 1]. Zero is obtained only with images having less than n gray level, whereas one (optimal value) is obtained only with n-valued images.
标签: OTSU segmentation Gray-level segmented
上传时间: 2017-04-24
上传用户:yuzsu
薛超英数据结构实习一答案 设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列者的下一个人重新开始报数,数到m2(刚出列者所持密码)的人又出列,如此重复进行,直到n个人都出列为止。 问题是:对于任意给定的n个人的原始排列顺序,求出n个人的出列顺序。 输入数据从文本文件“实习1数据.txt”中读取。该文件有两行:第1行只有一个整数,表示报数的起始位置;第2行是n个所持密码。 输出结果显示在屏幕上。 例如,从文本文件读取数据 2 5 6 3 2 2 4 屏幕显示 1 6 5 3 4 2
上传时间: 2014-01-05
上传用户:thuyenvinh
一、前言 24点游戏是一个常见游戏,出题者给出4个整数,要求答题者在指定时间内给出一个四则运算的表达式,恰好用上这这个整数各一次,计算结果为24,超出时间为输。 二、分析 用计算机来算这个题,搜索速度当然有很大优势,我编程喜欢考虑通用一点,不限制输入数量和结果数,甚至不限制运算符数量。这样组合数就很大,如果输入数比较多,则搜索时间会非常长。 我用两个方法来提高搜索速度:一、是大家都能考虑到的重复搜索问题,比如1,2,3和2,3,1所有的组合情况是相同的,我只搜索使用递增序的数组,则可以降低一个组合数的数量级别;二、使用动态规划中的备忘录方法,比如你计算出2和3所有可能的计算结果,则他们与4结合的时候,要用到,与1结合的时候,也要用到,使用备忘录,可以只计算一次,大大降低运算复杂度。 三、设计 整体设计:分别设计4个类:游戏、表达式、运算、分数,各司其责,结构清晰,易于扩展。
标签:
上传时间: 2014-01-13
上传用户:zhangyigenius
采用单神经元结构对两类样本进行分类,其中X为输入样本,T为目标向量。X=[-0.5,-0.5,0.3,0.1,-0.1,0.8,0.2,0.3 0.3,-0.2,-0.6,0.1,-0.5,1.0,0.3,0.9] T=[0,0,0,1,0,1,1,1]
上传时间: 2013-12-18
上传用户:xc216
Implementation of Edmonds Karp algorithm that calculates maxFlow of graph. Input: For each test case, the first line contains the number of vertices (n) and the number of arcs (m). Then, there exist m lines, one for each arc (source vertex, ending vertex and arc weight, separated by a space). The nodes are numbered from 1 to n. The node 1 and node n should be in different sets. There are no more than 30 arcs and 15 nodes. The arc weights vary between 1 and 1 000 000. Output: The output is a single line for each case, with the corresponding minimum size cut. Example: Input: 7 11 1 2 3 1 4 3 2 3 4 3 1 3 3 4 1 3 5 2 4 6 6 4 5 2 5 2 1 5 7 1 6 7 9 Output: 5
标签: Implementation calculates algorithm Edmonds
上传时间: 2014-01-04
上传用户:kiklkook
实验目的:用c语言对一个简单语言的子集编制一个一遍扫描的编译程序,以加深对编译原理的理解,掌握编译程序的实现方法和技术。 c.1词法分析 c.1.1实验目的 设计、编制并调试一个词法分析程序,加深对词法分析原理的理解。 c.1.2实验要求 c.1.2.1待分析的简单语言的词法 (1) 关键字: begin if then while do end --------有实验报告+.cpp+分析
上传时间: 2013-12-23
上传用户:z754970244
1.RON1307系列模组简介 ………………………………………………………………………………3 1.1.模组说明 …………………………………………………………………………………………3 1.2.性能性能 …………………………………………………………………………………………3 1.3.应用市场 …………………………………………………………………………………………3 1.4.产品图片 …………………………………………………………………………………………3 2.RON1307系列模组电器参数 …………………………………………………………………………4 2.1.模组接线图及引脚描述 …………………………………………………………………………4 2.2.模组电器参数 ……………………………………………………………………………………4 3.RON1307系列模组使用说明……………………………………………………………………………7 3.1.RON1307系列无线模组工作模式设置……………………………………………………………7 3.2.RON1307系列无线模组调制类型设置……………………………………………………………7 3.3.RON1307系列无线模组传输数据模式设置………………………………………………………7 3.4.RON1307系列无线模组功率设置…………………………………………………………………8 4.RON1307系列模组参考软件……………………………………………………………………………9 5.RON1307无线模组常见问题……………………………………………………………………………11
上传时间: 2015-06-11
上传用户:10th