88 assert_msg(
false,
"Likelihood method not implemented. Please create a subclass of Hybrid and implement your own method.");
102 assert_msg(
false,
"Cannot calculate MaxDensity of Hybrid.");
132 std::string new_indent = indent +
" ";
134 std::stringstream ss;
137 ss << new_indent << (*it_pdf)->toString(new_indent) <<
"\n";
#define assert_msg(_Expression, _Msg)
void addPDF(const PDF &pdf, double priority)
virtual PDF * clone() const =0
double getMaxDensity() const
const_iterator(const field< oT > &in_M, const bool at_end=false)
const std::vector< PDF * > & getPDFS() const
Hybrid & operator=(const Hybrid &other)
virtual double getLikelihood(const PDF &pdf) const
std::vector< PDF * > pdfs_
std::string toString(const std::string &indent="") const