Adding an API for finalizing MutableSet
[satune.git] / src / csolver.h
index 480790832fbfea2d46875394e4bbe529e2e68e20..e49278116f5a00119ee9f8091b3aaa21b2ee80e9 100644 (file)
@@ -27,13 +27,18 @@ public:
        /** This function adds a new item to a set. */
 
        //Deprecating this unless we need it...
-       //      void addItem(MutableSet *set, uint64_t element);
+       void addItem(MutableSet *set, uint64_t element);
 
        /** This function adds a new unique item to the set and returns it.
            This function cannot be used in conjunction with manually adding
            items to the set. */
 
        uint64_t createUniqueItem(MutableSet *set);
+       
+       /**
+        * Freeze and finalize the mutableSet ...
+        */
+       void finalizeMutableSet(MutableSet* set);
 
        /** This function creates an element variable over a set. */