00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _plLearnUnKAlphaLaplaceDataPrior_h
00027 #define _plLearnUnKAlphaLaplaceDataPrior_h
00028
00029 #include <pl.h>
00030 #include <plLearnUnKLaplace.h>
00031
00032
00033 class AlphaLaplaceDataPrior : public plLearnUnKLaplace
00034 {
00035 public:
00036
00038 AlphaLaplaceDataPrior(const AlphaLaplaceDataPrior & ALDP)
00039 : plLearnUnKLaplace( ALDP )
00040 {};
00041
00042 AlphaLaplaceDataPrior( const plVariablesConjunction &vars )
00043 : plLearnUnKLaplace( vars )
00044 {};
00045
00046
00047
00048
00049 virtual ~AlphaLaplaceDataPrior(){};
00050
00051
00052 void get_plProbValue(vector<plProbValue>& prob_ref,
00053 const plValues& min,
00054 const plValues& max) const;
00055
00056
00057 plProbValue *get_plProbValue(const plValues& min,
00058 const plValues& max) const;
00059
00060
00061 void select_plProbValue(vector<plProbValue>& prob_ref,
00062 vector<plValues>& selected_values ) const;
00063
00064 plProbValue *
00065 select_plProbValue( vector<plValues>& selected_values ) const;
00066
00067
00069 plKernel get_distribution( const void *parameters = NULL ) const
00070 {
00071 return plKernel();
00072 }
00073
00074 };
00075
00076 #endif