diff --git a/src/storm-gspn/storage/gspn/GSPN.cpp b/src/storm-gspn/storage/gspn/GSPN.cpp index 37ac640b0..c622cc4fe 100644 --- a/src/storm-gspn/storage/gspn/GSPN.cpp +++ b/src/storm-gspn/storage/gspn/GSPN.cpp @@ -620,6 +620,60 @@ namespace storm { } } + // add arcs for immediate transitions + for (const auto &trans : timedTransitions) { + // add input arcs + for (auto const& inEntry : trans.getInputPlaces()) { + stream << space2 << "" << std::endl; + + stream << space3 << "" << std::endl; + stream << space4 << "Default," << inEntry.second << "" << std::endl; + stream << space3 << "" << std::endl; + + stream << space3 << "" << std::endl; + + stream << space2 << "" << std::endl; + } + + // add inhibition arcs + for (auto const& inhEntry : trans.getInhibitionPlaces()) { + stream << space2 << "" << std::endl; + + stream << space3 << "" << std::endl; + stream << space4 << "Default," << inhEntry.second << "" << std::endl; + stream << space3 << "" << std::endl; + + stream << space3 << "" << std::endl; + + stream << space2 << "" << std::endl; + } + + // add output arcs + for (auto const& outEntry : trans.getOutputPlaces()) { + stream << space2 << "" << std::endl; + + stream << space3 << "" << std::endl; + stream << space4 << "Default," << outEntry.second << "" << std::endl; + stream << space3 << "" << std::endl; + + stream << space3 << "" << std::endl; + + stream << space2 << "" << std::endl; + } + } + stream << space << "" << std::endl; stream << "" << std::endl; }