Documentation ¶
Index ¶
- type AdaptiveRadius
- type CircularRegion
- type Interval
- type KDLeaf
- type KDTree
- func (kdtree KDTree) ComputeDensity(center []float64, radius float64) int
- func (kdtree KDTree) FindAdaptiveDensityPeaks(scale float64) []int
- func (kdtree KDTree) FindAllNeighbors(radius float64) [][]Point
- func (kdtree KDTree) FindDensityPeaks(radius float64) []int
- func (kdtree KDTree) FindNeighbors(center []float64, radius float64) []Point
- func (kdtree KDTree) ForEachLeaf(f func(leaf *KDLeaf))
- func (kdtree KDTree) GetLeafClusters() [][]int
- type Point
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdaptiveRadius ¶
type AdaptiveRadius struct { Regions []CircularRegion RBFCoefs []float64 RBFVar float64 }
func NewAdaptiveRadius ¶
func NewAdaptiveRadius(regions []CircularRegion) AdaptiveRadius
func (AdaptiveRadius) RadiusAt ¶
func (ar AdaptiveRadius) RadiusAt(center []float64) float64
type CircularRegion ¶
type KDTree ¶
type KDTree struct { BoundingBox []Interval DivisionDim int NumPoints int LSubTree *KDTree RSubTree *KDTree LLeaf *KDLeaf RLeaf *KDLeaf }
func (KDTree) ComputeDensity ¶
func (KDTree) FindAdaptiveDensityPeaks ¶
func (KDTree) FindAllNeighbors ¶
func (KDTree) FindDensityPeaks ¶
func (KDTree) FindNeighbors ¶
func (KDTree) ForEachLeaf ¶
func (KDTree) GetLeafClusters ¶
Click to show internal directories.
Click to hide internal directories.