CONTINUOUS REPRESENTATION FOR A CLASS OF OPTIMAL HYBRID CONTROL PROBLEMS