src/Generic/edt/LinkerTreeSearch.cpp
//clear old leaves, insert new leaves

clear old leaves, insert new leaves
clear old leaves insert new leaves
void LinkerTreeSearch::resetSearch(LexEntitySet *newLeaves[], int nNewLeaves) {
	int i;
	clearLeaves();
	if(nNewLeaves > _max_leaves)
		setMaxLeaves(nNewLeaves);
	for (i=0; i<nNewLeaves; i++)
		_currentLeaves[i] = newLeaves[i];
	_nCurrentLeaves = nNewLeaves;
}
void LinkerTreeSearch :: resetSearch ( LexEntitySet * newLeaves [ ] , int nNewLeaves ) { int i ; clearLeaves ( ) ; if ( nNewLeaves > _max_leaves ) setMaxLeaves ( nNewLeaves ) ; for ( i = 0 ; i < nNewLeaves ; i ++ ) _currentLeaves [ i ] = newLeaves [ i ] ; _nCurrentLeaves = nNewLeaves ; }
clear old leaves, insert new leaves
clear old leaves insert new leaves