\hypertarget{class_odin_a_i_1_1_indexed_priority_q_low}{\section{Odin\-A\-I\-:\-:Indexed\-Priority\-Q\-Low$<$ T $>$ Class Template Reference}
\label{class_odin_a_i_1_1_indexed_priority_q_low}\index{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low$<$ T $>$@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low$<$ T $>$}}
}


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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_odin_a_i_1_1_indexed_priority_q_low_a4af38553a84af5630036d8ba6e10e689}{{\bfseries Indexed\-Priority\-Q\-Low} (std\-::vector$<$ T $>$ \&keys, int max\-Size)}\label{class_odin_a_i_1_1_indexed_priority_q_low_a4af38553a84af5630036d8ba6e10e689}

\item 
bool \hyperlink{class_odin_a_i_1_1_indexed_priority_q_low_a9d0f7eed95b1fe5e8e577084f0c0b22d}{Empty} () const 
\item 
void \hyperlink{class_odin_a_i_1_1_indexed_priority_q_low_ac178c9e0d624843428066f1d8a29cc8a}{Insert} (int index)
\item 
int \hyperlink{class_odin_a_i_1_1_indexed_priority_q_low_a562706c7ef713c79608be05c8a077027}{Pop} ()
\item 
void \hyperlink{class_odin_a_i_1_1_indexed_priority_q_low_a62dff173be67854d9796d73b7991fd96}{Change\-Priority} (int index)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$class Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low$<$ T $>$}

Priority queue based on an index of keys. It prioritize the lowest value. 

\subsection{Member Function Documentation}
\hypertarget{class_odin_a_i_1_1_indexed_priority_q_low_a62dff173be67854d9796d73b7991fd96}{\index{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}!Change\-Priority@{Change\-Priority}}
\index{Change\-Priority@{Change\-Priority}!OdinAI::IndexedPriorityQLow@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}}
\subsubsection[{Change\-Priority}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}$<$ T $>$\-::Change\-Priority (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_odin_a_i_1_1_indexed_priority_q_low_a62dff173be67854d9796d73b7991fd96}
If the key have changed, update the priority queue accordingly. \hypertarget{class_odin_a_i_1_1_indexed_priority_q_low_a9d0f7eed95b1fe5e8e577084f0c0b22d}{\index{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}!Empty@{Empty}}
\index{Empty@{Empty}!OdinAI::IndexedPriorityQLow@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}}
\subsubsection[{Empty}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ bool {\bf Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}$<$ T $>$\-::Empty (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_odin_a_i_1_1_indexed_priority_q_low_a9d0f7eed95b1fe5e8e577084f0c0b22d}
Returns true if queue is empty. \hypertarget{class_odin_a_i_1_1_indexed_priority_q_low_ac178c9e0d624843428066f1d8a29cc8a}{\index{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}!Insert@{Insert}}
\index{Insert@{Insert}!OdinAI::IndexedPriorityQLow@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}}
\subsubsection[{Insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}$<$ T $>$\-::Insert (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_odin_a_i_1_1_indexed_priority_q_low_ac178c9e0d624843428066f1d8a29cc8a}
Insert an element. \hypertarget{class_odin_a_i_1_1_indexed_priority_q_low_a562706c7ef713c79608be05c8a077027}{\index{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}!Pop@{Pop}}
\index{Pop@{Pop}!OdinAI::IndexedPriorityQLow@{Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}}
\subsubsection[{Pop}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ int {\bf Odin\-A\-I\-::\-Indexed\-Priority\-Q\-Low}$<$ T $>$\-::Pop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_odin_a_i_1_1_indexed_priority_q_low_a562706c7ef713c79608be05c8a077027}
Returns the element with the lowest value. 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
E\-:/\-Development/\-Projects/\-Odin\-A\-I/\-Include/\-Odin\-A\-I/Priority\-Queue.\-h\end{DoxyCompactItemize}
