// ramzor3Doc.h : interface of the CRamzor3Doc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_RAMZOR3DOC_H__92758AC4_D989_11D3_95FD_81D56C25FC3B__INCLUDED_)
#define AFX_RAMZOR3DOC_H__92758AC4_D989_11D3_95FD_81D56C25FC3B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPolicy;

class CRamzor3Doc : public CDocument
{
protected: // create from serialization only
	CRamzor3Doc();
	DECLARE_DYNCREATE(CRamzor3Doc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRamzor3Doc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CRamzor3Doc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CRamzor3Doc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CStateActionMap m_StateTable;
#ifdef DEFAULT
	CPolicy m_Policy;
	
#endif
#ifdef SARSA
	CSarsaPolicy m_Policy;
#endif
#ifdef PROPORTION
	CProportionalPolicy m_Policy;
#endif
	CSimulationParams m_SimulationParams;			
	CSimulationManager m_SimulationManager;
	
public:
	CSimulationParams& GetSimulationParams() {return m_SimulationParams;} 
	CSimulationManager& GetSimulationManager(){return m_SimulationManager;}
	CStateActionMap& GetStateMap(){return m_StateTable;}
	CPolicy* GetPolicy(){return &m_Policy; }
	void UpdateViewOnSer();
	void UpdateRewardParams();
	void ResetSimulation();
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RAMZOR3DOC_H__92758AC4_D989_11D3_95FD_81D56C25FC3B__INCLUDED_)
