الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

particle swarm

بدأه eng9999 في 6 ديسمبر 2011 · 5 رد · 758 مشاهدة · في الذكاء الاصطناعي وتطبيقاته
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

ممكن يااخوان تعطوني كود بسيط يوضح ويبين لي كيف

ننشيء ونوجد الحلول من خلال خوار زمية particle swarm

#2
[code]
For each particle:
        Initialize particle

  II) Do:
      a) For each particle:
         1) Calculate fitness value
         2) If the fitness value is better than the best fitness value (pBest) in  history
         3) Set current value as the new pBest
         End
      b) For each particle:
         1) Find in the particle neighborhood, the particle with the best fitness
         2) Calculate particle velocity according to the velocity equation (1)
         3) Apply the velocity constriction
         4) Update particle position according to the position equation (2)
         5) Apply the position constriction
         End
      While maximum iterations or minimum error criteria is not attained

هل هذا ينفع ؟

#3
( HASSAN ) كتب:

[code]
For each particle:
        Initialize particle

  II) Do:
      a) For each particle:
         1) Calculate fitness value
         2) If the fitness value is better than the best fitness value (pBest) in  history
         3) Set current value as the new pBest
         End
      b) For each particle:
         1) Find in the particle neighborhood, the particle with the best fitness
         2) Calculate particle velocity according to the velocity equation (1)
         3) Apply the velocity constriction
         4) Update particle position according to the position equation (2)
         5) Apply the position constriction
         End
      While maximum iterations or minimum error criteria is not attained

هل هذا ينفع ؟

والله للاسف مافهمت هل المتغير الطلوب البحث عنه نرمز له ب particle

ولماذا هناك position & velocity

ياليت تسرد لنا كود ماث لاب بسيط

#4
eng9999 كتب:

والله للاسف مافهمت هل المتغير الطلوب البحث عنه نرمز له ب particle

ولماذا هناك position & velocity

ياليت تسرد لنا كود ماث لاب بسيط

ممكن تسمحلي في سؤال ؟ حتى تستفيد اكثر ونبتعد عن اسلوب التلقين , لكي تحصل على المعلومه افضل وتفيدك اكثر ,,

ماهي فائدة ال PSO ؟ او في ماذا تستخدم ؟

ممكن تشرح الذي تفهمه منها ؟ وان شاء الله اساعدك في سد الثغرات التي لم تفهمها

اذا فهمت الخوارزميه لا يلزمك كود ماتلاب ولا غيره , فقط يبقى عليك تنفيذها برمجيا ..

#5

i need the PSO to find optimal solutionand what i understand that you create particles and each particle has solution

#6
eng9999 كتب:

i need the PSO to find optimal solutionand what i understand that you create particles and each particle has solution

:blink: :blink:

-------

عربي بارك الله فيك ,

اقرأ الملف المرفق بتمعن وبعدها اسأل .

DorMonEng2008sch-pso.pdf

1

مواضيع مشابهة