include
fields2cover
objectives
pp_obj
path_length.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_PATH_LENGTH_H_
9
#define FIELDS2COVER_OBJECTIVES_PATH_LENGTH_H_
10
11
#include "
fields2cover/objectives/pp_obj/pp_objective.h
"
12
13
namespace
f2c::obj
{
14
16
class
PathLength
:
public
PPObjective
{
17
public
:
18
using
PPObjective::computeCost
;
19
};
20
21
}
// namespace f2c::obj
22
23
#endif // FIELDS2COVER_OBJECTIVES_PATH_LENGTH_H_
f2c::obj::PPObjective::computeCost
virtual double computeCost(const F2CPath &path)
Return the cost of a path.
Definition:
pp_objective.cpp:11
f2c::obj
Objective algorithms' namespace.
Definition:
base_objective.h:14
pp_objective.h
f2c::obj::PathLength
Compute the length of the coverage path, including turns.
Definition:
path_length.h:16
f2c::obj::PPObjective
Base class for objective functions of path planners.
Definition:
pp_objective.h:18
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31