Giter Site home page Giter Site logo

ant-colony-optimization-project's Introduction

Ant-Colony-Optimization-Project

Built using C#

Follows ant colony optimization's basic principles as shown in: http://en.wikipedia.org/wiki/Ant_colony_optimization_algorithms

Independent agents called 'ants' iterate through the placed cities. Cities are nodes connected by edges. For good cities, ants place pheromones on that edge to make it more favorable as a positive control. Likewise, longer edges are less favorable. The least travelled path would have the least quantity of pheromones; thus ants would gradually avoid that edge.

KEY

Alpha: the weight of the pheremone, should be left at 1

Beta: the weight of the distance, should be left at 1

Rho: pheromone decay rate: 0<ฯ<1

Number of Cities: to be placed on the grid

Number of Ants: to be utilized by algorithm

Number of Iterations: with more iterations, the algorithm will be more accurate

ACO = ant colony optimization

Brute Force = permutations to solve TSP

The Bar on the bottom right corner is the progress bar.

Buttons (note always specify properties before clicking any buttons):

Auto-Random Cities: Will randomly populate cities based on above properties

Place Cities: Will allow you to click to place up to the # of cities specified in the above properties

Clear: clear the screen and resets the property

Ant Colony Optimization: runs the ACO algorithm (must only be clicked after the random or place city button)

Brute Force: runs permutations (must only be clicked after placing cities)

ant-colony-optimization-project's People

Contributors

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