Graphs are very useful for modeling real-world phenomena and relationships.
Broadly, graph data structures and algorithms are divided into two categories:
However, in every situation I can think of, real-world graphs are sparse. For example:
(Note that "few" is in comparison to the total number of sites/people/elements/roads/etc.)
However, I've never found a use case for algorithms and data structures for dense graphs.
Every graph I remember ever encountering has turned out to be sparse.
Please note: Yes, I know that a small group of people in which everyone knows each other forms a dense graph, but that's not the kind of situation I'm asking about, because:
That means I'm also not looking for silly examples like "the complement of a sparse graph" either.
Yes, those are dense, but unless you can give me an example of a problem that would be of practical interest and which would not be reasonable solved with the original sparse graph, that's not going to answer my question.
The complement of a sparse graph is a dense one (think of all the sites a given web page doesn't link to). So there's a start.
Off the top of my head...
More generally, try relaxing certain travel constraints if you want denser graphs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With