예제 #1
0
        public static Edge_speedcon CreateEdge(LGSPGraph graph, LGSPNode source, LGSPNode target)
        {
            Edge_speedcon edge = new Edge_speedcon(source, target);

            graph.AddEdge(edge);
            return(edge);
        }
예제 #2
0
		public static Edge_speedcon CreateEdge(LGSPGraph graph, LGSPNode source, LGSPNode target)
		{
			Edge_speedcon edge = new Edge_speedcon(source, target);
			graph.AddEdge(edge);
			return edge;
		}