Browse Source

Merge branch 'future' into python_api

Former-commit-id: 279fc96115
tempestpy_adaptions
sjunges 9 years ago
parent
commit
977e722e6c
  1. 6
      src/utility/storm.h

6
src/utility/storm.h

@ -183,14 +183,14 @@ namespace storm {
return performNondeterministicSparseBisimulationMinimization<storm::models::sparse::Mdp<ValueType>>(model->template as<storm::models::sparse::Mdp<ValueType>>(), formulas, type);
}
}
template<typename ModelType>
std::shared_ptr<storm::models::sparse::Model<typename ModelType::ValueType>> performBisimulationMinimization(std::shared_ptr<storm::models::sparse::Model<typename ModelType::ValueType>> const& model, std::shared_ptr<storm::logic::Formula> const& formula, storm::storage::BisimulationType type) {
return performBisimulationMinimization<ModelType>(model, {formula}, type);
std::vector<std::shared_ptr<storm::logic::Formula>> formulas = { formula };
return performBisimulationMinimization<ModelType>(model, formulas , type);
}
template<typename ModelType>
std::shared_ptr<storm::models::ModelBase> preprocessModel(std::shared_ptr<storm::models::ModelBase> model, std::vector<std::shared_ptr<storm::logic::Formula>> const& formulas) {
if (model->isSparseModel() && storm::settings::generalSettings().isBisimulationSet()) {

Loading…
Cancel
Save