dolphin278/genetic — pull request #6 by Mormehtar (2014-09-15 21:49:38+00:00)
Title: Global statistics and remove of additional generation prodaction.

Added some tests: for run and init. Also for upgraded features to be sure they work as planed.

Upgraded algorithm logic to remove situation when stopCriteria uses statistics from previous generation. And algorithm returns statistics of penultimate population.

Implemented globalStatistics which accumulate max and min results through all population. Made so that final result is globalStatistics. And algotithm result benefits from all generations, not only from the last.