Show
Ignore:
Timestamp:
06/17/09 23:53:11 (15 years ago)
Author:
smidl
Message:

merger restructured

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/mpdm/TR2244/merger_iter_cond.cpp

    r310 r379  
    3434        A ( 1 ) =&mf2; 
    3535 
    36         merger M ( A ); 
    37         M.debug_file("iter_cond_debug.it"); 
     36        merger_mix M ( A ); 
     37        M.set_debug_file("iter_cond_debug.it"); 
    3838        enorm<ldmat> g0; g0.set_rv ( all ); 
    3939        mat Cov=10*eye ( 2 ); 
     
    4545//      mlnorm<ldmat>* testm=(mlnorm<ldmat>*)teste->condition(u2); 
    4646         
    47         M.set_parameters ( 1.2,1000,1,0.5); 
     47        M.set_parameters (1,0.5); 
     48        M.set_method(LOGNORMAL, 1.2); 
    4849         
    4950        Array<vec> YUU(2);  
     
    6667 
    6768        for ( int it=0;it<Ntrials;it++ ) { 
    68                 M.merge ( &g0 ); 
    69  
     69                M.set_support( g0,1000); 
     70                M.merge(); 
     71                 
    7072                MixEF &MM = M._Mix(); 
    7173                epdf* MP = MM._Coms ( 0 )->epredictor ( );