Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

nikololiahim/AI-Assignment-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Assignment-2

WARNING: This project doesn't support Python 3.8. Python 3.7.8 works fine.

Setup

  1. Clone this repo using git clone https://github.com/nikololiahim/AI-Assignment-2.git
  2. In the project folder initialize the Python virtual environment (provided you have the virtualenv package installed pip install virtualenv)
  virtualenv venv
  1. Activate the environment using
  source venv/bin/activate

for Linux/MacOS or

  venv\Scripts\activate

for Windows

  1. Install the required packages from requirements.txt
  pip install -r requirements.txt
  1. In order to launch the algorithm, go to <project root>/src/main.py and run it.

Examples

  1. population size: 1000, number of generations: 6000

Evolution of a donkey

  1. population size: 1500, number of generations: 1200

Evolution of a hare

  1. population size: 2000, number of generations: 2000

Evolution of a hedgehog

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages