Creates a Python wrapper for the exported adjacency list class. Note: Do not use this constructor directly. Instead use :func:`adjacencylist`. Args: g: The underlying cpp instance that this object will wrap.
(
self,
g: (
_cpp.graph.AdjacencyList_int32
| _cpp.graph.AdjacencyList_int64
| _cpp.graph.AdjacencyList_int_sizet_int8__int32_int32
),
)
| 50 | ) |
| 51 | |
| 52 | def __init__( |
| 53 | self, |
| 54 | g: ( |
| 55 | _cpp.graph.AdjacencyList_int32 |
| 56 | | _cpp.graph.AdjacencyList_int64 |
| 57 | | _cpp.graph.AdjacencyList_int_sizet_int8__int32_int32 |
| 58 | ), |
| 59 | ): |
| 60 | """Creates a Python wrapper for the exported adjacency list class. |
| 61 | |
| 62 | Note: |
| 63 | Do not use this constructor directly. Instead use |
| 64 | :func:`adjacencylist`. |
| 65 | |
| 66 | Args: |
| 67 | g: The underlying cpp instance that this object will wrap. |
| 68 | """ |
| 69 | self._cpp_object = g |
| 70 | |
| 71 | def __repr__(self): |
| 72 | """String representation of the adjacency list.""" |
nothing calls this directly
no outgoing calls
no test coverage detected