GithubHelp home page GithubHelp logo

fdotgoodman / genetic-rubbish-collection Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 517 KB

This agent-based simulation, implemented through Repast Simphony, looked to incorperate a genetic algorithm to intelligent agent rubbish collection in a spatial coordinate system.

License: Other

Java 27.40% Roff 72.60%
java agent-based-simulation agent-based-modeling travelling-salesman-problem intelligent-agent genetic-algorithm memetic-algorithm

genetic-rubbish-collection's Introduction

Rubbish Collection Simulation using a genetic algorithm

This project proposes a state-based rubbish collection simulation. In this, the collector agents move around the environment to memorise rubbish locations (MAP STATE). They then use this memory, along with a genetic algorithm to plot the fastest route through the environment to collect all the rubbish (CALCULATION STATE). Finally, the agents action the planned route, collecting rubbish (ACTION STATE) - similar to the Travelling Salesman Problem

The following questions regarding sensitivity analysis are posed:

  • How do different heuristics and hyperparameters compare when looking to clean up the most rubbish in a fixed time period? (e.g. hill climbing, crossover, mutation, depth of search, intensity of mutation)
  • How does the number of agents affect the speed at which rubbish is picked up, or the number of bits of rubbish that are picked up in total?
  • How does the number of bits of rubbish in the environment affect the agent's ability to map out rubbish, or their ability to find an optimal route to collect all the rubbish?

genetic-rubbish-collection's People

Contributors

fdotgoodman avatar

Stargazers

 avatar

Watchers

 avatar

genetic-rubbish-collection's Issues

TEST EVERYTHING

A cautionary tale.... Dont just implement everything and hope it all works, only for you to have a bunch of code that you think should work file.

Seeing some very weird issues - IndexOutOfBoundsException

Even after debugging, I'm seeing some very strange issues occur. All revolving around IndexOutOfBoundsExceptions being generated in the crossover.

After some preliminary debugging, this might not actually be being caused by this - It is possible, but it looks like at this time, there are duplicate entries of cities to the parent of the crossover. I have my suspicions that the issue could be arising elsewhere.

Think about a smarter strategy for GA termination

As it stands, the termination criteria is simply the number of iterations in the GA. As an extension for this project, it might be a good idea to make it a bit smarter, possibly incorporating population convergeance at a local minima for a certain number of epochs.

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.