Beispiel #1
0
    public void updateParent(SourceToGoalQEntry newParent, int costOfEdge)
    {
        this.sourceEdge       = newParent;
        this.sourceToNodeCost = newParent.sourceToNodeCost + costOfEdge;

        newParent.updateChild(this);
    }
Beispiel #2
0
 private void updateChild(SourceToGoalQEntry newChild)
 {
     this.goalEdge = newChild;
 }