Artificial Intelligence - هوش مصنوعی

Artificial Intelligence - هوش مصنوعی (http://artificial.ir/intelligence/)
-   حل مسائل معروف هوش مصنوعي (http://artificial.ir/intelligence/forum102.html)
-   -   پیاده سازی مسئله تپه نوردی (http://artificial.ir/intelligence/thread13374.html)

acivic ۱۰-۵-۱۳۹۳ ۰۳:۴۴ بعد از ظهر

پیاده سازی مسئله تپه نوردی
 
سلام
لطف کنید سورس پیاده سازی مسئله تپه نوردی رو بذارید .
ممنون از همگی:6:

mahdiii ۱۰-۷-۱۳۹۳ ۱۰:۰۲ بعد از ظهر

Discrete Space Hill Climbing Algorithm currentNode = startNode; loop do L = NEIGHBORS(currentNode); nextEval = -INF; nextNode = NULL; for all x in L if (EVAL(x) > nextEval) nextNode = x; nextEval = EVAL(x); if nextEval <= EVAL(currentNode) //Return current node since no better neighbors exist return currentNode; currentNode = nextNode;


زمان محلي شما با تنظيم GMT +3.5 هم اکنون ۰۸:۳۷ قبل از ظهر ميباشد.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.