lifecycles.LifeCycle.universe_set¶
- LifeCycle.universe_set() set¶
retrieve the universe set. The universe set is the union of all groups in the LifeCycle
- Returns:
the universe set
- Example:
>>> lc = LifeCycle() >>> lc.add_partition([[1,2], [3,4,5]]) # at time 0 >>> lc.add_partition([{5,7}, {6,8}]) # at time 1 >>> lc.universe_set() {1, 2, 3, 4, 5, 6, 7, 8}