The structural-constrained sequence comparison is an important technique for RNA gene analysis. In this thesis, we discuss this topic and propose two models. We discuss the computational properties of our models and develop an efficient algorithm to deal with RNA gene comparison problem. Experimental results in this thesis revealed that our method is more accurate and biological meaningful than several existing ones.