OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:allow_zero_
(Results
1 - 2
of
2
) sorted by null
/external/srec/tools/thirdparty/OpenFst/fst/lib/
random-weight.h
42
:
allow_zero_
(allow_zero) {
47
int n = rand() % (kNumRandomWeights +
allow_zero_
);
48
if (
allow_zero_
&& n == kNumRandomWeights)
58
bool
allow_zero_
; // permit Zero() and zero divisors
member in class:fst::TropicalWeightGenerator
69
:
allow_zero_
(allow_zero) {
74
int n = rand() % (kNumRandomWeights +
allow_zero_
);
75
if (
allow_zero_
&& n == kNumRandomWeights)
85
bool
allow_zero_
; // permit Zero() and zero divisors
member in class:fst::LogWeightGenerator
97
:
allow_zero_
(allow_zero) {
102
int n = rand() % (kMaxStringLength +
allow_zero_
);
118
bool
allow_zero_
; \/\/ permit Zero() and zero divisors
member in class:fst::StringWeightGenerator
[
all
...]
/external/openfst/src/include/fst/
random-weight.h
53
:
allow_zero_
(allow_zero) {
58
int n = rand() % (kNumRandomWeights +
allow_zero_
);
59
if (
allow_zero_
&& n == kNumRandomWeights)
69
bool
allow_zero_
; // permit Zero() and zero divisors
member in class:fst::TropicalWeightGenerator_
85
:
allow_zero_
(allow_zero) {
90
int n = rand() % (kNumRandomWeights +
allow_zero_
);
91
if (
allow_zero_
&& n == kNumRandomWeights)
101
bool
allow_zero_
; // permit Zero() and zero divisors
member in class:fst::LogWeightGenerator_
118
:
allow_zero_
(allow_zero) {
123
int n = (rand() % (2*kNumRandomWeights +
allow_zero_
)) - kNumRandomWeights
136
bool
allow_zero_
; \/\/ permit Zero() and zero divisors
member in class:fst::MinMaxWeightGenerator_
173
bool
allow_zero_
; \/\/ permit Zero() and zero
member in class:fst::StringWeightGenerator
237
bool
allow_zero_
;
member in class:fst::LexicographicWeightGenerator
314
bool
allow_zero_
; \/\/ permit Zero() and zero divisors
member in class:fst::SignedLogWeightGenerator_
[
all
...]
Completed in 221 milliseconds