return result;
}
static class ExtendedNode extends Node {
int problemIndex;
public ExtendedNode(Node node, int problemIndex) {
<BUG>super(node.getState(), node.getParent(), node.getAction(),

node.getParent() != null ? node.getPathCost() - node.getParent().getPathCost() : 0.0);</BUG>
this.problemIndex = problemIndex;
}

return result;
}
static class ExtendedNode extends Node {
int problemIndex;
public ExtendedNode(Node node, int problemIndex) {
super(node.getState(), node.getParent(), node.getAction(), node.getPathCost());
this.problemIndex = problemIndex;
}
