A set-cover-based approach for inexact graph matching