lastseen.h 267 B

12345678910111213141516171819
  1. #ifndef LASTSEEN_H
  2. #define LASTSEEN_H
  3. #include <vector>
  4. class LastSeen {
  5. private:
  6. std::vector<int> tracker;
  7. int max;
  8. public:
  9. LastSeen(int max);
  10. ~LastSeen();
  11. int getmax(void);
  12. bool seen_before(int this_one);
  13. static int best_guess(int max);
  14. };
  15. #endif