An efficient g-centroid location algorithm for cographs. (12th July 2005)