harmonyos2-metaheuristic_algorithms:在Ruby中实现的各种元启发式算法

时间:2024-07-21 09:11:46
【文件属性】:

文件名称:harmonyos2-metaheuristic_algorithms:在Ruby中实现的各种元启发式算法

文件大小:30KB

文件格式:ZIP

更新时间:2024-07-21 09:11:46

系统开源

和声2 元启发式算法 在 Ruby 中实现的各种元启发式算法。 安装 将此行添加到应用程序的 Gemfile 中: gem 'metaheuristic_algorithms' 然后执行: $ bundle 或者自己安装: $ gem install metaheuristic_algorithms 支持的平台 MRI Ruby 2.2 或更高版本。 JRuby 9.0.0.0 或更高版本。 (为了获得更好的速度,如果不是快的话。) 可用算法 按字母顺序: 萤火虫算法元启发式算法::萤火虫算法 遗传算法元启发式算法::遗传算法 Harmony 搜索元启发式算法::HarmonySearch 简化粒子群优化元启发式算法::SimplifiedParticleSwarmOptimization 模拟退火元启发式算法::模拟退火 正在构建的算法: 蚁群优化 虚拟蜜蜂算法 用法 步骤 1. 通过扩展 MetaheuristicAlgorithms::FunctionWrappers::AbstractWrapper 为您的目标函数创建一个函数包装器 示例:Rosen* 的函数:f(x,


【文件预览】:
metaheuristic_algorithms-master
----LICENSE.txt(1KB)
----.ruby-version(6B)
----lib()
--------metaheuristic_algorithms()
--------metaheuristic_algorithms.rb(735B)
----Gemfile(202B)
----.ruby-gemset(24B)
----spec()
--------metaheuristic_algorithms()
--------spec_helper.rb(93B)
--------metaheuristic_algorithms_spec.rb(159B)
----Rakefile(117B)
----.travis.yml(76B)
----README.md(4KB)
----.rspec(31B)
----CODE_OF_CONDUCT.md(1KB)
----.gitignore(97B)
----metaheuristic_algorithms.gemspec(2KB)
----bin()
--------console(349B)
--------setup(115B)
----CHANGELOG.md(533B)

网友评论