source: framspy/evolalg_steps/statistics/statistics.py @ 1185

Last change on this file since 1185 was 1185, checked in by Maciej Komosinski, 17 months ago

Renamed a module; new name is "evolalg_steps"

File size: 309 bytes
Line 
1from abc import abstractmethod
2
3from evolalg_steps.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        super(Statistics, self).call(population)
14        self.collect(population)
15        return population
Note: See TracBrowser for help on using the repository browser.