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

Last change on this file since 1297 was 1185, checked in by Maciej Komosinski, 2 years ago

Renamed a module; new name is "evolalg_steps"

File size: 309 bytes
RevLine 
[1113]1from abc import abstractmethod
2
[1185]3from evolalg_steps.base.step import Step
[1113]4
5
6class Statistics(Step):
7
8    @abstractmethod
9    def collect(self, population):
10        pass
11
12    def call(self, population):
[1139]13        super(Statistics, self).call(population)
[1113]14        self.collect(population)
15        return population
Note: See TracBrowser for help on using the repository browser.