Documentation
¶
Overview ¶
Package provides an implementation of the Kruskal's minimum spanning forest algorithm together with an implementation of disjoint set data structure
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Edge ¶
type Edge struct {
// contains filtered or unexported fields
}
Type for edge data - endpoints u, v and length
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Type holding parent pointer and rank for a DSU node
Source Files
¶
- dsu.go
- kruskal.go
Click to show internal directories.
Click to hide internal directories.