odatse.solver._solver module#
- class odatse.solver._solver.SolverBase(info: Info)[source]#
Bases:
objectAbstract base class for solvers in ODAT-SE.
Initialize the solver with the given information.
- Parameters:
info (Info) – Information object containing configuration details.
- abstractmethod __init__(info: Info) None[source]#
Initialize the solver with the given information.
- Parameters:
info (Info) – Information object containing configuration details.
- abstractmethod evaluate(x: ndarray, args: tuple = ()) float[source]#
Evaluate the solver with the given parameters.
- Parameters:
x (np.ndarray) – Input data array.
args (tuple, optional) – Additional arguments for evaluation. Defaults to ().
- Raises:
NotImplementedError – This method should be implemented by subclasses.
- property name: str#
Get the name of the solver.
- Returns:
The name of the solver.
- Return type:
str