![]() |
ScalES-PPM
|
construct graph from rectilinear or adjacency matrix More...
Public Member Functions | |
subroutine | graph_csr_from_rect_i4 (csr, rect) |
subroutine | graph_csr_from_adj_matrix_i4 (csr, adj, assert_undirected, node_offset) |
Construct CSR graph object from adjacency matrix. | |
construct graph from rectilinear or adjacency matrix
subroutine ppm_graph_csr::build_graph::graph_csr_from_adj_matrix_i4 | ( | type(graph_csr), intent(inout) | csr, |
logical, dimension(:, :), intent(in) | adj, | ||
logical, intent(in), optional | assert_undirected, | ||
integer, intent(in), optional | node_offset ) |
Construct CSR graph object from adjacency matrix.
csr | graph representation will be written to this argument |
adj | for each edge from node u to node v, adj(v, u) must be true |
assert_undirected | if given and .true., check symmetry of adj |
node_offset | enter all node references with a bias of node_offset, defaults to 1 |
Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.