remove create_func....

This commit is contained in:
wls2002
2023-08-02 15:02:08 +08:00
parent 1499e062fe
commit c7fb1ddabe
22 changed files with 425 additions and 21 deletions

15
core/problem.py Normal file
View 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