powered by
Generate the sparse and dense adjacency matrices of a small weighted directed graph, for demonstrating methods and running tests.
demonstration_graph()
A list with two entries: adj_mat_dense is the adjacency matrix in dense form, and adj_mat_sparse is the adjacency matrix in sparse form.
adj_mat_dense
adj_mat_sparse