Documentation ¶
Index ¶
- Variables
- type Finder
- func (f *Finder) FindAllShortestRoutes(starts []int, end int, avoids, avoidTags, preferNotTags []int) ([][]int, error)
- func (f *Finder) FindAllShortestRoutesToTag(starts []int, endTag int, avoids, avoidTags, preferNotTags []int) ([][]int, error)
- func (f *Finder) FindShortestRoutes(start, end int, avoids, avoidTags, preferNotTags []int) ([][]int, error)
- func (f *Finder) FindShortestRoutesToTag(start, endTag int, avoids, avoidTags, preferNotTags []int) ([][]int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRoute = errors.New("no route")
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
func (*Finder) FindAllShortestRoutes ¶
func (*Finder) FindAllShortestRoutesToTag ¶
func (*Finder) FindShortestRoutes ¶
Click to show internal directories.
Click to hide internal directories.