首页 开发技术 其它     /    polylabel-rs:具有FFI的Polylabel算法的Rust实现-源码

polylabel-rs:具有FFI的Polylabel算法的Rust实现-源码

上传者: weixin_42134554 | 上传时间:2024/9/14 8:35:52 | 文件大小:319KB | 文件类型:ZIP
polylabel-rs:具有FFI的Polylabel算法的Rust实现-源码
多标签多算法的Rust实现橙色点是多边形质心。
蓝绿色点是理想的标签位置。
红色框显示搜索空间。
您可以通过克隆此回购,切换到生成自己这个可视化的分公司,并打开Jupyter笔记本电脑,然后通过细胞步进。
您还可以使用笔记本轻松显示自己的多边形。
如何使用externcratepolylabel;usepolylabel::polylabel;externcrategeo;usegeo::{Point,Polygon};letcoords=vec![(0.0,0.0),(4.0,0.0),(4.0,1.0),(1.0,1.0),(1.0,4.0),(0.0,4.0),(0.0,0.0)];letpoly=Polygon::new(coords.into(),vec![]);letlabel_pos=polylabel(&poly,&0.10);//Point(0.5

文件下载

资源详情

[{"title":"(28个子文件319KB)polylabel-rs:具有FFI的Polylabel算法的Rust实现-源码","children":[{"title":"polylabel-rs-master","children":[{"title":".travis.yml <span style='color:#111;'>4.26KB</span>","children":null,"spread":false},{"title":"output.gif <span style='color:#111;'>215.06KB</span>","children":null,"spread":false},{"title":"license.txt <span style='color:#111;'>1.06KB</span>","children":null,"spread":false},{"title":"cbindgen.toml <span style='color:#111;'>207B</span>","children":null,"spread":false},{"title":"data","children":[{"title":"norway_main.rs <span style='color:#111;'>349.42KB</span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"workflows","children":[{"title":"rust.yml <span style='color:#111;'>129B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ffi.py <span style='color:#111;'>4.99KB</span>","children":null,"spread":false},{"title":"include","children":[{"title":"header.h <span style='color:#111;'>1.19KB</span>","children":null,"spread":false}],"spread":true},{"title":"ci","children":[{"title":"before_deploy_manylinux1.sh <span style='color:#111;'>1.41KB</span>","children":null,"spread":false},{"title":"before_deploy_windows.ps1 <span style='color:#111;'>719B</span>","children":null,"spread":false},{"title":"install.sh <span style='color:#111;'>298B</span>","children":null,"spread":false},{"title":"script.sh <span style='color:#111;'>310B</span>","children":null,"spread":false},{"title":"before_deploy_osx.sh <span style='color:#111;'>1.12KB</span>","children":null,"spread":false}],"spread":true},{"title":"appveyor.yml <span style='color:#111;'>3.82KB</span>","children":null,"spread":false},{"title":"src","children":[{"title":"build.rs <span style='color:#111;'>333B</span>","children":null,"spread":false},{"title":"ffi.rs <span style='color:#111;'>4.30KB</span>","children":null,"spread":false},{"title":"poly3.rs <span style='color:#111;'>559B</span>","children":null,"spread":false},{"title":"poly1.rs <span style='color:#111;'>4.66KB</span>","children":null,"spread":false},{"title":"lib.rs <span style='color:#111;'>10.38KB</span>","children":null,"spread":false},{"title":"poly2.rs <span style='color:#111;'>4.18KB</span>","children":null,"spread":false},{"title":"errors.rs <span style='color:#111;'>477B</span>","children":null,"spread":false}],"spread":true},{"title":"Cargo.toml <span style='color:#111;'>736B</span>","children":null,"spread":false},{"title":"benches","children":[{"title":"benchmark.rs <span style='color:#111;'>930B</span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'>18B</span>","children":null,"spread":false},{"title":"ell.svg <span style='color:#111;'>897B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>3.55KB</span>","children":null,"spread":false},{"title":"visualise.ipynb <span style='color:#111;'>11.40KB</span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'>28B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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