disjoint

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 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 DisjointSet

type DisjointSet interface {
	GetSize() uint64
	GetHeight() int32
	GetHashMap() *sync.Map
	GetParent(uint64) uint64
	MakeSet(interface{})
	Find(interface{}, *sync.Map) (uint64, error)
	FindInternal([]uint64, uint64, *sync.Map) uint64
	Union(interface{}, interface{}) (uint64, error)
	UpdateHeight(int32) error
	PrepareMakeSet(interface{}, *sync.Map)
	PrepareUnion(interface{}, interface{}, *sync.Map) (uint64, error)
	BulkUpdate(*sync.Map) error
	Finalize()
}

DisjointSet implements disjoint set structure

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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