diff --git a/packages/CLPBN/horus/Factor.h b/packages/CLPBN/horus/Factor.h index e42918aae..b3ec3d141 100644 --- a/packages/CLPBN/horus/Factor.h +++ b/packages/CLPBN/horus/Factor.h @@ -35,8 +35,6 @@ class TFactor { void normalize() { LogAware::normalize (params_); } - void randomize(); - void setParams (const Params& newParams); size_t indexOf (const T& t) const; @@ -76,16 +74,6 @@ class TFactor { -template inline void -TFactor::randomize() -{ - for (size_t i = 0; i < params_.size(); ++i) { - params_[i] = (double) std::rand() / RAND_MAX; - } -} - - - template inline void TFactor::setParams (const Params& newParams) {