8

I'm looking for a convenient, free C++ library for graphs that include a solver for the maximum common subgraph (MCS) problem.

I'm aware of the Boost Graph Library and LEMON , but neither includes an MCS solver.

Deathbreath
  • 1,042
  • 7
  • 20

1 Answers1

6

According to this ticket, Boost Graph Library added this feature around 3 years ago. The appropriate function (or set of functions) appears to be this function (mcgregor_common_subgraphs), which uses the McGregor algorithm.

Geoff Oxberry
  • 30,394
  • 9
  • 64
  • 127