Dear Processors,<div> I am now recording the node information of Alps processed nodes.</div><div> But, when using search strategy Hybrid, I can't understand something happened bellow:</div>
<div><br></div><div><div> activeNode_ = nodeSel->selectNextNode(this);</div><div><br></div><div> switch (activeNode_->getStatus())</div><div> {</div><div> case AlpsNodeStatusPregnant:</div><div>
if (depth < activeNode_->getDepth() + 1)</div><div> {</div><div> depth = activeNode_->getDepth() + 1;</div><div> }</div><div> std::cout<<"index before create "<<activeNode_->getIndex()<<std::endl; // I add this</div>
<div> nodeSel->createNewNodes(this, activeNode_);</div><div> std::cout<<"index after create "<<activeNode_->getIndex()<<std::endl; // I add this</div></div><div>
<br></div><div> I find the index of the activeNode_ has changed. But other search strategy does not.</div><div> I looked at the createNowNodes() function of hybrid search stategy, </div><div> but did't find any where the value of activeNode_ changed.</div>
<div><br></div><div> Why the activeNode_ changed? </div><div> If it is programmed to be so, how can I get the information of the original activeNode_ after createNewNodes(children's index for example)?</div><div><br>
</div><div> Thank you very much!</div><div> Best wishes!</div><div><br></div><div><br></div>