algorithm
Algorithm
Bases: AnalysisComponent
Extension base for solution algorithms registered by AlgorithmManager.
Subclasses implement the AnalysisComponent Tcl contract. Ordinary scripts
select algorithms through model.analysis.algorithm.
Methods:
| Name | Description |
|---|---|
register_algorithm |
Install a class-wide algorithm factory key, replacing an existing key. |
Methods:
register_algorithm
staticmethod
Install a class-wide algorithm factory key, replacing an existing key.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Case-insensitive registry key. |
required |
algorithm_class
|
type[Algorithm]
|
Concrete constructor supporting to_tcl(). |
required |
No subclass validation or update of existing instances is performed.