Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathHeap ¶
type PathHeap struct {
// contains filtered or unexported fields
}
PathHeap is a convenience wrapper around Paths and heap.Interface.
func NewPathHeap ¶
NewPathHeap creates a new PathHeap, initialized to contain paths.
type Paths ¶
type Paths []Path
Paths is a sortable collection of paths.
func (Paths) Less ¶
Less returns true if the cost of the ith Path in p is less than the cost of the jth path.
func (*Paths) Pop ¶
func (p *Paths) Pop() interface{}
Pop removes and returns the latest path from p.
Click to show internal directories.
Click to hide internal directories.