For a metric space with distance $d$, for any 3 elements $x_1,x_2,x_3$, there exists a permutation $\pi$ such that $d(x_{\pi(1)},x_{\pi(3)})=d(x_{\pi(1)},x_{\pi(2)})+d(x_{\pi(2)},x_{\pi(3)})$.
Is there a name for such metric space?
One such metric would be points on the real line, but there are probably more general metrics.