namespace Graph { public class Node { public float lat { get; } public float lon { get; } public List edges { get; } public Node previousNode { get; set; } public double goalDistance { get; set; } public double pathLength { get; set; } public Node(float lat, float lon) { this.lat = lat; this.lon = lon; this.edges = new List(); this.previousNode = nullnode; this.goalDistance = double.MaxValue; this.pathLength = double.MaxValue; } public static Node nullnode = new Node(float.NaN, float.NaN); } }