contrib/rpl/rgrl/rgrl_scale_est_null.h
Go to the documentation of this file.
00001 #ifndef rgrl_scale_est_null_h_
00002 #define rgrl_scale_est_null_h_
00003 
00004 //:
00005 // \file
00006 // \brief  Implementation of null scale estimator which is set to unit
00007 // \author Charlene Tsai
00008 // \date   25 Nov 2002
00009 
00010 #include "rgrl_scale_estimator.h"
00011 
00012 //: A null scale estimator that has no effect on the weights
00013 //
00014 class rgrl_scale_est_null
00015   : public rgrl_scale_estimator
00016 {
00017 public:
00018 
00019   rgrl_scale_est_null( );
00020 
00021   ~rgrl_scale_est_null();
00022 
00023   rgrl_scale_sptr
00024   estimate_unweighted( rgrl_match_set const& match_set,
00025                        rgrl_scale_sptr const& current_scales,
00026                        bool penalize_scaling ) const;
00027 
00028   rgrl_scale_sptr
00029   estimate_weighted( rgrl_match_set const& match_set,
00030                      rgrl_scale_sptr const& current_scales,
00031                      bool use_signature_only,
00032                      bool penalize_scaling ) const;
00033 
00034   // Defines type-related functions
00035   rgrl_type_macro( rgrl_scale_est_null, rgrl_scale_estimator);
00036 
00037 private:
00038   //disabled
00039   rgrl_scale_est_null( rgrl_scale_est_null const& );
00040   rgrl_scale_est_null& operator=( rgrl_scale_est_null const& );
00041 
00042 };
00043 
00044 #endif // rgrl_scale_est_null_h_