/// <summary> /// Tests whether an <see cref="Edge" /> is contained in this subgraph. /// </summary> /// <param name="e">The <see cref="Edge" /> to test.</param> /// <returns><c>true</c> if the <see cref="Edge" /> is contained in this subgraph.</returns> public bool Contains(Edge e) { return(edges.Contains(e)); }