pathpyG icon indicating copy to clipboard operation
pathpyG copied to clipboard

Number of Edges in an Undirected Graph

Open hackl opened this issue 1 year ago • 0 comments

The current approach of calculating the number of directed edges in an undirected network is confusing and may lead to misinterpretation. For algorithms involving undirected networks, users are required to manually adjust the edge count using m = network.m / 2, which becomes even more complex when the network contains self-loops. A more intuitive method or clearer documentation could help prevent errors.

hackl avatar Feb 02 '25 20:02 hackl