| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(graph_type), | intent(inout) | :: | this |
Parent. Instance of the graph structure. |
||
| type(vertex_type), | intent(in), | optional | :: | vertex |
Vertex to be added. |
|
| real(kind=real32), | intent(in), | optional, | dimension(:) | :: | feature |
Feature vector of the vertex. |
| integer, | intent(in), | optional | :: | id |
Identifier of the vertex. |
|
| logical, | intent(in), | optional | :: | update_adjacency |
Boolean whether to update the adjacency matrix. Default is True. |
Interface for adding a vertex to the graph.