Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph[N comparable] interface { Has(N) bool PutNode(N) PutEdge(N, N) Nodes() Set[N] Transpose() Graph[N] Descendants(N) Set[N] }
func NewGraph ¶
func NewGraph[N comparable]() Graph[N]
type Multimap ¶
type Multimap[K, V comparable] map[K]Set[V]
type Set ¶
type Set[T comparable] map[T]struct{}
func NewSet ¶
func NewSet[T comparable](ts ...T) Set[T]
Click to show internal directories.
Click to hide internal directories.