7 个版本 (破坏性更新)
0.7.0 | 2023 年 9 月 22 日 |
---|---|
0.6.0 | 2023 年 5 月 30 日 |
0.5.0 | 2022 年 6 月 2 日 |
0.4.0 | 2022 年 1 月 24 日 |
0.1.0 | 2021 年 12 月 23 日 |
#147 在 科学
每月 47 次下载
在 mahf-coco 中使用
1.5MB
30K SLoC
Coco
Rust 对 COCO 数值黑盒优化基准测试框架的绑定。
请参阅 https://github.com/numbbo/coco 和 https://numbbo.github.io/coco/。
构建和打包
要求
git
gcc
(或任何其他 C 编译器)bindgen
(使用cargo install bindgen-cli
安装)- 和
libclang
(在 Ubuntu 上安装libclang-dev
)
- 和
bash
(用于generate.sh
)
coco-sys
$ python do.py build-rust
$ cd code-experiments/build/rust/coco-sys
$ cargo build
$ # and when publishing
$ cargo package --allow-dirty
$ cargo publish --allow-dirty
coco-rs
$ cd code-experiments/build/rust
$ cargo build
$ # and when publishing
$ cargo package
$ cargo publish
许可
本代码以 MIT 许可证和 Apache 许可证(版本 2.0)的条款进行分发。
有关详细信息,请参阅 LICENSE-APACHE 和 LICENSE-MIT。
依赖关系
~0–2MB
~40K SLoC