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

python constraint for input specification #20

Open
skhuang opened this issue Mar 26, 2014 · 0 comments
Open

python constraint for input specification #20

skhuang opened this issue Mar 26, 2014 · 0 comments
Assignees

Comments

@skhuang
Copy link

skhuang commented Mar 26, 2014

  1. using eval of python to evaluate the single constraint, instead of lexical analysis and evaluate the expression in our own by
    new_val = random(); relace all $xx variables with the new_val in the A_str and call eval(A_str)
  2. test if it works in former implementation
  3. test for more complicated constraints: $1%2==0 (even number)
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