设平面上分布着n个白点和n个黑点,每个点用一对坐标(x, y)表示。一个黑点b=(xb,yb)支配一个白点w=(xw, yw)当且仅当xb>=xw和yb>=yw。若黑点b支配白点w,则黑点b和白点w可匹配(可形成一个匹配对)。在一个黑点最多只能与一个白点匹配,一个白点最多只能与一个黑点匹配的前提下,求n个白点和n个黑点的最大匹配对数。
标签: 分布
上传时间: 2013-12-20
上传用户:米卡
OpenGL中的各种转换是通过矩阵运算实现的,具体的说,就是当发出一个转换命令时,该命令会生成一个4X4阶的转换矩阵(OpenGL中的物体坐标一律采用齐次坐标,即(x, y, z, w),故所有变换矩阵都采用4X4矩阵),当前矩阵与这个转换矩阵相乘,从而生成新的当前矩阵。例如,对于顶点坐标v ,转换命令通常在顶点坐标命令之前发出,若当前矩阵为C,转换命令构成的矩阵为M,则发出转换命令后,生成的新的当前矩阵为CM,这个矩阵再乘以顶点坐标v,从而构成新的顶点坐标CMv。上述过程说明,程序中绘制顶点前的最后一个变换命令最先作用于顶点之上。这同时也说明,OpenGL编程中,实际的变换顺序与指定的顺序是相反的。文档对其进行了详细的分析。
上传时间: 2016-07-21
上传用户:qilin
K9F1208U0M 的ALE、CLE分别由DSP 的A1 和A0 控制。DSP的低8位数据线直接与闪存的I/O0-I/O7 相连,实现命令、地址和数据的传输; DSP的通用I/O口IOA2 接R/B,监测存储器的工作状态,当R/ B 处于低电平时,表示有编程、擦除或随机读操作正在进行;操作完成后, R/ B 会自动返回高电平。DSP的W E 、R D 分别接FLASH的W E 、R E , 控制读、写操作。CS2接闪存的片选线CE。
标签: K9F1208U0M DSP ALE CLE
上传时间: 2016-08-03
上传用户:agent
The task of clustering Web sessions is to group Web sessions based on similarity and consists of maximizing the intra- group similarity while minimizing the inter-group similarity. The first and foremost question needed to be considered in clustering W b sessions is how to measure the similarity between Web sessions.However.there are many shortcomings in traditiona1 measurements.This paper introduces a new method for measuring similarities between Web pages that takes into account not only the URL but also the viewing time of the visited web page.Yhen we give a new method to measure the similarity of Web sessions using sequence alignment and the similarity of W eb page access in detail Experiments have proved that our method is valid and e币cient.
标签: sessions clustering similarity Web
上传时间: 2014-01-11
上传用户:songrui
问题描述: 1.初始化输入:N-参赛学校总数,M-男子竞赛项目数,W-女子竞赛项目数; 各项目名次取法有如下几种: 取前5名:第1名得分 7,第2名得分 5,第3名得分3,第4名得分2,第5名得分 1; 取前3名:第1名得分 5,第2名得分 3,第3名得分2; 用户自定义:各名次权值由用户指定。 2.由程序提醒用户填写比赛结果,输入各项目获奖运动员的信息。 3.所有信息记录完毕后,用户可以查询各个学校的比赛成绩,生成团体总分报表,查看参赛学校信息和比赛项目信息等。
上传时间: 2014-02-08
上传用户:redmoons
医院管理信息系统 资源类别: VC源码¦数据库 文件大小: 2419KB 原创作者: 佚名 发布时间: 2008-6-12 13:57:54 运行平台: Windows 医院管理信息系统 在运行系统前,首先要安装SQL Server数据库,注意要设定用户名为“sa”,密码为空。 可以有两种方法创建该数据库: 1.使用SQL server查询分析器运行Database目录下的sql.txt中的sql语句,这样会创建Hospital数据库。 2.使用sql server的企业管理器直接附加“附加数据库文件”目录下的Hospital.mdf文件。
上传时间: 2014-01-12
上传用户:Breathe0125
Java MP3 Player, Here s a list of features: - Reads, creates, updates, and removes id3v2.3 and id3v2.4 tags - Reads, creates, updates, and removes id3v1 tags - Extracts MPEG data such as bit rate, sample rate, channel mode, etc. - Calculates playing time of mp3 from mpeg information (no good w/VBR) - Can read and create Winamp styled playlists - Offers other utility classes such as MP3FileFilter and MP3Comparator - NullsoftID3GenreTable object keeps a list of genres for you and can automatically determine the id3v1 genre from an id3v2 string or the other way around
标签: and features creates updates
上传时间: 2014-11-21
上传用户:qq521
This a sample Plug and Play filter driver that provides WMI data blocks. Typically, driver writers will copy the sample code into their own driver and make any minor modifications so that the WMI data blocks are always available when the driver is loaded. Alternatively, WmiSamp can be left as a filter driver if WMI data blocks should only be made available when the filter driver is loaded.
标签: driver Typically provides writers
上传时间: 2016-08-26
上传用户:talenthn
flash 键盘音效取自win2000系统ding.wav,经过CoolEdit处理成音阶,在Flash中导入在相应按钮上。 没有难度,就是耐心一点,成绩不错哦! 对应表: 低音G-a #G-w A-s #A-e B-d 中音C-f #C-t D-g #D-y E-h F-j #F-i G-k #G-o A-l #A-p B- 高音C-1 D-2 E-3 F-4 G-5 A-6 B-7 C(high)-8 #C-c #D-v #F-b #G-n #A-m
上传时间: 2014-02-06
上传用户:ljmwh2000
该源码为VHDL语言编写的分频器,在W-4b教学平台上通过验证
上传时间: 2016-09-17
上传用户:erkuizhang