Incremental Learning of Discrete Planning Domains from Continuous Perceptions