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

0
problem/__init__.py Normal file
View File

View File

View File

@@ -0,0 +1,21 @@
from dataclasses import dataclass
from typing import Callable
from config import ProblemConfig
from core import Problem, State
@dataclass(frozen=True)
class FuncFitConfig:
pass
class FuncFit(Problem):
def __init__(self, config: ProblemConfig):
self.config = ProblemConfig
def setup(self, state=State()):
pass
def evaluate(self, state: State, act_func: Callable, params):
pass