source: framspy/evolalg/statistics/statistics.py @ 1128

Last change on this file since 1128 was 1113, checked in by Maciej Komosinski, 3 years ago

Added a framework for evolutionary algorithms cooperating with FramsticksLib?.py

File size: 254 bytes
Line 
1from abc import abstractmethod
2
3from evolalg.base.step import Step
4
5
6class Statistics(Step):
7
8    @abstractmethod
9    def collect(self, population):
10        pass
11
12    def call(self, population):
13        self.collect(population)
14        return population
Note: See TracBrowser for help on using the repository browser.