netket.graph.AbstractGraph¶
-
class
netket.graph.
AbstractGraph
[source]¶ Bases:
abc.ABC
Abstract class for NetKet graph objects.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
- Attributes
- Methods
-
abstract
adjacency_list
()[source]¶ List containing the adjacency list of the graph where each node is represented by an integer in [0, n_nodes)
-
abstract
distances
()[source]¶ List containing the distances between the nodes. The fact that some node may not be reachable from another is represented by -1
-
abstract
-