Skip to content

MohammadJavadArdestani/sort-colored-cards-with-AI-search-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sort Clored Cards with AI Search Algorithms

Here I used A*, IDS, and BFS to sort colored cards in ascending order.
In the initial state, we have different unsorted decks of cards (they could have different colors), and as output, you get sorted cards with the same color in each deck.
You can run the same test case on each algorithm to understand the great effect of the heuristic function on decreasing computation time by creating fewer nodes than BFS and IDS.

About

use A*, IDS and BFS to sort colored cards in ascending order.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages