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

Public Member Functions

bool operator() (const CompactArc &a, const CompactArc &b) const
 

Detailed Description

template<class Weight, class IntType>
struct fst::CompactLatticeMinimizer< Weight, IntType >::EquivalenceSorter

Definition at line 126 of file minimize-lattice.cc.

Member Function Documentation

bool operator() ( const CompactArc a,
const CompactArc b 
) const
inline

Definition at line 136 of file minimize-lattice.cc.

136  {
137  if (a.ilabel < b.ilabel) return true;
138  else if (a.ilabel > b.ilabel) return false;
139  else if (a.nextstate < b.nextstate) return true;
140  else return false;
141  }

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