Skip to content
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

preserves the solution passed to the fixed point solver #999

Conversation

ivg
Copy link
Member

@ivg ivg commented Oct 15, 2019

The fixed point solver accepts an initial solution, which in turn
could be a solution for the previous attempt. Originally, it was
assumed that the solution is applied to the same graph and that
a solutions could be only refined on the same graph. Therefore, if
applied to a different graph all solution entries that didn't have
a corresponding entry in the new graph were removed from the solution.

It turns out that it is quite useful to apply the same solution to
different graphs even (and especially) when they are not
intersecting.

This PR proposes to keep all entries in the solution passed to the
fixed point computation. It will update those fields that were
changed, leaving those that weren't intact, basically guarantees that
the newly computed solution contains the superset of the old solution.

The fixed point solver accepts an initial solution, which in turn
could be a solution for the previous attempt. Originally, it was
assumed that the solution is applied to the same graph and that
a solutions could be only refined on the same graph. Therefore, if
applied to a different graph all solution entries that didn't have
a corresponding entry in the new graph were removed from the solution.

It turns out that it is quite useful to apply the same solution to
different graphs even (and especially) when they are not
intersecting.

This PR proposes to keep all entries in the solution passed to the
fixed point computation. It will update those fields that were
changed, leaving those that weren't intact, basically guarantees that
the newly computed solution contains the superset of the old solution.
@ivg ivg requested a review from gitoleg October 15, 2019 20:31
@gitoleg gitoleg merged commit 27699d9 into BinaryAnalysisPlatform:master Oct 16, 2019
@ivg ivg deleted the preserve-solution-between-computations branch June 10, 2020 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants