設(shè)平面上分布著n個(gè)白點(diǎn)和n個(gè)黑點(diǎn),每個(gè)點(diǎn)用一對坐標(biāo)(x, y)表示。一個(gè)黑點(diǎn)b=(xb,yb)支配一個(gè)白點(diǎn)w=(xw, yw)當(dāng)且僅當(dāng)xb>=xw和yb>=yw。若黑點(diǎn)b支配白點(diǎn)w,則黑點(diǎn)b和白點(diǎn)w可匹配(可形成一個(gè)匹配對)。在一個(gè)黑點(diǎn)最多只能與一個(gè)白點(diǎn)匹配,一個(gè)白點(diǎn)最多只能與一個(gè)黑點(diǎn)匹配的前提下,求n個(gè)白點(diǎn)和n個(gè)黑點(diǎn)的最大匹配對數(shù)。
標(biāo)簽: 分布
上傳時(shí)間: 2013-12-20
上傳用戶:米卡
OpenGL中的各種轉(zhuǎn)換是通過矩陣運(yùn)算實(shí)現(xiàn)的,具體的說,就是當(dāng)發(fā)出一個(gè)轉(zhuǎn)換命令時(shí),該命令會生成一個(gè)4X4階的轉(zhuǎn)換矩陣(OpenGL中的物體坐標(biāo)一律采用齊次坐標(biāo),即(x, y, z, w),故所有變換矩陣都采用4X4矩陣),當(dāng)前矩陣與這個(gè)轉(zhuǎn)換矩陣相乘,從而生成新的當(dāng)前矩陣。例如,對于頂點(diǎn)坐標(biāo)v ,轉(zhuǎn)換命令通常在頂點(diǎn)坐標(biāo)命令之前發(fā)出,若當(dāng)前矩陣為C,轉(zhuǎn)換命令構(gòu)成的矩陣為M,則發(fā)出轉(zhuǎn)換命令后,生成的新的當(dāng)前矩陣為CM,這個(gè)矩陣再乘以頂點(diǎn)坐標(biāo)v,從而構(gòu)成新的頂點(diǎn)坐標(biāo)CMv。上述過程說明,程序中繪制頂點(diǎn)前的最后一個(gè)變換命令最先作用于頂點(diǎn)之上。這同時(shí)也說明,OpenGL編程中,實(shí)際的變換順序與指定的順序是相反的。文檔對其進(jìn)行了詳細(xì)的分析。
標(biāo)簽: OpenGL 轉(zhuǎn)換 矩陣運(yùn)算
上傳時(shí)間: 2016-07-21
上傳用戶:qilin
K9F1208U0M 的ALE、CLE分別由DSP 的A1 和A0 控制。DSP的低8位數(shù)據(jù)線直接與閃存的I/O0-I/O7 相連,實(shí)現(xiàn)命令、地址和數(shù)據(jù)的傳輸; DSP的通用I/O口IOA2 接R/B,監(jiān)測存儲器的工作狀態(tài),當(dāng)R/ B 處于低電平時(shí),表示有編程、擦除或隨機(jī)讀操作正在進(jìn)行;操作完成后, R/ B 會自動返回高電平。DSP的W E 、R D 分別接FLASH的W E 、R E , 控制讀、寫操作。CS2接閃存的片選線CE。
標(biāo)簽: K9F1208U0M DSP ALE CLE
上傳時(shí)間: 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.
標(biāo)簽: sessions clustering similarity Web
上傳時(shí)間: 2014-01-11
上傳用戶:songrui
問題描述: 1.初始化輸入:N-參賽學(xué)校總數(shù),M-男子競賽項(xiàng)目數(shù),W-女子競賽項(xiàng)目數(shù); 各項(xiàng)目名次取法有如下幾種: 取前5名:第1名得分 7,第2名得分 5,第3名得分3,第4名得分2,第5名得分 1; 取前3名:第1名得分 5,第2名得分 3,第3名得分2; 用戶自定義:各名次權(quán)值由用戶指定。 2.由程序提醒用戶填寫比賽結(jié)果,輸入各項(xiàng)目獲獎(jiǎng)運(yùn)動員的信息。 3.所有信息記錄完畢后,用戶可以查詢各個(gè)學(xué)校的比賽成績,生成團(tuán)體總分報(bào)表,查看參賽學(xué)校信息和比賽項(xiàng)目信息等。
上傳時(shí)間: 2014-02-08
上傳用戶:redmoons
醫(yī)院管理信息系統(tǒng) 資源類別: VC源碼¦數(shù)據(jù)庫 文件大小: 2419KB 原創(chuàng)作者: 佚名 發(fā)布時(shí)間: 2008-6-12 13:57:54 運(yùn)行平臺: Windows 醫(yī)院管理信息系統(tǒng) 在運(yùn)行系統(tǒng)前,首先要安裝SQL Server數(shù)據(jù)庫,注意要設(shè)定用戶名為“sa”,密碼為空。 可以有兩種方法創(chuàng)建該數(shù)據(jù)庫: 1.使用SQL server查詢分析器運(yùn)行Database目錄下的sql.txt中的sql語句,這樣會創(chuàng)建Hospital數(shù)據(jù)庫。 2.使用sql server的企業(yè)管理器直接附加“附加數(shù)據(jù)庫文件”目錄下的Hospital.mdf文件。
上傳時(shí)間: 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
標(biāo)簽: and features creates updates
上傳時(shí)間: 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.
標(biāo)簽: driver Typically provides writers
上傳時(shí)間: 2016-08-26
上傳用戶:talenthn
flash 鍵盤音效取自win2000系統(tǒng)ding.wav,經(jīng)過CoolEdit處理成音階,在Flash中導(dǎo)入在相應(yīng)按鈕上。 沒有難度,就是耐心一點(diǎn),成績不錯(cuò)哦! 對應(yīng)表: 低音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
上傳時(shí)間: 2014-02-06
上傳用戶:ljmwh2000
包括使用修正Gram-Schmit算法實(shí)現(xiàn)QR分解,自編LU分解、利用冪法和反冪法計(jì)算矩陣最大和最小特征值的程序。例外附有使用這些算法的例子供參考。 QR decomposition algorithm based on modified Gram-Schmit LU decomposition algorithm algorithm used to find maximum and minimum eigenvalue based on power and inverse power method and some examples are also included.
標(biāo)簽: Gram-Schmit 正 分解 算法
上傳時(shí)間: 2016-09-07
上傳用戶:cooran
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1