Giter VIP home page Giter VIP logo

sma-tp3-tri_collectif's Introduction

SMA TP3 : Tri collectif

Authors : @paulflagel, @nathanetourneau

Master 2 IA - Université Lyon 1 - 2021-2022


Scenario

On a N*M grid, there are objects, n_a objets of class A, and n_b objects of class B. There are also n_agents agents, and the goal for the agent is to sort the objects. The agents are subject to the following rules :

  • they are able to move only randomly in the eight directions (N, S, E, W, NW, NE, SE, SO).
  • on a grid, there can only be one object and/or one agent at the same time.
  • agents have a memory of the past m cells they visited, they pick or drop objects only using the memory of the past m cells, they do not have access to their environment.

This work is based on the paper : Deneubourg, Jean-Louis et al “The dynamics of collective sorting robot-like ants and ant-like robots” (1991).

Run

To run the work, one can use the handy streamlit app in app.py by running streamlit run app.py or just run python main.py for a less fancy but nevertheless working visualisation of the objects spread across the rounds.

sma-tp3-tri_collectif's People

Contributors

nathanetourneau avatar tribanium avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

nathanetourneau

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.