Line data Source code
1 : #pragma once 2 : 3 : #include "Dynamic/Dynamic.hpp" 4 : 5 : namespace Dynamic { 6 : namespace Env { 7 : class Env; 8 : class Vehicle; 9 : } // namespace Env 10 : 11 0 : class RewardFunction { 12 : public: 13 : virtual Reward operator()(const Env::Env &env, const Env::Vehicle &vehicle) = 0; 14 : 15 0 : virtual ~RewardFunction() = default; 16 : }; 17 : } // namespace Dynamic