.. _program_listing_file_fields2cover_objectives_hg_obj_hg_objective.h: Program Listing for File hg_objective.h ======================================= |exhale_lsh| :ref:`Return to documentation for file ` (``fields2cover/objectives/hg_obj/hg_objective.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp //============================================================================= // Copyright (C) 2021-2024 Wageningen University - All Rights Reserved // Author: Gonzalo Mier // BSD-3 License //============================================================================= #pragma once #ifndef FIELDS2COVER_OBJECTIVES_HG_OBJECTIVE_H_ #define FIELDS2COVER_OBJECTIVES_HG_OBJECTIVE_H_ #include #include "fields2cover/types.h" #include "fields2cover/objectives/base_objective.h" namespace f2c::obj { class HGObjective : public BaseObjective { public: virtual double computeCost( const F2CCell& total_cell, const F2CCell& rem_cell); virtual double computeCost( const F2CCells& total_cell, const F2CCell& rem_cell); virtual double computeCost( const F2CCell& total_cell, const F2CCells& rem_cell); virtual double computeCost( const F2CCells& total_cell, const F2CCells& rem_cell); }; } // namespace f2c::obj #endif // FIELDS2COVER_OBJECTIVES_HG_OBJECTIVE_H_