Class DFAEquivalenceChecker
java.lang.Object
qilin.pta.toolkits.mahjong.automata.DFAEquivalenceChecker
- Author:
- Tian Tan, Yue Li
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEquivalent
(DFA dfa1, DFA dfa2) Check the equivalence of input automata by Hopcroft-Karp algorithm with minor modifications.
-
Constructor Details
-
DFAEquivalenceChecker
public DFAEquivalenceChecker()
-
-
Method Details
-
isEquivalent
Check the equivalence of input automata by Hopcroft-Karp algorithm with minor modifications.- Parameters:
dfa1
-dfa2
-- Returns:
- whether dfa1 and dfa2 are equivalent
-