Inheritance: IRankSelect
Esempio n. 1
0
 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);
 }
Esempio 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;
     };
 }
Esempio n. 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;
     };
 }
Esempio n. 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;
     };
 }
Esempio n. 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;
     };
 }
Esempio n. 6
0
 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;
 }
Esempio n. 7
0
 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 ()));
 }