Browse Source

removed spurious debugging output

tempestpy_adaptions
Sebastian Junges 6 years ago
parent
commit
035bbd0952
  1. 6
      src/storm-parsers/parser/PrismParser.cpp

6
src/storm-parsers/parser/PrismParser.cpp

@ -561,7 +561,6 @@ namespace storm {
bool observable = this->observables.count(variableName) > 0; bool observable = this->observables.count(variableName) > 0;
if(observable) { if(observable) {
this->observables.erase(variableName); this->observables.erase(variableName);
std::cout << variableName << " is observable." << std::endl;
} }
return storm::prism::BooleanVariable(manager->getVariable(variableName), initialValueExpression, observable, this->getFilename()); return storm::prism::BooleanVariable(manager->getVariable(variableName), initialValueExpression, observable, this->getFilename());
} }
@ -582,7 +581,6 @@ namespace storm {
bool observable = this->observables.count(variableName) > 0; bool observable = this->observables.count(variableName) > 0;
if(observable) { if(observable) {
this->observables.erase(variableName); this->observables.erase(variableName);
std::cout << variableName << " is observable." << std::endl;
} }
return storm::prism::IntegerVariable(manager->getVariable(variableName), lowerBoundExpression, upperBoundExpression, initialValueExpression, observable, this->getFilename()); return storm::prism::IntegerVariable(manager->getVariable(variableName), lowerBoundExpression, upperBoundExpression, initialValueExpression, observable, this->getFilename());
@ -613,7 +611,6 @@ namespace storm {
this->identifiers_.add(renamingPair->second, renamedVariable.getExpression()); this->identifiers_.add(renamingPair->second, renamedVariable.getExpression());
if(this->observables.count(renamingPair->second) > 0) { if(this->observables.count(renamingPair->second) > 0) {
this->observables.erase(renamingPair->second); this->observables.erase(renamingPair->second);
std::cout << renamingPair->second << " is observable." << std::endl;
} }
} }
for (auto const& variable : moduleToRename.getIntegerVariables()) { for (auto const& variable : moduleToRename.getIntegerVariables()) {
@ -623,7 +620,6 @@ namespace storm {
this->identifiers_.add(renamingPair->second, renamedVariable.getExpression()); this->identifiers_.add(renamingPair->second, renamedVariable.getExpression());
if(this->observables.count(renamingPair->second) > 0) { if(this->observables.count(renamingPair->second) > 0) {
this->observables.erase(renamingPair->second); this->observables.erase(renamingPair->second);
std::cout << renamingPair->second << " is observable." << std::endl;
} }
} }
@ -666,7 +662,6 @@ namespace storm {
bool observable = this->observables.count(renamingPair->second) > 0; bool observable = this->observables.count(renamingPair->second) > 0;
if(observable) { if(observable) {
this->observables.erase(renamingPair->second); this->observables.erase(renamingPair->second);
std::cout << renamingPair->second << " is observable." << std::endl;
} }
booleanVariables.push_back(storm::prism::BooleanVariable(manager->getVariable(renamingPair->second), variable.hasInitialValue() ? variable.getInitialValueExpression().substitute(expressionRenaming) : variable.getInitialValueExpression(), observable, this->getFilename(), get_line(qi::_1))); booleanVariables.push_back(storm::prism::BooleanVariable(manager->getVariable(renamingPair->second), variable.hasInitialValue() ? variable.getInitialValueExpression().substitute(expressionRenaming) : variable.getInitialValueExpression(), observable, this->getFilename(), get_line(qi::_1)));
} }
@ -679,7 +674,6 @@ namespace storm {
bool observable = this->observables.count(renamingPair->second) > 0; bool observable = this->observables.count(renamingPair->second) > 0;
if(observable) { if(observable) {
this->observables.erase(renamingPair->second); this->observables.erase(renamingPair->second);
std::cout << renamingPair->second << " is observable." << std::endl;
} }
integerVariables.push_back(storm::prism::IntegerVariable(manager->getVariable(renamingPair->second), variable.getLowerBoundExpression().substitute(expressionRenaming), variable.getUpperBoundExpression().substitute(expressionRenaming), variable.hasInitialValue() ? variable.getInitialValueExpression().substitute(expressionRenaming) : variable.getInitialValueExpression(), observable, this->getFilename(), get_line(qi::_1))); integerVariables.push_back(storm::prism::IntegerVariable(manager->getVariable(renamingPair->second), variable.getLowerBoundExpression().substitute(expressionRenaming), variable.getUpperBoundExpression().substitute(expressionRenaming), variable.hasInitialValue() ? variable.getInitialValueExpression().substitute(expressionRenaming) : variable.getInitialValueExpression(), observable, this->getFilename(), get_line(qi::_1)));
} }

Loading…
Cancel
Save