STORM_LOG_THROW(checkTask.isOptimizationDirectionSet(),storm::exceptions::InvalidPropertyException,"Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
STORM_LOG_THROW(checkTask.isOptimizationDirectionSet(),storm::exceptions::InvalidPropertyException,"Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
// checks for bounds
// checks for bounds
STORM_LOG_THROW(pathFormula.hasUpperBound(),storm::exceptions::InvalidPropertyException,"Formula needs to have (a single) upper step bound.");
STORM_LOG_THROW(pathFormula.hasUpperBound(),storm::exceptions::InvalidPropertyException,"Formula needs to have (a single) upper step bound.");
STORM_LOG_THROW(!pathFormula.hasLowerBound(),storm::exceptions::InvalidPropertyException,"Formulas with lower bound are not supported.");
STORM_LOG_THROW(pathFormula.hasIntegerUpperBound(),storm::exceptions::InvalidPropertyException,"Formula needs to have discrete upper bound.");
STORM_LOG_THROW(pathFormula.hasIntegerLowerBound(),storm::exceptions::InvalidPropertyException,"Formula lower step bound must be discrete.");
STORM_LOG_THROW(pathFormula.hasIntegerUpperBound(),storm::exceptions::InvalidPropertyException,"Formula upper step bound must be discrete.");