All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TrivialFactorWeightFstImpl< A, F >::ElementEqual Class Reference

Public Member Functions

bool operator() (const Element &x, const Element &y) const

Detailed Description

template<class A, class F>
class fst::internal::TrivialFactorWeightFstImpl< A, F >::ElementEqual

Definition at line 277 of file trivial-factor-weight.h.

Member Function Documentation

bool operator() ( const Element x,
const Element y 
) const

Definition at line 279 of file trivial-factor-weight.h.

References TrivialFactorWeightFstImpl< A, F >::Element::state, and TrivialFactorWeightFstImpl< A, F >::Element::weight.

279  {
280  return x.state == y.state && x.weight == y.weight;
281  }

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