Home | History | Annotate | Download | only in lib

Lines Matching defs:weight

22 #include "fst/lib/float-weight.h"
23 #include "fst/lib/product-weight.h"
24 #include "fst/lib/string-weight.h"
32 typedef TropicalWeight Weight;
35 StdArc(Label i, Label o, Weight w, StateId s)
36 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
47 Weight weight; // Transition weight
56 typedef LogWeight Weight;
59 LogArc(Label i, Label o, Weight w, StateId s)
60 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
71 Weight weight; // Transition weight
81 typedef StringWeight<int, S> Weight;
84 StringArc(Label i, Label o, Weight w, StateId s)
85 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
100 Weight weight; // Transition weight
112 typedef GallicWeight<Label, typename A::Weight, S> Weight;
116 GallicArc(Label i, Label o, Weight w, StateId s)
117 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
121 weight(arc.olabel, arc.weight), nextstate(arc.nextstate) {}
134 Weight weight; // Transition weight
139 // Arc with the reverse of the weight found in its template arg.
143 typedef typename A::Weight AWeight;
144 typedef typename AWeight::ReverseWeight Weight;
147 ReverseArc(Label i, Label o, Weight w, StateId s)
148 : ilabel(i), olabel(o), weight(w), nextstate(s) {}
159 Weight weight; // Transition weight