21 enum ArcType { INPUT, OUTPUT, INHIBITOR };
33 std::stringstream stream;
34 stream <<
"p" << place.
getID();
39 std::stringstream stream;
40 stream << (immediate ?
"i" :
"t") << transition.
getID();
45 std::stringstream stream;
46 stream << place.
getID();
60 stream << transition.
getID();
Exports a GSPN into the JSON format for visualizing it.
static Json translate(storm::gspn::GSPN const &gspn)
static void toStream(storm::gspn::GSPN const &gspn, std::ostream &os)
storm::json< double > Json
This class provides methods to store and retrieve data for a place in a gspn.
uint64_t getID() const
Returns the id of this place.
This class represents a transition in a gspn.
#define STORM_LOG_ASSERT(cond, message)
nlohmann::basic_json< std::map, std::vector, std::string, bool, int64_t, uint64_t, ValueType > json