The present invention relates to a node analysis method of a fuzzy inference tree, which includes: step 1: constructing the first queue and the second queue; step 2: obtaining the nodes of the fuzzy inference tree and storing them in the first queue; step 3: extracting the nodes from the queue head of the first queue in turn, if the nodes have no parent nodes, or if the nodes have a parent node and the parent node is located in the second queue. In the second queue, the node is stored at the end of the queue, whereas the node is stored at the end of the first queue; step 4: cycle step 3 until the node in the first queue is empty. The node analysis method of the present invention can finally obtain a queue in which the parent nodes of an arbitrary node are in front of each other. Therefore, as long as the nodes in the queue pop up in turn for calculation, the effective and complete analysis of the fuzzy reasoning tree can be completed with high accuracy, which can greatly improve the training speed of the subsequent training system and reduce the whole training system. Time cost.
【技术实现步骤摘要】
一种模糊推理树的节点处理方法
本专利技术属于深度学习
,尤其涉及一种模糊推理树的节点处理方法。
技术介绍
GFT(遗传模糊树:GeneticFuzzyTree)训练系统是基于遗传模糊推理树的智能空战训练系统,以遗传模糊推理树为优化对象,以遗传算法为优化器,在大规模分布式计算平台上进行训练优化。基于GFT的训练系统中,模糊推理树负责对训练系统的业务进行逻辑推理,作为整个训练系统优化的目标,模糊推理树以配置文件的形式输入到训练系统中。模糊推理树本质上是将若干个模糊规则集(FIS:Fuzzyinferencesystem)以树的形式进行级联,支撑整个训练系统的推理过程,模糊推理树作为训练系统的输入,必须在很短的时间内被正确解析,才能支持推理树的快速计算,以进一步缩短训练系统的训练时间。
技术实现思路
本专利技术的目的是提供一直模糊推理树的节点处理方法及系统,用于解决或减轻
技术介绍
中所述的问题。为达到上述目的,本专利技术采用的技术方案是:一种模糊推理树的节点解析方法,其包括步骤一:构建第一队列和第二队列;步骤二:获取模糊推理树的节点并存入第一队列;步骤三:自所述第一队列的队头依次取出所述节点,若所述节点无父节点,或所述节点有父节点且所述父节点位于第二队列中,则所述节点存入第二队列的队尾,反之,所述节点存入第一队列的队尾;步骤四:循环步骤三,直至所述第一队列中的节点为空。进一步的,所述模糊推理树的节点无序的存入第一队列中。本专利技术的模糊推理树的节点解析方法可以最终得到一个任意节点的父节点都在其前面的队列,因此在计算时,只要此队列中的节点依次弹出进行计算,就完成了 ...
【技术保护点】
1.一种模糊推理树的节点解析方法,其特征在于,包括步骤一:构建第一队列和第二队列;步骤二:获取模糊推理树的节点并存入第一队列;步骤三:自所述第一队列的队头依次取出所述节点,若所述节点无父节点,或所述节点有父节点且所述父节点位于第二队列中,则所述节点存入第二队列的队尾,反之,所述节点存入第一队列的队尾;步骤四:循环步骤三,直至所述第一队列中的节点为空。
【技术特征摘要】
1.一种模糊推理树的节点解析方法,其特征在于,包括步骤一:构建第一队列和第二队列;步骤二:获取模糊推理树的节点并存入第一队列;步骤三:自所述第一队列的队头依次取出所述节点,若所述节点无父节点,或所述节点有父节点且所述父节点位于第...
【专利技术属性】
技术研发人员:杨芳,费思邈,管聪,姚宗信,
申请(专利权)人:中国航空工业集团公司沈阳飞机设计研究所,
类型:发明
国别省市:辽宁,21
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。