STORM_LOG_THROW(false,storm::exceptions::InvalidTypeException,"Encountered variable with ambigious type while trying to autocreate solver variables: "<<e);
STORM_LOG_THROW(false,storm::exceptions::InvalidTypeException,"Encountered variable with unknown type while trying to autocreate solver variables: "<<variableAndType.first);
break;
}
}
}
}
STORM_LOG_THROW(variableToDeclarationMap.count(expression->getVariableName())!=0,storm::exceptions::InvalidArgumentException,"Variable '"<<expression->getVariableName()<<"' is unknown.");
STORM_LOG_THROW(false,storm::exceptions::InvalidTypeException,"Encountered variable '"<<expression->getVariableName()<<"' with unknown type while trying to create solver variables.");
}
}else{
STORM_LOG_THROW(stringVariablePair!=variableToDeclarationMap.end(),storm::exceptions::InvalidArgumentException,"Expression refers to unknown variable '"<<expression->getVariableName()<<"'.");
STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(value.hasBooleanReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve boolean value of non-boolean variable '"<<name<<"'.");
STORM_LOG_THROW(value.hasBooleanReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve boolean value of non-boolean variable '"<<name<<"'.");
STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(value.hasIntegralReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve integer value of non-integer variable '"<<name<<"'.");
STORM_LOG_THROW(value.hasIntegralReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve integer value of non-integer variable '"<<name<<"'.");
STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(!MSAT_ERROR_TERM(msatValue),storm::exceptions::UnexpectedException,"Unable to retrieve value of variable in model. This could be caused by calls to the solver between checking for satisfiability and model retrieval.");
STORM_LOG_THROW(value.hasIntegralReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve double value of non-double variable '"<<name<<"'.");
STORM_LOG_THROW(value.hasIntegralReturnType(),storm::exceptions::InvalidArgumentException,"Unable to retrieve double value of non-double variable '"<<name<<"'.");