|  |  | @ -14,16 +14,21 @@ namespace storm { | 
			
		
	
		
			
				
					|  |  |  | namespace ir { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | // Initializes all members with their default constructors.
 | 
			
		
	
		
			
				
					|  |  |  | Command::Command() : commandName(), guardExpression(), updates() { | 
			
		
	
		
			
				
					|  |  |  | Command::Command() : actionName(), guardExpression(), updates() { | 
			
		
	
		
			
				
					|  |  |  | 	// Nothing to do here.
 | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | // Initializes all members according to the given values.
 | 
			
		
	
		
			
				
					|  |  |  | Command::Command(std::string commandName, std::shared_ptr<storm::ir::expressions::BaseExpression> guardExpression, std::vector<storm::ir::Update> updates) | 
			
		
	
		
			
				
					|  |  |  | 		: commandName(commandName), guardExpression(guardExpression), updates(updates) { | 
			
		
	
		
			
				
					|  |  |  | Command::Command(std::string actionName, std::shared_ptr<storm::ir::expressions::BaseExpression> guardExpression, std::vector<storm::ir::Update> updates) | 
			
		
	
		
			
				
					|  |  |  | 		: actionName(actionName), guardExpression(guardExpression), updates(updates) { | 
			
		
	
		
			
				
					|  |  |  | 	// Nothing to do here.
 | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | // Return the action name.
 | 
			
		
	
		
			
				
					|  |  |  | std::string const& Command::getActionName() const { | 
			
		
	
		
			
				
					|  |  |  | 	return this->actionName; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | // Return the expression for the guard.
 | 
			
		
	
		
			
				
					|  |  |  | std::shared_ptr<storm::ir::expressions::BaseExpression> const& Command::getGuard() const { | 
			
		
	
		
			
				
					|  |  |  | 	return guardExpression; | 
			
		
	
	
		
			
				
					|  |  | @ -42,7 +47,7 @@ storm::ir::Update const& Command::getUpdate(uint_fast64_t index) const { | 
			
		
	
		
			
				
					|  |  |  | // Build a string representation of the command.
 | 
			
		
	
		
			
				
					|  |  |  | std::string Command::toString() const { | 
			
		
	
		
			
				
					|  |  |  | 	std::stringstream result; | 
			
		
	
		
			
				
					|  |  |  | 	result << "[" << commandName << "] " << guardExpression->toString() << " -> "; | 
			
		
	
		
			
				
					|  |  |  | 	result << "[" << actionName << "] " << guardExpression->toString() << " -> "; | 
			
		
	
		
			
				
					|  |  |  | 	for (uint_fast64_t i = 0; i < updates.size(); ++i) { | 
			
		
	
		
			
				
					|  |  |  | 		result << updates[i].toString(); | 
			
		
	
		
			
				
					|  |  |  | 		if (i < updates.size() - 1) { | 
			
		
	
	
		
			
				
					|  |  | 
 |