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