#include <nn_esc_1d.h>
Public Types | |
enum | { monitorSwitch, monitorPeak } |
Public Member Functions | |
inputType | getInputType () |
outputType | getOutputType () |
void | init (double A, double M, double B, double ddelta, double delta, double period, int stopping_cycle_number, double stoping_min_val) |
std::vector< double > | monitor () |
std::vector< std::string > | monitorNames () |
NNESC1D () | |
NNESC1D (double A, double M, double B, double ddelta, double delta, double period, int stopping_cycle_number, double stoping_min_val) | |
std::vector< double > | step (double obj_val) |
Protected Member Functions | |
double | aSwitch (double e) |
bool | isStoppingConditionsMet () |
double | minPeakDetect (double e_minus) |
void | reset () |
double | wSwitch (double e_minus) |
Protected Attributes | |
double | A_ |
double | a_switch_old_ |
double | B_ |
double | ddelta_ |
double | delta_ |
bool | initialized_ |
double | M_ |
double | min_peak_ |
bool | min_peak_detect_init_ |
double | mpd_init_ |
int | nn_cycle_count_ |
double | obj_val_cycle_init_ |
double | period_ |
double | stoping_min_val_ |
int | stopping_cycle_number_ |
double | vel_ref_ |
double | vel_ref_old_ |
double | w_switch_ |
double | w_switch_old_ |
double | yr_ |
Definition at line 24 of file nn_esc_1d.h.
anonymous enum |
Definition at line 26 of file nn_esc_1d.h.
NNESC1D::NNESC1D | ( | ) |
Definition at line 17 of file nn_esc_1d.cpp.
NNESC1D::NNESC1D | ( | double | A, |
double | M, | ||
double | B, | ||
double | ddelta, | ||
double | delta, | ||
double | period, | ||
int | stopping_cycle_number, | ||
double | stoping_min_val | ||
) |
Definition at line 62 of file nn_esc_1d.cpp.
double NNESC1D::aSwitch | ( | double | e | ) | [protected] |
Definition at line 132 of file nn_esc_1d.cpp.
ESC::inputType NNESC1D::getInputType | ( | ) | [virtual] |
Implements ESC.
Definition at line 35 of file nn_esc_1d.cpp.
ESC::outputType NNESC1D::getOutputType | ( | ) | [virtual] |
Implements ESC.
Definition at line 39 of file nn_esc_1d.cpp.
void NNESC1D::init | ( | double | A, |
double | M, | ||
double | B, | ||
double | ddelta, | ||
double | delta, | ||
double | period, | ||
int | stopping_cycle_number, | ||
double | stoping_min_val | ||
) |
Definition at line 66 of file nn_esc_1d.cpp.
bool NNESC1D::isStoppingConditionsMet | ( | ) | [protected, virtual] |
Reimplemented from ESC.
Definition at line 160 of file nn_esc_1d.cpp.
double NNESC1D::minPeakDetect | ( | double | e_minus | ) | [protected] |
Definition at line 125 of file nn_esc_1d.cpp.
std::vector< double > NNESC1D::monitor | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 43 of file nn_esc_1d.cpp.
std::vector< std::string > NNESC1D::monitorNames | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 53 of file nn_esc_1d.cpp.
void NNESC1D::reset | ( | ) | [protected, virtual] |
Implements ESC.
Definition at line 146 of file nn_esc_1d.cpp.
std::vector< double > NNESC1D::step | ( | double | obj_val | ) | [virtual] |
Reimplemented from ESC.
Definition at line 79 of file nn_esc_1d.cpp.
double NNESC1D::wSwitch | ( | double | e_minus | ) | [protected] |
Definition at line 111 of file nn_esc_1d.cpp.
double NNESC1D::A_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
double NNESC1D::a_switch_old_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
double NNESC1D::B_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
double NNESC1D::ddelta_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
double NNESC1D::delta_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
bool NNESC1D::initialized_ [protected] |
Definition at line 33 of file nn_esc_1d.h.
double NNESC1D::M_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
double NNESC1D::min_peak_ [protected] |
Definition at line 30 of file nn_esc_1d.h.
bool NNESC1D::min_peak_detect_init_ [protected] |
Definition at line 33 of file nn_esc_1d.h.
double NNESC1D::mpd_init_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
int NNESC1D::nn_cycle_count_ [protected] |
Definition at line 32 of file nn_esc_1d.h.
double NNESC1D::obj_val_cycle_init_ [protected] |
Definition at line 30 of file nn_esc_1d.h.
double NNESC1D::period_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
double NNESC1D::stoping_min_val_ [protected] |
Definition at line 31 of file nn_esc_1d.h.
int NNESC1D::stopping_cycle_number_ [protected] |
Definition at line 32 of file nn_esc_1d.h.
double NNESC1D::vel_ref_ [protected] |
Definition at line 30 of file nn_esc_1d.h.
double NNESC1D::vel_ref_old_ [protected] |
Definition at line 31 of file nn_esc_1d.h.
double NNESC1D::w_switch_ [protected] |
Definition at line 30 of file nn_esc_1d.h.
double NNESC1D::w_switch_old_ [protected] |
Definition at line 29 of file nn_esc_1d.h.
double NNESC1D::yr_ [protected] |
Definition at line 29 of file nn_esc_1d.h.