Giter VIP home page Giter VIP logo

nic_aco_project's Introduction

**************************************************************************************
Ant Colony Optimization for Traveling Salesman Problem:
A Comparison of Ant Colony System and Elitist Ant System and an Exploration of the Alpha and Beta
***************************************************************************************
Dan Cohen, Josh Imhoff, and Liam Taylor
April 8, 2015
Project 3
CS3445

This project is designed to test differences between Ant Colony System (ACS) and Elitist Ant System (EAS) variants of Ant Colony Optimization (ACO). Due to our experimental design, all parameters are hard-coded in the main method (Main.cpp), but can be changed there. The only cmd line arguments that change parameters are alpha and beta.

TO RUN:
After running the makefile in the project folder directory, run the program from the command line using the following syntax:

“./aco”

then,
	* fileName: .tsp file directory/name

	* algorithm (decides what ACO variant to use):
				“ACS” -  Ant Colony System
				“EAS” -  Elitist Ant System
		
	* alpha: effectively the weight of pheromone influence on tour assembly

	
	* beta: effectively the weight of edge-heuristic information (1/length) on tour assembly

For example, to run the ACS variant on an example .tsp file with alpha = 1.5 and beta = 5, enter:

“./aco u2152.tsp ACS 1.5 5”

nic_aco_project's People

Contributors

ltaylor2 avatar

Watchers

James Cloos 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.