public void AddEdge(GraphPoint point, int edgeWeight) { AddEdge(new GraphEdge(point, edgeWeight)); }
public GraphEdge(GraphPoint connectedPoint, int weight) { ConnectedPoint = connectedPoint; EdgeWeight = weight; }