Lines Matching defs:Less
271 // Given a vector that maps from states to weights and a Less
277 typedef L Less;
281 StateWeightCompare(const vector<Weight>& weights, const L &less)
282 : weights_(weights), less_(less) {}
566 NaturalLess<Weight> *less = 0;
569 less = new NaturalLess<Weight>;
570 comp = new Compare(*distance, *less);
575 SccQueueType(fst, scc_, &queue_types, filter, less, &all_trivial,
582 delete less;
591 delete less;
623 delete less;
651 template <class Arc, class ArcFilter, class Less>
655 ArcFilter filter, Less *less,
686 template <class A, class ArcFilter, class Less>
690 ArcFilter filter, Less *less,
711 if (!less || ((*less)(arc.weight, Weight::One())))
740 // shortest distance from the initial state, a Less comparison
747 typedef L Less;
751 AStarWeightCompare(const vector<Weight>& weights, const L &less,
753 : weights_(weights), less_(less), estimate_(estimate) {}
795 // shortest distance (so far), as specified by 'distance', is less