Attributed tree matching and maximum weight cliques