Invia SMS: Costs and rewards in priced timed automata