natix.CompactDS.RankSelectBlocks.SetState C# (CSharp) Method

SetState() private method

private SetState ( uint bitblocks, int numbits, short superBlockSize, short blockSize, int superBlocks, short blocks ) : void
bitblocks uint
numbits int
superBlockSize short
blockSize short
superBlocks int
blocks short
return void
        void SetState(uint[] bitblocks, int numbits, short superBlockSize, short blockSize,
			int[] superBlocks, short[] blocks)
        {
            this.BitBlocks = bitblocks;
            this.N = numbits;
            this.SuperBlockSize = superBlockSize;
            this.BlockSize = blockSize;
            this.bits_per_block = this.BlockSize * 32;
            this.bits_per_super_block = this.SuperBlockSize * this.bits_per_block;
            this.Blocks = blocks;
            this.SuperBlocks = superBlocks;
        }