Planning with graded fluents and actions