Gps : Theory Algorithms and Applications