Documentation
¶
Index ¶
- func GraphSeparators[K comparable](inputs []K, edges func(K) []K) ([]K, [][]K)
- func SeparatorsTest()
- func StronglyConnectedComponents[K comparable](inputs []K, edges func(K) []K) [][]K
- func StronglyConnectedTest()
- type SExpKindT
- type SExpT
- type SetT
- func (set SetT[E]) Add(members ...E)
- func (set SetT[E]) Contains(member E) bool
- func (set SetT[E]) Difference(other SetT[E]) SetT[E]
- func (set SetT[E]) Intersection(other SetT[E]) SetT[E]
- func (set SetT[E]) Members() []E
- func (set SetT[E]) Pop() E
- func (set SetT[E]) Remove(member E)
- func (set SetT[E]) Union(other SetT[E]) SetT[E]
- type StackT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GraphSeparators ¶
func GraphSeparators[K comparable](inputs []K, edges func(K) []K) ([]K, [][]K)
func SeparatorsTest ¶
func SeparatorsTest()
func StronglyConnectedComponents ¶
func StronglyConnectedComponents[K comparable](inputs []K, edges func(K) []K) [][]K
func StronglyConnectedTest ¶
func StronglyConnectedTest()
Types ¶
type SetT ¶
type SetT[E comparable] map[E]struct{}
func NewSet ¶
func NewSet[E comparable](members ...E) SetT[E]
func (SetT[E]) Difference ¶
func (SetT[E]) Intersection ¶
Click to show internal directories.
Click to hide internal directories.