コード例 #1
0
        public static Cümle compile(String pattern)
        {
            char[] ptrn = pattern.ToCharArray();
            char[] x    = new char[ptrn.Length + 1];
            System.Array.Copy(ptrn, 0, x, 0, ptrn.Length);
            int m = ptrn.Length;

            char[] t    = new char[x.Length];
            Cell[] list = new Cell[x.Length];
            for (int i = 0; i < t.Length; i++)
            {
                t[i] = '0';
            }
            oracle(x, t, list);
            Cümle bom = new Cümle();

            bom.m    = m;
            bom.x    = x;
            bom.t    = t;
            bom.list = list;
            return(bom);
        }
コード例 #2
0
 private void Cümle_Load(object sender, EventArgs e)
 {
     Cümle temp = new Cümle();
 }