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

More test cases! #8

Closed
ebhardjan opened this issue Oct 31, 2017 · 4 comments
Closed

More test cases! #8

ebhardjan opened this issue Oct 31, 2017 · 4 comments
Assignees

Comments

@ebhardjan
Copy link
Collaborator

We need more test-cases!
Small ones and also large ones.
We should store them in the repository such that everyone can run the same tests.

2 things:

  1. just generate a lot of them (I would say 100 of size (number of variables) 10, 30, 50, 100, 200 at least)
  2. change the names of the test files such that we know how "large" these formulas are (useful for evaluation)
@ZiweiHuang94
Copy link
Collaborator

now the test files show the number of variables and the number of clauses. Do you mean also need to add the total number of examples?

@ebhardjan
Copy link
Collaborator Author

number of variables and clauses should be fine

@ZiweiHuang94
Copy link
Collaborator

I update Cnf generator code. For clear use, "generateCnf.py" is for normal formula generation without considering the probability of sat. "testCnfPro.py" will generate exact example sets with 0.5 sat (with large parameters it can be time-consuming to get probability to 0.5).

@ebhardjan
Copy link
Collaborator Author

Random generator is there with guarantees on the probability of sat/unsat.
Keep in mind that it can take some time to generate the formulas...

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

No branches or pull requests

2 participants