UF

package
v0.0.0-...-8d7462d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UF

type UF interface {
	Union(p, q int)          // 归并两个分量
	Find(p int) int          // 分量标识符
	Connected(p, q int) bool // 分量是否连通
	Count() int              // 所有连通分量的数目
}

UF 基础组件

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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