// check whether the property is minimizing or maximizing
// check whether the property is minimizing or maximizing
STORM_LOG_THROW(pomdp.isCanonic(),storm::exceptions::IllegalArgumentException,"POMDP needs to be canonic");
STORM_LOG_THROW(formula.hasOptimalityType()||formula.hasBound(),storm::exceptions::InvalidPropertyException,"The formula "<<formula<<" does not specify whether to minimize or maximize.");
STORM_LOG_THROW(formula.hasOptimalityType()||formula.hasBound(),storm::exceptions::InvalidPropertyException,"The formula "<<formula<<" does not specify whether to minimize or maximize.");