Exemplo n.º 1
0
 public void AddIndex(int lane, SampleIndex index)
 {
     HashSet<SampleIndex> laneIndexes;
     if (!_laneIndexes.TryGetValue(lane, out laneIndexes))
     {
         laneIndexes = new HashSet<SampleIndex>();
         _laneIndexes[lane] = laneIndexes;
     }
     _laneIndexes[lane].Add(index);
 }
Exemplo n.º 2
0
 public int MismatchCount(SampleIndex otherIndex)
 {
     return
         MismatchCount(Index1Sequence, otherIndex.Index1Sequence) +
         MismatchCount(Index2Sequence, otherIndex.Index2Sequence);
 }
Exemplo n.º 3
0
 public bool ContainsIndex(int lane, SampleIndex index)
 {
     return ContainsLane(lane) && _laneIndexes[lane].Contains(index);
 }