LatticePhoneAligner::TupleEqual Struct Reference

Public Member Functions

bool operator() (const Tuple &state1, const Tuple &state2) const
 

Detailed Description

Definition at line 140 of file phone-align-lattice.cc.

Member Function Documentation

◆ operator()()

bool operator() ( const Tuple state1,
const Tuple state2 
) const
inline

Definition at line 141 of file phone-align-lattice.cc.

References LatticePhoneAligner::Tuple::comp_state, and LatticePhoneAligner::Tuple::input_state.

141  {
142  // treat this like operator ==
143  return (state1.input_state == state2.input_state
144  && state1.comp_state == state2.comp_state);
145  }

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