Changes

From Genome Analysis Wiki
Jump to navigationJump to search
no edit summary
Line 9: Line 9:     
   second = first;
 
   second = first;
 +
  }
 +
 +
int Haplotyper::CalculateIndex(int first, int second)
 +
  {
 +
  if (first >= second)
 +
      return (first * (first + 1) / 2 + second);
 +
  else
 +
      return (second * (second + 1) / 2 + first);
 
   }
 
   }
 
</source>
 
</source>

Navigation menu