saealib.SteadyStateStrategy#
- class saealib.SteadyStateStrategy[ソース]#
ベースクラス:
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)[ソース]#
Build the graph view of the steady-state pipeline.
- パラメータ:
provider (ComponentProvider)
- 戻り値の型:
- SteadyStateStrategy.build_pipeline(provider)#
Return the strategy's high-level Pipeline description.
- パラメータ:
provider (ComponentProvider)
- 戻り値の型:
- SteadyStateStrategy.contract()#
Return the strategy contract.
- 戻り値の型:
- SteadyStateStrategy.step(ctx, provider)#
Perform one generation step: generate, score, evaluate, and update.
- パラメータ:
ctx (OptimizationState) -- Current optimization context.
provider (ComponentProvider) -- Component provider.
- 戻り値:
Updated state returned by the pipeline.
- 戻り値の型:
OptimizationState