Changeset 766 for library/bdm/mex

Show
Ignore:
Timestamp:
01/11/10 22:55:57 (14 years ago)
Author:
mido
Message:

abstract methods restored wherever they are meaningful
macros NOT_IMPLEMENTED and NOT_IMPLEMENTED_VOID defined to make sources shorter
emix::set_parameters and mmix::set_parameters removed, corresponding acces methods created and the corresponding validate methods improved appropriately
some compilator warnings were avoided
and also a few other things cleaned up

Location:
library/bdm/mex
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/mex/mex_BM.h

    r756 r766  
    3838                return mxArray2vec ( tmp ); 
    3939        } 
     40 
     41        virtual vec sample() const NOT_IMPLEMENTED(0); 
     42 
     43        virtual double evallog ( const vec &val ) const NOT_IMPLEMENTED(0); 
     44         
     45        virtual vec variance() const NOT_IMPLEMENTED(0); 
    4046}; 
    4147UIREGISTER ( mexEpdf ); 
     
    9298                return est; 
    9399        } //tohle by melo zustat!! 
     100 
     101        virtual double logpred ( const vec &yt ) const  NOT_IMPLEMENTED(0); 
     102 
     103        virtual epdf* epredictor() const NOT_IMPLEMENTED(NULL); 
     104 
     105        virtual pdf* predictor() const NOT_IMPLEMENTED(NULL); 
    94106}; 
    95107UIREGISTER ( mexBM ); 
  • library/bdm/mex/mex_datasource.h

    r737 r766  
    117117        } 
    118118 
     119        virtual void getdata ( vec &dt, const ivec &indeces ) NOT_IMPLEMENTED_VOID; 
     120 
     121        virtual void write ( const vec &ut, const ivec &indeces ) NOT_IMPLEMENTED_VOID; 
     122 
     123 
    119124        void step() { 
    120125                mxArray* tmp;