Regular decision processes: Modelling dynamic systems without using hidden variables