I have a MultiDiGraph that has edges whick properties as date, frame1, frame2 and frame3, where frame1, frame2 and frame3 are boolean properties.
Given a specific date, I have to calculate pagerank and betweenness for each frame property. So I will calculate 6 metrics.
Now, I am creating 3 named graphs for a given date, for example, 2020-03-15, I create one named graph for 2020-03-15/frame1, one for 2020-03-15/frame2 and one for 2020-03-15/frame3, and calculate the two metrics with these 3 named graphs. This is faster(about 2 times) than calculating the six metrics with 6 anonymous graphs, one for each metrics/date/frame.
The time to build the named graph is about 90% of the total time to calculate the 2 metrics. I wonder if there is a way of creating a named graph for 2020-03-15 and then create the 3 frames subgraphs as new named graphs of this date named graph, that is already in memory, as a way to build these 3 frames named graphs faster. I know that it seems a litlle confusing.
Someone has a guess about these topic or this does not make sense?
Thanks in advance, Laufer