41
41
CND_PRECONDITION(pq != NULL,"pq is NULL");
42
42
CND_PRECONDITION(pq->size()==0,"pq is not empty");
49
46
//Add the nodes of the list of PhrasePositions and store them
50
47
//into the PhraseQueue pq so it can used to build
53
50
//Read the first TermPosition of the current PhrasePositions pp
55
52
//Store the current PhrasePositions pp into the PhraseQueue pq
60
58
//above loop), so we can clear our pointers to the head and tail of the
61
59
//linked list without fear of leaking the nodes.