Ejemplo n.º 1
0
 /// <summary>
 /// Check the graph contains an edge from <paramref name="u"/>
 /// to <paramref name="v"/>.
 /// </summary>
 /// <param name="u"></param>
 /// <param name="v"></param>
 /// <returns></returns>
 public bool ContainsEdge(IVertex u, IVertex v)
 {
     if (u == null)
     {
         throw new ArgumentNullException(@"u");
     }
     if (v == null)
     {
         throw new ArgumentNullException(@"v");
     }
     return(ReversedGraph.ContainsEdge(v, u));
 }