AddNfaNode() 개인적인 메소드

private AddNfaNode ( NfaNode nfa ) : bool
nfa NfaNode
리턴 bool
예제 #1
0
파일: dfa.cs 프로젝트: jswiatkowski/cognipy
 // helper for building DFa
 public void AddTarget(char ch, Dfa next)
 {
     for (int j = 0; j < m_arcs.Count; j++)
     {
         Arc a = (Arc)m_arcs[j];
         if (a.Match(ch))
         {
             next.AddNfaNode(a.m_next);
         }
     }
 }
예제 #2
0
파일: dfa.cs 프로젝트: hdinh/OmahaBot
 // helper for building DFa
 /// <exclude/>
 public void AddTarget(char ch, Dfa next)
 {
     for (int j=0; j<m_arcs.Count; j++)
     {
         Arc a = (Arc)m_arcs[j];
         if (a.Match(ch))
             next.AddNfaNode(a.m_next);
     }
 }