资源简介
布谷鸟算法python代码,基于xinshe Yang的matlab m文件改编
代码片段和文件信息
#-------------------------------------------------------------------------------
# Name: module1
# Purpose:
#
# Author: cjfb68
#
# Created: 24/05/2013
# Copyright: (c) cjfb68 2013
# Licence:
#-------------------------------------------------------------------------------
import random
import math
import copy
class Cuckoo_Search():
def __init__(self nest_number nest_size pa Lowerbands Upperbands Num_iter):
# fitness function
# self.func = func
self.n = nest_number
self.nd = nest_size
self.pa = pa
self.Lb = Lowerbands
self.Ub = Upperbands
self.N_IterTotal = Num_iter
self.sigma = self.sigma_cal()
# used for fitness function
def sigma_cal(self):
# define gamma function
def gamma(x):
_a = (1.00000000000000000000
0.57721566490153286061
-0.65587807152025388108
- 上一篇:组态王卸载工具
- 下一篇:提取图片的不变矩特征,完美运行,你值得拥有
相关资源
- 无线通信AndreaGoldsmith杨鸿文等译.rar
- 迅捷PDF转换器破解版.rar
- 迅捷PDF编辑器破解版.rar
- 金字塔原理1清晰扫描版.pdf
- TeamViewer_11已激活+破解版+随意换ID.z
- FieldtheoryofGuidedwavesCollin__2nd.pdf
- 先进电气驱动的分析建模与控制[比
- IPC-J-STD033潮湿、回流焊敏感表面贴装
- 网络是怎样连接的_户根勤.pdf
- tesseract最新最全资料.rar
- 大话数据结构.epub
- iBATIS实战.pdf
- zw_new_smile-7110337-ImageAnimationTest.zip
- zw_jhn199388-9911706-基于51单片机都_自动
- zw_fan7983377-9600053-RecyclerViewDemo.zip
- zw_CHINA__.zip
- 我的第一本算法书+算法图解.zip
- 数学物理方法_德顾樵编著_2012.01_545页
- zw_WKTConvert.zip
- tdxw.exe
- zw_LabVIEW_8.20程序设计从入门到精通.
- zw_20170105220330215.zip
- unlocker-master最新版.rar
- Nginx核心知识100讲全套课件.zip
- navicat.11.2.16.premium_cs_x64破解版.zip
- 凸优化_Boyd_王书宁译.rar
- 云盘.rar
- Xshell5.exe
- 20170121135652618.rar
- DiskGenius4.7.0专业版.rar
评论
共有 条评论