I would like to model a genealogical tree with the composite pattern. For simplicity I am only interested:
to the marriage relationship between two people to the paternity relationship between a parent and all her children.
For simplicity, it is not necessary to indicate any constraint on sex and number of parents.
relationship: parent or child
Where am I wrong?
Aucun commentaire:
Enregistrer un commentaire