我們解決八數(shù)碼問題,廣度優(yōu)先搜索可能會(huì)導(dǎo)致內(nèi)存不夠用,采用啟發(fā)式搜索,啟發(fā)函數(shù)為f(x)=g(x)+h(x) g(x)為該結(jié)點(diǎn)不同于目標(biāo)結(jié)點(diǎn)的個(gè)數(shù),h(x)為該結(jié)點(diǎn)的深度,選擇那f(x)結(jié)點(diǎn)最小的那個(gè)結(jié)點(diǎn)進(jìn)行擴(kuò)展, 引入了一個(gè)"擴(kuò)展數(shù)組[4]"(因?yàn)閿U(kuò)展的結(jié)點(diǎn)最多只有4個(gè)),該數(shù)組保存著某個(gè)結(jié)點(diǎn)的0點(diǎn)向各個(gè)方向的擴(kuò)展的結(jié)點(diǎn)對(duì)象,然后對(duì)該擴(kuò)展數(shù)組進(jìn)行分析,利用啟發(fā)函數(shù)在進(jìn)行遞歸擴(kuò)展...
標(biāo)簽: 搜索 數(shù)碼 內(nèi)存 啟發(fā)式
上傳時(shí)間: 2015-07-24
上傳用戶:LouieWu
我們解決八數(shù)碼問題,廣度優(yōu)先搜索可能會(huì)導(dǎo)致內(nèi)存不夠用,采用啟發(fā)式搜索,啟發(fā)函數(shù)為f(x)=g(x)+h(x) g(x)為該結(jié)點(diǎn)不同于目標(biāo)結(jié)點(diǎn)的個(gè)數(shù),h(x)為該結(jié)點(diǎn)的深度,選擇那f(x)結(jié)點(diǎn)最小的那個(gè)結(jié)點(diǎn)進(jìn)行擴(kuò)展, 引入了一個(gè)"擴(kuò)展數(shù)組[4]"(因?yàn)閿U(kuò)展的結(jié)點(diǎn)最多只有4個(gè)),該數(shù)組保存著某個(gè)結(jié)點(diǎn)的0點(diǎn)向各個(gè)方向的擴(kuò)展的結(jié)點(diǎn)對(duì)象,然后對(duì)該擴(kuò)展數(shù)組進(jìn)行分析,利用啟發(fā)函數(shù)在進(jìn)行遞歸擴(kuò)展...
標(biāo)簽: 搜索 數(shù)碼 內(nèi)存 啟發(fā)式
上傳時(shí)間: 2014-01-03
上傳用戶:semi1981
not use Java API to produce two simple java implementation of a dictionary interface, LinkedListDictionary and HashDictionary, that maps a String key to an Object value
標(biāo)簽: implementation LinkedListDict dictionary interface
上傳時(shí)間: 2015-07-25
上傳用戶:黃華強(qiáng)
orapp-2.0.3 ORAPP - Oracle OCI C++ Interface Library ,OCI 的一個(gè)C++封裝,簡單易用
標(biāo)簽: Interface Library Oracle orapp
上傳時(shí)間: 2013-12-09
上傳用戶:515414293
* 本算法用最小二乘法依據(jù)指定的M個(gè)基函數(shù)及N個(gè)已知數(shù)據(jù)進(jìn)行曲線擬和 * 輸入: m--已知數(shù)據(jù)點(diǎn)的個(gè)數(shù)M * f--M維基函數(shù)向量 * n--已知數(shù)據(jù)點(diǎn)的個(gè)數(shù)N-1 * x--已知數(shù)據(jù)點(diǎn)第一坐標(biāo)的N維列向量 * y--已知數(shù)據(jù)點(diǎn)第二坐標(biāo)的N維列向量 * a--無用 * 輸出: 函數(shù)返回值為曲線擬和的均方誤差 * a為用基函數(shù)進(jìn)行曲線擬和的系數(shù), * 即a[0]f[0]+a[1]f[1]+...+a[M]f[M].
標(biāo)簽: 數(shù)據(jù) 函數(shù) 算法 最小二乘法
上傳時(shí)間: 2015-07-26
上傳用戶:
libraw1394 is the only supported interface to the kernel side raw1394 of the Linux IEEE-1394 subsystem, which provides direct access to the connected 1394 buses to user space. Through libraw1394/raw1394, applications can directly send to and receive from other nodes without requiring a kernel driver for the protocol in question.
標(biāo)簽: 1394 the interface supported
上傳時(shí)間: 2015-08-07
上傳用戶:徐孺
利用vhdl實(shí)現(xiàn)FPGA芯片從PS2鍵盤讀出數(shù)據(jù)(0-F) 并在數(shù)碼管上顯示
上傳時(shí)間: 2015-08-09
上傳用戶:zsjinju
freescale MC9S12DG128--an example of the Serial Communication Interface
標(biāo)簽: Communication freescale Interface example
上傳時(shí)間: 2015-08-09
上傳用戶:天誠24
at91rm9200 IrDA interface control源碼
標(biāo)簽: interface control 9200 IrDA
上傳時(shí)間: 2015-08-10
上傳用戶:xuanchangri
It is driver source code for IDE harddisk and used to learn IDE interface and file system.
標(biāo)簽: IDE and interface harddisk
上傳時(shí)間: 2014-01-04
上傳用戶:gaojiao1999
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1