52、开发具有良好属性的 XML 文档

开发具有良好属性的 XML 文档

1. 二元算法

首先介绍的是用于生成方案树森林的第一个算法,该算法要求输入为仅含连接顶点的二元边且无显式泛化/特化的概念模型实例。

算法 1 - 二元算法

Input: a binary CM hypergraph H (with no explicit generalization/specialization).
Output: a scheme-tree forest.
Until all vertices and edges have been marked
    If one or more unmarked vertices remain
        Let V be a selected unmarked vertex in H;
        Mark V in H;
    Else
        Select an unmarked edge E;
        Let V be one of the two vertices of E;
        Make V the root node of a new scheme tree T ;
        Designate V in T as a continuation attribute;
    While there is an unmarked edge E = (A, B) in H
        such that A is a continuation attribute in T
        Mark E in H;
      
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值