| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(graph_type), | intent(inout) | :: | this |
Parent. Instance of the graph structure. |
||
| integer, | intent(in), | optional, | dimension(:) | :: | indices |
Indices of the vertices to which self-loops are added. |
| real(kind=real32), | intent(in), | optional | :: | weight |
Weight of the self-loop. Default is 1.0. |
|
| real(kind=real32), | intent(in), | optional, | dimension(:) | :: | features |
Feature vector of the self-loop. Default is empty. |
Interface for adding self-loops to the graph.