public bool Equals(EdgeRoute p) { if ((object)p == null) { return false; } return (edge.Equals(p.edge)); }
public void AddOutgoingEdge(EdgeRoute route) { OutgoingEdges = OutgoingEdges.Concat(new List<EdgeRoute>() { route }); }