Junctions Module¶
Authors: |
|
---|
Description¶
Local model propagation functions (junctions)
-
class
pycpa.junctions.
ANDJoin
[source]¶ Compute output event models for an AND junction. This corresponds to Lemma 4.2 in [Jersak2005].
-
class
pycpa.junctions.
OREventModel
(in_event_models)[source]¶ Compute output event model for an OR junction. This corresponds to Section 4.2, Equations 4.11 and 4.12 in [Jersak2005].
-
eta_min
(w)[source]¶ Eta-minus Function Return the minimum number of events in a time window w. Derived from Equation 3.6 from [Schliecker2011], but different, as Eq. 3.6 is wrong.
-
eta_min_closed
(w)[source]¶ Eta-minus Function Return the minimum number of events in a time window w. Using CLOSED intevals
-
eta_plus
(w)[source]¶ Eta-plus Function Return the maximum number of events in a time window w. Derived from Equation 3.5 from [Schliecker2011], but assuming half-open intervals for w as defined in [Richter2005].
-
eta_plus_closed
(w)[source]¶ Eta-plus Function Return the maximum number of events in a time window w. Derived from Equation 3.5 from [Schliecker2011], but assuming CLOSED intervals for w as defined in [Richter2005].
This is technically identical to eta_plus(w + EPSILON), but the use of epsilon has issues with float precision, as w+EPSILON == w for large w and small Epsilon (e.g. 40000000+1e-9)
-