- Timestamp:
- 10/05/09 00:18:36 (15 years ago)
- Location:
- library/bdm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/design/ctrlbase.h
r598 r649 118 118 //! \note advanced Controllers will probably include estimator as their internal attribute (e.g. dual controllers) 119 119 class Controller : public root { 120 protected: 120 121 //! identifier of the system output; 121 122 RV yrv; … … 124 125 //! description of data needed for \c ctrlaction , required for automatic connection to DS 125 126 RV drv; 127 //! vector of logger IDs 128 ivec LIDs; 126 129 public: 127 130 //! function processing new observations and adapting control strategy accordingly … … 140 143 //! access function 141 144 const RV& _drv() {return drv;} 145 //! register this controller with given datasource under name "name" 146 virtual void log_add ( logger &L, const string &name = "" ) { } 147 //! write requested values into the logger 148 virtual void logit ( logger &L ) { } 149 142 150 }; 143 151 -
library/bdm/estim/arx.h
r639 r649 76 76 frg = frg0; 77 77 } 78 void set_constant ( bool const0 ) { 79 have_constant=const0; 80 } 78 81 void set_statistics ( int dimx0, const ldmat V0, double nu0 = -1.0 ) { 79 82 est.set_parameters ( dimx0, V0, nu0 );