This commit is contained in:
2022-05-09 06:59:23 +08:00
commit e16e7dbf7a
20 changed files with 5855 additions and 0 deletions

15
algorithm.py Normal file
View File

@@ -0,0 +1,15 @@
from abc import ABC, abstractmethod
class algorithm(ABC):
@abstractmethod
def set_config(self, config):
pass
@abstractmethod
def config(self):
pass
@abstractmethod
def eval(self, value):
pass