private void Swap(ref ActiveNodes an1, ref ActiveNodes an2) { ActiveNodes tmp = an1; an1 = an2; an2 = tmp; }
public Trie(int topl) { m_AN1 = new ActiveNodes(); m_AN2 = new ActiveNodes(); BFS_Q = new Queue <int>(); m_EntitiesUpdate = new List <string>(); m_stateIds = new List <int>(); m_DupChecker = new Dictionary <string, bool>(); m_visitActiveNodes = new Dictionary <int, bool>(); m_acEntityIds = new List <int>(); m_descendantsUpdate = new List <List <int> >(); m_descendants = new Dictionary <int, int[]>(); m_topL = topl; }