saealib.SteadyStateStrategy#
- class saealib.SteadyStateStrategy[source]#
Bases:
DirectStrategyEvaluate one candidate per step and refill asynchronous worker slots.
Methods
Build the graph view of the steady-state pipeline. |
|
Return the strategy's high-level Pipeline description. |
|
Return the strategy contract. |
|
Perform one generation step: generate, score, evaluate, and update. |
Method Details
- SteadyStateStrategy.build_graph(provider)[source]#
Build the graph view of the steady-state pipeline.
- Parameters:
provider (ComponentProvider)
- Return type:
- SteadyStateStrategy.build_pipeline(provider)#
Return the strategy’s high-level Pipeline description.
- Parameters:
provider (ComponentProvider)
- Return type:
- SteadyStateStrategy.contract()#
Return the strategy contract.
- Return type:
- SteadyStateStrategy.step(ctx, provider)#
Perform one generation step: generate, score, evaluate, and update.
- Parameters:
ctx (OptimizationState) – Current optimization context.
provider (ComponentProvider) – Component provider.
- Returns:
Updated state returned by the pipeline.
- Return type:
OptimizationState