finesse.graph.operator_graph.OperatorGraph.nodes_with_self_loops¶
- OperatorGraph.nodes_with_self_loops¶
Get the nodes in the graph that have self-loops.
This property returns a tuple of indices of the nodes in the graph that have self-loops. A node is considered to have a self-loop if the corresponding entry in the self_loop array of the graph is greater than 0.
- Returns
- tuple of int
The indices of the nodes in the graph that have self-loops.