\hypertarget{classFormation}{\section{\-Formation \-Class \-Reference}
\label{classFormation}\index{\-Formation@{\-Formation}}
}


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



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


\-Collaboration diagram for \-Formation\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=200pt]{classFormation__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classFormation_a884381b3687602b44ff34e6035dd5db0}{\-Formation} (const \hyperlink{classFormation}{\-Formation} \&f)
\item 
\hyperlink{classFormation_a38688743a22856affa41c4ed38f8228e}{\-Formation} (const \hyperlink{structVec}{\-Vec} \&\hyperlink{classFormation_a1ce3cc190651665074eac2f4f229dd00}{center}, const \hyperlink{structVec}{\-Vec} \&\hyperlink{classFormation_a54f575227c20479c13a4e305f6452a42}{direction}=\hyperlink{structVec}{\-Vec}(0, 0))
\item 
\hyperlink{classFormation_ab4c8bc01aa4243cecdaeaaca840fab4e}{\-Formation} (const \-B\-W\-A\-P\-I\-::\-Position \&p, const \hyperlink{structVec}{\-Vec} \&\hyperlink{classFormation_a54f575227c20479c13a4e305f6452a42}{direction}=\hyperlink{structVec}{\-Vec}(0, 0))
\item 
\hyperlink{classFormation_a5b4ffd37549ec211d85e52c916f35eb6}{$\sim$\-Formation} ()
\item 
void \hyperlink{classFormation_a0b5e21f140f4a8478f647a0a6409fc20}{compute\-Mean} ()
\item 
virtual void \hyperlink{classFormation_aed987cd564774a879981cfd4648df046}{compute\-To\-Positions} (const std\-::vector$<$ \hyperlink{BayesianUnit_8h_a2733cae2b679bb7515a0168ab04eb2b8}{p\-Bayesian\-Unit} $>$ \&v\-Unit)
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structVec}{\-Vec} \hyperlink{classFormation_a1ce3cc190651665074eac2f4f229dd00}{center}
\item 
\hyperlink{structVec}{\-Vec} \hyperlink{classFormation_a54f575227c20479c13a4e305f6452a42}{direction}
\item 
\hyperlink{structVec}{\-Vec} \hyperlink{classFormation_a6a63b281ead0480d824e66508ac7ad60}{mean}
\item 
std\-::vector$<$ \-B\-W\-A\-P\-I\-::\-Position $>$ \hyperlink{classFormation_a564b18555a071c84b6ca6600b0b7049f}{end\-\_\-positions}
\item 
int \hyperlink{classFormation_a3a92be151d3e33fa5945b04ae5741227}{space}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classFormation_a884381b3687602b44ff34e6035dd5db0}{\index{\-Formation@{\-Formation}!\-Formation@{\-Formation}}
\index{\-Formation@{\-Formation}!Formation@{\-Formation}}
\subsubsection[{\-Formation}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Formation\-::\-Formation} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Formation} \&}]{f}
\end{DoxyParamCaption}
)}}\label{classFormation_a884381b3687602b44ff34e6035dd5db0}


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


\hypertarget{classFormation_a38688743a22856affa41c4ed38f8228e}{\index{\-Formation@{\-Formation}!\-Formation@{\-Formation}}
\index{\-Formation@{\-Formation}!Formation@{\-Formation}}
\subsubsection[{\-Formation}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Formation\-::\-Formation} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Vec} \&}]{center, }
\item[{const {\bf \-Vec} \&}]{direction = {\ttfamily {\bf \-Vec}(0,0)}}
\end{DoxyParamCaption}
)}}\label{classFormation_a38688743a22856affa41c4ed38f8228e}


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


\hypertarget{classFormation_ab4c8bc01aa4243cecdaeaaca840fab4e}{\index{\-Formation@{\-Formation}!\-Formation@{\-Formation}}
\index{\-Formation@{\-Formation}!Formation@{\-Formation}}
\subsubsection[{\-Formation}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Formation\-::\-Formation} (
\begin{DoxyParamCaption}
\item[{const \-B\-W\-A\-P\-I\-::\-Position \&}]{p, }
\item[{const {\bf \-Vec} \&}]{direction = {\ttfamily {\bf \-Vec}(0,~0)}}
\end{DoxyParamCaption}
)}}\label{classFormation_ab4c8bc01aa4243cecdaeaaca840fab4e}
\hypertarget{classFormation_a5b4ffd37549ec211d85e52c916f35eb6}{\index{\-Formation@{\-Formation}!$\sim$\-Formation@{$\sim$\-Formation}}
\index{$\sim$\-Formation@{$\sim$\-Formation}!Formation@{\-Formation}}
\subsubsection[{$\sim$\-Formation}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Formation\-::$\sim$\-Formation} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classFormation_a5b4ffd37549ec211d85e52c916f35eb6}


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




\subsection{\-Member \-Function \-Documentation}
\hypertarget{classFormation_a0b5e21f140f4a8478f647a0a6409fc20}{\index{\-Formation@{\-Formation}!compute\-Mean@{compute\-Mean}}
\index{compute\-Mean@{compute\-Mean}!Formation@{\-Formation}}
\subsubsection[{compute\-Mean}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Formation\-::compute\-Mean} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classFormation_a0b5e21f140f4a8478f647a0a6409fc20}


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


\hypertarget{classFormation_aed987cd564774a879981cfd4648df046}{\index{\-Formation@{\-Formation}!compute\-To\-Positions@{compute\-To\-Positions}}
\index{compute\-To\-Positions@{compute\-To\-Positions}!Formation@{\-Formation}}
\subsubsection[{compute\-To\-Positions}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-Formation\-::compute\-To\-Positions} (
\begin{DoxyParamCaption}
\item[{const std\-::vector$<$ {\bf p\-Bayesian\-Unit} $>$ \&}]{v\-Unit}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}\label{classFormation_aed987cd564774a879981cfd4648df046}


\-Reimplemented in \hyperlink{classLineFormation_ab8acb9f26aa983aa2e88905b3840c2c3}{\-Line\-Formation}, \hyperlink{classArcFormation_a6b208f418b4815ad51933911a651cf5b}{\-Arc\-Formation}, and \hyperlink{classSquareFormation_abe95977108a57aba8a6d035d08fbb729}{\-Square\-Formation}.



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




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classFormation_a1ce3cc190651665074eac2f4f229dd00}{\index{\-Formation@{\-Formation}!center@{center}}
\index{center@{center}!Formation@{\-Formation}}
\subsubsection[{center}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Vec} {\bf \-Formation\-::center}}}\label{classFormation_a1ce3cc190651665074eac2f4f229dd00}
\hypertarget{classFormation_a54f575227c20479c13a4e305f6452a42}{\index{\-Formation@{\-Formation}!direction@{direction}}
\index{direction@{direction}!Formation@{\-Formation}}
\subsubsection[{direction}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Vec} {\bf \-Formation\-::direction}}}\label{classFormation_a54f575227c20479c13a4e305f6452a42}
\hypertarget{classFormation_a564b18555a071c84b6ca6600b0b7049f}{\index{\-Formation@{\-Formation}!end\-\_\-positions@{end\-\_\-positions}}
\index{end\-\_\-positions@{end\-\_\-positions}!Formation@{\-Formation}}
\subsubsection[{end\-\_\-positions}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$\-B\-W\-A\-P\-I\-::\-Position$>$ {\bf \-Formation\-::end\-\_\-positions}}}\label{classFormation_a564b18555a071c84b6ca6600b0b7049f}
\hypertarget{classFormation_a6a63b281ead0480d824e66508ac7ad60}{\index{\-Formation@{\-Formation}!mean@{mean}}
\index{mean@{mean}!Formation@{\-Formation}}
\subsubsection[{mean}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Vec} {\bf \-Formation\-::mean}}}\label{classFormation_a6a63b281ead0480d824e66508ac7ad60}
\hypertarget{classFormation_a3a92be151d3e33fa5945b04ae5741227}{\index{\-Formation@{\-Formation}!space@{space}}
\index{space@{space}!Formation@{\-Formation}}
\subsubsection[{space}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Formation\-::space}}}\label{classFormation_a3a92be151d3e33fa5945b04ae5741227}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Formations/\hyperlink{Formation_8h}{\-Formation.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Formations/\hyperlink{Formation_8cpp}{\-Formation.\-cpp}\end{DoxyCompactItemize}
