explored.get(ORG_P_IDX).clear();
explored.get(REV_P_IDX).clear();
Problem orgP = ((BidirectionalProblem) problem).getOriginalProblem();
Problem revP = ((BidirectionalProblem) problem).getReverseProblem();
ExtendedNode initStateNode;
<BUG>initStateNode = new ExtendedNode(new Node(orgP.getInitialState()), ORG_P_IDX);

goalStateNode = new ExtendedNode(new Node(revP.getInitialState()), REV_P_IDX);
</BUG>
if (orgP.getInitialState().equals(revP.getInitialState()))

explored.get(ORG_P_IDX).clear();
explored.get(REV_P_IDX).clear();
Problem orgP = ((BidirectionalProblem) problem).getOriginalProblem();
Problem revP = ((BidirectionalProblem) problem).getReverseProblem();
ExtendedNode initStateNode;
initStateNode = new ExtendedNode(nodeExpander.createRootNode(orgP.getInitialState()), ORG_P_IDX);
goalStateNode = new ExtendedNode(nodeExpander.createRootNode(revP.getInitialState()), REV_P_IDX);
if (orgP.getInitialState().equals(revP.getInitialState()))
