3 ms·
Mostly, if you cant have multiple edges, that is true. If you can't represent some well in a graph because it's too messy, you could try using an adjacency mat
by swsieber 10y ago
Mostly, if you cant have multiple edges, that is true.
If you can't represent some well in a graph because it's too messy, you could try using an adjacency matrix, along with a clustering algorithm to figure out how to order the columns / rows.
- theoh 10y agoActually, if you consider each edge as an entity, you can represent multiple edges using the relation incident(Node, Edge). This is analogous to using an incidence matrix. It also works for hypergraphs.