How could I represent multiple subsets of a set of real numbers?
The problem is that,I want to remove some parts of real numbers in range : [0,2*pi) for example,after removal I will have s.th like this:
Result set = [0,0.1] U [.2,2.65] U [2.66,2.86] U ... U [3.0,3.1]
in fact the result set,consists of several non-overlapping subsets(we don't know the exact count of these subsets.may be they are up to 200).
how could I implement "union" and "subtraction" and "overlapping" operations?