An Efficient g-Centroid Location Algorithm for Ptolemaic Graphs Conference Paper uri icon