API reference#
The API reference is organized around public facades. Deep implementation-module paths are not documented as canonical imports.
Public API layers#
Use the following public layers when choosing an import path.
Root convenience API: Stable, everyday entry points.
from saealib import minimize, Problem, GA
Public namespaces: Public components grouped by domain.
from saealib.surrogate import RBFSurrogate from saealib.operators import MutationPolynomial
Import SearchSpace, execution, and Feedback names from the public namespaces saealib.space, saealib.execution, and saealib.policies, respectively.
Framework extension API: Contracts and composition elements for extensions.
from saealib.core import Component, ComponentGraph, ComponentContract
Implementation modules are not substitutes for public facades.
Names exported from a namespace are not automatically re-exported from the root. Preserving an existing root import and adding a new name to the root are separate decisions.
Add a new root export only when it is broadly useful, expected to remain stable, and clearly improves common imports. Place other names in the corresponding public namespace or framework extension API.
- Canonical Imports
- Core API
- saealib.core.Component
- saealib.core.ComponentContract
- saealib.core.PartSpec
- saealib.core.AssumptionSet
- saealib.core.DataSpec
- saealib.core.PortContract
- saealib.core.PortSpec
- saealib.core.StateContract
- saealib.core.LifecycleContract
- saealib.core.ExecutionContract
- saealib.core.ComponentGraph
- saealib.core.StructuredGraph
- saealib.core.StructuredRegion
- saealib.core.CompilationRule
- saealib.core.StateStore
- saealib.core.StateView
- saealib.core.StatePatch
- saealib.core.ExecutablePlan
- saealib.core.ExecutionRuntime
- saealib.core.compiler.ComponentNode
- saealib.core.compiler.NodeRef
- saealib.core.compiler.DataEdge
- saealib.core.compiler.ControlEdge
- saealib.core.compiler.StateBinding
- saealib.core.compiler.Diagnostic
- saealib.core.compiler.ContractPath
- Execution API
- SearchSpace API
- Feedback API
- High-Level API
- Optimizer
- Exceptions
- Registry
- Problem
- Variables
- Comparators
- Decomposition
- Population
- Algorithms
- Operators
- Surrogate Models
- Acquisition Functions
- Optimization Strategies
- Initialization
- Evaluation
- Termination
- Callbacks
- Pipeline
- Stages
- saealib.CountGenerationStage
- saealib.AskStage
- saealib.AcquisitionStage
- saealib.SurrogatePredictStage
- saealib.EvaluationPlanStage
- saealib.AsyncEvaluationSubmitStage
- saealib.EvaluationSubmitStage
- saealib.EvaluationCollectStage
- saealib.EvaluationApplyStage
- saealib.EvaluationAcknowledgeStage
- saealib.SurrogateFitStage
- saealib.ArchiveUpdateStage
- saealib.FeedbackStage
- saealib.TellStage
- saealib.SurrogateOnlyLoopStage
- saealib.InitializationStage
- Utilities
- References