source:
framspy/evolalg/statistics/statistics.py
@
1128
Last change on this file since 1128 was 1113, checked in by , 4 years ago | |
---|---|
File size: 254 bytes |
Line | |
---|---|
1 | from abc import abstractmethod |
2 | |
3 | from evolalg.base.step import Step |
4 | |
5 | |
6 | class 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.