Home
last modified time | relevance | path

Searched refs:kRightSemiring (Results 1 – 15 of 15) sorted by relevance

/external/openfst/src/include/fst/
Dweight.h98 const uint64 kRightSemiring = 0x0000000000000002ULL; variable
100 const uint64 kSemiring = kLeftSemiring | kRightSemiring;
Dshortest-distance.h123 if (!(Weight::Properties() & kRightSemiring)) { in ShortestDistance()
327 if (Weight::Properties() & kRightSemiring) {
Dfloat-weight.h233 return kLeftSemiring | kRightSemiring | kCommutative | in Properties()
358 return kLeftSemiring | kRightSemiring | kCommutative; in Properties()
494 return kLeftSemiring | kRightSemiring | kCommutative | kIdempotent | kPath; in Properties()
Dproduct-weight.h76 return props1 & props2 & (kLeftSemiring | kRightSemiring | in Properties()
Dexpectation-weight.h111 return props1 & props2 & (kLeftSemiring | kRightSemiring | in Properties()
Dreweight.h52 if (type == REWEIGHT_TO_FINAL && !(Weight::Properties() & kRightSemiring)) { in Reweight()
Dlexicographic-weight.h115 return props1 & props2 & (kLeftSemiring | kRightSemiring | kPath | in Properties()
Dpower-weight.h83 return props & (kLeftSemiring | kRightSemiring | in Properties()
Dshortest-path.h118 if ((Weight::Properties() & (kPath | kRightSemiring)) in SingleShortestPath()
119 != (kPath | kRightSemiring)) { in SingleShortestPath()
Dsparse-power-weight.h135 return props & (kLeftSemiring | kRightSemiring | in Properties()
Dsigned-log-weight.h91 return kLeftSemiring | kRightSemiring | kCommutative; in Properties()
Dstring-weight.h126 kLeftSemiring : kRightSemiring) | kIdempotent; in Properties()
/external/openfst/src/test/
Dweight-tester.h110 if (Weight::Properties() & kRightSemiring) in TestSemiring()
121 CHECK(Weight::Properties() & (kLeftSemiring | kRightSemiring)); in TestSemiring()
140 if (Weight::Properties() & kRightSemiring) { in TestDivision()
Dalgo_test.h216 if (Weight::Properties() & kRightSemiring) { in TestRational()
246 if (Weight::Properties() & kRightSemiring) { in TestRational()
273 if (Weight::Properties() & kRightSemiring) { in TestRational()
296 if (Weight::Properties() & kRightSemiring) { in TestRational()
693 if (wprops & kRightSemiring) { in TestOptimize()
776 if ((wprops & (kPath | kRightSemiring)) == (kPath | kRightSemiring)) { in TestSearch()
/external/openfst/src/include/fst/extensions/pdt/
Dshortest-path.h403 if ((Weight::Properties() & (kPath | kRightSemiring)) in PdtShortestPath()
404 != (kPath | kRightSemiring)) { in PdtShortestPath()