single_cell_swaths_order_base.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_ROUTE_PLANNING_SINGLE_CELL_SWATHS_ORDER_BASE_H_
9 #define FIELDS2COVER_ROUTE_PLANNING_SINGLE_CELL_SWATHS_ORDER_BASE_H_
10 
11 #include "fields2cover/types.h"
12 
13 namespace f2c::rp {
14 
16  public:
17  virtual F2CSwaths genSortedSwaths(
18  const F2CSwaths& swaths, uint32_t variant = 0) const;
19 
20  virtual ~SingleCellSwathsOrderBase() = default;
21 
22  protected:
23  virtual void changeStartPoint(F2CSwaths& swaths, uint32_t variant) const;
24  virtual void sortSwaths(F2CSwaths& swaths) const = 0;
25 };
26 
27 
28 
29 } // namespace f2c::rp
30 
31 #endif // FIELDS2COVER_ROUTE_PLANNING_SINGLE_CELL_SWATHS_ORDER_BASE_H_
5_route_planning.swaths
swaths
Definition: 5_route_planning.py:58
types.h
f2c::rp::SingleCellSwathsOrderBase
Definition: single_cell_swaths_order_base.h:15
f2c::rp::SingleCellSwathsOrderBase::changeStartPoint
virtual void changeStartPoint(F2CSwaths &swaths, uint32_t variant) const
Definition: single_cell_swaths_order_base.cpp:25
f2c::rp::SingleCellSwathsOrderBase::~SingleCellSwathsOrderBase
virtual ~SingleCellSwathsOrderBase()=default
f2c::rp::SingleCellSwathsOrderBase::genSortedSwaths
virtual F2CSwaths genSortedSwaths(const F2CSwaths &swaths, uint32_t variant=0) const
Definition: single_cell_swaths_order_base.cpp:12
f2c::rp
Route planning algorithms' namespace.
Definition: boustrophedon_order.h:14
f2c::rp::SingleCellSwathsOrderBase::sortSwaths
virtual void sortSwaths(F2CSwaths &swaths) const =0
f2c::types::Swaths
Definition: Swaths.h:20


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