STORM_LOG_THROW(vector.size()==this->subcompositions.size(),storm::exceptions::WrongFormatException,"Synchronization vectors must match parallel composition size.");
STORM_LOG_THROW(vector.size()==this->subcompositions.size(),storm::exceptions::WrongFormatException,"Synchronization vectors must match parallel composition size.");
STORM_LOG_THROW(actions.find(action)==actions.end(),storm::exceptions::WrongFormatException,"Cannot use the same action multiple times as input in synchronization vectors.");
actions.insert(action);
}
}
std::set<std::string>actions;
for(autoconst&vector:synchronizationVectors){
STORM_LOG_THROW(actions.find(vector.getOutput())==actions.end(),storm::exceptions::WrongFormatException,"Cannot use the same output action multiple times in synchronization vectors.");