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