\hypertarget{class_indexed_priority_q_low}{\section{Indexed\-Priority\-Q\-Low$<$ T $>$ Class Template Reference}
\label{class_indexed_priority_q_low}\index{Indexed\-Priority\-Q\-Low$<$ T $>$@{Indexed\-Priority\-Q\-Low$<$ T $>$}}
}


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

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

\item 
bool \hyperlink{class_indexed_priority_q_low_ad509aa19a330003986006e7d7fa6eb3f}{Empty} () const 
\item 
void \hyperlink{class_indexed_priority_q_low_a26f337660ff7233efa9c3f8d803d8541}{Insert} (int index)
\item 
int \hyperlink{class_indexed_priority_q_low_a6594d295e51a4581dcbc6e366f1953c2}{Pop} ()
\item 
void \hyperlink{class_indexed_priority_q_low_a42565bac976227a2232593ac77c9c462}{Change\-Priority} (int index)
\end{DoxyCompactItemize}


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

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

\subsection{Member Function Documentation}
\hypertarget{class_indexed_priority_q_low_a42565bac976227a2232593ac77c9c462}{\index{Indexed\-Priority\-Q\-Low@{Indexed\-Priority\-Q\-Low}!Change\-Priority@{Change\-Priority}}
\index{Change\-Priority@{Change\-Priority}!IndexedPriorityQLow@{Indexed\-Priority\-Q\-Low}}
\subsubsection[{Change\-Priority}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Indexed\-Priority\-Q\-Low}$<$ T $>$\-::Change\-Priority (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_indexed_priority_q_low_a42565bac976227a2232593ac77c9c462}
If the key have changed, update the priority queue accordingly. \hypertarget{class_indexed_priority_q_low_ad509aa19a330003986006e7d7fa6eb3f}{\index{Indexed\-Priority\-Q\-Low@{Indexed\-Priority\-Q\-Low}!Empty@{Empty}}
\index{Empty@{Empty}!IndexedPriorityQLow@{Indexed\-Priority\-Q\-Low}}
\subsubsection[{Empty}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ bool {\bf Indexed\-Priority\-Q\-Low}$<$ T $>$\-::Empty (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_indexed_priority_q_low_ad509aa19a330003986006e7d7fa6eb3f}
Returns true if queue is empty. \hypertarget{class_indexed_priority_q_low_a26f337660ff7233efa9c3f8d803d8541}{\index{Indexed\-Priority\-Q\-Low@{Indexed\-Priority\-Q\-Low}!Insert@{Insert}}
\index{Insert@{Insert}!IndexedPriorityQLow@{Indexed\-Priority\-Q\-Low}}
\subsubsection[{Insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ void {\bf Indexed\-Priority\-Q\-Low}$<$ T $>$\-::Insert (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_indexed_priority_q_low_a26f337660ff7233efa9c3f8d803d8541}
Insert an element. \hypertarget{class_indexed_priority_q_low_a6594d295e51a4581dcbc6e366f1953c2}{\index{Indexed\-Priority\-Q\-Low@{Indexed\-Priority\-Q\-Low}!Pop@{Pop}}
\index{Pop@{Pop}!IndexedPriorityQLow@{Indexed\-Priority\-Q\-Low}}
\subsubsection[{Pop}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T $>$ int {\bf Indexed\-Priority\-Q\-Low}$<$ T $>$\-::Pop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_indexed_priority_q_low_a6594d295e51a4581dcbc6e366f1953c2}
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}
