Browse Source

fixed bug in MaxSMT-based counterexample generation pointed out by Milan Ceska

tempestpy_adaptions
dehnert 7 years ago
parent
commit
b110172b0d
  1. 2
      src/storm/counterexamples/SMTMinimalLabelSetGenerator.h

2
src/storm/counterexamples/SMTMinimalLabelSetGenerator.h

@ -451,7 +451,7 @@ namespace storm {
// This is because it could be that the commands are taken to enable other synchronizations. Therefore, we need // This is because it could be that the commands are taken to enable other synchronizations. Therefore, we need
// to add an additional clause that says that the right-hand side of the implication is also true if all commands // to add an additional clause that says that the right-hand side of the implication is also true if all commands
// of the current choice have enabled synchronization options. // of the current choice have enabled synchronization options.
storm::expressions::Expression finalDisjunct = variableInformation.manager->boolean(false);
storm::expressions::Expression finalDisjunct = variableInformation.manager->boolean(true);
for (auto label : labelSetFollowingSetsPair.first) { for (auto label : labelSetFollowingSetsPair.first) {
storm::expressions::Expression alternativeExpressionForLabel = variableInformation.manager->boolean(false); storm::expressions::Expression alternativeExpressionForLabel = variableInformation.manager->boolean(false);
std::set<boost::container::flat_set<uint_fast64_t>> const& synchsForCommand = synchronizingLabels.at(label); std::set<boost::container::flat_set<uint_fast64_t>> const& synchsForCommand = synchronizingLabels.at(label);

Loading…
Cancel
Save