watcher.decision_engine.goal.efficacy.base
Modulewatcher.decision_engine.goal.efficacy.base
Module¶An efficacy specification is a contract that is associated to each Goal that defines the various efficacy indicators a strategy achieving the associated goal should provide within its solution. Indeed, each solution proposed by a strategy will be validated against this contract before calculating its global efficacy.
watcher.decision_engine.goal.efficacy.base.
EfficacySpecification
[source]¶Bases: object
get_global_efficacy_indicator
(indicators_map)[source]¶Compute the global efficacy for the goal it achieves
Parameters: | indicators_map (IndicatorsMap instance) – dict-like object containing the
efficacy indicators related to this spec |
---|---|
Raises: | NotImplementedError |
Returns: | Indicator instance |
get_indicators_specifications
()[source]¶List the specifications of the indicator for this efficacy spec
Returns: | Tuple of indicator specifications |
---|---|
Return type: | Tuple of IndicatorSpecification instances |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.