public void EstimateDistance()
{
int segmentsLength = this.Segments.Count;
this.Distance = new List<double?>(segmentsLength * (segmentsLength - 1) / 2);
for (int col = 0; col < segmentsLength; col++)
{
for (int row = col + 1; row < segmentsLength; row++)
{
double? tmp = null;
if (this.Segments[col].MAF >= 0 && this.Segments[row].MAF >= 0)
tmp = GetEuclideanDistance(this.Segments[col].Coverage, this.Segments[row].Coverage, this.Segments[col].MAF, this.Segments[row].MAF);
this.Distance.Add(tmp);
}
}
}