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


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



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


\-Collaboration diagram for \-Square\-Formation\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classSquareFormation__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classSquareFormation_a094ad6ba5fdf8e931df2cc7227d12717}{\-Square\-Formation} (const \hyperlink{classSquareFormation}{\-Square\-Formation} \&f)
\item 
\hyperlink{classSquareFormation_aabfafbde4e3826bac5840fd23afbea99}{\-Square\-Formation} (const \hyperlink{structVec}{\-Vec} \&\hyperlink{classFormation_a1ce3cc190651665074eac2f4f229dd00}{center}, const \hyperlink{structVec}{\-Vec} \&\hyperlink{classFormation_a54f575227c20479c13a4e305f6452a42}{direction}=\hyperlink{structVec}{\-Vec}(0, 0))
\item 
\hyperlink{classSquareFormation_a77a4b5f221ebd33890ab8983f04102ff}{\-Square\-Formation} (const \-B\-W\-A\-P\-I\-::\-Position \&p, const \hyperlink{structVec}{\-Vec} \&\hyperlink{classFormation_a54f575227c20479c13a4e305f6452a42}{direction}=\hyperlink{structVec}{\-Vec}(0, 0))
\item 
virtual void \hyperlink{classSquareFormation_abe95977108a57aba8a6d035d08fbb729}{compute\-To\-Positions} (const std\-::vector$<$ \hyperlink{BayesianUnit_8h_a2733cae2b679bb7515a0168ab04eb2b8}{p\-Bayesian\-Unit} $>$ \&v\-Units)
\item 
virtual void \hyperlink{classSquareFormation_a00691f87cdb7029107da0857cc9485ca}{compute\-To\-Positions} (const std\-::vector$<$ \hyperlink{BayesianUnit_8h_a2733cae2b679bb7515a0168ab04eb2b8}{p\-Bayesian\-Unit} $>$ \&v\-Units, unsigned int unwanted\-Slots)
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classSquareFormation_a094ad6ba5fdf8e931df2cc7227d12717}{\index{\-Square\-Formation@{\-Square\-Formation}!\-Square\-Formation@{\-Square\-Formation}}
\index{\-Square\-Formation@{\-Square\-Formation}!SquareFormation@{\-Square\-Formation}}
\subsubsection[{\-Square\-Formation}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Square\-Formation\-::\-Square\-Formation} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Square\-Formation} \&}]{f}
\end{DoxyParamCaption}
)}}\label{classSquareFormation_a094ad6ba5fdf8e931df2cc7227d12717}
\hypertarget{classSquareFormation_aabfafbde4e3826bac5840fd23afbea99}{\index{\-Square\-Formation@{\-Square\-Formation}!\-Square\-Formation@{\-Square\-Formation}}
\index{\-Square\-Formation@{\-Square\-Formation}!SquareFormation@{\-Square\-Formation}}
\subsubsection[{\-Square\-Formation}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Square\-Formation\-::\-Square\-Formation} (
\begin{DoxyParamCaption}
\item[{const {\bf \-Vec} \&}]{center, }
\item[{const {\bf \-Vec} \&}]{direction = {\ttfamily {\bf \-Vec}(0,0)}}
\end{DoxyParamCaption}
)}}\label{classSquareFormation_aabfafbde4e3826bac5840fd23afbea99}
\hypertarget{classSquareFormation_a77a4b5f221ebd33890ab8983f04102ff}{\index{\-Square\-Formation@{\-Square\-Formation}!\-Square\-Formation@{\-Square\-Formation}}
\index{\-Square\-Formation@{\-Square\-Formation}!SquareFormation@{\-Square\-Formation}}
\subsubsection[{\-Square\-Formation}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Square\-Formation\-::\-Square\-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{classSquareFormation_a77a4b5f221ebd33890ab8983f04102ff}


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


\-Reimplemented from \hyperlink{classFormation_aed987cd564774a879981cfd4648df046}{\-Formation}.



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


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


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




\-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{SquareFormation_8h}{\-Square\-Formation.\-h}\item 
\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Formations/\hyperlink{SquareFormation_8cpp}{\-Square\-Formation.\-cpp}\end{DoxyCompactItemize}
