data

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2018 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinHeap

type BinHeap struct {
	// contains filtered or unexported fields
}

func NewBinHeap

func NewBinHeap() *BinHeap

func (*BinHeap) GetMax

func (hp *BinHeap) GetMax() interface{}

func (*BinHeap) Insert

func (hp *BinHeap) Insert(weight uint32, val interface{})

type BinHeapNode

type BinHeapNode struct {
	// contains filtered or unexported fields
}

type NTree

type NTree struct {
	// contains filtered or unexported fields
}

func (*NTree) Detach

func (t *NTree) Detach(val interface{}) *NTree

func (*NTree) Find

func (t *NTree) Find(val interface{}) *NTree

func (*NTree) FindCommonParent

func (t *NTree) FindCommonParent(vals ...interface{}) *NTree

func (*NTree) FindOrInsert

func (t *NTree) FindOrInsert(val interface{}) *NTree

func (*NTree) FindParent

func (t *NTree) FindParent(val interface{}) *NTree

func (*NTree) GetValue

func (t *NTree) GetValue() interface{}

func (*NTree) PostTraversal

func (t *NTree) PostTraversal() []interface{}

func (*NTree) PreTraversal

func (t *NTree) PreTraversal() []interface{}

type Topology

type Topology struct {
	// contains filtered or unexported fields
}

func NewTopology

func NewTopology(extNodes ...TopologyNode) *Topology

func (*Topology) Connect

func (top *Topology) Connect(from string, to string)

func (*Topology) Sort

func (top *Topology) Sort() ([]TopologyNode, error)

type TopologyNode

type TopologyNode interface {
	GetName() string
}

Jump to

Keyboard shortcuts

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