| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(graph_type), | intent(inout) | :: | this |
Parent. Instance of the graph structure. |
||
| integer, | intent(in) | :: | vertex_index |
Index of the vertex. |
||
| integer, | intent(in), | dimension(:) | :: | connected_indices |
Indices of the connected vertices. |
Interface for setting the edges of the graph.
Negative indicies in connected_indices define directional edge from vertex_index to -connected_index. Positive indicies in connected_indices define undirected edge between vertex_index and connected_index.