Searched refs:priorityQueue (Results 1 – 1 of 1) sorted by relevance
209 priorityQueue; in truncateUnigrams() local221 priorityQueue.push(DictProbability(terminalPos, probability, in truncateUnigrams()226 while (static_cast<int>(priorityQueue.size()) > maxUnigramCount) { in truncateUnigrams()227 const int ptNodePos = priorityQueue.top().getDictPos(); in truncateUnigrams()228 priorityQueue.pop(); in truncateUnigrams()247 priorityQueue; in truncateBigrams() local268 priorityQueue.push(DictProbability(entryPos, probability, in truncateBigrams()274 while (static_cast<int>(priorityQueue.size()) > maxBigramCount) { in truncateBigrams()275 const int entryPos = priorityQueue.top().getDictPos(); in truncateBigrams()282 priorityQueue.pop(); in truncateBigrams()