Module org.chocosolver
Package org.chocosolver.util.objects.setDataStructures.swapList
-
Class Summary Class Description Set_Std_Swap Set of integers based on BipartiteSet implementation BEWARE : CANNOT BOTH ADD AND REMOVE ELEMENTS DURING SEARCH (add only or remove only) add : O(1) testPresence: O(1) remove: O(1) iteration : O(m)Set_Std_Swap2 Set of integers based on BipartiteSet implementation for small sets (arraylist inside) BEWARE : CANNOT BOTH ADD AND REMOVE ELEMENTS DURING SEARCHSet_Swap Bipartite set of integers: add : O(1) contain: O(1) remove: O(1) iteration : O(m)Set_Swap2 Set of integers based on BipartiteSet implementation for small sets (arraylist inside) BEWARE : CANNOT BOTH ADD AND REMOVE ELEMENTS DURING SEARCH