@ -1,6 +1,7 @@ 
			
		 
		
	
		
			
				 
				 
				# include  "storm/parser/ValueParser.h" 
  
				 
				 
				# include  "storm/parser/ValueParser.h" 
  
			
		 
		
	
		
			
				 
				 
				
 
				 
				 
				
 
			
		 
		
	
		
			
				 
				 
				# include  "storm/exceptions/NotSupportedException.h" 
  
				 
				 
				# include  "storm/exceptions/NotSupportedException.h" 
  
			
		 
		
	
		
			
				 
				 
				 
				 
				 
				# include  "storm/exceptions/WrongFormatException.h" 
  
			
		 
		
	
		
			
				 
				 
				
 
				 
				 
				
 
			
		 
		
	
		
			
				 
				 
				namespace  storm  {  
				 
				 
				namespace  storm  {  
			
		 
		
	
		
			
				 
				 
				    namespace  parser  {  
				 
				 
				    namespace  parser  {  
			
		 
		
	
	
		
			
				
					
					
					
						
							 
						 
					
				 
				@ -12,7 +13,6 @@ namespace storm { 
			
		 
		
	
		
			
				 
				 
				
 
				 
				 
				
 
			
		 
		
	
		
			
				 
				 
				        template < >  
				 
				 
				        template < >  
			
		 
		
	
		
			
				 
				 
				        void  ValueParser < storm : : RationalFunction > : : addParameter ( std : : string  const &  parameter )  {  
				 
				 
				        void  ValueParser < storm : : RationalFunction > : : addParameter ( std : : string  const &  parameter )  {  
			
		 
		
	
		
			
				 
				 
				            //STORM_LOG_THROW((std::is_same<ValueType, storm::RationalFunction>::value), storm::exceptions::NotSupportedException, "Parameters only allowed when using rational functions.");
  
				 
				 
				 
			
		 
		
	
		
			
				 
				 
				            storm : : expressions : : Variable  var  =  manager - > declareRationalVariable ( parameter ) ;  
				 
				 
				            storm : : expressions : : Variable  var  =  manager - > declareRationalVariable ( parameter ) ;  
			
		 
		
	
		
			
				 
				 
				            identifierMapping . emplace ( var . getName ( ) ,  var ) ;  
				 
				 
				            identifierMapping . emplace ( var . getName ( ) ,  var ) ;  
			
		 
		
	
		
			
				 
				 
				            parser . setIdentifierMapping ( identifierMapping ) ;  
				 
				 
				            parser . setIdentifierMapping ( identifierMapping ) ;  
			
		 
		
	
	
		
			
				
					
					
					
						
							 
						 
					
				 
				@ -21,8 +21,13 @@ namespace storm { 
			
		 
		
	
		
			
				 
				 
				
 
				 
				 
				
 
			
		 
		
	
		
			
				 
				 
				        template < >  
				 
				 
				        template < >  
			
		 
		
	
		
			
				 
				 
				        double  ValueParser < double > : : parseValue ( std : : string  const &  value )  const  {  
				 
				 
				        double  ValueParser < double > : : parseValue ( std : : string  const &  value )  const  {  
			
		 
		
	
		
			
				 
				 
				 
				 
				 
				            try  {  
			
		 
		
	
		
			
				 
				 
				                return  boost : : lexical_cast < double > ( value ) ;  
				 
				 
				                return  boost : : lexical_cast < double > ( value ) ;  
			
		 
		
	
		
			
				 
				 
				            }  
				 
				 
				            }  
			
		 
		
	
		
			
				 
				 
				 
				 
				 
				            catch ( boost : : bad_lexical_cast  & )  {  
			
		 
		
	
		
			
				 
				 
				 
				 
				 
				                STORM_LOG_THROW ( false ,  storm : : exceptions : : WrongFormatException ,  " Could not parse value ' "  < <  value  < <  " '. " ) ;  
			
		 
		
	
		
			
				 
				 
				 
				 
				 
				            }  
			
		 
		
	
		
			
				 
				 
				 
				 
				 
				        }  
			
		 
		
	
		
			
				 
				 
				
 
				 
				 
				
 
			
		 
		
	
		
			
				 
				 
				        template < >  
				 
				 
				        template < >  
			
		 
		
	
		
			
				 
				 
				        storm : : RationalFunction  ValueParser < storm : : RationalFunction > : : parseValue ( std : : string  const &  value )  const  {  
				 
				 
				        storm : : RationalFunction  ValueParser < storm : : RationalFunction > : : parseValue ( std : : string  const &  value )  const  {  
			
		 
		
	
	
		
			
				
					
						
							 
						 
					
					
					
				 
				 
			
		 
		
	
										
									
								 
							
xxxxxxxxxx