Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CostFunction ¶
type PathFinder ¶
type PathFinder struct {
// contains filtered or unexported fields
}
func NewPathFinder ¶
func NewPathFinder(start, end Point) *PathFinder
func (*PathFinder) AddConnection ¶
func (pf *PathFinder) AddConnection(from Point, cost CostFunction, to ...Point)
func (*PathFinder) BestPath ¶
func (pf *PathFinder) BestPath() ([]Point, error)
Click to show internal directories.
Click to hide internal directories.