PHP Classes
elePHPant
Icontem

PHP Genetic Algorithm Class: Optimize order of sequences with Genetic algorithm

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-02-05 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 404 All time: 6,395 This week: 226Up
Version License PHP version Categories
galgo 1.0GNU General Publi...5.0Algorithms, PHP 5, Artificial intelli...
Description Author

This class can be used to optimize order of sequences with Genetic algorithm.

It can take an array with a sequence of objects to optimize and it applies genetic algorithm to evolve the sequence.

The class applies a given number of generations to perform elitistic selection with a given fitness function, applies cross-over and mutation.

The resulting sequence of objects is stored as an array class variable.

An example is provided to optimize a sequence of cities to travel.

  Performance   Level  
Name: Ravindu Taveesha <contact>
Classes: 2 packages by
Country: Sri Lanka Sri Lanka
Innovation award
Innovation award
Nominee: 1x

 

Details

Requirements

PHP 5 or heigher apache server or WAMP/XAMPP server

Installation

add these two files into www floder which is in your C:/ drive to run script, open your browser and enter your 'localhost/yourflodername' url

Modification

you are free to change modifications, if you find any bug please inform it to this email thaveesha.ravindu2@gmail.com

Thank you.

  Files folder image Files  
File Role Description
Plain text file galgo.php Class the main class
Accessible without login Plain text file readme Doc. read me
Accessible without login Plain text file travel.php Example travel example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:404
This week:0
All time:6,395
This week:226Up