Coder Social home page Coder Social logo

frt / pe-pso Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 52 KB

This is an implementation of the Standard PSO 2011 (SPSO-2011) for use in an ecosystem of algorithms running in parallel.

License: GNU General Public License v3.0

C 90.41% Makefile 2.31% M4 7.28%
pso evolutionary-algorithms evolutionary-computation artificial-intelligence

pe-pso's Introduction

Particle Swarm Optimization (PSO) using the Parallel Evolution library

This is an implementation of the Standard PSO 2011 (SPSO-2011) for use in an ecosystem of algorithms running in parallel. The parallel_evolution-lib provides utility functions for running the evolutionary algorithms in parallel and exchanging candidate solutions between them, besides that it defines how and when the algorithms communicate with each other and an unified way of reading configurations, log levels and reporting results.

Build and Install

Dependencies

Generate the './configure' script

aclocal
autoconf
automake --add-missing

Configure and install

./configure
make
sudo make install

pe-pso's People

Contributors

frt avatar

Watchers

 avatar  avatar

pe-pso's Issues

Configuration File

Read algorithm's configurations from a configuration file. The one parallel_evolurion-lib will pass to the pso_init() function.

These are the configurations:

int pso_max_iterations = 5000; 

...

    for (i = 0; i < N; ++i) {                                                                                 
        dimensions[i].min = -12;                                                                              
        dimensions[i].max = 12;                                                                               
    }                                                                                                         
    limits.dimensions = dimensions;                                                                           
    limits.nr_dimensions = N;                                                                                 
                                                                                                              
    pso_config.nr_particles = 50;                                                                             
    pso_config.nr_neighbours = 3;                                                                             
    pso_config.search_space_limits = &limits;                                                                 

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.