public WeightedNodePath(IGraphNode <T> n, NodePath <T> par, double weight) : base(n, par)
 {
     PathWeightToHere = weight;
 }
 public WeightedNodePath(IGraphNode <T> n, NodePath <T> par, double weight, int pathLength) : base(n, par, pathLength)
 {
     PathWeightToHere = weight;
 }
 public WeightedNodePath(IGraphNode <T> n, NodePath <T> par) : base(n, par)
 {
     PathWeightToHere = 0;
 }