|
@ -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()) { |
|
|