aimacode / aima-julia

Julia implementation of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
MIT License
126 stars 50 forks source link

Add agents.jl, search.jl, and their respective helper functions in utils.jl. #2

Closed mikhail-j closed 7 years ago

mikhail-j commented 7 years ago

@norvig This Julia implementation of agents and search are based on the aima-python/aima3python2 and aima-java projects. I have written them in an idiomatic Julia fashion as noted here.

In search.jl, the original doctests from search.py for compare_searchers() yielded slightly different values than the return values in Julia Base.Test. This may be due to the fact that dictionaries in python do not preserve the order of the keys as they are entered. However, Julia's dictionary implementation does preserve the order.

This pull request includes a modified README.md that I added due to conflicts when merging different git branches.