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.

ProductNodeMap#

class ProductNodeMap#

Bases: object

A class representing a mapping of tuple of node indices to node indices.

This implements the Python mapping protocol, so you can treat the return as a read-only mapping/dict of the form:

{(0, 0): 0, (0, 1): 1}

Methods