scapegoat

package
v2.0.0-...-fba89a2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScapeGoatTree

type ScapeGoatTree[T constraints.Integer | constraints.Float] struct {
	// contains filtered or unexported fields
}

func (*ScapeGoatTree[T]) At

func (t *ScapeGoatTree[T]) At(k uint) (T, error)

func (*ScapeGoatTree[T]) Clear

func (t *ScapeGoatTree[T]) Clear()

func (*ScapeGoatTree[T]) Contains

func (t *ScapeGoatTree[T]) Contains(value T) bool

func (*ScapeGoatTree[T]) Delete

func (t *ScapeGoatTree[T]) Delete(value T)

func (*ScapeGoatTree[T]) Empty

func (t *ScapeGoatTree[T]) Empty() bool

func (*ScapeGoatTree[T]) Index

func (t *ScapeGoatTree[T]) Index(value T) uint

func (*ScapeGoatTree[T]) Insert

func (t *ScapeGoatTree[T]) Insert(value T)

func (*ScapeGoatTree[T]) Predecessor

func (t *ScapeGoatTree[T]) Predecessor(value T) (T, error)

func (*ScapeGoatTree[T]) Size

func (t *ScapeGoatTree[T]) Size() uint

func (*ScapeGoatTree[T]) Successor

func (t *ScapeGoatTree[T]) Successor(value T) (T, error)

Jump to

Keyboard shortcuts

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