Hence, we conclude that, τ
b
ALN
≤ τ
o
TAI
for al-
most pairs of N-glycan data; Only 675 pairs (about
0.029%) satisfies that τ
b
ALN
> τ
o
TAI
. This result implies
that τ
b
ALN
(and τ
cb
ALN
) is possible to be a good approxi-
mation of τ
u
TAI
for N-glycan data.
6 CONCLUSION
In this paper, we have formulated biordered, cyclic-
ordered and cyclic-biordered trees as cyclically or-
dered trees, and then designed the algorithms to com-
pute τ
b
ALN
(T
1
, T
2
) and τ
b
SGALN
(T
1
, T
2
) in O(nmD
2
) time
and to compute τ
π
ALN
(T
1
, T
2
) and τ
π
SGALN
(T
1
, T
2
) (π ∈
{c, cb}) in O(nmdD
3
) time. Finally, we have given
the experimental results of computing τ
b
ALN
compar-
ing with τ
o
TAI
by using N-glycan data.
It is a future work to implement the algo-
rithms to compute τ
c
ALN
, τ
cb
ALN
and τ
π
SGALN
(π ∈
{b, c, cb}), and apply τ
π
ALN
and τ
π
SGALN
to real data
such as glycans (Hizukuri et al., 2005) or molecular
graphs (Horv´ath et al., 2010). Also, it is a future work
to apply cyclically ordered trees to compare RNA sec-
ondary structures (H¨ochsmann et al., 2003; Schier-
mer and Giegerich, 2013; Shapiro and Zhang, 1990;
Zhang, 1998).
As the comparison with τ
u
TAI
, it is a future work to
investigate how τ
π
ALN
(π ∈ { b, c, cb}) is a good approx-
imation of τ
u
TAI
and to compare τ
π
ALN
with tractable
variations of τ
u
TAI
such as the isolated-subtree dis-
tance (Zhang, 1996) and the LCA-preserving dis-
tance (Zhang et al., 1996). Also, it is a future work to
solve whether or not the problem of computing τ
u
ALN
is tractable if the number of permutations among sib-
lings is bounded by some polynomial with respect to
degrees.
REFERENCES
Chawathe, S. S. (1999). Comparing hierarchical data in ex-
ternal memory. In Proc. VLDB’99, pages 90–101.
Demaine, E. D., Mozes, S., Rossman, B., and Weimann, O.
(2009). An optimal decomposition algorithm for tree
edit distance. ACM Trans. Algo., 6.
Hirata, K., Yamamoto, Y., and Kuboyama, T. (2011). Im-
proved MAX SNP-hard results for finding an edit dis-
tance between unordered trees. In Proc. CPM’11
(LNCS 6661), pages 402–415.
Hizukuri, Y., Yamanishi, T., Nakamura, O., Yagi, F., Goto,
S., and Kanehisa, M. (2005). Extraction of leukemia
specific glycan motifs in humans by computational
glycomics. Carbohydrate Research, 340:2270–2278.
H¨ochsmann, M., T¨oller, T., Giegerich, R., and Kurtz, S.
(2003). Local similarity in RNA secondary structures.
In Proc. CSB’03, pages 159–168.
Horv´ath, T., Ramon, J., and Wrobel, S. (2010). Frequent
subgraph mining in outerplanar graphs. Data Min.
Knowl. Disc., 21:472–508.
Jiang, T., Wang, L., and Zhang, K. (1995). Alignment of
trees – an alternative to tree edit. Theoret. Comput.
Sci., 143:137–148.
Kan, T., Higuchi, S., and Hirata, K. (2014). Segmental
mapping and distance for rooted ordered labeled trees.
Fundamenta Informaticae, 132:1–23.
Kuboyama, T. (2007). Matching and learning in trees. Ph.D
thesis, University of Tokyo.
Lu, C. L., Su, Z.-Y., and Yang, C. Y. (2001). A new mea-
sure of edit distance between labeled trees. In Proc.
COCOON’01 (LNCS 2108), pages 338–348.
Lu, S.-Y. (1979). A tree-to-tree distance and its application
to cluster analysis. IEEE Trans. Pattern Anal. Mach.
Intell., 1:219–224.
Schiermer, S. and Giegerich, R. (2013). Forest alignment
with affine gaps and anchors, applied in RNA struc-
ture comparison. Theoret. Comput. Sci., 483:51–67.
Selkow, S. M. (1977). The tree-to-tree editing problem. In-
form. Process. Lett., 6:184–186.
Shapiro, B. A. and Zhang, K. (1990). Comparing multi-
ple RNA secondary structures using tree comparision.
Comp. Appl. Biosci., 6:309–318.
Tai, K.-C. (1979). The tree-to-tree correction problem. J.
ACM, 26:422–433.
Valiente, G. (2001). An efficient bottom-up distance be-
tween trees. In Proc. SPIRE’01, pages 212–219.
Wang, Y., DeWitt, D. J., and Cai, J.-Y. (2003). X-Diff: An
effective change detection algorithm for XML docu-
ments. In Proc. ICDE’03, pages 519–530.
Yamamoto, Y., Hirata, K., and Kuboyama, T. (2014).
Tractable and intractable variations of unordered tree
edit distance. Internat. J. Found. Comput. Sci.,
25:307–329.
Yoshino, T. and Hirata, K. (2013). Hierarchy of segmen-
tal and alignable mapping for rooted labeled trees. In
Proc. DDS’13, pages 62–69.
Zhang, K. (1995). Algorithms for the constrained edit-
ing distance between ordered labeled trees and related
problems. Pattern Recog., 28:463–474.
Zhang, K. (1996). A constrained edit distance between un-
ordered labeled trees. Algorithmica, 15:205–222.
Zhang, K. (1998). Computing similarity between RNA sec-
ondary structures. In Proc. IEEE Internat. Joint Symp.
Intell. Sys., pages 126–132.
Zhang, K. and Jiang, T. (1994). Some MAX SNP-hard re-
sults concerning unordered labeled trees. Inform. Pro-
cess. Lett., 49:249–254.
Zhang, K., Wang, J., and Shasha, D. (1996). On the editing
distance between undirected acyclic graphs. Internat.
J. Found. Comput. Sci., 7:43–58.
ICPRAM2015-InternationalConferenceonPatternRecognitionApplicationsandMethods
270