Changes
This commit is contained in:
15
algorithm.py
Normal file
15
algorithm.py
Normal 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
|
||||
Reference in New Issue
Block a user