Versions in this module Expand all Collapse all v0 v0.0.1 Jun 12, 2019 Changes in this version + type SortData struct + Data []int + Feature int + RowData [][]float64 + func (d SortData) Len() int + func (d SortData) Less(i, j int) bool + func (d SortData) Swap(i, j int) + type Tree struct + func New() *Tree + func (t *Tree) Build(data [][]float64) error + func (t *Tree) Search(k int, disType pairwise.PairwiseDistanceFunc, target []float64) ([]int, []float64, error)