Skip to content
forked from olbender/tinyso

A minimalistic header-only library for stochastic optimization algorithms, such as a genetic algorithm

License

Notifications You must be signed in to change notification settings

bjornborg/tinyso

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyso: a minimalistic header-only C++ library for stochastic optimization algorithms, such as a genetic algorithm and particle swarm optimization (experimental)

License: MIT

tinyso is a small and efficient library written in modern C++ to provide functionality for stochastic optimization.

tinyso is available as single-file, header-only library. Insert tinyso.hpp into your project, #include "tinyso.hpp", and compile your project with a modern C++ compiler (C++20 or newer).

example.mp4

Table of Contents

Features

  • Written in highly portable and high quality C++20
  • Available as header-only, single-file distribution. Insert tinyso.hpp into your project, #include "tinyso.hpp", and compile your project with a modern C++ compiler (C++20 or newer)
  • Genetic algorithm with creep mutation and tournament selection. Each individual is a list of doubles.
  • Particle swarm optimization with crazy operator.

Dependencies

tinyso requires no dependencies! All you need is a C++20-compliant compiler as the project ships the following dependencies as part of the source distribution:

tinypso requires:

Installation

Installation as single-file, header-only library

tinyso is provided as header-only, single-file library as well. Insert tinyso.hpp into your project, #include "tinyso.hpp", and compile your project with a modern C++ compiler (C++20 or newer)

License

  • This project is released under the terms of the MIT License - License: MIT

About

A minimalistic header-only library for stochastic optimization algorithms, such as a genetic algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.2%
  • CMake 7.8%