acm HDOJ 1051WoodenSticks Description: There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called setup time, for the machine to prepare processing a stick. The setup times are associated with cleaning operations and changing tools and shapes in the machine. The setup times of the woodworking machine are given as follows: (a) The setup time for the first wooden stick is 1 minute. (b) Right after processing a stick of length l and weight w , the machine will need no setup time for a stick of length l and weight w if l<=l and w<=w . Otherwise, it will need 1 minute for setup.
標簽: WoodenSticks Description length wooden
上傳時間: 2014-03-08
上傳用戶:netwolf
人件集:人性化的軟件開發(fā)(中文版,Larry L[1]. Constantine 著) 人件領(lǐng)域中的經(jīng)典著作。探討軟件開發(fā)過程中人的因素。
標簽: 軟件開發(fā)
上傳時間: 2015-10-19
上傳用戶:rishian
代入法的啟發(fā)示搜索 我的代碼實現(xiàn)是:按照自然語言各字母出現(xiàn)頻率的大小從高到低(已經(jīng)有人作國統(tǒng)計分析了)先生成一張字母出現(xiàn)頻率統(tǒng)計表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再對密文字母計算頻率,并按頻率從高到低生成一張輸入密文字母的統(tǒng)計表(B),通過兩張表的對應(yīng)關(guān)系,不斷用A中的字母去替換B中的字母,搜索不成功時就回退,在這里回朔是一個關(guān)鍵。
上傳時間: 2015-10-24
上傳用戶:wanqunsheng
設(shè)B是一個n×n棋盤,n=2k,(k=1,2,3,…)。用分治法設(shè)計一個算法,使得:用若干個L型條塊可以覆蓋住B的除一個特殊方格外的所有方格。其中,一個L型條塊可以覆蓋3個方格。且任意兩個L型條塊不能重疊覆蓋棋盤
標簽:
上傳時間: 2013-12-16
上傳用戶:腳趾頭
%BIQPBOX Bisection reflective line search for sqpbox % [nx,nsig,alpha] = BIQPBOX(s,c,strg,x,y,sigma,l,u,... % oval,po,normg,DS,mtxmpy,data,H) % returns the new feasible point nx, the corresponding sign vector nsig, % and the step size of the unreflected step, alpha. % Copyright (c) 1990-98 by The MathWorks, Inc. % $Revision: 1.2 $ $Date:
標簽: BIQPBOX reflective Bisection search
上傳時間: 2013-12-17
上傳用戶:sk5201314
Input The input consists of two lines. The first line contains two integers n and k which are the lengths of the array and the sliding window. There are n integers in the second line. Output There are two lines in the output. The first line gives the minimum values in the window at each position, from left to right, respectively. The second line gives the maximum values. Sample Input 8 3 1 3 -1 -3 5 3 6 7 Sample Output -1 -3 -3 -3 3 3 3 3 5 5 6 7
上傳時間: 2014-12-21
上傳用戶:hongmo
給定n個整數(shù)a , a , ,an 1 2 組成的序列。序列中元素i a 的符號定義為: ï î ï í ì - < = > = 1 0 0 0 1 0 sgn( ) i i i i a a a a 符號平衡問題要求給定序列的最長符號平衡段的長度L,即: þ ý ü î í ì = + - = å = £ £ £ max 1| sgn( ) 0 1 j k i i j n k L j i a 。 例如,當n=10,相應(yīng)序列為:1,1,-1,-2,0,1,3,-1,2,-1 時,L=9。
上傳時間: 2015-10-28
上傳用戶:xaijhqx
并且在卷積碼編碼過程中,添零數(shù)為k1*(L-1)=2,(注:L=3),再對序列進行圖示的映射,可通過以下程序?qū)崿F(xiàn):
上傳時間: 2015-11-01
上傳用戶:13517191407
< Learning Perl>> published by O Reilly & Associates, the complete reference book on the language. English.
標簽: Associates published the reference
上傳時間: 2015-11-04
上傳用戶:youth25
本文完成了對唇動身份識別技術(shù)幾個基本問題的理論研究,并對整個系統(tǒng)加以實現(xiàn).作為本文研究的實驗基礎(chǔ),我們建立了唇動方式身份識別數(shù)據(jù)庫(HITLUDB), 該庫目前包含30個說話人每人20個漢語詞的音視頻語料.數(shù)據(jù)庫的擴充與完善工作仍在不斷的進行之中.在嘴唇檢測方面, 我們對自適應(yīng)色度過濾模型進行改進,提高了算法的魯棒性,完成了對嘴唇的精確定位.結(jié)合DCT變換與K-L變換的各自特點, 我們提出了特征提取算法,使用較少維數(shù)的特征完成了對嘴唇區(qū)域主要信息的刻畫.由于唇動信息同時包含了生理特征與行為特征, 我們使用靜念動念混合建模的方式,完成了對說話人唇動個性特點的精確描述.在HMM訓練時,我們提出了特征的歸一化處理方法,提高了HMM在實際應(yīng)用中的性能. 最后,我們分別對身份辨認系統(tǒng)與身份確認系統(tǒng)的基本理論進行了敘述,并完成了系統(tǒng)的實踐工作. 關(guān) 鍵 詞:身份識別 唇動 特征提取 隱馬爾可夫模型 K-L變換
上傳時間: 2014-01-14
上傳用戶:wsf950131
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1