tpn / perfecthash

A performant, parallel, probabilistic, random acyclic-graph, low-latency, perfect hash generation library.
BSD 3-Clause "New" or "Revised" License
66 stars 11 forks source link

Add a new command line parameter: --TargetBestCoverageValue=N. #44

Closed tpn closed 1 year ago

tpn commented 1 year ago

When provided, will stop solving as soon as a solution is found that meets a target value predicate. I anticipate this being useful for doing things like --FindBestGraph --BestCoverageType=HighestRank --TargetBestCoverageValue=0.50 -- which will stop solving as soon as a graph is found with a rank greater than or equal to 0.50.