dataStructures

package
v0.0.0-...-f69ef7f Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Value    rune
	Priority int
	// contains filtered or unexported fields
}

type RunePriorityQueue

type RunePriorityQueue []*Item

func (RunePriorityQueue) Len

func (rpq RunePriorityQueue) Len() int

func (RunePriorityQueue) Less

func (rpq RunePriorityQueue) Less(i, j int) bool

func (*RunePriorityQueue) Pop

func (rpq *RunePriorityQueue) Pop() interface{}

func (*RunePriorityQueue) Push

func (rpq *RunePriorityQueue) Push(x interface{})

func (RunePriorityQueue) Swap

func (rpq RunePriorityQueue) Swap(i, j int)

Jump to

Keyboard shortcuts

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