44 #define SHUFFLER_DBG(prm) DBG(prm) 45 #define SHUFFLER_CK(prm) DBG_CK(prm) 46 #define SHUFFLER_H_CK(prm) DBG_CK(prm) 48 #define FIRST_LIT_IDX 1 53 void shuffle_lit_mapping(tak_mak& rnd_gen, row<integer>& to_shuff);
54 void init_lit_mapping(tak_mak& rnd_gen, row<integer>& the_map,
long num_var);
55 integer map_literal(row<integer>& the_map, integer lit);
56 integer shift_literal(
long in_lit,
long the_shift);
57 void map_cnf_lits(row<integer>& the_map, row<long>& in_ccls, row<long>& out_ccls);
58 void shuffle_cnf_lits(tak_mak& rnd_gen,
long num_var, row<integer>& the_map,
59 row<long>& in_ccls, row<long>& out_ccls);
61 void shuffle_ccl_mapping(tak_mak& rnd_gen, row<integer>& to_shuff);
62 void init_ccl_mapping(tak_mak& rnd_gen, row<integer>& the_map,
long num_neu);
63 void rl_to_rrl(row<long>& in_lits, row_row_long_t& out_ccls);
64 void rrl_to_rl(row_row_long_t& in_ccls, row<long>& out_lits);
65 void shuffle_cnf_ccls(tak_mak& rnd_gen, row<integer>& the_map,
66 row<long>& in_lits, row<long>& out_lits);
68 void shuffle_full_cnf(tak_mak& rnd_gen,
long num_var, row<integer>& the_map,
69 row<long>& in_ccls, row<long>& out_ccls);
71 void shift_cnf_lits(
long the_shift, row<long>& in_out_lits);
72 void join_cnf_lits(row<long>& in_out_lits1,
long num_var1, row<long>& in_out_lits2);