Python-like factory namespace for constructing COPP objective descriptors such as time, linear, thermal-energy, and torque-variation costs.
More...
Python-like factory namespace for constructing COPP objective descriptors such as time, linear, thermal-energy, and torque-variation costs.
Python-like objective factory namespace.
Example:
auto objectives = std::vector<copp::Objective>{
};
Objective ThermalEnergy(double weight, Span< const double > normalize)
Objective Time(double weight=1.0)
◆ Time()
| Objective copp::objective::Time |
( |
double | weight = 1.0 | ) |
|
|
inline |
◆ Linear() [1/2]
| Objective copp::objective::Linear |
( |
double | weight, |
|
|
Span< const double > | alpha, |
|
|
Span< const double > | beta ) |
|
inline |
◆ Linear() [2/2]
| Objective copp::objective::Linear |
( |
double | weight, |
|
|
std::initializer_list< double > | alpha, |
|
|
std::initializer_list< double > | beta ) |
|
inline |
◆ ThermalEnergy() [1/2]
| Objective copp::objective::ThermalEnergy |
( |
double | weight, |
|
|
Span< const double > | normalize ) |
|
inline |
◆ ThermalEnergy() [2/2]
| Objective copp::objective::ThermalEnergy |
( |
double | weight, |
|
|
std::initializer_list< double > | normalize ) |
|
inline |
◆ TotalVariationTorque() [1/2]
| Objective copp::objective::TotalVariationTorque |
( |
double | weight, |
|
|
Span< const double > | normalize ) |
|
inline |
◆ TotalVariationTorque() [2/2]
| Objective copp::objective::TotalVariationTorque |
( |
double | weight, |
|
|
std::initializer_list< double > | normalize ) |
|
inline |