Triangle inequalities in path metric spaces