How to get DFA intersection?
H开发者_运维问答ow do we combine two dfa using intersection method ?
Use the cross product construction, explained formally here.
Essentially you cross product the sets of states in each one to get a list of meta states corresponding to any combination of states for each machine. This allows you to do a parallel evaluation to accept if both accept.
精彩评论