include
fields2cover
swath_generator
brute_force.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_SWATH_GENERATOR_BRUTE_FORCE_H_
9
#define FIELDS2COVER_SWATH_GENERATOR_BRUTE_FORCE_H_
10
11
#include <limits>
12
#include <utility>
13
#include <numeric>
14
#include <memory>
15
#include "
fields2cover/types.h
"
16
#include "
fields2cover/swath_generator/swath_generator_base.h
"
17
18
namespace
f2c::sg
{
19
20
class
BruteForce
:
public
SwathGeneratorBase
{
21
public
:
22
double
getStepAngle
()
const
;
23
void
setStepAngle
(
double
d);
24
25
double
computeBestAngle
(
f2c::obj::SGObjective
&
obj
,
26
double
op_width,
const
F2CCell
& poly)
override
;
27
28
private
:
29
double
step_angle
{boost::math::constants::degree<double>()};
// radians
30
};
31
32
33
}
// namespace f2c::sg
34
35
36
37
#endif // FIELDS2COVER_SWATH_GENERATOR_BRUTE_FORCE_H_
types.h
f2c::sg::BruteForce::setStepAngle
void setStepAngle(double d)
Definition:
brute_force.cpp:22
swath_generator_base.h
f2c::obj::SGObjective
Base class for objective functions of swath generators.
Definition:
sg_objective.h:21
f2c::types::Cell
Definition:
Cell.h:32
7_decomposition.obj
obj
Definition:
7_decomposition.py:32
f2c::sg::SwathGeneratorBase
Definition:
swath_generator_base.h:17
f2c::sg::BruteForce::computeBestAngle
double computeBestAngle(f2c::obj::SGObjective &obj, double op_width, const F2CCell &poly) override
Definition:
brute_force.cpp:26
f2c::sg
Swath generator algorithms' namespace.
Definition:
brute_force.h:18
f2c::sg::BruteForce::step_angle
double step_angle
Definition:
brute_force.h:29
f2c::sg::BruteForce
Definition:
brute_force.h:20
f2c::sg::BruteForce::getStepAngle
double getStepAngle() const
Definition:
brute_force.cpp:18
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31