Browse Source

Merge remote-tracking branch 'origin/jani_support' into jani_explicit_jit

Former-commit-id: db4fcda864 [formerly 46e4edef5e]
Former-commit-id: 824934bea1
tempestpy_adaptions
dehnert 8 years ago
parent
commit
bb711fa4fb
  1. 9
      src/storage/jani/JSONExporter.cpp

9
src/storage/jani/JSONExporter.cpp

@ -71,7 +71,14 @@ namespace storm {
std::vector<modernjson::json> synElems; std::vector<modernjson::json> synElems;
for (auto const& syncs : composition.getSynchronizationVectors()) { for (auto const& syncs : composition.getSynchronizationVectors()) {
modernjson::json syncDecl; modernjson::json syncDecl;
syncDecl["synchronise"] = syncs.getInput();
syncDecl["synchronise"] = std::vector<std::string>();
for (auto const& syncIn : syncs.getInput()) {
if (syncIn == SynchronizationVector::NO_ACTION_INPUT) {
syncDecl["synchronise"].push_back(nullptr);
} else {
syncDecl["synchronise"].push_back(syncIn);
}
}
syncDecl["result"] = syncs.getOutput(); syncDecl["result"] = syncs.getOutput();
synElems.push_back(syncDecl); synElems.push_back(syncDecl);
} }

Loading…
Cancel
Save