Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用复合模式对家谱树建模。为简单起见,我只感兴趣:
从两个人的婚姻关系到父母和她所有孩子之间的亲子关系。
为简单起见,没有必要对性别和父母人数进行任何限制。
如何使复合模式类图适应这个例子?
该图将如下所示: