Approximate tree matching in the presence of variable length don't caresOn the editing distance between undirected acyclic graphs and related problems