Inheritance: IRankSelect
示例#1
0
文件: DArrayS0.cs 项目: Pako125/natix
 public void BuildBackend(IList<uint> bitblocks, short Brank, int Bselect, int N)
 {
     this.S1 = new DArray ();
     this.S1.BuildBackend (bitblocks, Brank, Bselect, N);
     this.S0 = new DArray ();
     this.S0.BuildBackend (this.GetCompList (bitblocks), (short)(Brank * 12), Bselect, N);
 }
示例#2
0
 public static BitmapFromBitStream GetDArray_wt(short b_rank, short s_rank)
 {
     return delegate (FakeBitmap b) {
         var rs = new DArray ();
         rs.Build (b.B, b_rank, s_rank);
         return rs;
     };
 }
示例#3
0
 public static BitmapFromList GetDArray(short b_rank, short b_select)
 {
     return delegate (IList<int> L) {
         var rs = new DArray ();
         rs.Build (L, b_rank, b_select);
         return rs;
     };
 }
示例#4
0
 public static BitmapFromBitStream GetDArray_wt(short sample_step)
 {
     return delegate (FakeBitmap b) {
         var rs = new DArray ();
         rs.Build (b.B, sample_step, sample_step);
         return rs;
     };
 }
示例#5
0
 public static BitmapFromList GetDArray(short sample_step)
 {
     return delegate (IList<int> L) {
         var rs = new DArray ();
         rs.Build (L, sample_step, sample_step);
         return rs;
     };
 }
示例#6
0
文件: SArray.cs 项目: Pako125/natix
 protected virtual void CreateH(IBitStream BH, short Brank, int Bselect)
 {
     var _H = new DArray ();
     _H.Build (BH, Brank, Bselect);
     //var _H = new GGMN ();
     //_H.Build (BH, Brank);
     this.H = _H;
 }
示例#7
0
文件: DArrayS0.cs 项目: Pako125/natix
 public void Load(BinaryReader br)
 {
     this.S1 = new DArray ();
     this.S1.Load (br);
     this.S0 = new DArray ();
     this.S0.Load (br, false);
     this.S0.SetBitBlocks (this.GetCompList (this.S1.GetBitBlocks ()));
 }