Remove unused member function
This commit is contained in:
parent
902624f557
commit
98efd54da7
@ -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 <typename T> inline void
|
||||
TFactor<T>::randomize()
|
||||
{
|
||||
for (size_t i = 0; i < params_.size(); ++i) {
|
||||
params_[i] = (double) std::rand() / RAND_MAX;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
template <typename T> inline void
|
||||
TFactor<T>::setParams (const Params& newParams)
|
||||
{
|
||||
|
Reference in New Issue
Block a user