Class NSwath
Defined in File n_swath.h
Inheritance Relationships
Base Type
public f2c::obj::SGObjective
(Class SGObjective)
Derived Type
public f2c::obj::NSwathModified
(Class NSwathModified)
Class Documentation
-
class NSwath : public f2c::obj::SGObjective
SG cost function as the number of swaths.
This cost function assumes that turn are slower than going through the swaths. Then, less swaths means less turns and faster paths.
Subclassed by f2c::obj::NSwathModified
Public Functions
-
double computeCost(const F2CSwath&)
Compute the cost function.
-
double computeCost(const F2CSwaths&)
Compute the cost function.
-
double computeCost(const F2CSwathsByCells &swaths)
Compute the cost function.
-
double computeCost(const F2CCell &c, const F2CSwathsByCells &swaths)
Compute the cost function.
-
double computeCost(const F2CCells &c, const F2CSwathsByCells &swaths)
Compute the cost function.
-
inline virtual bool isFastCompAvailable() const
-
virtual double computeCost(const F2CSwathsByCells &swaths)
Compute the cost function.
-
virtual double computeCost(const F2CCell&)
Compute the cost function.
-
virtual double computeCost(const F2CCells&)
Compute the cost function.
-
virtual double computeCost(double ang, double op_width, const F2CCell &cell)
Compute the cost function.
-
virtual double computeCost(const F2CCell &c, const F2CSwathsByCells &swaths)
Compute the cost function.
-
virtual double computeCost(const F2CCells &c, const F2CSwathsByCells &swaths)
Compute the cost function.
-
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.
-
double computeCost(const F2CSwath&)