-
-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: relative distance #2545
fix: relative distance #2545
Conversation
@jiegillet My Cpp backs up your results and the changed tests. @ErikSchierboom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe @jiegillet could check if the data is now correct? Once confrmed, I'll force merge this.
Data-wise, I get the same results, however, that means that we are using the sibling rule (distance between siblings is 1) which is not really standard when talking about tree distances, so I really think that should be explicitly mentioned in the instructions. I understand if we want to do it in a separate PR though. |
Oh, I would also not have thought it worked like that. Is that standard when doing the distance for families? |
No, it is not standard. If we make it standard, your uncle by marriage would have no relation to you in this exercise. |
Okay I'm totally fine with that. |
I added a note. What do you think @jiegillet |
Let's force push. The tests are fixed, if there are more discussions about the text, that could go into a normal commit I would say. |
Done |
fix errors in concept.
Here is a mermaid diagram of the last part:
And here is a python script to parse json to mermaid for easy comparison: