从表示偏好知识的条件偏好网(CP—nets)模型出发,研究该模型上的正则化路径查询问题.首先从数据库的观点给出偏好数据库的两类查询(顶点查询和路径查询),并证明偏好数据库的表达能力强于关系数据库.其次,通过构造正则表达式的语法解析二叉树,求出各自原子表达式诱导的可达关系,从而利用动态规划法求解出CP-nets上正则表达式所诱导的可达关系,并证明算法的正确性,分析其组合复杂度.最后,给出正则化路径查询的可能应用,即可在偏好操作序列的规划中使用.
A formal preference knowledge representation framework, conditional preference networks ( CP-nets), is introduced, and regular path query on the model is studied. Firstly, two kinds of queries, vertex query and path query, are given from the point of view of the database theory, and the expressive ability of preference database is proved to be stronger than that of relational database. Then, the induced reach ability relations of each atom expressions are obtained by constructing the syntax parse binary tree of regular expression, thereafter, the reach ability relation induced by regular expression of root vertex is obtained by means of dynamic programming. Moreover, the correctness and combined complexity of this algorithm are proved. Finally, a possible application scenario of regular path query is given, which demonstrates it can be applied in the preference planning sequence.