Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beefsack/go-astar
/ types & classes
Types & classes
9 in github.com/beefsack/go-astar
⨍
Functions
37
◇
Types & classes
9
↓ 2 callers
Interface
Pather
astar is an A* pathfinding implementation. Pather is an interface which allows A* searching on arbitrary objects which can represent a weighted graph.
astar.go:9
Struct
Goreland
goreland_example.go implements implements Pather for the sake of testing. This functionality forms the back end for goreland_test.go, and serves as a
goreland_example.go:25
Struct
Tile
A Tile is a tile in a grid which implements Pather.
pather_test.go:62
Struct
Truck
A Truck is a Truck in a grid which implements Grapher.
goreland_example.go:36
Struct
Tube
goreland_example.go:29
TypeAlias
World
World is a two dimensional map of Tiles.
pather_test.go:111
Struct
node
node is a wrapper to store A* data for a Pather node.
astar.go:21
TypeAlias
nodeMap
nodeMap is a collection of nodes keyed by Pather nodes for quick reference.
astar.go:32
TypeAlias
priorityQueue
A priorityQueue implements heap.Interface and holds Nodes. The priorityQueue is used to track open nodes by rank.
priority_queue.go:5