更改

删除98字节 、 2020年8月23日 (日) 18:06
第360行: 第360行:  
A containment hierarchy is a direct extrapolation of the nested hierarchy concept. All of the ordered sets are still nested, but every set must be "strict"—no two sets can be identical. The shapes example above can be modified to demonstrate this:
 
A containment hierarchy is a direct extrapolation of the nested hierarchy concept. All of the ordered sets are still nested, but every set must be "strict"—no two sets can be identical. The shapes example above can be modified to demonstrate this:
   −
包容层次结构是嵌套层次结构概念的直接外推。所有的有序集仍然是嵌套的,但是每个集合必须是“严格”的ーー没有两个集合是相同的。上面的图形例子可以通过修改来演示:
+
包容层次是嵌套层次概念的直接外推。所有的有序集仍然是嵌套的,但是每个集合必须是“严格”的——不存在两个相同的集合。上面的图形示例可稍作改变来论证:
      第376行: 第376行:  
The notation <math> x \subsetneq y \, </math> means x is a subset of y but is not equal to&nbsp;y.
 
The notation <math> x \subsetneq y \, </math> means x is a subset of y but is not equal to&nbsp;y.
   −
符号 < math > x subsetneq y,</math > 表示 x 是 y 的子集,但不等于 y。
+
符号 < math > x subsetneq y,</math > 表示x是y的子集,但不等于y。
      第384行: 第384行:  
A general example of a containment hierarchy is demonstrated in class inheritance in object-oriented programming.
 
A general example of a containment hierarchy is demonstrated in class inheritance in object-oriented programming.
   −
一个包容层次结构的通用例子在面向对象程序设计的类继承中得到了演示。
+
 
 +
面向对象程序设计的类继承是包容层次的一个例证。
      第392行: 第393行:  
Two types of containment hierarchies are the subsumptive containment hierarchy and the compositional containment hierarchy. A subsumptive hierarchy "subsumes" its children, and a compositional hierarchy is "composed" of its children. A hierarchy can also be both subsumptive and compositional.
 
Two types of containment hierarchies are the subsumptive containment hierarchy and the compositional containment hierarchy. A subsumptive hierarchy "subsumes" its children, and a compositional hierarchy is "composed" of its children. A hierarchy can also be both subsumptive and compositional.
   −
两种类型的包容层次结构是包含层次结构和组合包容层次结构。一个包含型层次结构“包含”其子层次结构,一个组合型层次结构“包含”其子层次结构。层次结构也可以是包含的和组合的。
+
包容层次有包含包容层次和组合包容层次两种。包含包容层次“包含”其子级,而组合包容层次“组合”其子级。层次结构也可能同时是包含的和组合的。
 
       
330

个编辑