\hypertarget{classMapTools}{\section{\-Map\-Tools \-Class \-Reference}
\label{classMapTools}\index{\-Map\-Tools@{\-Map\-Tools}}
}


{\ttfamily \#include $<$\-Map\-Tools.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1TilePosition}{\-B\-W\-A\-P\-I\-::\-Tile\-Position} \hyperlink{classMapTools_a8dae6587bc12986401c7a58306eaa4ee}{get\-Next\-Expansion} ()
\item 
void \hyperlink{classMapTools_ac320520c767790f69cac8908819efe2f}{update} ()
\item 
void \hyperlink{classMapTools_ac61f80f2ba61dd0bc6316ad73de681c0}{draw\-My\-Region} ()
\item 
void \hyperlink{classMapTools_a4874068394e71faf4f372251df436fe0}{compute\-Connected\-Regions} ()
\item 
void \hyperlink{classMapTools_af84a246fab1b08e48110ae99a77ac843}{compute\-Distance} (\-Distance\-Map \&dmap, const \hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p)
\item 
void \hyperlink{classMapTools_a0f81a0a818bbb1c8d07f4e028706a30a}{search} (\-Distance\-Map \&dmap, const int s\-R, const int s\-C)
\item 
void \hyperlink{classMapTools_a2aa96168f6e9cd5791e043f352b39b33}{fill} (const int index, const int region)
\item 
int \hyperlink{classMapTools_af7b9928b28e3e76e99325453f18eef01}{get\-Enemy\-Base\-Distance} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p)
\item 
int \hyperlink{classMapTools_a1e9c46c9dcfa1b425f1c57a0c80fc6bc}{get\-My\-Base\-Distance} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p)
\item 
\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} \hyperlink{classMapTools_ac4e8504bba6a3b0d9cb673768afeeb02}{get\-Enemy\-Base\-Move\-To} (\hyperlink{classBWAPI_1_1Position}{\-B\-W\-A\-P\-I\-::\-Position} p)
\end{DoxyCompactItemize}
\subsection*{\-Static \-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classMapTools}{\-Map\-Tools} $\ast$ \hyperlink{classMapTools_a384d1efc6e10297afb3c52497e5f8af5}{get\-Instance} ()
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classMapTools_a4874068394e71faf4f372251df436fe0}{\index{\-Map\-Tools@{\-Map\-Tools}!compute\-Connected\-Regions@{compute\-Connected\-Regions}}
\index{compute\-Connected\-Regions@{compute\-Connected\-Regions}!MapTools@{\-Map\-Tools}}
\subsubsection[{compute\-Connected\-Regions}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Map\-Tools\-::compute\-Connected\-Regions} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMapTools_a4874068394e71faf4f372251df436fe0}


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


\hypertarget{classMapTools_af84a246fab1b08e48110ae99a77ac843}{\index{\-Map\-Tools@{\-Map\-Tools}!compute\-Distance@{compute\-Distance}}
\index{compute\-Distance@{compute\-Distance}!MapTools@{\-Map\-Tools}}
\subsubsection[{compute\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Map\-Tools\-::compute\-Distance} (
\begin{DoxyParamCaption}
\item[{\-Distance\-Map \&}]{dmap, }
\item[{const {\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p}
\end{DoxyParamCaption}
)}}\label{classMapTools_af84a246fab1b08e48110ae99a77ac843}


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




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


\hypertarget{classMapTools_ac61f80f2ba61dd0bc6316ad73de681c0}{\index{\-Map\-Tools@{\-Map\-Tools}!draw\-My\-Region@{draw\-My\-Region}}
\index{draw\-My\-Region@{draw\-My\-Region}!MapTools@{\-Map\-Tools}}
\subsubsection[{draw\-My\-Region}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Map\-Tools\-::draw\-My\-Region} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMapTools_ac61f80f2ba61dd0bc6316ad73de681c0}


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


\hypertarget{classMapTools_a2aa96168f6e9cd5791e043f352b39b33}{\index{\-Map\-Tools@{\-Map\-Tools}!fill@{fill}}
\index{fill@{fill}!MapTools@{\-Map\-Tools}}
\subsubsection[{fill}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Map\-Tools\-::fill} (
\begin{DoxyParamCaption}
\item[{const int}]{index, }
\item[{const int}]{region}
\end{DoxyParamCaption}
)}}\label{classMapTools_a2aa96168f6e9cd5791e043f352b39b33}


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


\hypertarget{classMapTools_af7b9928b28e3e76e99325453f18eef01}{\index{\-Map\-Tools@{\-Map\-Tools}!get\-Enemy\-Base\-Distance@{get\-Enemy\-Base\-Distance}}
\index{get\-Enemy\-Base\-Distance@{get\-Enemy\-Base\-Distance}!MapTools@{\-Map\-Tools}}
\subsubsection[{get\-Enemy\-Base\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Map\-Tools\-::get\-Enemy\-Base\-Distance} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p}
\end{DoxyParamCaption}
)}}\label{classMapTools_af7b9928b28e3e76e99325453f18eef01}


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


\hypertarget{classMapTools_ac4e8504bba6a3b0d9cb673768afeeb02}{\index{\-Map\-Tools@{\-Map\-Tools}!get\-Enemy\-Base\-Move\-To@{get\-Enemy\-Base\-Move\-To}}
\index{get\-Enemy\-Base\-Move\-To@{get\-Enemy\-Base\-Move\-To}!MapTools@{\-Map\-Tools}}
\subsubsection[{get\-Enemy\-Base\-Move\-To}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Position} {\bf \-Map\-Tools\-::get\-Enemy\-Base\-Move\-To} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p}
\end{DoxyParamCaption}
)}}\label{classMapTools_ac4e8504bba6a3b0d9cb673768afeeb02}


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


\hypertarget{classMapTools_a384d1efc6e10297afb3c52497e5f8af5}{\index{\-Map\-Tools@{\-Map\-Tools}!get\-Instance@{get\-Instance}}
\index{get\-Instance@{get\-Instance}!MapTools@{\-Map\-Tools}}
\subsubsection[{get\-Instance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Map\-Tools} $\ast$ {\bf \-Map\-Tools\-::get\-Instance} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}\label{classMapTools_a384d1efc6e10297afb3c52497e5f8af5}


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


\hypertarget{classMapTools_a1e9c46c9dcfa1b425f1c57a0c80fc6bc}{\index{\-Map\-Tools@{\-Map\-Tools}!get\-My\-Base\-Distance@{get\-My\-Base\-Distance}}
\index{get\-My\-Base\-Distance@{get\-My\-Base\-Distance}!MapTools@{\-Map\-Tools}}
\subsubsection[{get\-My\-Base\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Map\-Tools\-::get\-My\-Base\-Distance} (
\begin{DoxyParamCaption}
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Position}}]{p}
\end{DoxyParamCaption}
)}}\label{classMapTools_a1e9c46c9dcfa1b425f1c57a0c80fc6bc}


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




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


\hypertarget{classMapTools_a8dae6587bc12986401c7a58306eaa4ee}{\index{\-Map\-Tools@{\-Map\-Tools}!get\-Next\-Expansion@{get\-Next\-Expansion}}
\index{get\-Next\-Expansion@{get\-Next\-Expansion}!MapTools@{\-Map\-Tools}}
\subsubsection[{get\-Next\-Expansion}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Tile\-Position} {\bf \-Map\-Tools\-::get\-Next\-Expansion} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMapTools_a8dae6587bc12986401c7a58306eaa4ee}


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




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


\hypertarget{classMapTools_a0f81a0a818bbb1c8d07f4e028706a30a}{\index{\-Map\-Tools@{\-Map\-Tools}!search@{search}}
\index{search@{search}!MapTools@{\-Map\-Tools}}
\subsubsection[{search}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Map\-Tools\-::search} (
\begin{DoxyParamCaption}
\item[{\-Distance\-Map \&}]{dmap, }
\item[{const int}]{s\-R, }
\item[{const int}]{s\-C}
\end{DoxyParamCaption}
)}}\label{classMapTools_a0f81a0a818bbb1c8d07f4e028706a30a}


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


\hypertarget{classMapTools_ac320520c767790f69cac8908819efe2f}{\index{\-Map\-Tools@{\-Map\-Tools}!update@{update}}
\index{update@{update}!MapTools@{\-Map\-Tools}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Map\-Tools\-::update} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMapTools_ac320520c767790f69cac8908819efe2f}


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




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




\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-U\-Alberta\-Bot\-\_\-src/\-Projects/\-U\-Alberta\-Bot/\-Source/\hyperlink{MapTools_8h}{\-Map\-Tools.\-h}\item 
\-U\-Alberta\-Bot\-\_\-src/\-Projects/\-U\-Alberta\-Bot/\-Source/\hyperlink{MapTools_8cpp}{\-Map\-Tools.\-cpp}\end{DoxyCompactItemize}
