Giter Site home page Giter Site logo

geofarl / abc-vertex-coloring Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.75 MB

Implementation of artificial bee colony algorithm (ABC) for vertex coloring problem

License: MIT License

TypeScript 86.61% HTML 12.27% JavaScript 1.12%
abc bee-algorithm bee-colony-optimization

abc-vertex-coloring's Introduction

Artificial bee colony vertex coloring

It is an implementation of artificial bee colony algorithm (ABC). This is an optimization algorithm that is based on intelligent foraging behavior of honey bee swarms

I've used this algorithm for finding a chromatic number in the graph

My work is based on this article link

Stats

This is the graph that represents the minimum chromatic number after a certain number of iterations.

It is for a graph with 200 vertices that has the minimum vertex degree of 1 and maximum โ€“ย 20

For solving was used total of 30 bees, 2 of which were employed bees.

graph

Step by step solution

For better clarity, I've logged the steps of the algorithm and drew a graph, where we can see how the algorithm is working

first second third fourth fifth

Install and run

  1. Clone this repo
  2. Make sure you have node installed
  3. Install dependencies
npm install
cd client
npm install
  1. Run the server
go the root directory
npm run serve
  1. Run the client
cd client
npm run dev
  1. Open the browser
Go the http://localhost:3000

Test

npm test

abc-vertex-coloring's People

Contributors

geofarl avatar illiaakhaladze avatar

Watchers

 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.