[Cs3] Lab 12

Mikhail Nesterenko mikhail at cs.kent.edu
Fri Apr 29 17:44:17 EDT 2022


> 
> Do we need to account for Susan in the genealogical tree?
> 

We are only traversing the children of women who matrilineally
descended from Mary Smith. Susan is a child of Jennifer who is
married to Michael Johnson, Mary's Grandson, so Susan is not a
matrilineal descendant of Mary. You can change the traversal
rules. For that you have to modify Men::accept() and Woman::accept()
but it is not required in the lab.

Thank you,
--
Mikhail


More information about the cs3 mailing list