(has-accept-states? {:keys [accepts] :as _fsm})
Does the FSM have at least one accept state?
Does the FSM have at least one accept state?
(valid-accept-states? {:keys [states accepts] :as _fsm})
Are all the accept states in the state set?
Are all the accept states in the state set?
(valid-start-state? {:keys [states start] :as _fsm})
Is the start state in the state set?
Is the start state in the state set?
(valid-transition-dest-states-dfa? dfa)
Are all dest states in the transition table in the DFA's state set?
Are all dest states in the transition table in the DFA's state set?
(valid-transition-dest-states-nfa? nfa)
Are all dest states in the transition table in the NFA's state set?
Are all dest states in the transition table in the NFA's state set?
(valid-transition-src-states? {:keys [states transitions] :as _fsm})
Are all source states in the transition table in the state set?
Are all source states in the transition table in the state set?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close