private FillIntervals ( int positions, int sequenceLength ) : void | ||
positions | int | /// Not empty positions of congeneric sequence. /// |
sequenceLength | int | /// Length of the sequence. /// |
Résultat | void |
private void FillIntervals(int[] positions, int sequenceLength)
{
Start = positions[0] - (-1);
for (int i = 0; i < intervals.Length; i++)
{
intervals[i] = positions[i + 1] - positions[i];
}
End = sequenceLength - positions[positions.Length - 1];
}