用 Rust 编写的 快速、并行、可扩展和适应性强的遗传算法框架_Rust _代码_下载

上传者: 38334677 | 上传时间: 2022-06-19 09:06:41 | 文件大小: 54KB | 文件类型: ZIP
提供以下功能: 快速和并行的遗传算法实现(它在几秒钟内解决了 N=255 的 N Queens 问题)。对于基准查看此文件的基准部分。 根据内置的世代,可定制的突变和选择率具有常数、线性和二次函数(您可以通过MutationRate和SelectionRate特征实现自己的函数)。 可自定义的个体年龄不适合度,没有不适合度,线性和二次不适合度根据个人内置的代数(您可以通过Age特征实现自己的年龄函数)。 AccumulatedRoulette和内置选择函数(您可以通过 trait 实现自己的选择函数Tournaments)。CupSelection SingleCrossPoint,MultiCrossPoint和UniformCross内置的交叉函数(您可以通过Crossovertrait 实现自己的交叉函数)。 许多内置的生存压力功能。SurvivalPressure您可以通过trait实现自己的生存压力函数。 Niches内置PopulationRefitness功能。您可以通过 trait 实现自己的人口适应功能PopulationRefitness。 等等

文件下载

资源详情

[{"title":"( 35 个子文件 54KB ) 用 Rust 编写的 快速、并行、可扩展和适应性强的遗传算法框架_Rust _代码_下载\n\n","children":[{"title":"oxigenster","children":[{"title":".gitignore <span style='color:#111;'> 58B </span>","children":null,"spread":false},{"title":"oxigen","children":[{"title":"Cargo.toml <span style='color:#111;'> 546B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"survival_pressure.rs <span style='color:#111;'> 29.01KB </span>","children":null,"spread":false},{"title":"mutation_rate.rs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"selection.rs <span style='color:#111;'> 5.98KB </span>","children":null,"spread":false},{"title":"benchmarks.rs <span style='color:#111;'> 44.83KB </span>","children":null,"spread":false},{"title":"lib.rs <span style='color:#111;'> 25.43KB </span>","children":null,"spread":false},{"title":"stop_criteria.rs <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"population_refitness.rs <span style='color:#111;'> 4.17KB </span>","children":null,"spread":false},{"title":"prelude.rs <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"selection_rate.rs <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"crossover.rs <span style='color:#111;'> 8.29KB </span>","children":null,"spread":false},{"title":"slope_params.rs <span style='color:#111;'> 874B </span>","children":null,"spread":false},{"title":"age.rs <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"genotype.rs <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"niches_beta_rate.rs <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 17.79KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"ISSUE_TEMPLATE","children":[{"title":"bug_report.md <span style='color:#111;'> 799B </span>","children":null,"spread":false},{"title":"feature_request.md <span style='color:#111;'> 560B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"MIGRATE.md <span style='color:#111;'> 895B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 16.33KB </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"nqueens-oxigen","children":[{"title":"Cargo.toml <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 6.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CODE_OF_CONDUCT.md <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"knapsack-oxigen","children":[{"title":"Cargo.toml <span style='color:#111;'> 450B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 6.67KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".travis.yml <span style='color:#111;'> 117B </span>","children":null,"spread":false},{"title":"fd-oxigen","children":[{"title":"Cargo.toml <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 16.20KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"onemax-oxigen","children":[{"title":"Cargo.toml <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.rs <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"rustfmt.toml <span style='color:#111;'> 23B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明