Browse Source

Merge branch 'future' into python_api

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

4
src/utility/storm.h

@ -186,11 +186,11 @@ namespace storm {
template<typename ModelType> 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) { 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> 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) { 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()) { if (model->isSparseModel() && storm::settings::generalSettings().isBisimulationSet()) {

Loading…
Cancel
Save