Generalizing Determinization from Automata to Coalgebras