http://gains.iiasa.ac.at/images/stories/reports/TSAP/TSAP-DISTANCE-20120612.pdf