Note

This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.

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