Browse Source

output fixes...

tempestpy_adaptions
TimQu 8 years ago
parent
commit
c895e0dc0b
  1. 4
      src/storm/modelchecker/parametric/ParameterLifting.cpp

4
src/storm/modelchecker/parametric/ParameterLifting.cpp

@ -111,7 +111,7 @@ namespace storm {
std::cout << "STORMEXECUTABLE --prism " << storm::settings::getModule<storm::settings::modules::IOSettings>().getPrismInputFilename() std::cout << "STORMEXECUTABLE --prism " << storm::settings::getModule<storm::settings::modules::IOSettings>().getPrismInputFilename()
<< " --prop " << storm::settings::getModule<storm::settings::modules::IOSettings>().getProperty(); << " --prop " << storm::settings::getModule<storm::settings::modules::IOSettings>().getProperty();
if( storm::settings::getModule<storm::settings::modules::IOSettings>().isConstantsSet()) { if( storm::settings::getModule<storm::settings::modules::IOSettings>().isConstantsSet()) {
std::cout << " -const " << storm::settings::getModule<storm::settings::modules::IOSettings>().getConstantDefinitionString();
std::cout << " -const " << storm::settings::getModule<storm::settings::modules::IOSettings>().getConstantDefinitionString() << ",";
} }
for(auto varDef = p.begin(); varDef != p.end(); ++varDef) { for(auto varDef = p.begin(); varDef != p.end(); ++varDef) {
if(varDef!=p.begin()) std::cout << ","; if(varDef!=p.begin()) std::cout << ",";
@ -143,7 +143,7 @@ namespace storm {
while (fractionOfUndiscoveredArea > threshold) { while (fractionOfUndiscoveredArea > threshold) {
STORM_LOG_THROW(indexOfCurrentRegion < regions.size(), storm::exceptions::InvalidStateException, "Threshold for undiscovered area not reached but no unprocessed regions left."); STORM_LOG_THROW(indexOfCurrentRegion < regions.size(), storm::exceptions::InvalidStateException, "Threshold for undiscovered area not reached but no unprocessed regions left.");
STORM_LOG_INFO("Analyzing region #" << regions.size() -1 << " (" << storm::utility::convertNumber<double>(fractionOfUndiscoveredArea) * 100 << "% still unknown");
STORM_LOG_INFO("Analyzing region #" << regions.size() -1 << " (" << storm::utility::convertNumber<double>(fractionOfUndiscoveredArea) * 100 << "% still unknown)");
auto const& currentRegion = regions[indexOfCurrentRegion].first; auto const& currentRegion = regions[indexOfCurrentRegion].first;
auto& res = regions[indexOfCurrentRegion].second; auto& res = regions[indexOfCurrentRegion].second;
res = analyzeRegion(currentRegion, res, false); res = analyzeRegion(currentRegion, res, false);

Loading…
Cancel
Save