@Override protected void relaxNode(final Node outNode, final Node toNode, final RouterPriorityQueue<Node> pendingNodes) { this.controlCounter++; if (this.controlCounter == controlInterval) { int newLandmarkIndex = checkToAddLandmark(outNode, toNode); if (newLandmarkIndex > 0) { updatePendingNodes(newLandmarkIndex, toNode, pendingNodes); } this.controlCounter = 0; } super.relaxNode(outNode, toNode, pendingNodes); }