没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
KD树 KD树( )数据结构的Golang实现 入门 使用 go 工具在你的包树中安装包: go get github.com/hongshibao/go-kdtree 然后你可以在你的 Go 程序的导入部分使用它: import "github.com/hongshibao/go-kdtree" 包名是kdtree 。 基本示例 首先,您需要实现Point接口: type Point interface { // Return the total number of dimensions Dim () int // Return the value X_{dim}, dim is started from 0 GetValue ( dim int ) float64 // Return the distance between two points Dist
资源推荐
资源详情
资源评论
收起资源包目录
go-kdtree-master.zip (8个子文件)
go-kdtree-master
go.mod 252B
.github
workflows
go.yml 943B
go.sum 2KB
kdtree.go 4KB
kdtree_test.go 3KB
LICENSE.md 11KB
README.md 3KB
.gitignore 6B
共 8 条
- 1
资源评论
锦宣
- 粉丝: 18
- 资源: 4564
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功