00001 // This is -*- C++ -*- 00002 00003 #ifndef PointLikelihoodFunction_h 00004 #define PointLikelihoodFunction_h 00005 00006 #include "LikelihoodFunction.h" 00007 00008 #include "Serializable.h" 00009 00010 00011 namespace BIE { 00012 00013 //+ CLICLASS PointLikelihoodFunction SUPER LikelihoodFunction 00017 class PointLikelihoodFunction : public LikelihoodFunction { 00018 public: 00019 00020 //+ CLICONSTR 00022 PointLikelihoodFunction() {} 00023 00024 double LikeProb(std::vector<double> &z, SampleDistribution* sd, 00025 double norm, Tile *t, State *s, int indx); 00026 00027 // AUTO GENERATED BY ../persistence/autopersist.py 00028 private: 00029 friend class boost::serialization::access; 00030 template<class Archive> 00031 void serialize(Archive & ar, const unsigned int version) { 00032 this->pre_serialize(ar, version); 00033 try { 00034 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(LikelihoodFunction); 00035 BIE_CATCH_BOOST_SERIALIZATION_EXCEPTION; 00036 } 00037 this->post_serialize(ar, version); 00038 } 00039 00040 }; 00041 } // namespace BIE 00042 BIE_CLASS_TYPE_INFO(BIE::PointLikelihoodFunction) 00043 BIE_CLASS_EXPORT_KEY(BIE::PointLikelihoodFunction) 00044 #endif