The watcher.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.
-
class
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 ( IndicatorsMapinstance) – dict-like object containing the efficacy indicators related to this specRaises: NotImplementedError Returns: Indicatorinstance
-
get_indicators_specifications()[source]¶ List the specifications of the indicator for this efficacy spec
Returns: Tuple of indicator specifications Return type: Tuple of IndicatorSpecificationinstances
-