Network object to represent the entire hypergraph. It contains the number of nodes, number of edges, and arrays of nodes and edges objects.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=i4), | public | :: | num_nodes | = | 0 | ||
integer(kind=i4), | public | :: | num_edges | = | 0 | ||
integer(kind=i4), | public | :: | max_order | = | 0 | ||
type(node_t), | public, | allocatable | :: | nodes(:) | |||
type(hyperedge_t), | public, | allocatable | :: | edges(:) | |||
type(network_props_t), | public | :: | props | ||||
type(fixed_list_t), | public, | allocatable | :: | nodes_per_degree(:) | |||
type(fixed_list_t), | public, | allocatable | :: | edges_per_order(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(network_t), | intent(inout) | :: | net |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t) | :: | net | ||||
integer(kind=i4), | intent(in) | :: | num_nodes | |||
integer(kind=i4), | intent(in) | :: | num_edges |
Subroutine to build edges from nodes in the network. It iterates over each node and assigns the corresponding edges to the hyperedges. @param net The network object containing the nodes and edges.
Note
This subroutine modifies the edges of the network based on the nodes' connections.
Note
The edges are built by iterating over each node and assigning the corresponding edges to the hyperedges.
Note
The last_edge_index array is used to keep track of the last index for each hyperedge.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t) | :: | net |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t) | :: | net |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t), | intent(in) | :: | net |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t), | intent(inout) | :: | net | |||
integer(kind=i4), | intent(in), | optional | :: | min_order_input |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t), | intent(inout) | :: | net |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t), | intent(inout) | :: | net |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t), | intent(inout) | :: | net | |||
integer(kind=i4), | intent(in), | optional | :: | min_order |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t), | intent(inout) | :: | net |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(network_t), | intent(inout) | :: | net |