\hypertarget{classTrainTask}{\section{\-Train\-Task \-Class \-Reference}
\label{classTrainTask}\index{\-Train\-Task@{\-Train\-Task}}
}


{\ttfamily \#include $<$\-Train\-Task.\-h$>$}



\-Inheritance diagram for \-Train\-Task\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classTrainTask__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Train\-Task\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classTrainTask__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classTrainTask_a4b3d8c070c29fad193271d54eb4a235a}{\-Train\-Task} (\-Unit\-Type unit\-Type, \hyperlink{classEnvironment}{\-Environment} $\ast$env)
\item 
\hyperlink{classTrainTask_ae59391008298cb642b0a20d854cc50f4}{\-Train\-Task} (\-Unit\-Type unit\-Type, \-Position rally\-Position, \hyperlink{classEnvironment}{\-Environment} $\ast$env)
\item 
virtual \hyperlink{classTrainTask_a39d0950e97fb99fcca4232ea4afd9580}{$\sim$\-Train\-Task} (void)
\item 
virtual double \hyperlink{classTrainTask_accf3230e1f632b0bb46e9ce21f6bfbff}{evaluate\-Aptitude} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
virtual void \hyperlink{classTrainTask_acb8857dffcc67b4a747162d07cea730b}{evaluate\-Status} ()
\item 
\-Unit\-Type \hyperlink{classTrainTask_acd4186a9c2e8d86dc603c9a3e757070d}{get\-Unit\-Type\-Trained} ()
\item 
virtual void \hyperlink{classTrainTask_a8dfcebc5a01226e2303366a82b90ff4d}{evaluate\-Needed\-Units} ()
\item 
virtual bool \hyperlink{classTrainTask_aa53cde15f247d57323cd14c17aec12eb}{execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\-Unit\-Type \hyperlink{classTrainTask_a005a9b3f9c8c50d104fa12cbc86c2d86}{\-\_\-unit\-Type}
\item 
\-Unit\-Type \hyperlink{classTrainTask_ae138e55716b74f1479756254757ea9f1}{\-\_\-trainer\-Type}
\item 
\-Unit\-Type \hyperlink{classTrainTask_a373ac066938da82cca1008bb96e110e2}{\-\_\-required\-Addon}
\item 
\-Unit\-Type \hyperlink{classTrainTask_ac18e9c07c8266daba3a177da4423da1d}{\-\_\-unit\-Type\-Trained}
\item 
\-Position \hyperlink{classTrainTask_a2054d2ae12acf80f5df86d0bcade13f5}{\-\_\-rally\-Position}
\item 
bool \hyperlink{classTrainTask_a23cd93f754223499f5f2e2639bcffdcd}{\-\_\-requires\-Units}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classTrainTask_a4b3d8c070c29fad193271d54eb4a235a}{\index{\-Train\-Task@{\-Train\-Task}!\-Train\-Task@{\-Train\-Task}}
\index{\-Train\-Task@{\-Train\-Task}!TrainTask@{\-Train\-Task}}
\subsubsection[{\-Train\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Train\-Task\-::\-Train\-Task} (
\begin{DoxyParamCaption}
\item[{\-Unit\-Type}]{unit\-Type, }
\item[{{\bf \-Environment} $\ast$}]{env}
\end{DoxyParamCaption}
)}}\label{classTrainTask_a4b3d8c070c29fad193271d54eb4a235a}


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


\hypertarget{classTrainTask_ae59391008298cb642b0a20d854cc50f4}{\index{\-Train\-Task@{\-Train\-Task}!\-Train\-Task@{\-Train\-Task}}
\index{\-Train\-Task@{\-Train\-Task}!TrainTask@{\-Train\-Task}}
\subsubsection[{\-Train\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Train\-Task\-::\-Train\-Task} (
\begin{DoxyParamCaption}
\item[{\-Unit\-Type}]{unit\-Type, }
\item[{\-Position}]{rally\-Position, }
\item[{{\bf \-Environment} $\ast$}]{env}
\end{DoxyParamCaption}
)}}\label{classTrainTask_ae59391008298cb642b0a20d854cc50f4}


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


\hypertarget{classTrainTask_a39d0950e97fb99fcca4232ea4afd9580}{\index{\-Train\-Task@{\-Train\-Task}!$\sim$\-Train\-Task@{$\sim$\-Train\-Task}}
\index{$\sim$\-Train\-Task@{$\sim$\-Train\-Task}!TrainTask@{\-Train\-Task}}
\subsubsection[{$\sim$\-Train\-Task}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Train\-Task\-::$\sim$\-Train\-Task} (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTrainTask_a39d0950e97fb99fcca4232ea4afd9580}


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




\subsection{\-Member \-Function \-Documentation}
\hypertarget{classTrainTask_accf3230e1f632b0bb46e9ce21f6bfbff}{\index{\-Train\-Task@{\-Train\-Task}!evaluate\-Aptitude@{evaluate\-Aptitude}}
\index{evaluate\-Aptitude@{evaluate\-Aptitude}!TrainTask@{\-Train\-Task}}
\subsubsection[{evaluate\-Aptitude}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf \-Train\-Task\-::evaluate\-Aptitude} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTrainTask_accf3230e1f632b0bb46e9ce21f6bfbff}


\-Implements \hyperlink{classTask_a52dcd78d317cb21b4deb7fc0bdcdc976}{\-Task}.



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


\hypertarget{classTrainTask_a8dfcebc5a01226e2303366a82b90ff4d}{\index{\-Train\-Task@{\-Train\-Task}!evaluate\-Needed\-Units@{evaluate\-Needed\-Units}}
\index{evaluate\-Needed\-Units@{evaluate\-Needed\-Units}!TrainTask@{\-Train\-Task}}
\subsubsection[{evaluate\-Needed\-Units}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Train\-Task\-::evaluate\-Needed\-Units} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTrainTask_a8dfcebc5a01226e2303366a82b90ff4d}


\-Implements \hyperlink{classTask_a24042bca01a0a6b11f8df106a6fdbfde}{\-Task}.

\hypertarget{classTrainTask_acb8857dffcc67b4a747162d07cea730b}{\index{\-Train\-Task@{\-Train\-Task}!evaluate\-Status@{evaluate\-Status}}
\index{evaluate\-Status@{evaluate\-Status}!TrainTask@{\-Train\-Task}}
\subsubsection[{evaluate\-Status}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Train\-Task\-::evaluate\-Status} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTrainTask_acb8857dffcc67b4a747162d07cea730b}


\-Implements \hyperlink{classTask_a174dedffa7cea9d7276d60d8333f12d4}{\-Task}.



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


\hypertarget{classTrainTask_aa53cde15f247d57323cd14c17aec12eb}{\index{\-Train\-Task@{\-Train\-Task}!execute@{execute}}
\index{execute@{execute}!TrainTask@{\-Train\-Task}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Train\-Task\-::execute} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classTrainTask_aa53cde15f247d57323cd14c17aec12eb}


\-Implements \hyperlink{classTask_a58fe17b77f88f108f4a72d305b066c9f}{\-Task}.



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


\hypertarget{classTrainTask_acd4186a9c2e8d86dc603c9a3e757070d}{\index{\-Train\-Task@{\-Train\-Task}!get\-Unit\-Type\-Trained@{get\-Unit\-Type\-Trained}}
\index{get\-Unit\-Type\-Trained@{get\-Unit\-Type\-Trained}!TrainTask@{\-Train\-Task}}
\subsubsection[{get\-Unit\-Type\-Trained}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit\-Type {\bf \-Train\-Task\-::get\-Unit\-Type\-Trained} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classTrainTask_acd4186a9c2e8d86dc603c9a3e757070d}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classTrainTask_a2054d2ae12acf80f5df86d0bcade13f5}{\index{\-Train\-Task@{\-Train\-Task}!\-\_\-rally\-Position@{\-\_\-rally\-Position}}
\index{\-\_\-rally\-Position@{\-\_\-rally\-Position}!TrainTask@{\-Train\-Task}}
\subsubsection[{\-\_\-rally\-Position}]{\setlength{\rightskip}{0pt plus 5cm}\-Position {\bf \-Train\-Task\-::\-\_\-rally\-Position}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classTrainTask_a2054d2ae12acf80f5df86d0bcade13f5}
\hypertarget{classTrainTask_a373ac066938da82cca1008bb96e110e2}{\index{\-Train\-Task@{\-Train\-Task}!\-\_\-required\-Addon@{\-\_\-required\-Addon}}
\index{\-\_\-required\-Addon@{\-\_\-required\-Addon}!TrainTask@{\-Train\-Task}}
\subsubsection[{\-\_\-required\-Addon}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit\-Type {\bf \-Train\-Task\-::\-\_\-required\-Addon}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classTrainTask_a373ac066938da82cca1008bb96e110e2}
\hypertarget{classTrainTask_a23cd93f754223499f5f2e2639bcffdcd}{\index{\-Train\-Task@{\-Train\-Task}!\-\_\-requires\-Units@{\-\_\-requires\-Units}}
\index{\-\_\-requires\-Units@{\-\_\-requires\-Units}!TrainTask@{\-Train\-Task}}
\subsubsection[{\-\_\-requires\-Units}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-Train\-Task\-::\-\_\-requires\-Units}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classTrainTask_a23cd93f754223499f5f2e2639bcffdcd}
\hypertarget{classTrainTask_ae138e55716b74f1479756254757ea9f1}{\index{\-Train\-Task@{\-Train\-Task}!\-\_\-trainer\-Type@{\-\_\-trainer\-Type}}
\index{\-\_\-trainer\-Type@{\-\_\-trainer\-Type}!TrainTask@{\-Train\-Task}}
\subsubsection[{\-\_\-trainer\-Type}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit\-Type {\bf \-Train\-Task\-::\-\_\-trainer\-Type}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classTrainTask_ae138e55716b74f1479756254757ea9f1}
\hypertarget{classTrainTask_a005a9b3f9c8c50d104fa12cbc86c2d86}{\index{\-Train\-Task@{\-Train\-Task}!\-\_\-unit\-Type@{\-\_\-unit\-Type}}
\index{\-\_\-unit\-Type@{\-\_\-unit\-Type}!TrainTask@{\-Train\-Task}}
\subsubsection[{\-\_\-unit\-Type}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit\-Type {\bf \-Train\-Task\-::\-\_\-unit\-Type}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classTrainTask_a005a9b3f9c8c50d104fa12cbc86c2d86}
\hypertarget{classTrainTask_ac18e9c07c8266daba3a177da4423da1d}{\index{\-Train\-Task@{\-Train\-Task}!\-\_\-unit\-Type\-Trained@{\-\_\-unit\-Type\-Trained}}
\index{\-\_\-unit\-Type\-Trained@{\-\_\-unit\-Type\-Trained}!TrainTask@{\-Train\-Task}}
\subsubsection[{\-\_\-unit\-Type\-Trained}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit\-Type {\bf \-Train\-Task\-::\-\_\-unit\-Type\-Trained}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classTrainTask_ac18e9c07c8266daba3a177da4423da1d}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Tasks/\hyperlink{TrainTask_8h}{\-Train\-Task.\-h}\item 
\-Tasks/\hyperlink{TrainTask_8cpp}{\-Train\-Task.\-cpp}\end{DoxyCompactItemize}
