自然科学版
陕西师范大学学报(自然科学版)
人工智能专题
基于Prüfer编码的随机图模型生成算法
PDF下载 ()
李丛丛, 刘惊雷*
(烟台大学 计算机与控制工程学院, 山东 烟台 264005)
刘惊雷,男,教授,主要从事有穷模型论、(超)图模型的研究。E-mail:jinglei_liu@sina.com
摘要:
根据图模型的结构特征和参数特征等要素设计生成随机的模型,根据顶点数与度的大小生成随机结构的CP-nets,其原理是通过改进Prüfer编码得到DAG编码,又建立DAG编码与图结构的一对一映射实现图模型的随机生成。通过设计的占优查询算法与典型的占优查询相结合验证了占优查询算法的时间消耗严重依赖于图拓扑结构的随机性和参数数量的随机性。
关键词:
CP-nets图模型;DAG编码;Prüfer编码;随机性;占优查询;人工智能
收稿日期:
2019-07-16
中图分类号:
TP18
文献标识码:
A
文章编号:
1672-4291(2020)02-0043-09
基金项目:
国家自然科学基金(61572419,61773331,61703360)
Doi:
Random graphic model generation algorithm based on Prüfer code
LI Congcong, LIU Jinglei*
(School of Computer and Control Engineering, Yantai University,Yantai 264005, Shandong, China)
Abstract:
Graph model reasoning is an important work in graph model research. How to verify the designed reasoning algorithm needs to be tested based on a large number of experimental samples. In order to verify the effectiveness and solution time of the optimal query algorithm, the experimental data designed is critical. In this paper, the random graph model is designed according to the structural characteristics and parameter characteristics of the graph model. The algorithm designed in this paper generates CP-nets of random structure according to the number and degree of vertices. The principle is getting DAG code by improving Prüfer code, furthermore, the one-to-one mapping between DAG code and graph structure is established to realize the random generation of graph model. Then, by combining the designed dominant query algorithm with the typical dominant query. It is proved that the graph model generated by the designed graph model generation algorithm has the randomness of corresponding characteristics. The time consumption of the dominant detection algorithm is heavily dependent on the randomness of topological structure of the graph and the number of parameters.
KeyWords:
CP-nets graphic model; DAG code; Prüfer code; randomness; dominant query; artificial intelligence