All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LatticeDeterminizerPruned< Weight, IntType >::TaskCompare Struct Reference

Public Member Functions

int operator() (const Task *t1, const Task *t2)
 

Detailed Description

template<class Weight, class IntType>
struct fst::LatticeDeterminizerPruned< Weight, IntType >::TaskCompare

Definition at line 1153 of file determinize-lattice-pruned.cc.

Member Function Documentation

int operator() ( const Task t1,
const Task t2 
)
inline

Definition at line 1154 of file determinize-lattice-pruned.cc.

References LatticeDeterminizerPruned< Weight, IntType >::Task::priority_cost.

1154  {
1155  // view this like operator <, which is the default template parameter
1156  // to std::priority_queue.
1157  // returns true if t1 is worse than t2.
1158  return (t1->priority_cost > t2->priority_cost);
1159  }

The documentation for this struct was generated from the following file: