Giter Club home page Giter Club logo

kindergarden's Introduction

Kindergarden

Agent-based-simulation project. This project simulates a house with some obstacules, dirt, a robot and several babies on the ground, all of which can generate dirt over time. The robot is an agent with the task of cleaning the house, and picking up the babies and leaving them in a corral. The environment can variate randomly every t units of time. Full specs and details about the environment, its elements and the robot are in spanish in the doc folder.

Starting

To use the project, clone it or download it to your local computer.

Requirements ๐Ÿ“‹

It is necessary to have python v-3.7.2

Configure and run ๐Ÿ”ง

To run the project, simply open the console from the root location of the project and execute:

python main.py

If you want to use the available parameters and thereby configurate the simulation, run the main script with the args listed by:

python main.py --help

Also, use the previous command to know how to pass the parameters.

To see what happens in every turn of the simulation, run the program with the -i or --interactive arg:

python main.py -i

The program will offers you instructions. Here a example of interactive simulation at the start and end of a simulation:

Start:

Start example

End:

End example

Two types of agents were implemented: Simple-reflex based agent and Goal-based agent. By default the Simple-reflex based agent is used for the simulation. To simulate with the other, run the program with a the -p rule.

Note

To run a suite of simulations, configure the sets of initial environments and the number of simulations in the simulate.sh script. Modify the simulation array to change the sets.

The results can be found in results/results.json. The data collected by a simulation is:

  • Task completed by agent (True or False)
  • Percentage of dirt at the end of this simulation

Check doc/Informe.pdf to see a full explanation of the ideas used to build the agents and the environment. The document is in Spanish.

Author โœ’๏ธ

  • Miguel Tenorio Potrony -------> AntiD2ta

License ๐Ÿ“„

This project is under the License (MIT License) - see the file LICENSE.md for details.

kindergarden's People

Contributors

antid2ta avatar

Watchers

 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.