Esempio n. 1
0
        public string StFromSuffG(SuffEdge suffEdge)
        {
            var st = "";

            for (var i = suffEdge.IchFirst; i <= suffEdge.IchLast; i++)
            {
                if (i - 1 == rgv.Count)
                {
                    break;
                }
                var ch = rgv[i - 1];
                st += ch;
            }
            return(st);
        }
Esempio n. 2
0
 public void AddEdge(int ichFirst, int ichLast, SuffNode node, char ch)
 {
     MpEdgeByCh[ch] = new SuffEdge(ichFirst, ichLast, node);
 }