Show
Ignore:
Timestamp:
11/04/09 22:54:58 (15 years ago)
Author:
smidl
Message:

Making tutorial/userguide example work again (changes of mpdf and bayes)

Location:
applications/bdmtoolbox/mex
Files:
1 removed
3 modified

Legend:

Unmodified
Added
Removed
  • applications/bdmtoolbox/mex/estimator.cpp

    r685 r700  
    4848 */ 
    4949 
    50 #include "estim/arx.h" 
    51 #include "stat/emix.h" 
    52 #include "base/datasources.h" 
    53 #include "base/loggers.h" 
    54 #include "estim/particles.h" 
    55 #include "estim/kalman.h" 
     50#include <estim/arx.h> 
     51#include <stat/emix.h> 
     52#include <base/datasources.h> 
     53#include <base/loggers.h> 
     54#include <estim/particles.h> 
     55#include <estim/kalman.h> 
    5656 
    5757//#include "mex_datasource.h" 
     
    6161#ifdef MEX 
    6262#include <itpp/itmex.h> 
    63 #include "mex/mex_BM.h" 
    64 #include "mex/mex_logger.h" 
    65 #include "mex/mex_datasource.h" 
     63#include <mex/mex_BM.h> 
     64#include <mex/mex_logger.h> 
     65#include <mex/mex_datasource.h> 
    6666 
    6767void mexFunction ( int n_output, mxArray *output[], int n_input, const mxArray *input[] ) { 
     
    120120        Array<shared_ptr<BM> > Es; 
    121121        UI::get ( Es,Cfg, "estimators" ); 
    122         long Ndat=10; 
     122        int Ndat=10; 
    123123        if ( Cfg.exists ( "experiment" ) ) { 
    124                 if ( Cfg.lookupValue ( "experiment.ndat",Ndat ) ) { 
     124                if ( Cfg.getRoot().lookupValue ( "experiment.ndat",Ndat ) ) { 
    125125                        bdm_assert ( Ndat<=Ds->max_length(), "Data source has less data then required" ); 
    126126                }; 
  • applications/bdmtoolbox/mex/merger.cpp

    r685 r700  
    5858#endif 
    5959        // Sources 
    60         Array<shared_ptr<mpdf> >  Sources; 
     60        Array<shared_ptr<pdf> >  Sources; 
    6161        UI::get(Sources, Cfg, "Sources", UI::compulsory); 
    6262        shared_ptr<merger_base> Merger = UI::build<merger_base> ( Cfg, "Merger" ); 
  • applications/bdmtoolbox/mex/simulator.cpp

    r676 r700  
    3939 */ 
    4040 
    41 #include "estim/arx.h" 
    42 #include "stat/emix.h" 
    43 #include "base/datasources.h" 
    44 #include "base/loggers.h" 
     41#include <estim/arx.h> 
     42#include <stat/emix.h> 
     43#include <base/datasources.h> 
     44#include <base/loggers.h> 
    4545 
    4646//#include "mex_datasource.h" 
     
    104104 
    105105        shared_ptr<DS> Ds = UI::build<DS> ( Cfg, "system" ); 
    106         long Ndat=10; 
     106        int Ndat=10; 
    107107        if ( Cfg.exists ( "experiment" ) ) { 
    108108                if ( Cfg.lookupValue ( "experiment.ndat",Ndat ) ) {