Changeset 1066 for library/bdm/base/bdmbase.h
- Timestamp:
- 06/09/10 16:20:11 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/bdmbase.h
r1064 r1066 275 275 class = 'RV'; 276 276 names = {'a', 'b', 'c', ...}; // UNIQUE IDENTIFIER same names = same variable 277 277 // names are also used when storing results 278 278 --- optional --- 279 279 sizes = [1, 2, 3, ...]; // size of each name. default = ones() 280 280 // if size = -1, it is found out from previous instances of the same name 281 281 times = [-1, -2, 0, ...]; // time shifts with respect to current time, default = zeros() 282 282 \endcode … … 725 725 SHAREDPTR ( pdf ); 726 726 727 //! Probability density function with numerical statistics, e.g. posterior density.727 //! Abstract class representing probability density function with numerical statistics, e.g. posterior density. 728 728 class epdf : public pdf { 729 729 //! \var log_level_enums logmean … … 820 820 //! \name Access to attributes 821 821 //! @{ 822 823 //! Load from structure with elements:824 //! 825 //! { rv = {class="RV", names=(...),}; //RV describing meaning of random variable826 //! // elements of offsprings827 //! }822 //! Create object from the following structure 823 //! 824 //! \code 825 //! rv = RV({'names',...},[sizes,...],[times,...]); % RV describing meaning of random variable 826 //! --- inherited fields --- 827 //! bdm::pdf::from_setting 828 828 //! \endcode 829 //! @}829 //! @} 830 830 void from_setting ( const Setting &set ); 831 831 void to_setting ( Setting &set ) const; … … 1129 1129 //establish c2c connection 1130 1130 rvc.dataind ( rvc_up, c2c_lo, c2c_up ); 1131 // 1131 // bdm_assert_debug ( c2c_lo.length() + v2c_lo.length() == condsize, "cond is not fully given" ); 1132 1132 } 1133 1133 … … 1298 1298 1299 1299 BM() : yrv(), dimy ( 0 ), rvc(), dimc ( 0 ), ll ( 0 ), evalll ( true ) { }; 1300 // 1300 // BM ( const BM &B ) : yrv ( B.yrv ), dimy(B.dimy), rvc ( B.rvc ),dimc(B.dimc), ll ( B.ll ), evalll ( B.evalll ) {} 1301 1301 //! \brief Copy function required in vectors, Arrays of BM etc. Have to be DELETED manually! 1302 1302 //! Prototype: \code BM* _copy() const {return new BM(*this);} \endcode