Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/soulyma/coloring_map
- Owner: Soulyma
- Created: 2022-10-18T19:23:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-18T19:42:08.000Z (about 2 years ago)
- Last Synced: 2024-04-22T01:41:30.536Z (9 months ago)
- Topics: algorithms, algorithms-and-data-structures, astar-algorithm, astar-java, astar-pathfinding, java, oop, oops-in-java
- Homepage:
- Size: 668 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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