Class RemArea

Inheritance Relationships

Base Type

Class Documentation

class RemArea : public f2c::obj::HGObjective

Compute the area of the mainland (field - headlands).

Public Functions

virtual bool isMinimizing(void) const override

Return true if the objective is to minimize the cost function.

double computeCost(const F2CCell &total_cell, const F2CCell &rem_cell)
double computeCost(const F2CCells &total_cell, const F2CCell &rem_cell)
double computeCost(const F2CCell &total_cell, const F2CCells &rem_cell)
double computeCost(const F2CCells &total_cell, const F2CCells &rem_cell)
virtual double computeCost(const F2CCell &total_cell, const F2CCell &rem_cell)
virtual double computeCost(const F2CCells &total_cell, const F2CCell &rem_cell)
virtual double computeCost(const F2CCell &total_cell, const F2CCells &rem_cell)
virtual double computeCost(const F2CCells &total_cell, const F2CCells &rem_cell)
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 isMaximizing() const

Return true if the objective is to maximize the cost function.