<div>Dera Sir,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I am trying to change search strategy in Alps.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Here is the idea, at first I use best-first, after 3 minutes, change to depth-first.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I use the code bellow to do this:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="line-height: 1.5; font-size: 14px;">if(treeSelection_-&gt;getType() == 0)</span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(timer_.getWallClock() &gt;= 180)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; treeSelection_ = new AlpsTreeSelectionDepth;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nodeSelection_ = new AlpsNodeSelectionDepth;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; subTreePool_-&gt;setComparison(*treeSelection_);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; workingSubTree_-&gt;nodePool()-&gt;setNodeSelection(*nodeSelection_);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I add this code in the loops 'while(true)' of masterMain, hubMain and workerMain in AlpsKnowledgeBrokerMPI.cpp.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;But, the result is Segmentation fault in rank 0.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Here is the question,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; First, could I change search strategy like this?</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Second, if I could do this, is there any code else I should change? </div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Or is there other ways to change search strategy when the searching still is running?</div><div><br></div><div>&nbsp; &nbsp; Best wishes</div><div><br></div>