The purpose of this computer program is to allow the user to construct, train and test differenttypes of artificial neural networks. By implementing the concepts of templates, inheritance andderived classes from C++ object oriented programming, the necessity for declaring multiple largestructures and duplicate attributes is reduced. Utilizing dynamic binding and memory allocationafforded by C++, the user can choose to develop four separate types of neural networks:
標(biāo)簽: differenttype construct computer purpose
上傳時間: 2013-12-06
上傳用戶:13517191407
A collection of math routines including 8-bit, 16-bit, 32-bit signed and unsigned addition, subtraction, multiplication, and division. Very nice code library with heavy in-line documentation! Been looking for multi-byte divide? Here it is.
標(biāo)簽: bit collection including addition
上傳時間: 2015-05-17
上傳用戶:cursor
abel Tool Sample Requires: Visual Basic 6 and MapObjects 2.x Data: redlands.shp (Redlands sample data set from MO 2.x) Interactive Labeling Tool If the check box is checked, then the mouse down location will search for the closest line, and label it with the street name. If the check box is not checked, then the mouse down will turn into a pan/zoom tool. There is a slider bar to control the search tolerance in screen pixels for the labeling.
標(biāo)簽: MapObjects Requires Redlands redlands
上傳時間: 2013-12-17
上傳用戶:sunjet
數(shù)字運算,判斷一個數(shù)是否接近素數(shù) A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上傳時間: 2015-05-21
上傳用戶:daguda
2^x mod n = 1 acm競賽題 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input One positive integer on each line, the value of n. Output If the minimum x exists, print a line with 2^x mod n = 1. Print 2^? mod n = 1 otherwise. You should replace x and n with specific numbers. Sample Input 2 5 Sample Output 2^? mod 2 = 1 2^4 mod 5 = 1
標(biāo)簽: mod satisfies minimum number
上傳時間: 2015-06-02
上傳用戶:qlpqlq
Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
標(biāo)簽: connection pool applications program
上傳時間: 2013-12-25
上傳用戶:playboys0
XMathLib是一個通用的3D圖形數(shù)學(xué)庫。 其中包含兩個部分: XMathLib和XGeomLib。分別處理數(shù)學(xué)和幾何運算。 數(shù)學(xué)部分包含向量、矩陣、四元數(shù)的運算。以及其它的運算。 幾何部分包含Box Frustum AABB OBB Ray Line Line-Segment Plan Triangle等的運算。
標(biāo)簽: XMathLib XGeomLib 分 運算
上傳時間: 2013-12-14
上傳用戶:hfmm633
首先定義一個點類Point,其私有成員為其坐標(biāo)X,Y。設(shè)計構(gòu)造函數(shù),拷貝構(gòu)造函數(shù),析構(gòu)函數(shù)(可以什么都不做,只打印信息,表示其被調(diào)用),設(shè)置新值函數(shù)Set, 打印成員值函數(shù)Print。再定義一個線類Line,線類是在公有繼承點類的基礎(chǔ)上,新增私有成員斜率S,并設(shè)計構(gòu)造函數(shù),拷貝構(gòu)造函數(shù),析構(gòu)函數(shù)(可以什么都不做,只打印信息,表示其被調(diào)用),設(shè)置新值函數(shù)Set, 打印成員值函數(shù)Print以及其它你認(rèn)為對訪問此Line類對象有用的成員函數(shù)。并用此Line類定義對象,調(diào)用所有成員函數(shù)。尤其是考察構(gòu)造函數(shù)的調(diào)用順序。
上傳時間: 2015-07-07
上傳用戶:xfbs821
本書第二版和第三版之間的變化非常大其中最值得注意的是C++已經(jīng)通過了國際標(biāo) 準(zhǔn)化這不但為語言增加了新的特性比如異常處理運行時刻類型識別RTTI 名字空 間內(nèi)置布爾數(shù)據(jù)類型新的強制轉(zhuǎn)換方式而且還大量修改并擴(kuò)展了現(xiàn)有的特性比如模 板template 支持面向?qū)ο髈bject-oriented 和基于對象object-based 程序設(shè)計所需 要的類class 機制嵌套類型以及重載函數(shù)的解析機制也許更重要的是一個覆蓋面非 常廣闊的庫現(xiàn)在成了標(biāo)準(zhǔn)C++的一部分其中包括以前稱為STL 標(biāo)準(zhǔn)模板庫的內(nèi)容新 的string 類型一組順序和關(guān)聯(lián)容器類型比如vector list map 和set 以及在這些類型 上進(jìn)行操作的一組可擴(kuò)展的泛型算法generic algorithm 都是這個新標(biāo)準(zhǔn)庫的特性本書 不但包括了許多新的資料而且還闡述了怎樣在C++中進(jìn)行程序設(shè)計的新的思考方法簡而 言之實際上不但C++已經(jīng)被重新創(chuàng)造本書第三版也是如此
上傳時間: 2014-01-18
上傳用戶:784533221
"More for C++" is a class library that provides some features that are usually common for object oriented programming languages like Java or Python, but not for C
標(biāo)簽: that for features provides
上傳時間: 2015-07-12
上傳用戶:wuyuying
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1