PHP Classes

PHP Genetic GPS: General Problem Solving using Genetic Algorithms

Recommend this page to a friend!
  Info   View files Example   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 429 All time: 6,298 This week: 131Up
Version License PHP version Categories
genetic-gps 1.0.0GNU Lesser Genera...5.4Algorithms, PHP 5, Artificial intelli...
Description Author

This package can be used for general problem solving using Genetic Algorithms.

The main class can take several parameters and callback functions that implement several aspects involved in the execution of a genetic algorithm, so it can be adapted to any problem that can be solved using genetic algorithms.

The parameters can be the population size, an object to access the population elements, generations, mutation rate, elitism rate, callback functions to define values of fitness, mutation, selection, crossover, elitism, etc..

An example is provided for a word guess application that takes letters to guess what is the correct word.

Picture of Nima Ghaedsharafi
Name: Nima Ghaedsharafi <contact>
Classes: 1 package by
Country: Iran Iran
Age: 29
All time rank: 343071 in Iran Iran
Week rank: 563 Up10 in Iran Iran Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Executeable file
Plain text file gac.php Class Example script
Plain text file gau.php Class Class source
Plain text file geneticAlgorithm.php Class Class source
Plain text file genome.php Class Class source
Plain text file ipopulation.php Class Class source
Plain text file letters.php Class Example script
Accessible without login Plain text file population.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,298
This week:131Up