public BitArrayMappedOnHardDiskInnerMap(int width, int height)
            : base(width, height)
        {
            totalLength = (long)width * (long)height;
            inthdarray = new IntHDArray(totalLength / 8 + 1);

            innerData = new BitArrayMappedOnHardDiskInnerMapArray[width];
            for (int i = 0; i < width; i++)
            {
                innerData[i] = new BitArrayMappedOnHardDiskInnerMapArray(this, i, height);
            }
            //data = new int[size / 32 + 1];
        }
Exemple #2
0
        public BitArrayMappedOnHardDiskInnerMap(int width, int height)
            : base(width, height)
        {
            totalLength = (long)width * (long)height;
            inthdarray  = new IntHDArray(totalLength / 8 + 1);

            innerData = new BitArrayMappedOnHardDiskInnerMapArray[width];
            for (int i = 0; i < width; i++)
            {
                innerData[i] = new BitArrayMappedOnHardDiskInnerMapArray(this, i, height);
            }
            //data = new int[size / 32 + 1];
        }