Skip to content

ibrahim-gabol-19/AStarInC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AStarInC

A* pathfinding algorithm in c.

Red is coordinates. Blue is cost between the nodes.

In main.c, there is setup for nodes in the 2D Plane.

The algorithm uses a combined heuristic as dictated in the A* algorithm, to find the shortest path between two nodes. Example is given in main.c

image

The algorithm ignores the shorter paths south from S, because they are straying further from E.

About

A* pathfinding algorithm in c.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages