hg_objective.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_HG_OBJECTIVE_H_
9 #define FIELDS2COVER_OBJECTIVES_HG_OBJECTIVE_H_
10 
11 #include <vector>
12 #include "fields2cover/types.h"
14 
15 namespace f2c::obj {
16 
18 class HGObjective : public BaseObjective<HGObjective> {
19  public:
20  virtual double computeCost(
21  const F2CCell& total_cell, const F2CCell& rem_cell);
22  virtual double computeCost(
23  const F2CCells& total_cell, const F2CCell& rem_cell);
24  virtual double computeCost(
25  const F2CCell& total_cell, const F2CCells& rem_cell);
26  virtual double computeCost(
27  const F2CCells& total_cell, const F2CCells& rem_cell);
28 };
29 
30 
31 } // namespace f2c::obj
32 
33 #endif // FIELDS2COVER_OBJECTIVES_HG_OBJECTIVE_H_
types.h
f2c::obj::HGObjective
Base class for objective functions of Headland generator.
Definition: hg_objective.h:18
f2c::types::Cell
Definition: Cell.h:32
f2c::obj
Objective algorithms' namespace.
Definition: base_objective.h:14
f2c::obj::HGObjective::computeCost
virtual double computeCost(const F2CCell &total_cell, const F2CCell &rem_cell)
Definition: hg_objective.cpp:11
f2c::types::Cells
Definition: Cells.h:21
base_objective.h
f2c::obj::BaseObjective
Definition: base_objective.h:17


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