lifecycles.algorithms.events_all¶
- events_all(lc: LifeCycle, direction=None) dict¶
Compute all events for a lifecycle object.
- Parameters:
lc – a LifeCycle object
direction – the temporal direction in which the events are to be computed
- Returns:
a dictionary containing the events
- Example:
>>> import lifecycles as lcs >>> # ... create a lc object here ... >>> events = lcs.events_all(lc, "+") >>> events.keys()