-
Notifications
You must be signed in to change notification settings - Fork 14
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
Enhancement for ipasir.h #6
Comments
Hi Alexander, thank you implementing a dlang interface. Let me address your comments: |
I solved (1) by creating an own make file. The shell script has the disadvantage of recompiling everything. import std.stdio;
import std.conv;
import ipasir;
unittest {
auto s = new Solver();
writeln(s.signature());
} results into
and for picosat
|
Hi Alexander, 1: thank you, could you share that makefile? I would include it in the project |
struct entry_t { char* key, value; }
void ipasir_statistics(void* solver, entry_t* ptr, size_t* num); |
I wonder if this is the intention. Sounds rather confusing. I like the proposal of @wadoon to have an additional |
Hi Tomas,
I implemented an ipasir adapter for dlang.
I have several requests for enhancements:
ipasir_signature
should only return the signature (name + version) and not the statistics (seen for minisat).Here a separate extension would be nice:
ipasir_statistics()
.It would be nice to have a several
ipasir
-declaration foreach solver, e.g.ipasir_minisat_signature
,and then I can configure
ipasir.h
to control to whichipasir_XXX_signature
function the functionipasir_signature
should point to.Usage:
The text was updated successfully, but these errors were encountered: