LatticeWordAligner::TupleEqual Struct Reference

Public Member Functions

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

Detailed Description

Definition at line 149 of file word-align-lattice.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 150 of file word-align-lattice.cc.

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

150  {
151  // treat this like operator ==
152  return (state1.input_state == state2.input_state
153  && state1.comp_state == state2.comp_state);
154  }

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