CentralityMapping#

class CentralityMapping#

Bases: object

A custom class for the return of centralities at target nodes

This class is a container class for the results of functions that return a mapping of integer node indices to the float betweenness score for that node. It implements the Python mapping protocol so you can treat the return as a read-only mapping/dict.

Methods