//+----------------------------------------------------------------------+
//|								    DAPsim								 |
//| Dean Morrison												11/30/06 |
//| University of Florida												 |
//| Department of Electrical and Computer Engineering					 |
//+----------------------------------------------------------------------+
//| Description: DAPsim is a trace-driven simulator developed in C++ for |
//| the purpose of designing, testing, and evaluating demand prepaging 	 |
//| policies.  It currently implements my proposed concept of Dynamically|
//| Adaptive Prepaging, but may be modified to evaluate many other 		 |
//| policies.															 |
//|																		 |
//| Reuse Policy: Use of this software for personal or instructional	 |
//| purposes is granted without fee provided that the source bears a	 |
//| clear and complete citation.										 |
//+----------------------------------------------------------------------+

#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <queue>
#include <list>
#include <map>
#include <math.h>

#include "main.h"

using namespace std;

class LRU_pageQ_entry {
private:
	unsigned long int pageNumber;
	int lruValue;
	bool resident;
	//int histValue;

public:
	LRU_pageQ_entry();
	LRU_pageQ_entry(unsigned long int newPageNumber, int newLruValue, bool newResidency);

	void setPageNumber(unsigned long int newPageNumber);
	void setLRUValue(int newLruValue);
	void setResidency(bool newResidency);
	//void setHistValue(int newHistValue);

	unsigned long int getPageNumber(void);
	int getLRUValue(void);
	bool getResidency(void);
	//int getHistValue(void);

	//void incHistValue(void);

};