Searched defs:kNumRandomWeights (Results 1 - 2 of 2) sorted by relevance

/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Drandom-weight.h36 // chosen from [0, kNumRandomWeights).
47 int n = rand() % (kNumRandomWeights + allow_zero_);
48 if (allow_zero_ && n == kNumRandomWeights)
56 static const int kNumRandomWeights = 5; member in class:fst::TropicalWeightGenerator
63 // chosen from [0, kNumRandomWeights).
74 int n = rand() % (kNumRandomWeights + allow_zero_);
75 if (allow_zero_ && n == kNumRandomWeights)
83 static const int kNumRandomWeights = 5; member in class:fst::LogWeightGenerator
/external/openfst/src/include/fst/
H A Drandom-weight.h46 // chosen from [0, kNumRandomWeights).
58 int n = rand() % (kNumRandomWeights + allow_zero_);
59 if (allow_zero_ && n == kNumRandomWeights)
67 static const int kNumRandomWeights = 5; member in class:fst::TropicalWeightGenerator_
72 template <class T> const int TropicalWeightGenerator_<T>::kNumRandomWeights; member in class:fst::TropicalWeightGenerator_
78 // chosen from [0, kNumRandomWeights).
90 int n = rand() % (kNumRandomWeights + allow_zero_);
91 if (allow_zero_ && n == kNumRandomWeights)
99 static const int kNumRandomWeights = 5; member in class:fst::LogWeightGenerator_
104 template <class T> const int LogWeightGenerator_<T>::kNumRandomWeights; member in class:fst::LogWeightGenerator_
134 static const int kNumRandomWeights = 5; member in class:fst::MinMaxWeightGenerator_
139 template <class T> const int MinMaxWeightGenerator_<T>::kNumRandomWeights; member in class:fst::MinMaxWeightGenerator_
236 static const int kNumRandomWeights = 5; member in class:fst::LexicographicWeightGenerator
241 const int LexicographicWeightGenerator<G1, G2>::kNumRandomWeights; member in class:fst::LexicographicWeightGenerator
313 static const int kNumRandomWeights = 5; member in class:fst::SignedLogWeightGenerator_
317 template <class T> const int SignedLogWeightGenerator_<T>::kNumRandomWeights; member in class:fst::SignedLogWeightGenerator_
[all...]

Completed in 1885 milliseconds