Browse Source

Small hack that prevents creating atomic propositions like 'true'. This will be solved differently in master soon.

Former-commit-id: e99010a485
tempestpy_adaptions
dehnert 10 years ago
parent
commit
8f7e21c108
  1. 7
      src/storage/DeterministicModelBisimulationDecomposition.cpp

7
src/storage/DeterministicModelBisimulationDecomposition.cpp

@ -614,6 +614,13 @@ namespace storm {
storm::storage::SparseMatrix<ValueType> backwardTransitions = model.getBackwardTransitions();
BisimulationType bisimulationType = weak ? BisimulationType::WeakDtmc : BisimulationType::Strong;
Partition initialPartition = getMeasureDrivenInitialPartition(model, backwardTransitions, phiLabel, psiLabel, bisimulationType, keepRewards, bounded);
std::set<std::string> atomicPropositions;
if (phiLabel != "true" && phiLabel != "false") {
atomicPropositions.insert(phiLabel);
}
if (psiLabel != "true" && phiLabel != "false") {
atomicPropositions.insert(psiLabel);
}
partitionRefinement(model, std::set<std::string>({phiLabel, psiLabel}), model.getBackwardTransitions(), initialPartition, bisimulationType, keepRewards, buildQuotient);
}

Loading…
Cancel
Save