A graph is the simplest map there is: a handful of dots (vertices) joined by lines (edges). Friendships, molecules, road systems, web pages — almost anything made of things and connections is a graph.
Now a natural question: given a small pattern graph and a big target graph, does the pattern appear somewhere inside the target? Not the exact same drawing — we are allowed to bend and relabel — but the same shape of connections. This is the subgraph isomorphism problem.
It sounds like a game of spot-the-shape, and for tiny graphs it is. But as the graphs grow, the number of ways to line up pattern vertices against target vertices explodes, and there is no known shortcut. That little gap between "I found a match" and "I can prove there is none" turns out to be one of the deepest dividing lines in computer science.
Comments
Loading comments...