//count is used in the creation of new variables
unsigned int _symbol_count;
+ // The value to append to the filename when saving the CNF.
+ unsigned int CNFFileNameCounter;
+
/****************************************************************
* Public Member Functions *
****************************************************************/
_bvconst_unique_table(),
_interior_unique_table(),
UserFlags(),
- _symbol_count(0)
+ _symbol_count(0),
+ CNFFileNameCounter(0)
{
_max_node_num = 0;
Begin_RemoveWrites = false;
if (bm->UserFlags.output_CNF_flag)
{
stringstream fileName;
- fileName << "output_" << CNFFileNameCounter++ << ".cnf";
+ fileName << "output_" << bm->CNFFileNameCounter++ << ".cnf";
Cnf_DataWriteIntoFile(cnfData, (char*)fileName.str().c_str(), 0);
}
first = false;