A Framework for Planning with Extended Goals under Partial Observability