Show
Ignore:
Timestamp:
08/05/09 14:40:03 (15 years ago)
Author:
mido
Message:

panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/epdf_harness.h

    r462 r477  
    2222#include "base/user_info.h" 
    2323 
    24 namespace bdm 
    25 { 
     24namespace bdm { 
    2625 
    27 class epdf_harness : public root 
    28 { 
     26class epdf_harness : public root { 
    2927private: 
    30     shared_ptr<epdf> hepdf; 
    31     vec mean; 
    32     vec variance; 
    33     mat support; 
    34     vec nbins; 
    35     int nsamples; 
    36     mat R; 
    37     shared_ptr<RV> mrv; 
    38     double tolerance; 
     28        shared_ptr<epdf> hepdf; 
     29        vec mean; 
     30        vec variance; 
     31        mat support; 
     32        vec nbins; 
     33        int nsamples; 
     34        mat R; 
     35        shared_ptr<RV> mrv; 
     36        double tolerance; 
    3937 
    4038public: 
    41     static void test_config(const char *config_file_name); 
     39        static void test_config ( const char *config_file_name ); 
    4240 
    43     epdf_harness():nsamples(1000), tolerance(0.1) { } 
     41        epdf_harness() : nsamples ( 1000 ), tolerance ( 0.1 ) { } 
    4442 
    45     virtual void test(const char *config_name, int idx); 
     43        virtual void test ( const char *config_name, int idx ); 
    4644 
    47     void from_setting(const Setting &set); 
     45        void from_setting ( const Setting &set ); 
    4846 
    4947protected: 
    50     epdf *get_epdf() { return hepdf.get(); } 
     48        epdf *get_epdf() { 
     49                return hepdf.get(); 
     50        } 
    5151 
    52     double get_tolerance() const { return tolerance; } 
     52        double get_tolerance() const { 
     53                return tolerance; 
     54        } 
    5355}; 
    5456