1) Distance between two sections:
with the weighting:
2) Relative length:
3) Matched relative length:
Chosen criterion to analyse the matched pairs:
Only the matched pairs for which this criterion is lower
than a given threshold are considered as valid.