PHP Classes

GA: Generic genetic algorithms base implementation

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 4,021 All time: 778 This week: 65Up
Version License Categories
ga 1.0.0GNU General Publi...Algorithms, Artificial intelligence
Description 

Author

This class implements base methods to apply genetic algorithms to arbitrary subjects.

Its functions can be call instantiating a class object or called static methods.

The class can perform several types of generic algorithm operations like crossover, mutation, selection and death over populations of any objects of the same class.

It can be used as a base implementation of genetic algorithms to solve many types of problems on which the best solution may be found through natural selection.

Innovation Award
PHP Programming Innovation award winner
September 2005
Winner


Prize: One book of choice by SAMS
Genetic Algorithms are computing algorithms used to find approximate solutions to optimization problems. These problems consist in determining sequences of data that may provide better results depending on the order of the data elements.

The genetic algorithms are inspired in the evolutionary biology theories that determine that on each generation the individuals tend to evolve and address better the problems that challenge their survival.

Evolution happens after performing slight mutations to the chromosome sequence of the individuals of the current generation. The best fit individuals will survive and become the origin of the next generation.

In computing genetic algorithms can be used to optimize solutions for problems like job scheduling, artificial intelligence for computer operated game characters, compact file storage, etc..

This class can be used as a framework to implement PHP applications that can benefit of the use of genetic algorithms.

Manuel Lemos
Picture of Rafael Pinto
Name: Rafael Pinto <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 42
All time rank: 26317 in Brazil Brazil
Week rank: 170 Up12 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files (3)  
File Role Description
Plain text file ga.php Class GA Class
Accessible without login Plain text file gaExample1.php Example GA Example 1
Accessible without login Plain text file gaExample2.php Example GA Example 2

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,021
This week:0
All time:778
This week:65Up
User Ratings User Comments (2)
 All time
Utility:62%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:65%StarStarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:3462
 
very good
11 years ago (tayebeh)
35%StarStar
Interesting stuff.
15 years ago (F Philip DeGeorge)
67%StarStarStarStar