public class NelsonData
extends Object
There is one NelsonData for each [active] NelsonCondition in Drools working memory. This gives us the ability to
easily configure different sample sizes for different conditions. It also makes the NelsonData life-cycle more
straightforward, as it is "tied" to the NelsonCondition. So, if the condition's owning trigger is removed from
working memory (e.g. manually disabled, autoDisabled after firing, deleted), then so will be the NelsonCondition
and NelsonData. Note that this means the baseline will be re-established (new samples gathered, new mean and
standard deviation) if and when the owning trigger is re-enabled. One caveat, triggers that have autoResolve do
not get removed from working memory, and as such the NelsonData will remain.
- Author:
- Jay Shaughnessy, Lucas Ponce