2017 © Pedro Peláez
 

library simple-genetic-algorithm

simple genetic algorithm in PHP

image

ryanhs/simple-genetic-algorithm

simple genetic algorithm in PHP

  • Thursday, January 8, 2015
  • by dr.web123
  • Repository
  • 1 Watchers
  • 7 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

SimpleGeneticAlgorithm

simple genetic algorithm in php, this package i create just for example how we can implement Genetic Algorithm in PHP if you inteserted just email me at mr.ryansilalahi@gmail.com :-), (*1)

see interface/GeneticAlgorithm.php, (*2)

Installation

you can download this with composer (packagist), (*3)

composer require ryanhs/simple-genetic-algorithm

Example

in example dir you can see:

  • example1.php
  • example2.php
  • example3.php

example 1


require '/vendor/autoload.php'; // composer autoload

$ga = new \SimpleGeneticAlgorithm\SimpleGeneticAlgorithm(array(
    'mutation' => 25, // 25%
    'goal' => 'Astari Ghaniarti',
    
    'delay' => 50, // ms, if debug is false, then delay forced to 0
    'debug' => true,
));

$ga->run(); // just run because debug is true

License

MIT License, (*4)

The Versions

08/01 2015

dev-master

9999999-dev

simple genetic algorithm in PHP

  Sources   Download

MIT License

The Development Requires

by ryan hs

08/01 2015

1.0.3

1.0.3.0

simple genetic algorithm in PHP

  Sources   Download

MIT License

The Development Requires

by ryan hs

08/01 2015

1.0.2

1.0.2.0

simple genetic algorithm in PHP

  Sources   Download

MIT License

The Development Requires

by ryan hs

08/01 2015

1.0.1

1.0.1.0

simple genetic algorithm in PHP

  Sources   Download

MIT License

The Development Requires

by ryan hs

08/01 2015

1.0

1.0.0.0

simple genetic algorithm in PHP

  Sources   Download

MIT License

by ryan hs