/Robotiic

Robotiic is a Streamlit application for visualizing the results of genetic algorithms, showcasing eight queens with backtracking, and for the MCV / MRV heuristic. Inspired from "Artificial Intelligence: A Modern Approach 3rd Edition", by Stuart Russell, Peter Norvig

Primary LanguagePython

Robotiic

Robotiic is a Streamlit application for visualizing the results of genetic algorithms, showcasing eight queens with backtracking, and for the MCV / MRV heuristic. Inspired from "Artificial Intelligence: A Modern Approach 3rd Edition", by Stuart Russell, Peter Norvig.

Check out the Heroku deployment here, and the GitHub link here.

Streamlit

Checking if Streamlit was installed properly,

streamlit hello

Starting the streamlit application,

streamlit run app.py

Heroku

Logging,

heroku logs --tail -a robotiic

Autopep8

Formatting,

autopep8 --in-place --aggressive --aggressive [filename]

Pip

Installing,

pip install package_name

Moving to `requirements.txt,

pip freeze > requirements.txt

Pipenv

Activating,

pipenv shell

Updating Pipfile, by moving dependencies from requirements.txt to Pipfile,

pip freeze > requirements.txt
pipenv install -r requirements.txt

Updating pipfile.lock,

pipenv lock --pre --clear

References