def _build_table(self) -> Dict[State, Tuple[Multiplex, ...]]:
        """ Private method which build the table which map a State to the active multiplex. """
        result: Dict[State, Tuple[Multiplex, ...]] = {}
        for state in self.influence_graph.all_states():
            result[state] = tuple(multiplex for multiplex in self.influence_graph.multiplexes 
                                  if multiplex.is_active(state))
        return result
def _build_table ( self ) -> Dict [ State , Tuple [ Multiplex , ... ] ] : result : Dict [ State , Tuple [ Multiplex , ... ] ] = { } for state in self . influence_graph . all_states ( ) : result [ state ] = tuple ( multiplex for multiplex in self . influence_graph . multiplexes if multiplex . is_active ( state ) ) return result
Private method which build the table which map a State to the active multiplex.