Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShortestPath ¶
func ShortestPath[T comparable](from, to T, it Iterator[T]) int
Types ¶
type Iterator ¶
type Iterator[T comparable] interface { Next(T) []T Constraint(from, to T) bool }
Click to show internal directories.
Click to hide internal directories.