Skip to content

Conversation

@b3aver
Copy link
Owner

@b3aver b3aver commented Oct 3, 2013

Final changes

- Insert preliminary steps.
- First interface of ClausePicker class

To be tested
Has been changed the logic behind this function, because there is no reason to apply the
resolution rule more than one time on the same pair of clauses.
This is because if the resolution rule can be applied for example two times, it means that
there are at least two distinct couple of complementary literals in the two clauses.
When the resolution rule is applied to one these complementary literals in the resulting
clause there will be the other two complementary literals so the clause can be removed
because it is a tautology. The same result is obtained when the resolution rule is applied
on the other couple of complementary literals.
This theory needs to be verified.
Sort the couples of clauses with the sum of the sizes.
With this has been saved one forth of execution time.
Now resolution_rule takes almost 1/30 of the time
Now resolution_rule takes almost 1/3 of the time less
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