![]() |
پیاده سازی مسئله تپه نوردی
سلام
لطف کنید سورس پیاده سازی مسئله تپه نوردی رو بذارید . ممنون از همگی:6: |
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.