From 0dbbc40a622e5b155300b8c0295fcf5cbca7565c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 20 Oct 2016 10:02:22 +0200 Subject: [PATCH] Draft genetic algorithm interface --- .../GeneticAlgorithmInterface.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Math/Optimization/GeneticAlgorithmInterface.php diff --git a/Math/Optimization/GeneticAlgorithmInterface.php b/Math/Optimization/GeneticAlgorithmInterface.php new file mode 100644 index 000000000..0f817bc0a --- /dev/null +++ b/Math/Optimization/GeneticAlgorithmInterface.php @@ -0,0 +1,34 @@ + + * @author Dennis Eichhorn + * @copyright 2013 Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link http://orange-management.com + */ +namespace phpOMS\Math\Optimization; + +/** + * Web module interface. + * + * @category Framework + * @package phpOMS\Module + * @author OMS Development Team + * @author Dennis Eichhorn + * @license OMS License 1.0 + * @link http://orange-management.com + * @since 1.0.0 + */ +interface GeneticAlgorithmInterface +{ + public function mutate($a); + + public function unfitness($a, $b); +}