Class HGObjective
Defined in File hg_objective.h
Inheritance Relationships
Base Type
public f2c::obj::BaseObjective< HGObjective >
(Template Class BaseObjective)
Derived Type
public f2c::obj::RemArea
(Class RemArea)
Class Documentation
-
class HGObjective : public f2c::obj::BaseObjective<HGObjective>
Base class for objective functions of Headland generator.
Subclassed by f2c::obj::RemArea
Public Functions
-
inline double computeCostWithMinimizingSign(const T1 &t1)
Compute the cost function with minimizing sign.
If the objective is to maximize the cost function, the cost is multiplied by -1.
-
inline double computeCostWithMinimizingSign(const T1 &t1, const T2 &t2)
-
inline double computeCostWithMinimizingSign(const T1 &t1, const T2 &t2, const T3 &t3)
-
inline double computeCostWithMinimizingSign(const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4)
-
inline virtual bool isMinimizing() const
Return true if the objective is to minimize the cost function.
-
inline virtual bool isMaximizing() const
Return true if the objective is to maximize the cost function.
-
inline double computeCostWithMinimizingSign(const T1 &t1)