Giter Club home page Giter Club logo

aco_path_planning's Introduction

ACO_path_planning

Basics

This repo provides a Python implementation of the Ant Colony Optimization Algorithm for path planning purposes. The ant colony optimization algorithm implemented in this repo is the Ant System Algorithm.

Description

The package is made up by two directories:

  • The aco directory: contains the ant_colony class for handling the ant colony optimization algorithm and the map_class class for handling the operations with the map.

  • The maps directory: contains the maps to calculate the path from.

Usage

The user will pass to the program the number of iterations, ants,map, p,Q and if the map and result is displayed graphically or not.

  • p: is the pheromone's evaporation rate, [0-1]
  • Q: is the pheromone adding constant.

Information regarding how the program is executed is displayed when executing from the command line: python aco_resolve_path.py --help

Map construction

The maps have to be included in the maps directory. For a map to be valid, it must meet the following requirements:

  • mxm map, square matrix shape.
  • S indicates the starting point, just one starting point is allowed.
  • F indicates the final point, just one final point is allowed.
  • E indicates if a point in the map is empty.
  • O indicates if a point in the map is occupied.

Result example

A resulting path would be the following:

map3_2

aco_path_planning's People

Contributors

pelayochoya 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.