contrib/rpl/rgrl/rgrl_evaluator.h
Go to the documentation of this file.
00001 #ifndef rgrl_evaluator_h_
00002 #define rgrl_evaluator_h_
00003 //:
00004 // \file
00005 // \author Lee, Ying-Lin (Bess)
00006 
00007 #include <vcl_vector.h>
00008 #include <rgrl/rgrl_object.h>
00009 
00010 class rgrl_evaluator : public rgrl_object
00011 {
00012  public:
00013   // Default constructor
00014   rgrl_evaluator() {}
00015   // Destructor
00016   virtual ~rgrl_evaluator() {}
00017 
00018   virtual
00019   double evaluate( vcl_vector< double > const& a,
00020                    vcl_vector< double > const& b,
00021                    vcl_vector< double > const& weight ) const = 0;
00022 
00023   // Defines type-related functions
00024   rgrl_type_macro( rgrl_evaluator, rgrl_object );
00025 };
00026 
00027 #endif