bktree

package
v0.0.0-...-15f681d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PHashValueForImage

func PHashValueForImage(path string) uint64

Types

type Node

type Node struct {
	HashValue uint64
	Object    interface{}
	Children  map[int]Node
}

func New

func New(hashValue uint64, object interface{}) Node

func (*Node) Find

func (node *Node) Find(hashValue uint64, allowedDistance int) []interface{}

func (*Node) Insert

func (node *Node) Insert(hashValue uint64, object interface{})

func (*Node) Walk

func (node *Node) Walk() []WalkerNode

type WalkerNode

type WalkerNode struct {
	HashValue uint64
	Object    interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL