def _encode_automata_functions(self) -> List[str]: aht_nodes = get_reachable_from(self.aht.init_node, self.aht_transitions, self.dstPropMgr)[0] return [ declare_enum(TYPE_A_STATE, map(lambda n: smt_name_q(n), aht_nodes)) ]
def _encode_model_functions(self) -> List[str]: return [declare_enum(TYPE_MODEL_STATE, map(smt_name_m, self.model_states))] + \ [declare_fun(self.tau_desc)] + \ [declare_fun(d) for d in self.desc_by_outSig.values()]
def _encode_automata_functions(self) -> List[str]: atm_states = chain(*lmap(lambda a: a.nodes, self.atm_by_sig.values())) return [declare_enum(TYPE_A_STATE, map(smt_name_q, atm_states))]
def _encode_automata_functions(self) -> List[str]: return [ declare_enum(TYPE_A_STATE, map(smt_name_q, self.automaton.nodes)) ]
def _encode_model_functions(self, model_states: Iterable[int]) -> List[str]: return [declare_enum(TYPE_MODEL_STATE, map(smt_name_m, model_states))] + \ [declare_fun(self.tau_desc)] + \ [declare_fun(d) for d in self.descr_by_output.values()]