mirror of
https://github.com/c-sooyoung/bo-ptycho.git
synced 2026-09-17 20:29:07 +09:00
renamed to base
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class BOEngine(ABC):
|
||||
def __init__(self, config):
|
||||
self.config = config
|
||||
self.state = None
|
||||
|
||||
@abstractmethod
|
||||
def ask(self):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def tell(self, job_config, y_value):
|
||||
pass
|
||||
Reference in New Issue
Block a user