易語言BP匯編算法源碼
系統(tǒng)結(jié)構:LogPrint,易_取隨機數(shù),內(nèi)存池_創(chuàng)建,內(nèi)存池_銷毀,內(nèi)存池_申請,內(nèi)存池_釋放,內(nèi)存池_總尺寸,
======程序集_EC
| |
| |------ _啟動子程序
| |
| |------ _BP_測試
| |
| |------ LogPrint
| |
| |
======程序集_Help
| |
| |------ 易_取隨機數(shù)
| |
| |------ _NewQWORD
| |
| |------ _FreeQWORD
| |
| |------ _SetQWORD
| |
| |------ _QW2Str
| |
| |------ _Str2QW
| |
| |------ _浮點加法
| |
| |------ _浮點減法
| |
| |------ _浮點乘法
| |
| |------ _浮點除法
| |
| |------ _浮點取反
| |
| |------ _浮點取絕對值
| |
| |------ _浮點平方根
| |
| |------ _浮點2的n次放
| |
| |------ _浮點xtract
| |
| |------ _浮點取余數(shù)
| |
| |------ _浮點四舍五入
| |
| |------ _浮點計算2xm1
| |
| |------ _浮點計算yl2x
| |
| |------ _浮點計算余弦
| |
| |------ _浮點計算正切
| |
| |------ _浮點計算反正切
| |
| |------ _浮點計算正弦
| |
| |------ _浮點yl2xp1
| |
| |------ _浮點清除異常
| |
| |------ _浮點NOP
| |
| |------ _浮點EXP
| |
| |------ _浮點Mov
| |
| |------ _浮點比較
| |
| |
======程序集_內(nèi)存池
| |
| |------ _申請內(nèi)存
| |
| |------ _釋放內(nèi)存
| |
| |------ _內(nèi)存尺寸
| |
| |------ _讀整數(shù)
| |
| |------ _寫整數(shù)
| |
| |------ _讀短整數(shù)
| |
| |------ _寫短整數(shù)
| |
| |------ 內(nèi)存池_創(chuàng)建
| |
| |------ 內(nèi)存池_銷毀
| |
| |------ 內(nèi)存池_申請
| |
| |------ 內(nèi)存池_釋放
| |
| |------ 內(nèi)存池_總尺寸
| |
| |
======程序集_BP
| |
| |------ _BP初始化
| |
| |------ _BP核心算法_New
| |
| |------ _BP核心算法
| |
| |------ _BP核心算法2
| |
| |
======類_BP
| |
| |------ _初始化
| |
| |------ _銷毀
| |
| |------ _BP_初始化
| |
| |------ _Init
| |
| |------ _BP_銷毀
| |
| |------ _BP_Load
| |
| |------ _BP_Save
| |
| |------ _BP_Set
| |
| |------ _BP_GetBasicInformation
| |
| |------ _BP_Classify
| |
| |------ _BP_GetOut
| |
| |------ _BP_SetRunStatus
| |
| |------ _BP_Train
| |
| |
======調(diào)用的Dll
| |
| |---[dll]------ _GetTickCount
| |
| |---[dll]------ _CryptAcquireContext
| |
| |---[dll]------ _CryptGenRandom
| |
| |---[dll]------ _LocalAlloc
| |
| |---[dll]------ _LocalFree
| |
| |---[dll]------ _LocalSize
| |
| |---[dll]------ _InitializeSListHead
| |
| |---[dll]------ _InterlockedPushEntrySList
| |
| |---[dll]------ _InterlockedPopEntrySList
| |
| |---[dll]------ _InterlockedFlushSList
| |
| |---[dll]------ _QueryDepthSList
| |
| |---[dll]------ _HeapAlloc
| |
| |---[dll]------ _HeapFree
| |
| |---[dll]------ _HeapDestroy
| |
| |---[dll]------ _HeapValidate
| |
| |---[dll]------ _HeapSize
| |
| |---[dll]------ _HeapReAlloc
| |
| |---[dll]------ _HeapCreate
| |
| |---[dll]------ _RtlZeroMemory
| |
| |---[dll]------ _wvsprintf
| |
| |---[dll]------ _sscanf
| |
| |---[dll]------ _swprintf
| |
| |---[dll]------ _atof
| |
| |---[dll]------ _sprintf
調(diào)用的DLL命令:
.DLL命令 _GetTickCount, 整數(shù)型, "kernel32.dll", "GetTickCount"
.DLL命令 _CryptAcquireContext, 整數(shù)型, "advapi32.dll", "CryptAcquireContextA"
.參數(shù) phProv, 整數(shù)型, 傳址
.參數(shù) pszContainer, 整數(shù)型
.參數(shù) pszProvider, 整數(shù)型
.參數(shù) dwProvType, 整數(shù)型
.參數(shù) dwFlags, 整數(shù)型
.DLL命令 _CryptGenRandom, 整數(shù)型, "advapi32.dll", "CryptGenRandom"
.參數(shù) hProv, 整數(shù)型
.參數(shù) dwLen, 整數(shù)型
.參數(shù) pbBuffer, 長整數(shù)型, 傳址
.DLL命令 _LocalAlloc, 整數(shù)型, "kernel32.dll", "LocalAlloc", , hMem
.參數(shù) uFlags, 短整數(shù)型
.參數(shù) uBytes, 整數(shù)型
.DLL命令 _LocalFree, 整數(shù)型, "kernel32.dll", "LocalFree"
.參數(shù) hMem, 整數(shù)型, , hMem
.DLL命令 _LocalSize, 整數(shù)型, "kernel32.dll", "LocalSize"
.參數(shù) hMem, 整數(shù)型
.DLL命令 _InitializeSListHead, , "kernel32.dll", "InitializeSListHead", , 初始化鏈棧
.參數(shù) ListHead, 整數(shù)型, , PSLIST_HEADER
.DLL命令 _InterlockedPushEntrySList, 整數(shù)型, "kernel32.dll", "InterlockedPushEntrySList", , 棧壓入
.參數(shù) ListHead, 整數(shù)型
.參數(shù) ListEntry, 整數(shù)型
.DLL命令 _InterlockedPopEntrySList, 整數(shù)型, "kernel32.dll", "InterlockedPopEntrySList", , 棧彈出
.參數(shù) ListHead, 整數(shù)型
.DLL命令 _InterlockedFlushSList, 整數(shù)型, "kernel32.dll", "InterlockedFlushSList"
.參數(shù) ListHead, 整數(shù)型
.DLL命令 _QueryDepthSList, 整數(shù)型, "kernel32.dll", "QueryDepthSList", , 取節(jié)點數(shù)
.參數(shù) ListHead, 整數(shù)型
.DLL命令 _HeapAlloc, 整數(shù)型, "kernel32.dll", "HeapAlloc", , lpMem,失敗返回0
.參數(shù) hHeap, 整數(shù)型
.參數(shù) dwFlags, 整數(shù)型, , #HEAP_
.參數(shù) dwBytes, 整數(shù)型
.DLL命令 _HeapFree, 整數(shù)型, "kernel32.dll", "HeapFree", , 失敗返回0
.參數(shù) hHeap, 整數(shù)型
.參數(shù) dwFlags, 整數(shù)型, , #HEAP_NO_SERIALIZE,1
.參數(shù) lpMem, 整數(shù)型
.DLL命令 _HeapDestroy, 邏輯型, "kernel32.dll", "HeapDestroy"
.參數(shù) hHeap
.DLL命令 _HeapValidate, 邏輯型, "kernel32.dll", "HeapValidate"
.參數(shù) hHeap, 整數(shù)型
.參數(shù) dwFlags, 整數(shù)型, , #HEAP_NO_SERIALIZE,1
.參數(shù) lpMem, 整數(shù)型
.DLL命令 _HeapSize, 整數(shù)型, "kernel32.dll", "HeapSize", , 錯誤返回-1
.參數(shù) hHeap, 整數(shù)型, , hHeap
.參數(shù) dwFlags, 整數(shù)型, , dwFlags
.參數(shù) lpMem, 整數(shù)型, , lpMem
.DLL命令 _HeapReAlloc, 整數(shù)型, "kernel32.dll", "HeapReAlloc"
.參數(shù) hHeap, 整數(shù)型, , hHeap
.參數(shù) dwFlags, 整數(shù)型, , dwFlags
.參數(shù) lpMem, 整數(shù)型, , lpMem
.參數(shù) dwBytes, 整數(shù)型, , dwBytes
.DLL命令 _HeapCreate, 整數(shù)型, "kernel32.dll", "HeapCreate", , hHeap, 錯誤返回0
.參數(shù) flOptions, , , #HEAP_
.參數(shù) dwInitialSize, , , 堆的初始化尺寸(以字節(jié)為單位),0 為自動指定
.參數(shù) dwMaximumSize, , , 堆的最大尺寸
.DLL命令 _RtlZeroMemory, , "kernel32.dll", "RtlZeroMemory"
.參數(shù) Destination, 整數(shù)型
.參數(shù) Length, 整數(shù)型
.DLL命令 _wvsprintf, 整數(shù)型, "user32.dll", "wvsprintfA", , ,
.參數(shù) lpstr, 整數(shù)型
.參數(shù) lpcstr, 文本型
.參數(shù) OptionalArguments, 整數(shù)型
.DLL命令 _sscanf, 整數(shù)型, "NTDLL.DLL", "@sscanf"
.參數(shù) buffer, 文本型
.參數(shù) format, 文本型
.參數(shù) OptionalArguments, 整數(shù)型
.DLL命令 _swprintf, 整數(shù)型, "NTDLL.DLL", "@swprintf"
.參數(shù) buffer, 整數(shù)型
.參數(shù) format, 文本型
.參數(shù) OptionalArguments, 整數(shù)型
.DLL命令 _atof, 整數(shù)型, "msvcrt.dll", "@atof"
.參數(shù) nptr, 文本型
.DLL命令 _sprintf, 整數(shù)型, "msvcrt.dll", "@sprintf"
.參數(shù) buffer, 整數(shù)型
.參數(shù) format, 文本型
.參數(shù) OptionalArguments, 整數(shù)型
.參數(shù) OptionalArguments2, 整數(shù)型