You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went through the implementation in nwgraph and I have a fairly good understanding of it.
In graph-v2, load_ordered_graph and load_graph are used for loading directed graphs but it is not very clear to me how to load undirected graphs, is it currently possible to load an undirected graph? I am asking this because triangle counting is typically used for undirected graphs.
I went through the implementation in nwgraph and I have a fairly good understanding of it.
In graph-v2, load_ordered_graph and load_graph are used for loading directed graphs but it is not very clear to me how to load undirected graphs, is it currently possible to load an undirected graph? I am asking this because triangle counting is typically used for undirected graphs.
@lums658@pratzl can answer this, I feel like it is related to the MatrixMarket loader issue #47. I think what we really need for that is edge-doubling to allow any graph to be undirected.
Activity
pradkrish commentedon Dec 7, 2022
Hello, can I give this a go?
An implementation with the following function signature
size_t triangleCount(adjacency_list)neoblizz commentedon Dec 7, 2022
Hey, yes! If you want to take a stab at it, please go ahead. Here's a good reference on which we are basing some this work on: https://github.com/pnnl/NWGraph/blob/master/include/nwgraph/algorithms/triangle_count.hpp @pradkrish
pradkrish commentedon Dec 10, 2022
Thanks, you can assign it to me. :)
pradkrish commentedon Dec 12, 2022
I went through the implementation in nwgraph and I have a fairly good understanding of it.
In graph-v2,
load_ordered_graphandload_graphare used for loading directed graphs but it is not very clear to me how to load undirected graphs, is it currently possible to load an undirected graph? I am asking this because triangle counting is typically used for undirected graphs.neoblizz commentedon Dec 12, 2022
@lums658 @pratzl can answer this, I feel like it is related to the MatrixMarket loader issue #47. I think what we really need for that is edge-doubling to allow any graph to be undirected.
lums658 commentedon Dec 12, 2022
lums658 commentedon Dec 13, 2022
PS -- See the mmio functionality and build.hpp in NWGraph.
pradkrish commentedon Dec 13, 2022
@lums658 Thanks for the input. I guess it makes sense to roughly break this down into the following steps with separate PR and tests for each.
do you think I get that right? Please correct me if I am wrong. :)
lums658 commentedon Dec 13, 2022
pratzl commentedon Dec 14, 2022