Revision cf03b931 simulator.py

View differences:

simulator.py
59 59
        for stat in whatLog:
60 60
            if stat == 'BC':
61 61
                bw_centrality = nx.betweenness_centrality(
62
                    G, normalized=False,  weight='weight', endpoints=False)
62
                    G, normalized=False,  weight='weight', endpoints=True)
63 63
                df = pd.DataFrame(bw_centrality.items(),
64 64
                                  columns=['Node', 'BC'])
65 65
                df.to_csv(self.OP+"/BC"+tag+".csv", sep=',',

Also available in: Unified diff