Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BestPath ¶
type BestPath struct {
Path []string
}
BestPath is a list of nodes in a shortest path
type PathSegment ¶
PathSegment is a pair of nodes
func GetPathSegments ¶
func GetPathSegments(paths BestPaths) []PathSegment
GetPathSegments breaks a list of paths into a list of two-node segments
Click to show internal directories.
Click to hide internal directories.