/* * File: parametric.cpp * Author: Tim Quatmann * * Created by Tim Quatmann on 08/03/16. */ #include #include "src/utility/parametric.h" #include "src/utility/constants.h" #include "src/utility/macros.h" #include "src/settings/SettingsManager.h" #include "src/exceptions/IllegalArgumentException.h" #include "src/exceptions/NotImplementedException.h" #ifdef STORM_HAVE_CARL #include #include #endif namespace storm { namespace utility{ namespace parametric { #ifdef STORM_HAVE_CARL template<> typename CoefficientType::type evaluate(storm::RationalFunction const& function, std::map::type, typename CoefficientType::type> const& valuation){ return function.evaluate(valuation); } template<> typename CoefficientType::type getConstantPart(storm::RationalFunction const& function){ return function.constantPart(); } #endif } } }