Parametrized TTR distance