Skip to main content

Table 7 Estimated computational complexity 1 of Algorithm B

From: Inversion of a part of the numerator relationship matrix using pedigree information

Procedure

Complexity for line i

Proportion

Complexity on n lines

EMPTY

1

p E

p E  · O(n)

LS

O(k3) + O(k2) + O(k)

p L

p P  · [O(n · k3) + O(n · k2) + O(n · k)]

PROD

O(k2) + O(k · i)

p P

p P  · [O(n · k2) + O(n2 · k)]

Total

O k 3 + O ( k 2 ) + O k · i + O ( k )

1

p P · O n 2 · k + p L · O ( n · k 3 ) + ( p L + p P ) · O ( n · k 2 ) + p L · O n · k + p E · O ( n )

  1. Matrix is of order n and average number of contributors is k;
  2. 1computational complexity is assessed as the expected number of floating-point multiplications to be performed.