00001 #ifndef Z2_ESTIMATOR_H 00002 #define Z2_ESTIMATOR_H 00003 00004 struct vector; 00005 struct ivector; 00006 class skyline; 00007 00008 class z2_smoothing 00009 { 00010 public: 00011 z2_smoothing (long ncomp); 00012 ~z2_smoothing (void); 00013 00014 void run (vector *rsigfull); 00015 00016 void give_adapt_code_numbers (long eid,ivector &cn); 00017 void compute_ntdbr (vector &ntdbr); 00018 00019 void alloc_ntn (skyline *ntn_sky); 00020 void column_lengths_nn (skyline *ntn_sky); 00021 void compute_ntn_sky (skyline *ntn_sky); 00022 void compute_rsigfull (skyline *ntn_sky,vector &ntdbr, vector *rsigfull); 00023 00024 void compute_ainv (vector &ainv); 00025 void compute_rsigfull (vector &ainv,vector &ntdbr, vector *rsigfull); 00026 00027 long ncomp; 00028 long nn; 00029 long ne; 00030 long flags; 00031 }; 00032 00033 #endif 00034 00035 00036 00037 00038