-
Notifications
You must be signed in to change notification settings - Fork 43
Redundant overdetermined2 #3385
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
Redundant overdetermined2 #3385
Conversation
henrikt-ma
left a comment
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.
I think there's some room for improvement, but overall I like the approach.
Co-authored-by: Henrik Tidefelt <[email protected]>
Co-authored-by: Henrik Tidefelt <[email protected]>
Co-authored-by: Henrik Tidefelt <[email protected]>
Co-authored-by: Henrik Tidefelt <[email protected]>
Co-authored-by: Henrik Tidefelt <[email protected]>
eshmoylova
left a comment
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.
I am missing of what is meant by redundant equations. I have spent good two hours trying to figure out how redundant equations are handled in my code and how any of it is based on anything in the specification, only to realize that my definition of redundant is not the same as what is meant in the discussion in #3373. I am not sure if it best to continue this discussion in this PR or if it would be better to return to the issue.
|
@henrikt-ma @eshmoylova is it ok now? |
|
I see 3 types of redundant equations:
Handling type 1 is the whole purpose of constructing tree from the graph and is already covered by the specification. Type 2 is not really handled as far as I can see. In my implementation I store the edges of the graph in a set and it eliminates exactly identical equations. But it is rather an implementation choice and has no basis in the specification. This is the type I would like to see clarified. The subtype of type 2 is the same equation but in different direction Type 3 is another type of tricky. The way it was in the example, I got a connection set consisting of just one element and with certain level of checks turned on that produces an error. But if there would be any other elements in the same connection set that would be allowed. In the current PR I am not seeing how the type 2 and 3 are addressed. My suggestion would be as follows.
I am saying set here, and to me it implies that exactly unique edges would be eliminated. But it may be not what is desired and/or handled by the next suggestion. |
|
Hmmm.. I see that it is still unclear, and I think we need an example for this |
henrikt-ma
left a comment
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.
As the language group seems positive to the general idea according to #3385 (comment), I won't worry about not having test-implemented the idea myself. The text can still be improved a bit, as suggested, but overall I agree that the procedure looks plausible.
Co-authored-by: Henrik Tidefelt <[email protected]>
eshmoylova
left a comment
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.
Hopefully, we can discuss it during the phone meeting.
Co-authored-by: Henrik Tidefelt <[email protected]> Co-authored-by: Elena Shmoylova <[email protected]>
|
I believe it is now ready.
|
|
@henrikt-ma can you review this one, or dismiss your review in some way if you don't find it relevant? |
henrikt-ma
left a comment
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.
Looks good.
It would look even better with lower case a and b for the connector instances in examples, but this can be improved in a separate PR. Also, I'll take care of updating the illustration separately, as suggested by @HansOlsson.
Co-authored-by: Henrik Tidefelt <[email protected]>
Closes #3370
I hope this makes it more understandable than the previous attempt.