remove create_func....
This commit is contained in:
15
core/problem.py
Normal file
15
core/problem.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from typing import Callable
|
||||
from config import ProblemConfig
|
||||
from state import State
|
||||
|
||||
|
||||
class Problem:
|
||||
|
||||
def __init__(self, config: ProblemConfig):
|
||||
raise NotImplementedError
|
||||
|
||||
def setup(self, state=State()):
|
||||
raise NotImplementedError
|
||||
|
||||
def evaluate(self, state: State, act_func: Callable, params):
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user