% COMPDIR Computes a search direction in a subspace defined by Z.
% Helper function for NLCONST.
% Returns Newton direction if possible.
% Returns random direction if gradient is small.
% Otherwise, returns steepest descent direction.
% If the steepest descent direction is small it computes a negative
% curvature direction based on the most negative eigenvalue.
% For singular matrices, returns steepest descent even if small.
Hieu Xuan Phan & Minh Le Nguyen 利用CRF統(tǒng)計(jì)模型寫(xiě)的可用于英文命名實(shí)體識(shí)別、英文分詞的工具(開(kāi)放源碼)。CRF模型最早由Lafferty提出,全名conditional random fields,該模型后來(lái)被廣泛地應(yīng)用在語(yǔ)言和圖像處理領(lǐng)域,并隨之出現(xiàn)了很多的變體。FlexCRF就是對(duì)CRF模型的一個(gè)實(shí)現(xiàn)應(yīng)用工具,可用于文本信息處理
This is a collection of m-files I created to complete a research project into the DC components of various encoding techniques. Eight of the files create random bit sequences that conform to their coding requirements. The others were files I found useful in the scope of the project and supplement the generating m-files.
B樹(shù)算法實(shí)現(xiàn),非常難得!btree implementation for random lookups, transaction handling, sequential access methods, and a small embeddable footprint.
Sherwood算法消除最壞實(shí)例,以達(dá)到對(duì)任何實(shí)例都能有好的性能的效果
文件:
rd_list.c --> create a random sequence of n integers not equal to each other
list.c --> create a descending sequence of n integers not equal to each other
sherwood.c --> 就是該算法,靜態(tài)鏈表的長(zhǎng)度默認(rèn)設(shè)為1000,可在宏定義處修改
用法:
gcc -o sherwood sherwood.c
gcc -o rd_list rd_list.c
gcc -o list list.c
./rd_list s.txt 1000 產(chǎn)生一個(gè)長(zhǎng)度為1000的互不相等的隨機(jī)序列,保存在s.txt中
./list s1.txt 1000 產(chǎn)生一個(gè)長(zhǎng)度為1000的互不相等的降序序列,保存雜s1.txt中
./sherwood s1.txt 運(yùn)行算法,比較其中的4個(gè)算法的性能差異
This code implements the shortest path algorithm via the simple scheme and fibonacci heap data structure. It has 3 kinds of testing data input method : random input by computer, reading from the file, reading from the key board.
This program shows the distributions of the co-channel interference in forward and reverse link in the cellular mobile system with cluster size N, when the mobile subscriber (MS) is at random positions of a cell.
The UCL common multimedia library implements a number of algorithms and protocols needed by a number of our applications. It compiles standalone on a range of Unix systems (Solaris, Linux, Irix, FreeBSD, MacOSX) and on Windows 95/98/NT/XP. The following protocols/algorithms are included in the library: Base64 encoding/decoding Binary tree Random number HMAC authentication MD5 DES RTP MBus SAP