Changeset 270 for bdm/estim/mixef.h

Show
Ignore:
Timestamp:
02/16/09 10:02:08 (15 years ago)
Author:
smidl
Message:

Changes in the very root classes!
* rv and rvc are no longer compulsory,
* samplecond does not return ll
* BM has drv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/estim/mixef.h

    r262 r270  
    6969        //! Full constructor 
    7070        MixEF ( const Array<BMEF*> &Coms0, const vec &alpha0 ) : 
    71                         BMEF ( RV() ), n ( Coms0.length() ), Coms ( n ), 
    72                         weights ( RV ( "{w }", vec_1 ( n ) ),alpha0 ), method(QB) { 
     71                        BMEF ( ), n ( Coms0.length() ), Coms ( n ), 
     72                        weights (), method(QB) { 
    7373        //      it_assert_debug ( n>0,"MixEF::MixEF : Empty Component list" ); 
    7474 
     
    7878        //! Constructor of empty mixture 
    7979        MixEF () : 
    80                         BMEF ( RV() ), n ( 0 ), Coms ( 0 ), 
    81                         weights ( RV ( "{w }", vec_1 ( 0 ) ),vec ( 0 ) ),method(QB) {build_est();} 
     80                        BMEF ( ), n ( 0 ), Coms ( 0 ), 
     81                        weights (),method(QB) {build_est();} 
    8282        //! Copy constructor 
    83         MixEF(const MixEF &M2): BMEF ( RV() ), n ( M2.n ), Coms ( n ), 
     83        MixEF(const MixEF &M2): BMEF ( ), n ( M2.n ), Coms ( n ), 
    8484                   weights ( M2.weights ), method(M2.method) { 
    8585        //      it_assert_debug ( n>0,"MixEF::MixEF : Empty Component list" ); 
     
    106106        const epdf& _epdf() const {return *est;} 
    107107        const eprod* _e() const {return est;} 
    108         emix* predictor(const RV &rv) const; 
     108        emix* epredictor() const; 
    109109        //! Flatten the density as if it was not estimated from the data 
    110110        void flatten(const BMEF* M2);