LCOV - code coverage report
Current view: top level - app/include/Dynamic/Policy/RewardFunction - RewardFunctionDifference.hpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2023-08-17 16:45:52 Functions: 1 2 50.0 %

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

Generated by: LCOV version 1.14