2015年10月6日

和声搜索算法-python实现

摘要: HSIndividual.py 1 import numpy as np 2 import ObjFunction 3 4 5 class HSIndividual: 6 7 ''' 8 individual of harmony search algorithm 9 ... 阅读全文

posted @ 2015-10-06 22:45 Alex Yu 阅读(5120) 评论(1) 推荐(0) 编辑

克隆选择算法-python实现

摘要: CSAIndividual.py 1 import numpy as np 2 import ObjFunction 3 4 5 class CSAIndividual: 6 7 ''' 8 individual of clone selection algorithm 9 ... 阅读全文

posted @ 2015-10-06 22:42 Alex Yu 阅读(4305) 评论(1) 推荐(0) 编辑

细菌觅食算法-python实现

摘要: BFOIndividual.py 1 import numpy as np 2 import ObjFunction 3 4 5 class BFOIndividual: 6 7 ''' 8 individual of baterial clony foraging algor... 阅读全文

posted @ 2015-10-06 22:39 Alex Yu 阅读(3522) 评论(2) 推荐(1) 编辑

蝙蝠算法-python实现

摘要: BAIndividual.py 1 import numpy as np 2 import ObjFunction 3 4 5 class BAIndividual: 6 7 ''' 8 individual of bat algorithm 9 '''10 11 ... 阅读全文

posted @ 2015-10-06 22:37 Alex Yu 阅读(5101) 评论(4) 推荐(0) 编辑

人工免疫算法-python实现

摘要: AIAIndividual.py 1 import numpy as np 2 import ObjFunction 3 4 5 class AIAIndividual: 6 7 ''' 8 individual of artificial immune algorithm 9... 阅读全文

posted @ 2015-10-06 22:35 Alex Yu 阅读(5475) 评论(2) 推荐(0) 编辑

人工鱼群算法-python实现

摘要: AFSIndividual.py 1 import numpy as np 2 import ObjFunction 3 import copy 4 5 6 class AFSIndividual: 7 8 """class for AFSIndividual""" 9 10 ... 阅读全文

posted @ 2015-10-06 22:33 Alex Yu 阅读(7152) 评论(1) 推荐(5) 编辑

人工蜂群算法-python实现

摘要: ABSIndividual.py 1 import numpy as np 2 import ObjFunction 3 4 5 class ABSIndividual: 6 7 ''' 8 individual of artificial bee swarm algorith... 阅读全文

posted @ 2015-10-06 22:30 Alex Yu 阅读(9473) 评论(8) 推荐(1) 编辑

粒子群优化算法-python实现

摘要: PSOIndividual.py 1 import numpy as np 2 import ObjFunction 3 import copy 4 5 6 class PSOIndividual: 7 8 ''' 9 individual of PSO10 '''11... 阅读全文

posted @ 2015-10-06 22:28 Alex Yu 阅读(15770) 评论(8) 推荐(3) 编辑

差分进化算法-python实现

摘要: DEIndividual.py 1 import numpy as np 2 import ObjFunction 3 4 5 class DEIndividual: 6 7 ''' 8 individual of differential evolution algorith... 阅读全文

posted @ 2015-10-06 22:25 Alex Yu 阅读(9033) 评论(8) 推荐(2) 编辑

简单遗传算法-python实现

摘要: ObjFunction.py 1 import math 2 3 4 def GrieFunc(vardim, x, bound): 5 """ 6 Griewangk function 7 """ 8 s1 = 0. 9 s2 = 1.10 fo... 阅读全文

posted @ 2015-10-06 22:21 Alex Yu 阅读(22230) 评论(6) 推荐(2) 编辑

导航