\hypertarget{a00324}{
\section{mln::p\_\-vaccess$<$ V, S $>$ Class Template Reference}
\label{d4/d8f/a00324}\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}}
}


\hyperlink{a00343}{Site} set in which sites are grouped by their associated value.  




{\ttfamily \#include $<$p\_\-vaccess.hh$>$}



Inherits site\_\-set\_\-base\_\-$<$ S::site, p\_\-vaccess$<$ V, S $>$ $>$, and site\_\-set\_\-impl$<$ S $>$.

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef p\_\-double\_\-piter$<$ \hyperlink{a00324}{self\_\-}, typename vset::bkd\_\-viter, typename S::bkd\_\-piter $>$ \hyperlink{a00324_ad41c81f3c6d0820781689008ca3c66cb}{bkd\_\-piter}
\begin{DoxyCompactList}\small\item\em Backward \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef S::element \hyperlink{a00324_a22e6ce09df4eb11fee8dcdb6c1abafbe}{element}
\begin{DoxyCompactList}\small\item\em Element associated type. \item\end{DoxyCompactList}\item 
typedef p\_\-double\_\-piter$<$ \hyperlink{a00324}{self\_\-}, typename vset::fwd\_\-viter, typename S::fwd\_\-piter $>$ \hyperlink{a00324_a33b354a158bf322abd7c43163485f991}{fwd\_\-piter}
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef std::pair$<$ V, \hyperlink{a00324_a22e6ce09df4eb11fee8dcdb6c1abafbe}{element} $>$ \hyperlink{a00324_a100a3da875fdbed36d50e6d726db97c9}{i\_\-element}
\begin{DoxyCompactList}\small\item\em Insertion element associated type. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00324_a33b354a158bf322abd7c43163485f991}{fwd\_\-piter} \hyperlink{a00324_a7bcd6c33c86ccf59b50a06bac1c7e4be}{piter}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef S \hyperlink{a00324_a0fe28f5f81d4c17785250a1e78f5e9fc}{pset}
\begin{DoxyCompactList}\small\item\em Inner site set associated type. \item\end{DoxyCompactList}\item 
typedef p\_\-double\_\-psite$<$ \hyperlink{a00324}{self\_\-}, S $>$ \hyperlink{a00324_a5f50e7fcc58d576ac47ee8d45aa44c8c}{psite}
\begin{DoxyCompactList}\small\item\em Psite associated type. \item\end{DoxyCompactList}\item 
typedef V \hyperlink{a00324_ad8cec586a7299982fe6ce2f95b6da259}{value}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00418}{Value} associated type. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00432}{mln::value::set}$<$ V $>$ \hyperlink{a00324_a580880ad1be3376f2a98c2d7cbab7b19}{vset}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00438}{Value\_\-Set} associated type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a00324_ad4bf4bbc53c23ecf93879db6756e3d17}{has} (const \hyperlink{a00324_a5f50e7fcc58d576ac47ee8d45aa44c8c}{psite} \&p) const 
\begin{DoxyCompactList}\small\item\em Test if {\ttfamily p} belongs to this site set. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00324_ae9f79a7408ae780a2db02a3c135b0727}{has} (const V \&v, const typename S::psite \&p) const 
\begin{DoxyCompactList}\small\item\em Test if the couple (value {\ttfamily v}, psite {\ttfamily p}) belongs to this site set. \item\end{DoxyCompactList}\item 
void \hyperlink{a00324_a4ac1644d632b496cd588aebb4bc88eb6}{insert} (const \hyperlink{a00324_a100a3da875fdbed36d50e6d726db97c9}{i\_\-element} \&v\_\-e)
\begin{DoxyCompactList}\small\item\em Insert a pair {\ttfamily v\_\-e} (value v, element e). \item\end{DoxyCompactList}\item 
void \hyperlink{a00324_ac1354d6c9f3394add07a4ece8b0ee5d1}{insert} (const V \&v, const \hyperlink{a00324_a22e6ce09df4eb11fee8dcdb6c1abafbe}{element} \&e)
\begin{DoxyCompactList}\small\item\em Insert {\ttfamily e} at value {\ttfamily v}. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00324_a186c9679d2784be608dec0b00ae7fc8e}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Test if this site set is valid. \item\end{DoxyCompactList}\item 
std::size\_\-t \hyperlink{a00324_ab631c89422523f4cb002d4cfd0b1b56f}{memory\_\-size} () const 
\begin{DoxyCompactList}\small\item\em Return the size of this site set in memory. \item\end{DoxyCompactList}\item 
const S \& \hyperlink{a00324_a623fb407a70915664b19be38737b8565}{operator()} (const V \&v) const 
\begin{DoxyCompactList}\small\item\em Return the site set at value {\ttfamily v}. \item\end{DoxyCompactList}\item 
\hyperlink{a00324_a36cf6ec0c9418f6a7e2b7e3fcdcb41f0}{p\_\-vaccess} ()
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
const \hyperlink{a00432}{mln::value::set}$<$ V $>$ \& \hyperlink{a00324_a6f031a8276578331e33c0b0261d47914}{values} () const 
\begin{DoxyCompactList}\small\item\em Give the set of values. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename V, typename S$>$ class mln::p\_\-vaccess$<$ V, S $>$}

\hyperlink{a00343}{Site} set in which sites are grouped by their associated value. 

Definition at line 70 of file p\_\-vaccess.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00324_ad41c81f3c6d0820781689008ca3c66cb}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!bkd\_\-piter@{bkd\_\-piter}}
\index{bkd\_\-piter@{bkd\_\-piter}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{bkd\_\-piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef p\_\-double\_\-piter$<${\bf self\_\-}, typename {\bf vset} ::bkd\_\-viter, typename S ::{\bf bkd\_\-piter}$>$ {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf bkd\_\-piter}}}
\label{d4/d8f/a00324_ad41c81f3c6d0820781689008ca3c66cb}


Backward \hyperlink{a00345}{Site\_\-Iterator} associated type. 



Definition at line 94 of file p\_\-vaccess.hh.

\hypertarget{a00324_a22e6ce09df4eb11fee8dcdb6c1abafbe}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!element@{element}}
\index{element@{element}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef S ::{\bf element} {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf element}}}
\label{d4/d8f/a00324_a22e6ce09df4eb11fee8dcdb6c1abafbe}


Element associated type. 



Definition at line 117 of file p\_\-vaccess.hh.

\hypertarget{a00324_a33b354a158bf322abd7c43163485f991}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!fwd\_\-piter@{fwd\_\-piter}}
\index{fwd\_\-piter@{fwd\_\-piter}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{fwd\_\-piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef p\_\-double\_\-piter$<${\bf self\_\-}, typename {\bf vset} ::fwd\_\-viter, typename S ::{\bf fwd\_\-piter}$>$ {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf fwd\_\-piter}}}
\label{d4/d8f/a00324_a33b354a158bf322abd7c43163485f991}


Forward \hyperlink{a00345}{Site\_\-Iterator} associated type. 



Definition at line 91 of file p\_\-vaccess.hh.

\hypertarget{a00324_a100a3da875fdbed36d50e6d726db97c9}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!i\_\-element@{i\_\-element}}
\index{i\_\-element@{i\_\-element}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{i\_\-element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef std::pair$<$V, {\bf element}$>$ {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf i\_\-element}}}
\label{d4/d8f/a00324_a100a3da875fdbed36d50e6d726db97c9}


Insertion element associated type. 



Definition at line 120 of file p\_\-vaccess.hh.

\hypertarget{a00324_a7bcd6c33c86ccf59b50a06bac1c7e4be}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!piter@{piter}}
\index{piter@{piter}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef {\bf fwd\_\-piter} {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf piter}}}
\label{d4/d8f/a00324_a7bcd6c33c86ccf59b50a06bac1c7e4be}


\hyperlink{a00345}{Site\_\-Iterator} associated type. 



Definition at line 97 of file p\_\-vaccess.hh.

\hypertarget{a00324_a0fe28f5f81d4c17785250a1e78f5e9fc}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!pset@{pset}}
\index{pset@{pset}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{pset}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef S {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf pset}}}
\label{d4/d8f/a00324_a0fe28f5f81d4c17785250a1e78f5e9fc}


Inner site set associated type. 



Definition at line 85 of file p\_\-vaccess.hh.

\hypertarget{a00324_a5f50e7fcc58d576ac47ee8d45aa44c8c}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!psite@{psite}}
\index{psite@{psite}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{psite}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef p\_\-double\_\-psite$<${\bf self\_\-}, S$>$ {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf psite}}}
\label{d4/d8f/a00324_a5f50e7fcc58d576ac47ee8d45aa44c8c}


Psite associated type. 



Definition at line 88 of file p\_\-vaccess.hh.

\hypertarget{a00324_ad8cec586a7299982fe6ce2f95b6da259}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!value@{value}}
\index{value@{value}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef V {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf value}}}
\label{d4/d8f/a00324_ad8cec586a7299982fe6ce2f95b6da259}


\hyperlink{a00418}{Value} associated type. 



Definition at line 78 of file p\_\-vaccess.hh.

\hypertarget{a00324_a580880ad1be3376f2a98c2d7cbab7b19}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!vset@{vset}}
\index{vset@{vset}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{vset}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ typedef {\bf mln::value::set}$<$V$>$ {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf vset}}}
\label{d4/d8f/a00324_a580880ad1be3376f2a98c2d7cbab7b19}


\hyperlink{a00438}{Value\_\-Set} associated type. 



Definition at line 81 of file p\_\-vaccess.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00324_a36cf6ec0c9418f6a7e2b7e3fcdcb41f0}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!p\_\-vaccess@{p\_\-vaccess}}
\index{p\_\-vaccess@{p\_\-vaccess}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{p\_\-vaccess}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ {\bf mln::p\_\-vaccess}$<$ V, S $>$::{\bf p\_\-vaccess} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_a36cf6ec0c9418f6a7e2b7e3fcdcb41f0}


Constructor. 



Definition at line 163 of file p\_\-vaccess.hh.



\subsection{Member Function Documentation}
\hypertarget{a00324_ae9f79a7408ae780a2db02a3c135b0727}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!has@{has}}
\index{has@{has}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ bool {\bf mln::p\_\-vaccess}$<$ V, S $>$::has (
\begin{DoxyParamCaption}
\item[{const V \&}]{ v, }
\item[{const typename S::psite \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_ae9f79a7408ae780a2db02a3c135b0727}


Test if the couple (value {\ttfamily v}, psite {\ttfamily p}) belongs to this site set. 



Definition at line 189 of file p\_\-vaccess.hh.

\hypertarget{a00324_ad4bf4bbc53c23ecf93879db6756e3d17}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!has@{has}}
\index{has@{has}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ bool {\bf mln::p\_\-vaccess}$<$ V, S $>$::has (
\begin{DoxyParamCaption}
\item[{const {\bf psite} \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_ad4bf4bbc53c23ecf93879db6756e3d17}


Test if {\ttfamily p} belongs to this site set. 



Definition at line 180 of file p\_\-vaccess.hh.

\hypertarget{a00324_a4ac1644d632b496cd588aebb4bc88eb6}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!insert@{insert}}
\index{insert@{insert}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ void {\bf mln::p\_\-vaccess}$<$ V, S $>$::insert (
\begin{DoxyParamCaption}
\item[{const {\bf i\_\-element} \&}]{ v\_\-e}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_a4ac1644d632b496cd588aebb4bc88eb6}


Insert a pair {\ttfamily v\_\-e} (value v, element e). 



Definition at line 216 of file p\_\-vaccess.hh.

\hypertarget{a00324_ac1354d6c9f3394add07a4ece8b0ee5d1}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!insert@{insert}}
\index{insert@{insert}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ void {\bf mln::p\_\-vaccess}$<$ V, S $>$::insert (
\begin{DoxyParamCaption}
\item[{const V \&}]{ v, }
\item[{const {\bf element} \&}]{ e}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_ac1354d6c9f3394add07a4ece8b0ee5d1}


Insert {\ttfamily e} at value {\ttfamily v}. 



Definition at line 206 of file p\_\-vaccess.hh.

\hypertarget{a00324_a186c9679d2784be608dec0b00ae7fc8e}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ bool {\bf mln::p\_\-vaccess}$<$ V, S $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_a186c9679d2784be608dec0b00ae7fc8e}


Test if this site set is valid. 



Definition at line 197 of file p\_\-vaccess.hh.

\hypertarget{a00324_ab631c89422523f4cb002d4cfd0b1b56f}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!memory\_\-size@{memory\_\-size}}
\index{memory\_\-size@{memory\_\-size}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{memory\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ std::size\_\-t {\bf mln::p\_\-vaccess}$<$ V, S $>$::memory\_\-size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_ab631c89422523f4cb002d4cfd0b1b56f}


Return the size of this site set in memory. 



Definition at line 242 of file p\_\-vaccess.hh.

\hypertarget{a00324_a623fb407a70915664b19be38737b8565}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!operator()@{operator()}}
\index{operator()@{operator()}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ const S \& {\bf mln::p\_\-vaccess}$<$ V, S $>$::operator() (
\begin{DoxyParamCaption}
\item[{const V \&}]{ v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_a623fb407a70915664b19be38737b8565}


Return the site set at value {\ttfamily v}. 



Definition at line 234 of file p\_\-vaccess.hh.

\hypertarget{a00324_a6f031a8276578331e33c0b0261d47914}{
\index{mln::p\_\-vaccess@{mln::p\_\-vaccess}!values@{values}}
\index{values@{values}!mln::p_vaccess@{mln::p\_\-vaccess}}
\subsubsection[{values}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V , typename S $>$ const {\bf mln::value::set}$<$ V $>$ \& {\bf mln::p\_\-vaccess}$<$ V, S $>$::values (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d4/d8f/a00324_a6f031a8276578331e33c0b0261d47914}


Give the set of values. 



Definition at line 254 of file p\_\-vaccess.hh.

