Skip to content

Commit

Permalink
Adding for unigen
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Apr 25, 2024
1 parent f11b3c7 commit bf6b0b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/arjun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,10 @@ DLL_PUBLIC const std::vector<uint32_t>& Arjun::get_set_sampling_vars() const {
return arjdata->common.set_sampling_vars;
}

DLL_PUBLIC const std::vector<uint32_t>& Arjun::get_sampl_vars() const {
return arjdata->common.sampling_set;
}

DLL_PUBLIC void Arjun::set_multiplier_weight(const mpz_class mult) {
arjdata->common.solver->set_multiplier_weight(mult);
}
Expand Down
1 change: 1 addition & 0 deletions src/arjun.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ namespace ArjunNS {
const std::vector<uint32_t>& get_empty_sampl_vars() const;
bool sampling_vars_set = false;
bool get_sampl_vars_set() const { return sampling_vars_set; }
const std::vector<uint32_t>& get_sampl_vars() const;

//Get clauses
void start_getting_constraints(
Expand Down

0 comments on commit bf6b0b0

Please sign in to comment.