mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-03-18 12:36:19 +00:00
12 lines
330 B
Python
12 lines
330 B
Python
|
|
"""Genetic optimization algorithm abstract and base classes."""
|
||
|
|
|
||
|
|
from pydantic import ConfigDict
|
||
|
|
|
||
|
|
from akkudoktoreos.core.pydantic import PydanticBaseModel
|
||
|
|
|
||
|
|
|
||
|
|
class GeneticParametersBaseModel(PydanticBaseModel):
|
||
|
|
"""Pydantic base model for parameters for the GENETIC algorithm."""
|
||
|
|
|
||
|
|
model_config = ConfigDict(extra="forbid")
|