STORM_LOG_THROW(encounteredTemplateEdges.find(edge.getTemplateEdge())==encounteredTemplateEdges.end(),storm::exceptions::NotSupportedException,"Pushing location assignments to edges is only supported for automata with unique template edges.");
STORM_LOG_THROW(assignment.getExpressionVariable()!=(*it)->getExpressionVariable(),storm::exceptions::InvalidArgumentException,"Cannot add assignment ('"<<assignment.getAssignedExpression()<<"') as an assignment ('"<<(*it)->getAssignedExpression()<<"') to variable '"<<(*it)->getVariable().getName()<<"' already exists.");