\hypertarget{classRecollectGasTask}{\section{\-Recollect\-Gas\-Task \-Class \-Reference}
\label{classRecollectGasTask}\index{\-Recollect\-Gas\-Task@{\-Recollect\-Gas\-Task}}
}


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



\-Inheritance diagram for \-Recollect\-Gas\-Task\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classRecollectGasTask__inherit__graph}
\end{center}
\end{figure}


\-Collaboration diagram for \-Recollect\-Gas\-Task\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classRecollectGasTask__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classRecollectGasTask_ad7a9a0990e535988087bf78323b5175c}{\-Recollect\-Gas\-Task} (\-Unit $\ast$resource, \hyperlink{classEnvironment}{\-Environment} $\ast$env)
\item 
virtual \hyperlink{classRecollectGasTask_a882b2a4010c98e656b9ad0454044e756}{$\sim$\-Recollect\-Gas\-Task} (void)
\item 
\-Unit $\ast$ \hyperlink{classRecollectGasTask_a32df6ca510928ce1e25e267745e11fa2}{get\-Resource} ()
\item 
virtual void \hyperlink{classRecollectGasTask_af01b8a46a2ccc3080d41fcf599461396}{calculate\-Priority} ()
\item 
virtual double \hyperlink{classRecollectGasTask_a9eeed95efaa7603cca7bd83b797a20f2}{evaluate\-Aptitude} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\item 
virtual void \hyperlink{classRecollectGasTask_a7e85a7986a15472300836c00a18e4d01}{evaluate\-Status} ()
\item 
virtual void \hyperlink{classRecollectGasTask_abc9ce9f3181bd6cb0d68225717e20b19}{evaluate\-Needed\-Units} ()
\item 
virtual bool \hyperlink{classRecollectGasTask_a6b6d37cd28f2651fe36f9f56aa07915d}{execute} (\hyperlink{classAgent}{\-Agent} $\ast$agent)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{classRecollectGasTask_a93d7bcc794c6e7043641ef9039b2d8f9}{generate\-Necessary\-Tasks} (\hyperlink{classEnvironment}{\-Environment} $\ast$env)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\-Unit $\ast$ \hyperlink{classRecollectGasTask_a0a8364b542a93ddc1d912f15b434b088}{\-\_\-resource}
\item 
int \hyperlink{classRecollectGasTask_affdb2077ffe742edbb2bf8e647976898}{\-\_\-req\-Units}
\item 
int \hyperlink{classRecollectGasTask_a53268060ed8914797ca1a466b771bfd1}{\-\_\-max\-Req\-Units}
\end{DoxyCompactItemize}


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


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




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


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


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




\subsection{\-Member \-Function \-Documentation}
\hypertarget{classRecollectGasTask_af01b8a46a2ccc3080d41fcf599461396}{\index{\-Recollect\-Gas\-Task@{\-Recollect\-Gas\-Task}!calculate\-Priority@{calculate\-Priority}}
\index{calculate\-Priority@{calculate\-Priority}!RecollectGasTask@{\-Recollect\-Gas\-Task}}
\subsubsection[{calculate\-Priority}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Recollect\-Gas\-Task\-::calculate\-Priority} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classRecollectGasTask_af01b8a46a2ccc3080d41fcf599461396}


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



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


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


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



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


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


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

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


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



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


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


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



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


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


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


\hypertarget{classRecollectGasTask_a32df6ca510928ce1e25e267745e11fa2}{\index{\-Recollect\-Gas\-Task@{\-Recollect\-Gas\-Task}!get\-Resource@{get\-Resource}}
\index{get\-Resource@{get\-Resource}!RecollectGasTask@{\-Recollect\-Gas\-Task}}
\subsubsection[{get\-Resource}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit $\ast$ {\bf \-Recollect\-Gas\-Task\-::get\-Resource} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classRecollectGasTask_a32df6ca510928ce1e25e267745e11fa2}


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




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classRecollectGasTask_a53268060ed8914797ca1a466b771bfd1}{\index{\-Recollect\-Gas\-Task@{\-Recollect\-Gas\-Task}!\-\_\-max\-Req\-Units@{\-\_\-max\-Req\-Units}}
\index{\-\_\-max\-Req\-Units@{\-\_\-max\-Req\-Units}!RecollectGasTask@{\-Recollect\-Gas\-Task}}
\subsubsection[{\-\_\-max\-Req\-Units}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Recollect\-Gas\-Task\-::\-\_\-max\-Req\-Units}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classRecollectGasTask_a53268060ed8914797ca1a466b771bfd1}
\hypertarget{classRecollectGasTask_affdb2077ffe742edbb2bf8e647976898}{\index{\-Recollect\-Gas\-Task@{\-Recollect\-Gas\-Task}!\-\_\-req\-Units@{\-\_\-req\-Units}}
\index{\-\_\-req\-Units@{\-\_\-req\-Units}!RecollectGasTask@{\-Recollect\-Gas\-Task}}
\subsubsection[{\-\_\-req\-Units}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Recollect\-Gas\-Task\-::\-\_\-req\-Units}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classRecollectGasTask_affdb2077ffe742edbb2bf8e647976898}
\hypertarget{classRecollectGasTask_a0a8364b542a93ddc1d912f15b434b088}{\index{\-Recollect\-Gas\-Task@{\-Recollect\-Gas\-Task}!\-\_\-resource@{\-\_\-resource}}
\index{\-\_\-resource@{\-\_\-resource}!RecollectGasTask@{\-Recollect\-Gas\-Task}}
\subsubsection[{\-\_\-resource}]{\setlength{\rightskip}{0pt plus 5cm}\-Unit$\ast$ {\bf \-Recollect\-Gas\-Task\-::\-\_\-resource}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classRecollectGasTask_a0a8364b542a93ddc1d912f15b434b088}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Tasks/\hyperlink{RecollectGasTask_8h}{\-Recollect\-Gas\-Task.\-h}\item 
\-Tasks/\hyperlink{RecollectGasTask_8cpp}{\-Recollect\-Gas\-Task.\-cpp}\end{DoxyCompactItemize}
