while (!queue.isEmpty()) {
HTNode currentNode = queue.pop();
if (currentNode.getNodeType() == HTNode.NodeType.CORE) {
- /* Here we add the relevant children nodes for BFS */
- queue.addAll(getSHT().selectNextChildren((CoreNode) currentNode, t));
+ /*Here we add the relevant children nodes for BFS*/
+ queue.addAll(getSHT().selectNextChildren((ParentNode) currentNode, t));
}
currentNode.writeInfoFromNode(stateInfo, t);
}
while (interval == null && !queue.isEmpty()) {
HTNode currentNode = queue.pop();
if (currentNode.getNodeType() == HTNode.NodeType.CORE) {
- queue.addAll(getSHT().selectNextChildren((CoreNode) currentNode, t));
+ queue.addAll(getSHT().selectNextChildren((ParentNode) currentNode, t));
}
interval = currentNode.getRelevantInterval(key, t);
}