graph

package
v0.0.0-...-9c9a4a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 0 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL