<div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">Dera Sir,</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I am trying to change search strategy in Alps.</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&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 style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I use the code bellow to do this:</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="line-height: 1.5; font-size: 14px;">if(treeSelection_-&gt;getType() == 0)</span></div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(timer_.getWallClock() &gt;= 180)</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; treeSelection_ = new AlpsTreeSelectionDepth;</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nodeSelection_ = new AlpsNodeSelectionDepth;</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; subTreePool_-&gt;setComparison(*treeSelection_);</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; workingSubTree_-&gt;nodePool()-&gt;setNodeSelection(*nodeSelection_);</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; }</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&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 style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;But, the result is Segmentation fault in rank 0.</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Here is the question,</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; First, could I change search strategy like this?</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Second, if I could do this, is there any code else I should change?</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Or is there other ways to change search strategy when the searching still is running?</div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;"><br></div><div style="font-family: 'lucida Grande', Verdana; line-height: 20.909090042114258px;">&nbsp; &nbsp; Best wishes</div></div>