Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soulyma/coloring_map

Using java i managed to implement AStar algorithm on a map to color each city in a color by taking the shortest way and each neighboring cities have a different color.
https://github.com/soulyma/coloring_map

algorithms algorithms-and-data-structures astar-algorithm astar-java astar-pathfinding java oop oops-in-java

Last synced: 14 days ago
JSON representation

Using java i managed to implement AStar algorithm on a map to color each city in a color by taking the shortest way and each neighboring cities have a different color.

Awesome Lists containing this project

README

        

Using java i managed to implement AStar algorithm on a map to color each city in a color by taking the shortest way and each neighboring cities have a different color.
The code is 5 five classes.
- Node class : to define what is there in each node
- Edge class : to define what is there in each edge (the conector between any two nodes )
- Map class : to define all nodes and edges in the map ( there is a photo for it )
- Algo class : the class that contain all the algorithm
- Coloring class : the class that has the coloring action happeneing