/// <summary>
 /// Initializes a new instance of the <see cref="natix.CompactDS.UnraveledSymbolGolynskiRL"/> class.
 /// </summary>
 public UnraveledSymbolGolynskiRL(GolynskiListRL2Seq _seqindex, int _symbol)
 {
     this.seqindex = _seqindex;
     this.symbol = _symbol;
     this.ctx = new BitStreamCtx ();
     this.list = this.seqindex.GetPERM ().GetListRL2 ().Diffs;
 }
Exemple #2
0
 public static SequenceBuilder GetGolynskiListRL2(short t = 16, short block_size = 127, IIEncoder32 coder = null)
 {
     return delegate (IList<int> seq, int sigma) {
         var S = new GolynskiListRL2Seq ();
         //S.PermCodingBuildParams = new SuccRL2CyclicPerms_MRRR.BuildParams (coder, block_size);
         if (coder == null) {
             coder = new EliasDelta ();
         }
         S.Build (seq, sigma, t, coder, block_size);
         return S;
     };
 }