rem_area.h
Go to the documentation of this file.
1 //=============================================================================
2 // Copyright (C) 2021-2024 Wageningen University - All Rights Reserved
3 // Author: Gonzalo Mier
4 // BSD-3 License
5 //=============================================================================
6 
7 #pragma once
8 #ifndef FIELDS2COVER_OBJECTIVES_REM_AREA_H_
9 #define FIELDS2COVER_OBJECTIVES_REM_AREA_H_
10 
11 #include "fields2cover/types.h"
13 
14 namespace f2c::obj {
15 
17 class RemArea : public HGObjective {
18  public:
20  bool isMinimizing(void) const override;
21 };
22 
23 } // namespace f2c::obj
24 
25 #endif // FIELDS2COVER_OBJECTIVES_REM_AREA_H_
types.h
f2c::obj::RemArea
Compute the area of the mainland (field - headlands).
Definition: rem_area.h:17
f2c::obj::RemArea::isMinimizing
bool isMinimizing(void) const override
Return true if the objective is to minimize the cost function.
Definition: rem_area.cpp:11
f2c::obj::HGObjective
Base class for objective functions of Headland generator.
Definition: hg_objective.h:18
f2c::obj
Objective algorithms' namespace.
Definition: base_objective.h:14
hg_objective.h
f2c::obj::HGObjective::computeCost
virtual double computeCost(const F2CCell &total_cell, const F2CCell &rem_cell)
Definition: hg_objective.cpp:11


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31