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

Setting parameters epsilon and delta #8

Closed
edredre opened this issue Apr 3, 2019 · 4 comments
Closed

Setting parameters epsilon and delta #8

edredre opened this issue Apr 3, 2019 · 4 comments

Comments

@edredre
Copy link

edredre commented Apr 3, 2019

Hi, is there any possibility of setting the values of parameters epsilon and delta? In you paper, you write that they are set to 0.8 and 0.1, respectively... Are they built in the code or can be passed as parameters (in the --help this option does not appear). Thanks!

@msoos
Copy link
Collaborator

msoos commented Apr 3, 2019 via email

@edredre
Copy link
Author

edredre commented Apr 3, 2019

this is my display (upon calling approxmc --help):

Approximate counter
appmc [options] inputfile

AppMC options:
-h [ --help ] Prints help
--version Print version info
--input arg file(s) to read
-v [ --verb ] arg (=1) verbosity
-s [ --seed ] arg (=1) Seed
--threshold arg (=72) Number of solutions to check for -- used to be
'pivotAC'
--measure arg (=9) Number of measurements -- used to be 'samplingT' or
'tApproxMC'
--start arg (=0) Start at this many XORs
--log arg Log of ApproxMC iterations.
--th arg (=1) How many solving threads to use per solver call
--vcl arg (=0) Print banning clause + xor clauses. Highly verbose.
--sparse arg (=0) Generate sparse XORs when possible
--kappa arg (=0.638) Uniformity parameter (see TACAS-15 paper)
--startiter arg (=0) If positive, use instead of startiter computed by
AppMC

@msoos
Copy link
Collaborator

msoos commented Apr 3, 2019 via email

@kuldeepmeel
Copy link
Contributor

Hi:
Thanks for pointing this out. We have now provided a better interface to the options. You should be able to edit epsilon and delta directly from command line.

Many thanks for reporting this -- look forward to learning of your experience.
Kuldeep

msoos added a commit that referenced this issue Jul 6, 2020
fixed threshold, moved setting conf.measurement to be part of approxmc
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

3 participants