\hypertarget{a00321}{
\section{mln::p\_\-set\_\-of$<$ S $>$ Class Template Reference}
\label{db/d53/a00321}\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}}
}


\hyperlink{a00321}{p\_\-set\_\-of} is a set of site sets.  




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



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

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef p\_\-double\_\-piter$<$ \hyperlink{a00321}{self\_\-}, mln\_\-bkd\_\-eiter(\hyperlink{a00409}{set\_\-}), typename S::bkd\_\-piter $>$ \hyperlink{a00321_a74c374df156a0ec44448de2b909c9895}{bkd\_\-piter}
\begin{DoxyCompactList}\small\item\em Backward \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef S \hyperlink{a00321_aa2656d84b36dd351bc3647b6c80ac01a}{element}
\begin{DoxyCompactList}\small\item\em Element associated type. \item\end{DoxyCompactList}\item 
typedef p\_\-double\_\-piter$<$ \hyperlink{a00321}{self\_\-}, mln\_\-fwd\_\-eiter(\hyperlink{a00409}{set\_\-}), typename S::fwd\_\-piter $>$ \hyperlink{a00321_acd48affeb799c2ec2ef6f0c32af58ff6}{fwd\_\-piter}
\begin{DoxyCompactList}\small\item\em Forward \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef S \hyperlink{a00321_a35a77496432849b09ed451a033bbb33f}{i\_\-element}
\begin{DoxyCompactList}\small\item\em Insertion element associated type. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00321_acd48affeb799c2ec2ef6f0c32af58ff6}{fwd\_\-piter} \hyperlink{a00321_a589ef9a802943ce4c464963510ea1547}{piter}
\begin{DoxyCompactList}\small\item\em \hyperlink{a00345}{Site\_\-Iterator} associated type. \item\end{DoxyCompactList}\item 
typedef p\_\-double\_\-psite$<$ \hyperlink{a00321}{self\_\-}, \hyperlink{a00321_aa2656d84b36dd351bc3647b6c80ac01a}{element} $>$ \hyperlink{a00321_a4b25f570c448d32584948fa20a295239}{psite}
\begin{DoxyCompactList}\small\item\em Psite associated type. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00321_a754a6c89ea4288226abaac22421ca117}{clear} ()
\begin{DoxyCompactList}\small\item\em Clear this set. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00321_a29827549de5ced25f97911f31c8584ff}{has} (const \hyperlink{a00321_a4b25f570c448d32584948fa20a295239}{psite} \&p) const 
\begin{DoxyCompactList}\small\item\em Test if {\ttfamily p} belongs to this point set. \item\end{DoxyCompactList}\item 
void \hyperlink{a00321_a0e3f2a53c89066a595f654931267e2ea}{insert} (const S \&s)
\begin{DoxyCompactList}\small\item\em Insert a site set {\ttfamily s}. \item\end{DoxyCompactList}\item 
bool \hyperlink{a00321_a6f145a0ba9b97962654c44608d0f3e88}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Test if this set of runs is valid. \item\end{DoxyCompactList}\item 
std::size\_\-t \hyperlink{a00321_af1aba84c5294716f4dea3d04b6d554d2}{memory\_\-size} () const 
\begin{DoxyCompactList}\small\item\em Return the size of this site set in memory. \item\end{DoxyCompactList}\item 
unsigned \hyperlink{a00321_a03167d564add9ffc47a031d8adc5cb2b}{nelements} () const 
\begin{DoxyCompactList}\small\item\em Give the number of elements (site sets) of this composite. \item\end{DoxyCompactList}\item 
const S \& \hyperlink{a00321_aef23e2ab8947220d0304929c5682f980}{operator\mbox{[}$\,$\mbox{]}} (unsigned i) const 
\begin{DoxyCompactList}\small\item\em Return the {\ttfamily i-\/th} site set. \item\end{DoxyCompactList}\item 
\hyperlink{a00321_ae9716b70514de5c333f1846fd5ff549d}{p\_\-set\_\-of} ()
\begin{DoxyCompactList}\small\item\em Constructor without arguments. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


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

\hyperlink{a00321}{p\_\-set\_\-of} is a set of site sets. Parameter {\ttfamily S} is the type of the contained site sets. 

Definition at line 71 of file p\_\-set\_\-of.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00321_a74c374df156a0ec44448de2b909c9895}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!bkd\_\-piter@{bkd\_\-piter}}
\index{bkd\_\-piter@{bkd\_\-piter}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{bkd\_\-piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ typedef p\_\-double\_\-piter$<${\bf self\_\-}, mln\_\-bkd\_\-eiter({\bf set\_\-}), typename S ::{\bf bkd\_\-piter}$>$ {\bf mln::p\_\-set\_\-of}$<$ S $>$::{\bf bkd\_\-piter}}}
\label{db/d53/a00321_a74c374df156a0ec44448de2b909c9895}


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



Definition at line 95 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_aa2656d84b36dd351bc3647b6c80ac01a}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!element@{element}}
\index{element@{element}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ typedef S {\bf mln::p\_\-set\_\-of}$<$ S $>$::{\bf element}}}
\label{db/d53/a00321_aa2656d84b36dd351bc3647b6c80ac01a}


Element associated type. 



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

\hypertarget{a00321_acd48affeb799c2ec2ef6f0c32af58ff6}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!fwd\_\-piter@{fwd\_\-piter}}
\index{fwd\_\-piter@{fwd\_\-piter}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{fwd\_\-piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ typedef p\_\-double\_\-piter$<${\bf self\_\-}, mln\_\-fwd\_\-eiter({\bf set\_\-}), typename S ::{\bf fwd\_\-piter}$>$ {\bf mln::p\_\-set\_\-of}$<$ S $>$::{\bf fwd\_\-piter}}}
\label{db/d53/a00321_acd48affeb799c2ec2ef6f0c32af58ff6}


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



Definition at line 90 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_a35a77496432849b09ed451a033bbb33f}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!i\_\-element@{i\_\-element}}
\index{i\_\-element@{i\_\-element}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{i\_\-element}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ typedef S {\bf mln::p\_\-set\_\-of}$<$ S $>$::{\bf i\_\-element}}}
\label{db/d53/a00321_a35a77496432849b09ed451a033bbb33f}


Insertion element associated type. 



Definition at line 113 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_a589ef9a802943ce4c464963510ea1547}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!piter@{piter}}
\index{piter@{piter}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{piter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ typedef {\bf fwd\_\-piter} {\bf mln::p\_\-set\_\-of}$<$ S $>$::{\bf piter}}}
\label{db/d53/a00321_a589ef9a802943ce4c464963510ea1547}


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



Definition at line 98 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_a4b25f570c448d32584948fa20a295239}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!psite@{psite}}
\index{psite@{psite}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{psite}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ typedef p\_\-double\_\-psite$<${\bf self\_\-}, {\bf element}$>$ {\bf mln::p\_\-set\_\-of}$<$ S $>$::{\bf psite}}}
\label{db/d53/a00321_a4b25f570c448d32584948fa20a295239}


Psite associated type. 



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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00321_ae9716b70514de5c333f1846fd5ff549d}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!p\_\-set\_\-of@{p\_\-set\_\-of}}
\index{p\_\-set\_\-of@{p\_\-set\_\-of}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{p\_\-set\_\-of}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ {\bf mln::p\_\-set\_\-of}$<$ S $>$::{\bf p\_\-set\_\-of} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d53/a00321_ae9716b70514de5c333f1846fd5ff549d}


Constructor without arguments. 



Definition at line 160 of file p\_\-set\_\-of.hh.



\subsection{Member Function Documentation}
\hypertarget{a00321_a754a6c89ea4288226abaac22421ca117}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!clear@{clear}}
\index{clear@{clear}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ void {\bf mln::p\_\-set\_\-of}$<$ S $>$::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d53/a00321_a754a6c89ea4288226abaac22421ca117}


Clear this set. 



Definition at line 211 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_a29827549de5ced25f97911f31c8584ff}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!has@{has}}
\index{has@{has}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{has}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ bool {\bf mln::p\_\-set\_\-of}$<$ S $>$::has (
\begin{DoxyParamCaption}
\item[{const {\bf psite} \&}]{ p}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d53/a00321_a29827549de5ced25f97911f31c8584ff}


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



Definition at line 167 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_a0e3f2a53c89066a595f654931267e2ea}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!insert@{insert}}
\index{insert@{insert}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{insert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ void {\bf mln::p\_\-set\_\-of}$<$ S $>$::insert (
\begin{DoxyParamCaption}
\item[{const S \&}]{ s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d53/a00321_a0e3f2a53c89066a595f654931267e2ea}


Insert a site set {\ttfamily s}. 



Definition at line 183 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_a6f145a0ba9b97962654c44608d0f3e88}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ bool {\bf mln::p\_\-set\_\-of}$<$ S $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d53/a00321_a6f145a0ba9b97962654c44608d0f3e88}


Test if this set of runs is valid. 



Definition at line 175 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_af1aba84c5294716f4dea3d04b6d554d2}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!memory\_\-size@{memory\_\-size}}
\index{memory\_\-size@{memory\_\-size}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{memory\_\-size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ std::size\_\-t {\bf mln::p\_\-set\_\-of}$<$ S $>$::memory\_\-size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d53/a00321_af1aba84c5294716f4dea3d04b6d554d2}


Return the size of this site set in memory. 



Definition at line 220 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_a03167d564add9ffc47a031d8adc5cb2b}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!nelements@{nelements}}
\index{nelements@{nelements}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{nelements}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ unsigned {\bf mln::p\_\-set\_\-of}$<$ S $>$::nelements (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d53/a00321_a03167d564add9ffc47a031d8adc5cb2b}


Give the number of elements (site sets) of this composite. 



Definition at line 203 of file p\_\-set\_\-of.hh.

\hypertarget{a00321_aef23e2ab8947220d0304929c5682f980}{
\index{mln::p\_\-set\_\-of@{mln::p\_\-set\_\-of}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!mln::p_set_of@{mln::p\_\-set\_\-of}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename S $>$ const S \& {\bf mln::p\_\-set\_\-of}$<$ S $>$::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{unsigned}]{ i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d53/a00321_aef23e2ab8947220d0304929c5682f980}


Return the {\ttfamily i-\/th} site set. 



Definition at line 194 of file p\_\-set\_\-of.hh.

