Versions in this module Expand all Collapse all v0 v0.9.1 May 25, 2020 v0.9.0 May 25, 2020 Changes in this version + const UnlimitedIndices + func MaxIndices(maxRange, numDims, numTilings int) int + func MaxIndicesForRanges(ranges []int, numTilings int) int + type AggregateTiler struct + func NewAggregateTiler(tils []Tiler) (*AggregateTiler, error) + func NewPairsTiler(numDims, numTilings int) (*AggregateTiler, error) + func NewSinglesTiler(numDims, numTilings int) (*AggregateTiler, error) + func (til *AggregateTiler) Tile(data []float64) []uint64 + type HashTiler struct + func NewHashTiler(numTilings int) (*HashTiler, error) + func (ht HashTiler) Tile(data []float64) []uint64 + type IndexTiler interface + CheckError func() error + Tile func(data []float64) []int + type IndexingTiler struct + func NewIndexingTiler(til Tiler, indexSize int) (*IndexingTiler, error) + func NewIndexingTilerWithOffset(til Tiler, offset, indexSize int) (*IndexingTiler, error) + func (it *IndexingTiler) Tile(data []float64) []int + func (it IndexingTiler) CheckError() error + type InvalidNumTilingsError struct + NumTilings int + Reason string + func (err InvalidNumTilingsError) Error() string + type Tiler interface + Tile func(data []float64) []uint64