Build() public method

Builds the index for the sequence
public Build ( IList sequence, int alphabet_size ) : void
sequence IList
alphabet_size int
return void
Exemplo n.º 1
0
        public static SequenceBuilder GetIISeq(
			BitmapFromList bitmap_builder = null
			)
        {
            if (bitmap_builder == null) {
                bitmap_builder = BitmapBuilders.GetSArray();
            }
            return delegate (IList<int> seq, int sigma) {
                var iis = new InvIndexSeq ();
                iis.BitmapBuilder = bitmap_builder;
                iis.Build (seq, sigma);
                return iis;
            };
        }
Exemplo n.º 2
0
 public static SequenceBuilder GetIISeq_SArray()
 {
     return delegate (IList<int> seq, int sigma) {
         var iis = new InvIndexSeq ();
         iis.BitmapBuilder = BitmapBuilders.GetSArray ();
         iis.Build (seq, sigma);
         return iis;
     };
 }
Exemplo n.º 3
0
        public static SequenceBuilder GetIISeq(
			BitmapFromList bitmap_builder
			)
        {
            return delegate (IList<int> seq, int sigma) {
                var iis = new InvIndexSeq ();
                iis.BitmapBuilder = bitmap_builder;
                iis.Build (seq, sigma);
                return iis;
            };
        }