bfs

package
v0.0.0-...-acf6961 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SearchAll

func SearchAll(start Node) ([][]Node, error)

Types

type Node

type Node interface {
	IsGoal() bool
	Neighbours() ([]Node, error)
	Key() interface{}
}
func Search(start Node) ([]Node, error)

Jump to

Keyboard shortcuts

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