Public Member Functions | List of all members
f2c::obj::SGObjective Class Reference

Base class for objective functions of swath generators. More...

#include <sg_objective.h>

Inheritance diagram for f2c::obj::SGObjective:
Inheritance graph
[legend]

Public Member Functions

virtual double computeCost (const F2CCell &)
 Compute the cost function. More...
 
virtual double computeCost (const F2CCell &c, const F2CSwath &s)
 Compute the cost function. More...
 
virtual double computeCost (const F2CCell &c, const F2CSwaths &s)
 Compute the cost function. More...
 
virtual double computeCost (const F2CCell &c, const F2CSwathsByCells &swaths)
 Compute the cost function. More...
 
virtual double computeCost (const F2CCells &)
 Compute the cost function. More...
 
virtual double computeCost (const F2CCells &c, const F2CSwath &s)
 Compute the cost function. More...
 
virtual double computeCost (const F2CCells &c, const F2CSwaths &s)
 Compute the cost function. More...
 
virtual double computeCost (const F2CCells &c, const F2CSwathsByCells &swaths)
 Compute the cost function. More...
 
virtual double computeCost (const F2CSwath &)
 Compute the cost function. More...
 
virtual double computeCost (const F2CSwaths &)
 Compute the cost function. More...
 
virtual double computeCost (const F2CSwathsByCells &swaths)
 Compute the cost function. More...
 
virtual double computeCost (double ang, double op_width, const F2CCell &cell)
 Compute the cost function. More...
 
virtual bool isFastCompAvailable () const
 
- Public Member Functions inherited from f2c::obj::BaseObjective< SGObjective >
double computeCostWithMinimizingSign (const T1 &t1)
 Compute the cost function with minimizing sign. More...
 
double computeCostWithMinimizingSign (const T1 &t1, const T2 &t2)
 
double computeCostWithMinimizingSign (const T1 &t1, const T2 &t2, const T3 &t3)
 
double computeCostWithMinimizingSign (const T1 &t1, const T2 &t2, const T3 &t3, const T4 &t4)
 
virtual bool isMaximizing () const
 Return true if the objective is to maximize the cost function. More...
 
virtual bool isMinimizing () const
 Return true if the objective is to minimize the cost function. More...
 
virtual ~BaseObjective ()=default
 

Detailed Description

Base class for objective functions of swath generators.

SG objectives are those objectives that depends on the swaths generation Some of the could be f2c::obj::NSwath or f2c::obj::FieldCoverage

Definition at line 21 of file sg_objective.h.

Member Function Documentation

◆ computeCost() [1/12]

double f2c::obj::SGObjective::computeCost ( const F2CCell cell)
virtual

Compute the cost function.

Definition at line 27 of file sg_objective.cpp.

◆ computeCost() [2/12]

double f2c::obj::SGObjective::computeCost ( const F2CCell c,
const F2CSwath s 
)
virtual

Compute the cost function.

Definition at line 42 of file sg_objective.cpp.

◆ computeCost() [3/12]

double f2c::obj::SGObjective::computeCost ( const F2CCell c,
const F2CSwaths s 
)
virtual

Compute the cost function.

Reimplemented in f2c::obj::FieldCoverage, and f2c::obj::Overlaps.

Definition at line 52 of file sg_objective.cpp.

◆ computeCost() [4/12]

double f2c::obj::SGObjective::computeCost ( const F2CCell c,
const F2CSwathsByCells swaths 
)
virtual

Compute the cost function.

Definition at line 58 of file sg_objective.cpp.

◆ computeCost() [5/12]

double f2c::obj::SGObjective::computeCost ( const F2CCells cells)
virtual

Compute the cost function.

Definition at line 31 of file sg_objective.cpp.

◆ computeCost() [6/12]

double f2c::obj::SGObjective::computeCost ( const F2CCells c,
const F2CSwath s 
)
virtual

Compute the cost function.

Definition at line 47 of file sg_objective.cpp.

◆ computeCost() [7/12]

double f2c::obj::SGObjective::computeCost ( const F2CCells c,
const F2CSwaths s 
)
virtual

Compute the cost function.

Reimplemented in f2c::obj::FieldCoverage, and f2c::obj::Overlaps.

Definition at line 65 of file sg_objective.cpp.

◆ computeCost() [8/12]

double f2c::obj::SGObjective::computeCost ( const F2CCells c,
const F2CSwathsByCells swaths 
)
virtual

Compute the cost function.

Definition at line 71 of file sg_objective.cpp.

◆ computeCost() [9/12]

double f2c::obj::SGObjective::computeCost ( const F2CSwath )
virtual

Compute the cost function.

Reimplemented in f2c::obj::NSwath, and f2c::obj::SwathLength.

Definition at line 11 of file sg_objective.cpp.

◆ computeCost() [10/12]

double f2c::obj::SGObjective::computeCost ( const F2CSwaths swaths)
virtual

Compute the cost function.

Reimplemented in f2c::obj::NSwath.

Definition at line 15 of file sg_objective.cpp.

◆ computeCost() [11/12]

double f2c::obj::SGObjective::computeCost ( const F2CSwathsByCells swaths)
virtual

Compute the cost function.

Definition at line 21 of file sg_objective.cpp.

◆ computeCost() [12/12]

double f2c::obj::SGObjective::computeCost ( double  ang,
double  op_width,
const F2CCell cell 
)
virtual

Compute the cost function.

Reimplemented in f2c::obj::NSwathModified.

Definition at line 37 of file sg_objective.cpp.

◆ isFastCompAvailable()

virtual bool f2c::obj::SGObjective::isFastCompAvailable ( ) const
inlinevirtual

Reimplemented in f2c::obj::NSwathModified.

Definition at line 23 of file sg_objective.h.


The documentation for this class was generated from the following files:


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31