intset.h

Go to the documentation of this file.
00001 
00034 #ifndef ABA_INTSET_H
00035 #define ABA_INTSET_H
00036   class  ABA_INTSET  { 
00037     public: 
00038 
00046       ABA_INTSET();
00047 
00050       ~ABA_INTSET();
00051 
00059       void initialize(int n);
00060 
00063       bool exists(int elem) const;
00064 
00071       void insert(int elem);
00072 
00077       void remove(int elem);
00078 
00084       int  count() const;
00085 
00093       int  elem(int index) const;
00094 
00095     private: 
00096       int *uninitializedMap_;
00097       int *position_;
00098       int count_;
00099   };
00100 #endif  // ABA_INTSET_H
00101 
00102 

Generated on Tue Aug 14 18:09:53 2007 for ABACUS by  doxygen 1.5.1