示例#1
0
        public CSnzi()
        {
            leafs = new CSnziLeafNode[LeafCount];
            root  = new CSnziRootNode();

            for (int i = 0; i < leafs.Length; i++)
            {
                leafs[i] = new CSnziLeafNode(root);
            }
        }
示例#2
0
        public Tuple <bool, CSnziState> Query()
        {
            CSnziRootNode copy = root;

            return(Tuple.Create(copy.Count > 0, copy.State));
        }