Welcome to Beginning Algorithms, a step-by-step introduction to computing algorithms for the real world. Developers use algorithms and data structures every day of their working lives. Having a good understanding of these algorithms and knowledge of when to apply them is essential to producing software that not only works correctly, but also performs efficiently. This book aims to explain those algorithms and data structures most commonly encountered in day-today software development, while remaining at all times practical, concise, and to the point, with little or no verbiage to distract from the core concepts and examples.
標簽: step-by-step introduction Algorithms algorithms
上傳時間: 2016-05-08
上傳用戶:wlcaption
This LDPC software is intended as an introduction to LDPC codes computer based simulation. The pseudo-random irregular low density parity check matrix is based on Radford M. Neal’s programs collection, which can be found in [1]. while Neal’s collection is well documented, in my opinion, C source codes are still overwhelming, especially if you are not knowledgeable in C language. My software is written for MATLAB, which is more readable than C. You may also want to refer to another MATLAB based LDPC source codes in [2], which has different flavor of code-writing style (in fact Arun has error in his log-likelihood decoder).
標簽: LDPC introduction simulation software
上傳時間: 2014-01-14
上傳用戶:大融融rr
This demo shows the use of the PWM block in generating the pulse waveform whose duty cycle is changing regularly. The PWM waveform period is variable, while the width of the pulse remains constant.
標簽: the generating waveform changi
上傳時間: 2014-01-15
上傳用戶:kr770906
詞法分析是編制一個讀單詞的過程,從輸入的源程序中,識別出各個具有獨立意義的單詞,即基本保留字、標識符、常數、運算符、分隔符五大類。并依次輸出各個單詞的內部編碼及單詞符號自身值。程序語言的單詞符號一般分為五種:關鍵字(保留字/基本字)if、while、begin…;標識符:常量名、變量名…;常數:34、56.78、true、‘a’、…;運算符:+、-、*、/、〈、and、or、….、;界限符:, ; ( ) { } /*…。
上傳時間: 2016-05-31
上傳用戶:417313137
Java Server Pages Examples code JavaServer Pages, Third Edition is completely revised and updated to cover the substantial changes in the 2.0 version of the JSP specification. JSP syntax and features and clear, useful examples, JavaServer Pages, Third Edition demonstrates how to embed server-side Java into Web pages, while also covering important topics such as JavaBeans, Enterprise JavaBeans (EJB), and JDBC database access. jsp Java Server Pages 配套源代碼 第3版
標簽: Pages JavaServer completely Examples
上傳時間: 2013-12-05
上傳用戶:cc1915
This LDPC software is intended as an introduction to LDPC codes computer based simulation. The pseudo-random irregular low density parity check matrix is based on Radford M. Neal’s programs collection, which can be found in [1]. while Neal’s collection is well documented, in my opinion, C source codes are still overwhelming, especially if you are not knowledgeable in C language. My software is written for MATLAB, which is more readable than C. You may also want to refer to another MATLAB based LDPC source codes in [2], which has different flavor of code-writing style (in fact Arun has error in his log-likelihood decoder).
標簽: LDPC introduction simulation software
上傳時間: 2014-12-05
上傳用戶:change0329
構造一個簡單程序設計語言的詞法分析器,要求: 1) 含有保留字program, begin, end, var, integer, if, then, else, do, while. 2) 標識符和無符號的整常數,其中保留字和標識符不區分大小寫. 3) 含有界符和運算符如下:+,-, (, ), =, >, <, , :, :=.,,。 4) 輸出二元組。
上傳時間: 2014-01-04
上傳用戶:離殤
DESProcess FILE *mfp,*cfp int ttch=0,xorRes,ttbitdiff=0 char mch,cch float bdiff=0 if((mfp=fopen(mfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } if((cfp=fopen(cfile,"r"))==NULL) {cout<<"Cannot open the file to compare"<<endl } else { while(!feof(mfp)&!feof(cfp)) { ttch++ mch=fgetc(mfp) cch=fgetc(cfp) xorRes=mch^cch ttbitdiff+=(xorRes&1)+(xorRes&2)/2+(xorRes&4)/4+(xorRes&8)/8+(xorRes&16)/16+(xorRes&32)/32+(xorRes&64)/64+(xorRes&128)/128 } bdiff=float(ttbitdiff)*100/float(ttch*8) } *bitdiff8byte=float(ttbitdiff)*100/float(8*8) return bdiff
標簽: DESProcess ttbitdiff xorRes bdiff
上傳時間: 2016-07-02
上傳用戶:1079836864
主要源碼: void CFDlg::OnChangeEdit1() { UpdateData() m_strExt.MakeUpper() m_list.ResetContent() if(m_strExt.GetLength()==0) return CStdioFile sf if(sf.Open("FileExt.txt",Cfile::modeRead)) { CString strTemp,strOut while(sf.ReadString(strTemp)) { if(strTemp.Left(m_strExt.GetLength()) ==m_strExt) { m_list.AddString(strTemp) } } } sf.Close() m_list.SetCurSel(0) this->OnSelchangeList2() } void CFDlg::OnSelchangeList2() { CString strTemp,strExt m_list.GetText(m_list.GetCurSel(),strTemp) strExt=strTemp.Left(strTemp.FindOneOf(" ")) //MessageBox(strExt) CString strFileName ="eee."+strExt //MessageBox(strFileName) SHFILEINFO shfi memset(&shfi,0,sizeof(shfi)) //或者ZeroMemory(&shfi,sizeof(shfi)) ::SHGetFileInfo(strFileName, FILE_ATTRIBUTE_NORMAL, &shfi, sizeof(shfi), SHGFI_ICON|SHGFI_USEFILEATTRIBUTES) m_icon.SetIcon(shfi.hIcon) }
標簽: OnChangeEdit1 UpdateData ResetConte MakeUpper
上傳時間: 2013-12-20
上傳用戶:zl5712176
C51精確延時分析探討 從精度考慮,它得研究結果是: void delay2(unsigned char i) { while(--i) } 為最佳方法。
上傳時間: 2016-07-14
上傳用戶:牧羊人8920