Changeset 18 for trunk/extremum_seeking/esc_nn/include
- Timestamp:
- 01/03/13 15:27:56 (12 years ago)
- Location:
- trunk/extremum_seeking/esc_nn/include/esc_nn
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/extremum_seeking/esc_nn/include/esc_nn/nn_esc_2d.h
r13 r18 26 26 protected: 27 27 double A_,M_,ddelta1_,ddelta2_,ddelta3_,delta_,B_, mpd_init_, w_switch_old_, a_switch1_old_, a_switch2_old_, a_switch3_old_,yr_,period_; 28 double min_peak_,w_switch_; 29 std::vector<double> vel_ref_; 28 double min_peak_,w_switch_, stoping_min_val_, obj_val_cycle_init_; 29 int stopping_cycle_number_, nn_cycle_count_; 30 std::vector<double> vel_ref_,vel_ref_old_; 30 31 bool initialized_,min_peak_detect_init_; 32 31 33 32 34 public: 33 35 NNESC2D(); 34 35 NNESC2D(double A,double M, double B, double ddelta1, double ddelta2, double ddelta3, double delta, double period); 36 37 void init(double A, double M, double B, double ddelta1, double ddelta2, double ddelta3, double delta, double period); 36 NNESC2D(double A,double M, double B, double ddelta1, double ddelta2, double ddelta3, double delta, double period, int stopping_cycle_number, double stoping_min_val); 37 void init(double A, double M, double B, double ddelta1, double ddelta2, double ddelta3, double delta, double period, int stopping_cycle_number, double stoping_min_val); 38 38 39 39 std::vector<double> step(double obj_val); … … 43 43 std::vector<std::string> monitorNames(); 44 44 void reset(); 45 bool isStoppingConditionsMet(); 45 46 protected: 46 47 double wSwitch(double e);
Note: See TracChangeset
for help on using the changeset viewer.