Lines Matching refs:Less
272 // Given a vector that maps from states to weights and a Less
278 typedef L Less;
282 StateWeightCompare(const vector<Weight>& weights, const L &less)
283 : weights_(weights), less_(less) {}
567 NaturalLess<Weight> *less = 0;
570 less = new NaturalLess<Weight>;
571 comp = new Compare(*distance, *less);
576 SccQueueType(fst, scc_, &queue_types, filter, less, &all_trivial,
583 delete less;
592 delete less;
624 delete less;
652 template <class Arc, class ArcFilter, class Less>
656 ArcFilter filter, Less *less,
687 template <class A, class ArcFilter, class Less>
691 ArcFilter filter, Less *less,
712 if (!less || ((*less)(arc.weight, Weight::One())))
741 // shortest distance from the initial state, a Less comparison
748 typedef L Less;
752 AStarWeightCompare(const vector<Weight>& weights, const L &less,
754 : weights_(weights), less_(less), estimate_(estimate) {}
797 // 'distance', is less than (as specified by 'comp') the shortest