Bottleneck distance is not symmetric

cai.507@...
 

Hi Dimitry,
 
I found that the bottleneck distance is not symmetric, although the difference is not significant.
 
import dionysus as d
dgm1 = d.Diagram([(8.04545,4.59091), (5.5,4.68182)])
dgm2 = d.Diagram([(5.96,3.48), (5.24,4.04), (5.24,4.04), (4.44,3.48)])
print d.bottleneck_distance(dgm1, dgm2)
print d.bottleneck_distance(dgm2, dgm1)
1.74330592155
1.73230612278
 
Best wishes,
Chen

Join dionysus@groups.io to automatically receive all group messages.