A simple semi on-line algorithm for P2 - Zhang, Guochuan (Information processing letters.)