mirror of
https://github.com/c-sooyoung/bo-ptycho.git
synced 2026-09-17 21:29:07 +09:00
16 lines
274 B
Python
16 lines
274 B
Python
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
|