Skip to content

Commit

Permalink
Add Dijkstra pathfinding algorithm and tests 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Solomon authored and Jordan Solomon committed Jan 23, 2025
1 parent e352744 commit 26b4f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/map/src/finders/astar.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use origami_map::types::node::{Node, NodeTrait};
use origami_map::types::direction::{Direction, DirectionTrait};

#[generate_trait]
pub impl Astar of AstarTrait {
pub impl Astar of AstarTrait {
/// Search for the shortest path from a start to a target position.
/// # Arguments
/// * `grid` - The grid to search (1 is walkable and 0 is not)
Expand Down

0 comments on commit 26b4f1f

Please sign in to comment.