Artificial Intelligence - هوش مصنوعی  
انجمن را در گوگل محبوب کنيد :

بازگشت   Artificial Intelligence - هوش مصنوعی > محاسبات نرم > بهينه سازی چند هدفه (Muti-objective Optimization)


 
تبليغات سايت
Iranian Association for the Advancement of Artificial Intelligence
ارسال تاپيک جديد  پاسخ
 
LinkBack ابزارهاي تاپيک نحوه نمايش
قديمي ۱۰-۲۲-۱۳۹۴, ۱۱:۰۹ بعد از ظهر   #1 (لینک دائم)
عضو جدید
 
آواتار alexing
 
تاريخ عضويت: مهر ۱۳۹۴
پست ها: 3
تشكرها: 0
0 تشكر در 0 پست
پيش فرض سورس کد هشت وزیر با fitness sharing

سلام دوستان خسته نباشید
من دونبال سورس هشت وزیر هستم که به جای یک جواب چند جواب بهینه بهمون بده یعنی فیتنس همه انها صفر باشه
باید قسمت فیتنس توسط
9.4.1 Fitness Sharing
This scheme is based upon the idea that the number of individuals within a
given niche is controlled by "sharing" their fitness immediately prior to selection.
In practice the scheme works by considering each possible pairing of
individuals i and j within the population (including i with itself) and calculating
a distance d(i,j) between them according to some distance metric
(phenotypic is preferred if possible, else genotypic, e.g., Hamming distance for
binary representations). The fitness F of each individual i is then adjusted according
to the number of individuals falling within some prespecified distance
(J"share using a power-law distribution:
I . F( i)
F (z) = Lj sh(d(i,j)) '
where the sharing function sh(d) is a function of the distance d given by
sh(d) = { 1 - (d/~share)a if d :::; (J"share,
otherwise.
As can be seen the constant value 0: determines the shape of the sharing
function: for 0:=1 the function is linear, but for values greater than this the
effect of similar individuals in reducing a solution's fitness falls off more rapidly
with distance.
The other parameter that needs to be set, and the one that decides both
how many niches can be maintained and the granularity with which different
niches can be discriminated, is the share radius (J"share. Deb [108] gives some
suggestions for how this might be set if the number of niches is known in
advance, but clearly this is not always the case. In [106] he suggests that a
default value in the range 5-10 should be used.
Finally, we should point out that the use of fitness proportionate selection is
implicit within the fitness-sharing method. Studies have indicated that the use
of alternative selection methods does not lead to the formation and preservation
of stable subpopulations in niches [294]. However, if fitness proportionate
selection is used, then there exists a stable distribution of solutions amongst
the niches when solutions from each peak have the same effective fitness F'.
This means that in each niche k the number of solutions present nk is proportional
to the niche fitness Fk , so that F£ = Fk/nk is constant and equal
for all niches2 . This point is illustrated in Fig. 9.2.


درست بشه
با الگوریتم ژنتیک نوشته بشه
alexing آفلاين است   پاسخ با نقل قول

  #ADS
نشان دهنده تبلیغات
تبليغگر
 
 
 
تاريخ عضويت: -
محل سكونت: -
سن: 2010
پست ها: -
 

نشان دهنده تبلیغات is online  
قديمي ۱۰-۲۶-۱۳۹۴, ۱۱:۲۱ بعد از ظهر   #2 (لینک دائم)
عضو جدید
 
آواتار alexing
 
تاريخ عضويت: مهر ۱۳۹۴
پست ها: 3
تشكرها: 0
0 تشكر در 0 پست
پيش فرض

کسی میتونه مسله هشت وزیر رو که چند تا جواب بهینه بهمون بده با فیتنس شیرینگ سورس کد بنویسه؟
alexing آفلاين است   پاسخ با نقل قول
پاسخ



كاربران در حال ديدن تاپيک: 1 (0 عضو و 1 مهمان)
 

قوانين ارسال
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is فعال
شکلکها فعال است
كد [IMG] فعال است
كدهاي HTML غير فعال است
Trackbacks are فعال
Pingbacks are فعال
Refbacks are فعال




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


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

Teach and Learn at Hexib | Sponsored by www.Syavash.com and Product In Review

استفاده از مطالب انجمن در سایر سایت ها، تنها با ذکر انجمن هوش مصنوعي به عنوان منبع و لینک مستقیم به خود مطلب مجاز است

Inactive Reminders By Icora Web Design