\hypertarget{classAttackUnitTask}{\section{\-Attack\-Unit\-Task \-Class \-Reference}
\label{classAttackUnitTask}\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}}
}


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



\-Inheritance diagram for \-Attack\-Unit\-Task\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classAttackUnitTask__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Attack\-Unit\-Task\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classAttackUnitTask__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classAttackUnitTask_acdc5042c70f309319a0870d460b7409a}{\-Attack\-Unit\-Task} (\-Unit $\ast$target, \hyperlink{classEnvironment}{\-Environment} $\ast$env)
\item 
virtual \hyperlink{classAttackUnitTask_a0a6eb562fa5c1d1036573a94c651c698}{$\sim$\-Attack\-Unit\-Task} (void)
\item 
\-Unit $\ast$ \hyperlink{classAttackUnitTask_a0c4fa78cdc268dfb4a92f23aa28df6dc}{get\-Target} ()
\item 
virtual void \hyperlink{classAttackUnitTask_a54492151da8fec2ffddc30c217e8d6e6}{add\-Agent} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
virtual void \hyperlink{classAttackUnitTask_a55ff0d844945026814107bdd47c5f0b8}{remove\-Agent} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
virtual double \hyperlink{classAttackUnitTask_a6c7b1b99b96513fe5303e5b7c322bb25}{evaluate\-Aptitude} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
virtual void \hyperlink{classAttackUnitTask_a08692683d8d933fab4a49f7a34882dc7}{evaluate\-Status} ()
\item 
virtual void \hyperlink{classAttackUnitTask_add837a7e4419df7bb13f1c2c3b36511e}{calculate\-Priority} ()
\item 
virtual void \hyperlink{classAttackUnitTask_a436203be1d495661d1979e9aba0c1f13}{evaluate\-Needed\-Units} ()
\item 
virtual bool \hyperlink{classAttackUnitTask_a51a4b2beeb0c529cb81ccc63daf9a9b7}{execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{classAttackUnitTask_ad44f0cfc903208593bf46c36d337d1bb}{generate\-Necessary\-Tasks} (\hyperlink{classEnvironment}{\-Environment} $\ast$env)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\-Unit $\ast$ \hyperlink{classAttackUnitTask_a174b6e32cb04823f316a33d3caaccfde}{\-\_\-target}
\item 
double \hyperlink{classAttackUnitTask_ad660a40ee9ff950b4d292140cd2e154c}{\-\_\-min\-Aptitude}
\end{DoxyCompactItemize}


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


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




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


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


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




\subsection{\-Member \-Function \-Documentation}
\hypertarget{classAttackUnitTask_a54492151da8fec2ffddc30c217e8d6e6}{\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}!add\-Agent@{add\-Agent}}
\index{add\-Agent@{add\-Agent}!AttackUnitTask@{\-Attack\-Unit\-Task}}
\subsubsection[{add\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Attack\-Unit\-Task\-::add\-Agent} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classAttackUnitTask_a54492151da8fec2ffddc30c217e8d6e6}


\-Reimplemented from \hyperlink{classTask_a04857726e29a5c20e7f76d925b52c79c}{\-Task}.



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


\hypertarget{classAttackUnitTask_add837a7e4419df7bb13f1c2c3b36511e}{\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}!calculate\-Priority@{calculate\-Priority}}
\index{calculate\-Priority@{calculate\-Priority}!AttackUnitTask@{\-Attack\-Unit\-Task}}
\subsubsection[{calculate\-Priority}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Attack\-Unit\-Task\-::calculate\-Priority} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classAttackUnitTask_add837a7e4419df7bb13f1c2c3b36511e}


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



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


\hypertarget{classAttackUnitTask_a6c7b1b99b96513fe5303e5b7c322bb25}{\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}!evaluate\-Aptitude@{evaluate\-Aptitude}}
\index{evaluate\-Aptitude@{evaluate\-Aptitude}!AttackUnitTask@{\-Attack\-Unit\-Task}}
\subsubsection[{evaluate\-Aptitude}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf \-Attack\-Unit\-Task\-::evaluate\-Aptitude} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classAttackUnitTask_a6c7b1b99b96513fe5303e5b7c322bb25}


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



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


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


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

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


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



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


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


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



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


\hypertarget{classAttackUnitTask_ad44f0cfc903208593bf46c36d337d1bb}{\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}!generate\-Necessary\-Tasks@{generate\-Necessary\-Tasks}}
\index{generate\-Necessary\-Tasks@{generate\-Necessary\-Tasks}!AttackUnitTask@{\-Attack\-Unit\-Task}}
\subsubsection[{generate\-Necessary\-Tasks}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Attack\-Unit\-Task\-::generate\-Necessary\-Tasks} (
\begin{DoxyParamCaption}
\item[{{\bf \-Environment} $\ast$}]{env}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classAttackUnitTask_ad44f0cfc903208593bf46c36d337d1bb}


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


\hypertarget{classAttackUnitTask_a0c4fa78cdc268dfb4a92f23aa28df6dc}{\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}!get\-Target@{get\-Target}}
\index{get\-Target@{get\-Target}!AttackUnitTask@{\-Attack\-Unit\-Task}}
\subsubsection[{get\-Target}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit $\ast$ {\bf \-Attack\-Unit\-Task\-::get\-Target} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classAttackUnitTask_a0c4fa78cdc268dfb4a92f23aa28df6dc}
\hypertarget{classAttackUnitTask_a55ff0d844945026814107bdd47c5f0b8}{\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}!remove\-Agent@{remove\-Agent}}
\index{remove\-Agent@{remove\-Agent}!AttackUnitTask@{\-Attack\-Unit\-Task}}
\subsubsection[{remove\-Agent}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Attack\-Unit\-Task\-::remove\-Agent} (
\begin{DoxyParamCaption}
\item[{{\bf \-Agent} $\ast$}]{agent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classAttackUnitTask_a55ff0d844945026814107bdd47c5f0b8}


\-Reimplemented from \hyperlink{classTask_a7af4b2dfcf677383eff7d0e5b7f73329}{\-Task}.



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




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classAttackUnitTask_ad660a40ee9ff950b4d292140cd2e154c}{\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}!\-\_\-min\-Aptitude@{\-\_\-min\-Aptitude}}
\index{\-\_\-min\-Aptitude@{\-\_\-min\-Aptitude}!AttackUnitTask@{\-Attack\-Unit\-Task}}
\subsubsection[{\-\_\-min\-Aptitude}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf \-Attack\-Unit\-Task\-::\-\_\-min\-Aptitude}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classAttackUnitTask_ad660a40ee9ff950b4d292140cd2e154c}
\hypertarget{classAttackUnitTask_a174b6e32cb04823f316a33d3caaccfde}{\index{\-Attack\-Unit\-Task@{\-Attack\-Unit\-Task}!\-\_\-target@{\-\_\-target}}
\index{\-\_\-target@{\-\_\-target}!AttackUnitTask@{\-Attack\-Unit\-Task}}
\subsubsection[{\-\_\-target}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit$\ast$ {\bf \-Attack\-Unit\-Task\-::\-\_\-target}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classAttackUnitTask_a174b6e32cb04823f316a33d3caaccfde}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Tasks/\hyperlink{AttackUnitTask_8h}{\-Attack\-Unit\-Task.\-h}\item 
\-Tasks/\hyperlink{AttackUnitTask_8cpp}{\-Attack\-Unit\-Task.\-cpp}\end{DoxyCompactItemize}
