HomeSort by relevance Sort by last modified time
    Searched defs:Weight (Results 76 - 100 of 137) sorted by null

1 2 34 5 6

  /external/openfst/src/include/fst/
synchronize.h 66 typedef typename A::Weight Weight;
128 Weight Final(StateId s) {
131 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state);
132 if ((w != Weight::Zero()) && (e.istring)->empty() && (e.ostring)->empty())
135 SetFinal(s, Weight::Zero());
252 Car(e.ostring, arc.olabel), arc.weight, d));
257 PushArc(s, Arc(0 , 0, arc.weight, d));
261 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state)
    [all...]
compose-filter.h 86 // Filter state that is a weight (class).
191 // void FilterFinal(Weight *final1, Weight *final2) const;
218 typedef typename Arc::Weight Weight;
253 bool fin1 = internal::Final(fst1_, s1) != Weight::Zero();
268 void FilterFinal(Weight *, Weight *) const {}
303 typedef typename Arc::Weight Weight;
    [all...]
const-fst.h 54 typedef typename A::Weight Weight;
80 Weight Final(StateId s) const { return states_[s].final; }
113 Weight final; // Final weight
118 State() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
encode.h 52 // encoding and decoding of label/weight tuples used for encoding
59 typedef typename A::Weight Weight;
61 // Encoded data consists of arc input/output labels and arc weight
64 Tuple(Label ilabel_, Label olabel_, Weight weight_)
65 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {}
67 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {}
71 Weight weight; member in struct:fst::EncodeTable::Tuple
    [all...]
factor-weight.h 1 // factor-weight.h
68 // A factor iterator takes as argument a weight w and returns a
170 typedef typename A::Weight Weight;
177 Element(StateId s, Weight w) : state(s), weight(w) {}
180 Weight weight; // Residual weight member in struct:fst::FactorWeightFstImpl::Element
224 StateId start = FindState(Element(fst_->Start(), Weight::One()))
    [all...]
label-reachable.h 138 // position and accumulated arc weight of the matches can be
149 typedef typename A::Weight Weight;
312 reach_weight_ = Weight::Zero();
336 // If the 'arc.weight' wasn't computed by the call
339 // flags to compute the arc weight value.
343 reach_weight_ = accumulator_->Sum(reach_weight_, arcb.weight);
350 reach_weight_ = accumulator_->Sum(reach_weight_, arc.weight);
390 Weight ReachWeight() const { return reach_weight_; }
435 Weight final = fst_->Final(s)
    [all...]
lookahead-filter.h 209 typedef typename Arc::Weight Weight;
259 void FilterFinal(Weight *weight1, Weight *weight2) const {
321 // This filter adds weight-pushing to a lookahead composition filter
324 // lookahead filter. Weight-pushing in composition brings weights
338 typedef WeightFilterState<typename Arc::Weight> FilterState2;
343 typedef typename Arc::Weight Weight;
357 return FilterState(filter_.Start(), FilterState2(Weight::One()))
    [all...]
minimize.h 37 #include <fst/factor-weight.h>
51 // - final weight
53 // - (input label, output label, weight, destination_block)
58 typedef typename A::Weight Weight;
134 typedef typename A::Weight Weight;
179 // same final weight
316 typedef typename A::Weight Weight;
    [all...]
replace-util.h 58 typedef typename Arc::Weight Weight;
272 depfst_.SetFinal(i, Weight::One());
288 if (ifst->Final(s) != Weight::Zero())
301 depfst_.AddArc(i, Arc(arc.olabel, arc.olabel, Weight::One(), j));
rmepsilon.h 38 #include <fst/factor-weight.h>
53 typedef typename Arc::Weight Weight;
56 Weight weight_threshold; // Pruning weight threshold.
60 Weight w = Weight::Zero(),
75 typedef typename Arc::Weight Weight;
78 vector<Weight> *distance
    [all...]
  /external/openfst/src/test/
fst_test.h 45 typedef typename Arc::Weight Weight;
83 CHECK_EQ(arc.weight, NthWeight(na));
309 // (3) weight = NthWeight(i)
328 Weight NthWeight(int n) const {
329 Weight w = Weight::Zero();
331 w = Plus(w, Weight::One());
  /external/srec/tools/grxmlcompile/
fst-io.h 46 typedef typename A::Weight Weight;
122 if (arc.weight != Weight::One())
123 *ostrm_ << "\t" << arc.weight;
127 Weight final = fst_.Final(s);
128 if (final != Weight::Zero() || !output) {
130 if (final != Weight::One()) {
210 typedef typename A::Weight Weight;
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
arcsort.h 87 typedef typename A::Weight Weight;
116 Weight Final(StateId s) {
192 typedef typename A::Weight Weight;
209 virtual Weight Final(StateId s) const { return impl_->Final(s); }
complement.h 54 typedef typename A::Weight Weight;
76 Weight Final(StateId s) const {
77 if (s == 0 || fst_->Final(s - 1) == Weight::Zero())
78 return Weight::One();
80 return Weight::Zero();
115 typedef typename A::Weight Weight;
134 virtual Weight Final(StateId s) const { return impl_->Final(s); }
219 typedef typename A::Weight Weight
    [all...]
const-fst.h 40 typedef typename A::Weight Weight;
58 Weight Final(StateId s) const { return states_[s].final; }
91 Weight final; // Final weight
96 State() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
228 typedef typename A::Weight Weight;
243 virtual Weight Final(StateId s) const { return impl_->Final(s); }
encode.h 37 // encoding and decoding of label/weight tuples used for encoding
44 typedef typename A::Weight Weight;
46 // Encoded data consists of arc input/output labels and arc weight
49 Tuple(Label ilabel_, Label olabel_, Weight weight_)
50 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {}
52 : ilabel(tuple.ilabel), olabel(tuple.olabel), weight(tuple.weight) {}
56 Weight weight; member in struct:fst::EncodeTable::Tuple
    [all...]
rational.h 53 typedef typename A::Weight Weight;
71 rfst_.SetFinal(1, Weight::One());
75 rfst_.AddArc(0, A(0, -1, Weight::One(), 1));
76 rfst_.AddArc(0, A(0, -2, Weight::One(), 1));
94 rfst_.SetFinal(2, Weight::One());
98 rfst_.AddArc(0, A(0, -1, Weight::One(), 1));
99 rfst_.AddArc(1, A(0, -2, Weight::One(), 2));
115 rfst_.SetFinal(0, Weight::One());
116 rfst_.AddArc(0, A(0, -1, Weight::One(), 0))
    [all...]
relabel.h 160 typedef typename A::Weight Weight;
239 Weight Final(StateId s) {
325 typedef typename A::Weight Weight;
360 virtual Weight Final(StateId s) const { return impl_->Final(s); }
shortest-path.h 55 // The shortest path is the lowest weight path w.r.t. the natural
63 vector<typename Arc::Weight> *distance,
66 typedef typename Arc::Weight Weight;
75 vector<Weight> rdistance;
82 Weight f_distance = Weight::Zero();
90 if ((Weight::Properties() & (kPath | kRightSemiring))
92 LOG(FATAL) << "SingleShortestPath: Weight needs to have the path"
93 << " property and be right distributive: " << Weight::Type()
    [all...]
cache.h 50 // final weight even if the state is non-final to mark it as
67 typedef typename Arc::Weight Weight;
164 void SetFinal(StateId s, Weight w) {
205 // Is the final weight of state s cached?
228 Weight Final(StateId s) const {
312 static const uint32 kCacheFinal = 0x0001; // Final weight has been cached
350 typedef typename A::Weight Weight;
353 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) {
    [all...]
factor-weight.h 1 // factor-weight.h
50 // A factor iterator takes as argument a weight w and returns a
149 typedef typename A::Weight Weight;
156 Element(StateId s, Weight w) : state(s), weight(w) {}
159 Weight weight; // Residual weight member in struct:fst::FactorWeightFstImpl::Element
165 SetType("factor-weight");
    [all...]
  /external/chromium_org/third_party/skia/src/sfnt/
SkPanose.h 54 struct Weight {
234 struct Weight {
382 struct Weight {
543 struct Weight {
  /external/llvm/lib/Analysis/
BranchProbabilityInfo.cpp 45 // | | (Weight = 124)
49 // | (Weight = 4)
58 /// \brief Unreachable-terminating branch taken weight.
60 /// This is the weight for a branch being taken to a block that terminates
64 /// \brief Unreachable-terminating branch not-taken weight.
66 /// This is the weight for a branch not being taken toward a block that
68 /// taken. Set the weight to an absurdly high value so that nested loops don't
72 /// \brief Weight for a branch taken going into a cold block.
74 /// This is the weight for a branch taken toward a block marked
80 /// \brief Weight for a branch not-taken into a cold block
    [all...]
  /external/openfst/src/include/fst/script/
info-impl.h 49 typedef typename A::Weight Weight;
95 if (fst.Final(s) != Weight::Zero())
  /external/skia/src/sfnt/
SkPanose.h 54 struct Weight {
234 struct Weight {
382 struct Weight {
543 struct Weight {

Completed in 340 milliseconds

1 2 34 5 6