Cycles in family tree software

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
clarkjen
Level 1
Level 1
First reply posted First question asked Welcome!

I am the developer of some family tree software (written in C++ and Qt). I had no problems until one of my customers @cracksjet mailed me a bug report. The problem is that the customer has two children with their own daughter, and, as a result, he can't use my software because of errors.

Those errors are the result of my various assertions and invariants about the family graph being processed (for example, after walking a cycle, the program states that X can't be both father and grandfather of Y).

How can I resolve those errors without removing all data assertions?

0 Likes
0 Replies