Coder Social home page Coder Social logo

genetic-island-computation's Introduction

Genetic island computation

Project for IO 2021

How to run

  1. Run rabbitmq
docker-compose up

Rabbitmq is available on localhost:15762.

  1. Create queues using command
cd utils
python prepare_queues_2.py 

It creates queues based on configurations file algorithm/configurations/algorithm_configuration.json. You can also change that file (I will update instructions soon):

  1. Run islands. In e.g. 3 (number_of_islands parameter in configuration json file) terminals run commands:
#(if number_of_islands == 2 then island = 0 or 1 or 2)
python run_algorithm.py <island> 

Todo

  1. Add information, from which island and which epoque comes migrant.
  2. Add more configuration json files to match different topologies (star, ring, mesh).
  3. Test for e.g. 10 islands
  4. Add script for running multiple islands automatically.
  5. Do some viusualisation on function Rastrigin 2-dim to show solutions and indicate migrants with different color.

Old ones:

  1. Add creating queues using docker-compose. I tried to do that in utils/prepare_queues.py and utils/Dockerfile_prepare_queues but after adding service in docker-compose container exits. We should wait for rabbitmq being available.

  2. Run islands from docker-compose as well as creating queues.

genetic-island-computation's People

Contributors

mnabywan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.