计算机应用研究
計算機應用研究
계산궤응용연구
APPLICATION RESEARCH OF COMPUTERS
2009年
8期
2895-2897
,共3页
农修德%徐章艳%廖洪建%彭展声
農脩德%徐章豔%廖洪建%彭展聲
농수덕%서장염%료홍건%팽전성
粗糙集%等价类生成%生成支法
粗糙集%等價類生成%生成支法
조조집%등개류생성%생성지법
rough set%generating equivalence class%producing branches method
目前,基于排序的等价类生成算法存在以下不足:排序后仍需高达O(∣B‖U∣)的时间复杂度重复进行运算才求得等价类,为此,设计了一种新算法.新算法采用孩子兄弟表示法,将生成等价类的过程定义为一棵二叉树,主要采取了边生成节点边访问,一旦求得某个等价类便释放相应分支节点空间的方法.其时间复杂度为O(∣C‖U∣),空间复杂度为O(∣U∣),为求等价类提供了一个新的解决办法.
目前,基于排序的等價類生成算法存在以下不足:排序後仍需高達O(∣B‖U∣)的時間複雜度重複進行運算纔求得等價類,為此,設計瞭一種新算法.新算法採用孩子兄弟錶示法,將生成等價類的過程定義為一棵二扠樹,主要採取瞭邊生成節點邊訪問,一旦求得某箇等價類便釋放相應分支節點空間的方法.其時間複雜度為O(∣C‖U∣),空間複雜度為O(∣U∣),為求等價類提供瞭一箇新的解決辦法.
목전,기우배서적등개류생성산법존재이하불족:배서후잉수고체O(∣B‖U∣)적시간복잡도중복진행운산재구득등개류,위차,설계료일충신산법.신산법채용해자형제표시법,장생성등개류적과정정의위일과이차수,주요채취료변생성절점변방문,일단구득모개등개류편석방상응분지절점공간적방법.기시간복잡도위O(∣C‖U∣),공간복잡도위O(∣U∣),위구등개류제공료일개신적해결판법.
At present, the algorithm for generating equivalence class based on sorting has the following shortcoming: for computing the equivalence class, it had to repeat the same operation after sorting, and its time complexity is as high as 0 (∣B‖U∣). For improving the efficiency of the algorithm for computing equivalence class, this paper designed a novel algorithm. In the new algorithm, used the child-brother storage structure form, and defined the process of generating equivalence class as a binary tree. The designed method of the new algorithm was that the node of the binary tree was being visited when it was being created, and once a equivalence class was obtained, the corresponding node would be released. Time complexity and the space complexity of the new algorithm are O(∣C‖U∣) and O(∣U∣) respectively. It provided a new method to compute the equivalence class of the universe U.