Skip to content

Drakmord2/node-swarm-intelligence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Swarm Intelligence

NodeJS implementation of Swarm Intelligence algorithms with visualization

Swarm Intelligence

Swarm intelligence (SI) is the collective behavior of decentralized, self-organized systems, natural or artificial. SI systems consist typically of a population of simple agents or boids interacting locally with one another and with their environment. The inspiration often comes from nature, especially biological systems.

Algorithms

  • Particle Swarm Optimization (PSO)

  • Fish School Search (FSS)

  • Artificial Bee Colony (ABC)

How to use

The quickest way to get started is by starting a Docker container with docker-compose.

$> docker-compose up --build

After setting up you can use this software in two ways:

  • Web Interface
    • Just type http://localhost:8181 on your browser and you're good to go.

Web Interface

  • REST API
    • Using a tool like Postman you can send requests to the NodeJS server and get the raw data for the web interface or the simplified data for convergence graphs.

    • Routes

      • POST /pso /fss /abc
      • POST /pso/stats /fss/stats /abc/stats