SNInfluenceMaximization icon indicating copy to clipboard operation
SNInfluenceMaximization copied to clipboard

What does mcount mean

Open tyuanhang opened this issue 4 years ago • 1 comments

diffusion.py Line 198 what does mcount mean? Is it mc?

tyuanhang avatar May 22 '21 04:05 tyuanhang

def diffuse_mc(self, act_nodes, mc=10):
        self.sample_live_graph_mc(mc)
        self.graph.total_activated_nodes = []
        for _ in range(mc):
            self.diffuse(act_nodes, mcount)
        return sum(self.graph.total_activated_nodes) / float(mc)

I think the _ is supposed to be mcount. The index used for self.sampled_graphs.

Vinit-source avatar Oct 27 '21 10:10 Vinit-source