#include <event-map.h>
Definition at line 71 of file event-map.h.
◆ operator()() [1/2]
Definition at line 264 of file event-map.cc.
References KALDI_ASSERT.
265 EventType::const_iterator iter = vec.begin(), end = vec.end();
267 const size_t kPrime1=47087, kPrime2=1321;
268 for (; iter != end; ++iter) {
269 #ifdef KALDI_PARANOID // Check names are distinct and increasing. 270 EventType::const_iterator iter2=iter; iter2++;
271 if (iter2 != end) {
KALDI_ASSERT(iter->first < iter2->first); }
273 ans += iter->first + kPrime1*iter->second;
#define KALDI_ASSERT(cond)
◆ operator()() [2/2]
Definition at line 74 of file event-map.h.
74 {
return (*
this)(*ptr); }
The documentation for this struct was generated from the following files: