public static SequenceBuilder GetIISketches_SArray(int sketch_blocksize) { return delegate (IList<int> seq, int sigma) { var iis = new InvIndexSketches (); iis.BitmapBuilder = BitmapBuilders.GetSArray (); iis.Build (seq, sigma, sketch_blocksize); return iis; }; }
public static SequenceBuilder GetIISketches(int sketch_blocksize, BitmapFromList bitmap_builder = null) { if (bitmap_builder == null) { bitmap_builder = BitmapBuilders.GetSArray(); } return delegate (IList<int> seq, int sigma) { var iis = new InvIndexSketches (); iis.BitmapBuilder = bitmap_builder; iis.Build (seq, sigma, sketch_blocksize); return iis; }; }
public static SequenceBuilder GetIISketches( BitmapFromList bitmap_builder, int sketch_blocksize ) { return delegate (IList<int> seq, int sigma) { var iis = new InvIndexSketches (); iis.BitmapBuilder = bitmap_builder; iis.Build (seq, sigma, sketch_blocksize); return iis; }; }