libfgen is a library that implements an efficient and customizable genetic algorithm (GA). It also provides particle swarm optimization (PSO) functionality and an interface for real-valued function minimization or model fitting. It is written in C, but can also be compiled with a C++ compiler. Both Linux and Windows are supported.

Features

  • Fast and efficient GA implementation with a fixed population size.
  • Customizable GA with multiple selection, mutation and crossover types.
  • Application can provide custom seeding, mutation and crossover operators.
  • Thread-safe and can use multiple threads for fitness calculation or an archipelago of concurrent genetic algorithms.
  • Particle swarm optimization algorithm with API similar to that of the GA.
  • Higher level easy-to-use model fitting and function minimization interface that uses the GA or PSO.
  • Tested on real-world datasets (fitting orbits of exoplanets to stellar radial-velocity data).
  • Clear API with documentation provided (html).
  • Command line and graphical example programs provided.
  • Examples include the Travelling Salesman Problem, linear genetic programming and texture compression.

Project Samples

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow libfgen

libfgen Web Site

Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libfgen!

Additional Project Details

Operating Systems

Linux, Windows

Intended Audience

Science/Research, Developers

User Interface

Command-line, GTK+

Programming Language

C++, C

Related Categories

C++ Genetic Algorithms, C++ Libraries, C++ Statistics Software, C Genetic Algorithms, C Libraries, C Statistics Software

Registered

2012-02-25