\hypertarget{classWorkerAgent}{\section{\-Worker\-Agent \-Class \-Reference}
\label{classWorkerAgent}\index{\-Worker\-Agent@{\-Worker\-Agent}}
}


{\ttfamily \#include $<$\-Worker\-Agent.\-h$>$}



\-Inheritance diagram for \-Worker\-Agent\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classWorkerAgent__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Worker\-Agent\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classWorkerAgent__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classWorkerAgent_a7bea051c5a1cf7b55931d2315aa51281}{\-Worker\-Agent} (\-Unit $\ast$unit, \hyperlink{classEnvironment}{\-Environment} $\ast$env)
\item 
virtual \hyperlink{classWorkerAgent_a43ee0d562b5e5f5531ba9049034cf250}{$\sim$\-Worker\-Agent} (void)
\item 
virtual void \hyperlink{classWorkerAgent_ac569bf7e2bb313251d87f7adb75a49a5}{execute\-Unit\-Behavior} ()
\item 
virtual void \hyperlink{classWorkerAgent_a0dd4d4024670ee57838147c41025c272}{display\-Info} (int \&row)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classWorkerAgent_a123c8b7be151fa9323c53cafbb09c903}{drop\-Resources\-If\-Necessary} ()
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classWorkerAgent_a7bea051c5a1cf7b55931d2315aa51281}{\index{\-Worker\-Agent@{\-Worker\-Agent}!\-Worker\-Agent@{\-Worker\-Agent}}
\index{\-Worker\-Agent@{\-Worker\-Agent}!WorkerAgent@{\-Worker\-Agent}}
\subsubsection[{\-Worker\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Worker\-Agent\-::\-Worker\-Agent} (
\begin{DoxyParamCaption}
\item[{\-Unit $\ast$}]{unit, }
\item[{{\bf \-Environment} $\ast$}]{env}
\end{DoxyParamCaption}
)}}\label{classWorkerAgent_a7bea051c5a1cf7b55931d2315aa51281}
\hypertarget{classWorkerAgent_a43ee0d562b5e5f5531ba9049034cf250}{\index{\-Worker\-Agent@{\-Worker\-Agent}!$\sim$\-Worker\-Agent@{$\sim$\-Worker\-Agent}}
\index{$\sim$\-Worker\-Agent@{$\sim$\-Worker\-Agent}!WorkerAgent@{\-Worker\-Agent}}
\subsubsection[{$\sim$\-Worker\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Worker\-Agent\-::$\sim$\-Worker\-Agent} (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classWorkerAgent_a43ee0d562b5e5f5531ba9049034cf250}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classWorkerAgent_a0dd4d4024670ee57838147c41025c272}{\index{\-Worker\-Agent@{\-Worker\-Agent}!display\-Info@{display\-Info}}
\index{display\-Info@{display\-Info}!WorkerAgent@{\-Worker\-Agent}}
\subsubsection[{display\-Info}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Worker\-Agent\-::display\-Info} (
\begin{DoxyParamCaption}
\item[{int \&}]{row}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classWorkerAgent_a0dd4d4024670ee57838147c41025c272}


\-Reimplemented from \hyperlink{classAttackerAgent_a98569879bcabdae19dfdec803c103809}{\-Attacker\-Agent}.



\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classWorkerAgent_a0dd4d4024670ee57838147c41025c272_cgraph}
\end{center}
\end{figure}


\hypertarget{classWorkerAgent_a123c8b7be151fa9323c53cafbb09c903}{\index{\-Worker\-Agent@{\-Worker\-Agent}!drop\-Resources\-If\-Necessary@{drop\-Resources\-If\-Necessary}}
\index{drop\-Resources\-If\-Necessary@{drop\-Resources\-If\-Necessary}!WorkerAgent@{\-Worker\-Agent}}
\subsubsection[{drop\-Resources\-If\-Necessary}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Worker\-Agent\-::drop\-Resources\-If\-Necessary} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classWorkerAgent_a123c8b7be151fa9323c53cafbb09c903}


\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classWorkerAgent_a123c8b7be151fa9323c53cafbb09c903_cgraph}
\end{center}
\end{figure}




\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classWorkerAgent_a123c8b7be151fa9323c53cafbb09c903_icgraph}
\end{center}
\end{figure}


\hypertarget{classWorkerAgent_ac569bf7e2bb313251d87f7adb75a49a5}{\index{\-Worker\-Agent@{\-Worker\-Agent}!execute\-Unit\-Behavior@{execute\-Unit\-Behavior}}
\index{execute\-Unit\-Behavior@{execute\-Unit\-Behavior}!WorkerAgent@{\-Worker\-Agent}}
\subsubsection[{execute\-Unit\-Behavior}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Worker\-Agent\-::execute\-Unit\-Behavior} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classWorkerAgent_ac569bf7e2bb313251d87f7adb75a49a5}


\-Reimplemented from \hyperlink{classExplorerAgent_a380ed9a5e5d50036d68c6b09a3ea56c8}{\-Explorer\-Agent}.



\-Here is the call graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classWorkerAgent_ac569bf7e2bb313251d87f7adb75a49a5_cgraph}
\end{center}
\end{figure}




\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Agents/\hyperlink{WorkerAgent_8h}{\-Worker\-Agent.\-h}\item 
\-Agents/\hyperlink{WorkerAgent_8cpp}{\-Worker\-Agent.\-cpp}\end{DoxyCompactItemize}
