Pathfinding v0.1.1 Pathfinding.Node View Source
Representation of an (x, y) coordinate on a Pathfinding.Grid
, with metadata
useful for grid traversal.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Pathfinding.Node{
cost: Number.t(),
distance: Number.t(),
parent: term(),
visited: Boolean.t(),
x: Number.t(),
y: Number.t()
}
t() :: %Pathfinding.Node{ cost: Number.t(), distance: Number.t(), parent: term(), visited: Boolean.t(), x: Number.t(), y: Number.t() }
Link to this section Functions
Link to this function
format_path(node) View Source
Link to this function