NormalLikelihiood(const T& x, const U& mu, const V& tau): x_(x), mu_(mu), tau_(tau) { dimension_check(x_, mu_, tau_); }
GammaLikelihiood(const T& x, const U& alpha, const V& beta): x_(x), alpha_(alpha), beta_(beta) { dimension_check(x_, alpha_, beta_); }
ExponentialCensoredLikelihiood(const T& x, const U& lambda, const V& delta): x_(x), lambda_(lambda), delta_(delta) { dimension_check(x_, lambda_, delta_); }
UniformLikelihiood(const T& x, const U& lower, const V& upper): x_(x), lower_(lower), upper_(upper) { dimension_check(x_, lower_, upper_); }
BinomialLikelihiood(const T& x, const U& n, const V& p): x_(x), n_(n), p_(p) { dimension_check(x_, n_, p_); }