OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TropicalWeight
(Results
1 - 14
of
14
) sorted by null
/external/srec/tools/thirdparty/OpenFst/fst/lib/
float-weight.h
116
class
TropicalWeight
: public FloatWeight {
118
typedef
TropicalWeight
ReverseWeight;
120
TropicalWeight
() : FloatWeight() {}
122
TropicalWeight
(float f) : FloatWeight(f) {}
124
TropicalWeight
(const
TropicalWeight
&w) : FloatWeight(w) {}
126
static const
TropicalWeight
Zero() { return
TropicalWeight
(kPosInfinity); }
128
static const
TropicalWeight
One() { return
TropicalWeight
(0.0F);
[
all
...]
fst-decl.h
28
class
TropicalWeight
;
random-weight.h
39
typedef
TropicalWeight
Weight;
arc.h
32
typedef
TropicalWeight
Weight;
vector-fst.h
403
//
TropicalWeight
version.
405
TropicalWeight
WeightFromString<
TropicalWeight
>::operator()(const string &s) {
408
return
TropicalWeight
(f);
/external/openfst/src/include/fst/
signed-log-weight.h
19
// The sign is a
TropicalWeight
:
20
// positive,
TropicalWeight
.Value() > 0.0, recommended value 1.0
21
// negative,
TropicalWeight
.Value() <= 0.0, recommended value -1.0
33
: public PairWeight<
TropicalWeight
, LogWeightTpl<T> > {
35
typedef
TropicalWeight
X1;
97
h1 =
TropicalWeight
(1.0).Hash();
99
h1 =
TropicalWeight
(-1.0).Hash();
161
return SignedLogWeightTpl<T>(
TropicalWeight
(1.0), (f1 + f2));
163
return SignedLogWeightTpl<T>(
TropicalWeight
(-1.0), (f1 + f2));
177
return SignedLogWeightTpl<T>(
TropicalWeight
(1.0)
[
all
...]
fst-decl.h
38
typedef TropicalWeightTpl<float>
TropicalWeight
;
43
typedef ArcTpl<
TropicalWeight
> StdArc;
float-weight.h
236
typedef TropicalWeightTpl<float>
TropicalWeight
;
565
struct WeightConvert<LogWeight,
TropicalWeight
> {
566
TropicalWeight
operator()(LogWeight w) const { return w.Value(); }
570
struct WeightConvert<Log64Weight,
TropicalWeight
> {
571
TropicalWeight
operator()(Log64Weight w) const { return w.Value(); }
576
struct WeightConvert<
TropicalWeight
, LogWeight> {
577
LogWeight operator()(
TropicalWeight
w) const { return w.Value(); }
587
struct WeightConvert<
TropicalWeight
, Log64Weight> {
588
Log64Weight operator()(
TropicalWeight
w) const { return w.Value(); }
random-weight.h
304
TropicalWeight
(-1.0) :
305
TropicalWeight
(1.0),
arc.h
66
typedef ArcTpl<
TropicalWeight
> StdArc;
vector-fst.h
390
//
TropicalWeight
version.
392
TropicalWeight
WeightFromString<
TropicalWeight
>::operator()(const string &s) {
395
return
TropicalWeight
(f);
/external/openfst/src/test/
weight_test.cc
32
using fst::
TropicalWeight
;
113
CHECK(
TropicalWeight
::Type() == "tropical");
118
TropicalWeight
tw(15.0);
131
typedef GallicWeight<int,
TropicalWeight
> TropicalGallicWeight;
140
typedef ProductWeight<
TropicalWeight
,
TropicalWeight
> TropicalProductWeight;
149
typedef PowerWeight<
TropicalWeight
, 3> TropicalCubeWeight;
158
typedef ProductWeight<
TropicalWeight
, TropicalProductWeight>
169
typedef ProductWeight<TropicalProductWeight,
TropicalWeight
>
244
typedef LexicographicWeight<
TropicalWeight
, TropicalWeight
[
all
...]
algo_test.cc
57
using fst::
TropicalWeight
;
130
typedef LexicographicArc<
TropicalWeight
,
TropicalWeight
>
141
typedef PowerWeight<
TropicalWeight
, 3> TropicalCubeWeight;
fst_test.cc
34
typedef ProductWeight<
TropicalWeight
, LogWeight> Weight;
Completed in 6583 milliseconds