LatticePhoneAligner::TupleHash Struct Reference

Public Member Functions

size_t operator() (const Tuple &state) const
 

Detailed Description

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

Member Function Documentation

◆ operator()()

size_t operator() ( const Tuple state) const
inline

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

References LatticePhoneAligner::Tuple::comp_state, LatticePhoneAligner::ComputationState::Hash(), and LatticePhoneAligner::Tuple::input_state.

135  {
136  return state.input_state + 102763 * state.comp_state.Hash();
137  // 102763 is just an arbitrary prime number
138  }

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