PHP Genetic Algorithm Methods: Implements crossover, mutation and inversion

Recommend this page to a friend!
  Info   Example   Screenshots   View files (14)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 114 All time: 9,224 This week: 287
Version License PHP version Categories
genetic_algorithm 1.0.0Freeware5Algorithms, PHP 5, Biology, Artificia...
Description Author

This class implements crossover, mutation and inversion genetic algorithm methods.

It takes several parameters to configure values that define how the execution of the genetic algorithm methods are implemented to optimize the order of a set of entities known as population.

Each method uses several techniques in order to produce their offsprings. Theses techniques are:

1. Crossover

1.1 Single Point Crossover
1.2 Two Points Crossover
1.3 Uniform Crossover
1.4 Ring Crossover

2. Mutation

2.1 Bit Flip Mutation
2.2 Random Resetting
2.3 Swap Mutation
2.4 Scramble Mutation
2.5 Inversion Mutation
2.6 Insertion Mutation

3. Inversion

3.1 Inversion all chromosome

The class produces new population generations and returns the results as a binary encoded string.

Picture of Sasan Nobakht
  Performance   Level  
Name: Sasan Nobakht <contact>
Classes: 1 package by
Country: United States United States
Age: 30
All time rank: 4237492 in United States United States
Week rank: 713 74 in United States United States

Screenshots  
  • Standalone
  • Chromosome.png
  • GenerationTable.png
  • Result
  • Form.png
  • Intro.png
  Files  
File Role Description
Images (1 file)
Javascripts (6 files)
Styles (3 files)
Ajax.php Example Load Ajax Result
Genetic.class.php Class Main Genetic Algorithm Class
index.php Aux. Demo Mainpage
StandaloneExample.php Example Standalone Example

  Files  /  Images  
File Role Description
   ex2_bg.png Photo Background

  Files  /  Javascripts  
File Role Description
   Bootstrap.Bundle.js Class Bootstrap Bundle
   Bootstrap.js Class Bootstrap Library
   Javascript.js Class Main Javascript
   JQuery.Easing.js Class JQuery Easing Plugin
   JQuery.js Class JQuery Library
   Popper.js Class Popper JS

  Files  /  Styles  
File Role Description
   Bootstrap.css Class Bootstrap Library
   Normalize.css Class Normalize HTML Pages
   Style.css Class Demo Style

 Version Control Unique User Downloads Download Rankings  
 0%
Total:114
This week:0
All time:9,224
This week:287

For more information send a message to info at phpclasses dot org.