/* Web Polygraph       http://www.web-polygraph.org/
 * (C) 2003-2006 The Measurement Factory
 * Licensed under the Apache License, Version 2.0 */

#ifndef POLYGRAPH__RUNTIME_HOTSET_H
#define POLYGRAPH__RUNTIME_HOTSET_H

// the algorithm for computing next HotSet position
// and the storage for that postion
class HotSet {
	public:
		HotSet();

		void reset();

		int pos() const { return thePos; }
		void syncPos(int size, int wss);

		void pos(int aPos) { thePos = aPos; }

	protected:
		int thePos;
};

#endif


syntax highlighted by Code2HTML, v. 0.9.1