Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heap

type Heap struct {
	HeapType
	// contains filtered or unexported fields
}

func (*Heap) Copy

func (x *Heap) Copy() Heap

func (*Heap) Get

func (x *Heap) Get(indx int) interface{}

func (*Heap) Len

func (x *Heap) Len() int

func (*Heap) Pop

func (x *Heap) Pop() interface{}

func (*Heap) Push

func (x *Heap) Push(a interface{})

func (*Heap) Swap

func (x *Heap) Swap(i, j int)

type HeapType

type HeapType interface {
	SetIndex(i, j int)
}

Source Files