| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(graph_type), | intent(inout) | :: | this |
Parent. Instance of the graph structure. |
||
| integer, | intent(in) | :: | num_vertices |
Number of vertices in the graph. |
||
| integer, | intent(in), | optional | :: | num_vertex_features |
Number of features for the vertices. Default is 0. |
Interface for setting the number of vertices of the graph.
This will deallocate the existing vertices and edges and set the number of vertices. New vertices will be allocated but not initialised.