A distance measure between attributed relational graphs for pattern recognition | Synapse