Skip to content

rystrauss/cannibals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cannibals

Cannibals is a Python package containing implementations of search strategies for problem-solving agents. The name is a reference to the missionaries and cannibals problem, a classic problem in AI.

Cannibals provides an easy interface for creating and solving such problems. Any proper instance of an AbstractProblem can be solved by any subclass of a SearchStrategy. The currently implemented search strategies are depth-first search, breadth-first search, uniform-cost search, and A-star search. The classic sliding-tile-puzzle is provided as an example problem. See 8puzzle.py for an example of how to use this package to solve the 8-puzzle.

About

Search strategies for problem-solving agents.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages