Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Rolling Horizon Evolutionary Algorithm

Project description

Rolling Horizon Evolutionary Algorithm

PyPI version

An implementation of the Rolling Horizon Evolutionary Algorithm


using pip

pip install RollingHorizonEA


To use the rolling horizon evolutionary algorithm, you will need your game class to implement the Environment interface.


Examples of setting up any game environment can be found in the examples directory and run with:


m_max example

num_dims = 600
m = 50
num_evals = 50
rollout_length = 10
mutation_probability = 0.1

# Set up the problem domain as m-max game
environment = MMaxGame(num_dims, m)

rhea = RollingHorizonEvolutionaryAlgorithm(rollout_length, environment, mutation_probability, num_evals)


If you want to cite this library, please use the following DOI


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for RollingHorizonEA, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size RollingHorizonEA-0.1.2-py3-none-any.whl (16.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size RollingHorizonEA-0.1.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page