2013年5月22日

人工鱼群算法 AFSA

摘要: 寻优还可以,速度跟不上.. 国产的支持一把 1 -- 人工鱼群算法 AFSA 2 3 -- lua 相关简易操作 4 sin = math.sin 5 cos = math.cos 6 sqrt = math.sqrt 7 pi = math.pi 8 random = math.random 9 exp = math.exp 10 int = math.floor 11 12 -- 获得不同的随机序列 13 math.randomseed(os.time()) 14 15 -- ==============================求解函数===========... 阅读全文

posted @ 2013-05-22 04:11 郁郁思扬 阅读(1336) 评论(0) 推荐(1) 编辑

导航