\hypertarget{a00121}{
\section{mln::accu::stat::min\_\-h$<$ V $>$ Struct Template Reference}
\label{d8/dfa/a00121}\index{mln::accu::stat::min\_\-h@{mln::accu::stat::min\_\-h}}
}


Generic min function based on histogram over a value set with type {\ttfamily V}.  




{\ttfamily \#include $<$min\_\-h.hh$>$}



Inherits base$<$ const V \&, min\_\-h$<$ V $>$ $>$.

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a00121_a8557461acfef7bfba0a4a163be28e19a}{is\_\-valid} () const 
\begin{DoxyCompactList}\small\item\em Check whether this accu is able to return a result. \item\end{DoxyCompactList}\item 
void \hyperlink{a00026_a745794a4ef16926d3c09ebbaa8b6b557}{take\_\-as\_\-init} (const T \&t)
\begin{DoxyCompactList}\small\item\em Take as initialization the value {\ttfamily t}. \item\end{DoxyCompactList}\item 
void \hyperlink{a00026_a138e094daa1a85f345bbdfd852c9fc67}{take\_\-n\_\-times} (unsigned n, const T \&t)
\begin{DoxyCompactList}\small\item\em Take {\ttfamily n} times the value {\ttfamily t}. \item\end{DoxyCompactList}\item 
const argument \& \hyperlink{a00121_acc686f9875031fb9ca932463f98c0494}{to\_\-result} () const 
\begin{DoxyCompactList}\small\item\em Get the value of the accumulator. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00121_ad9c8ae7d69263b10f154c445b1c9d205}{init} ()
\begin{DoxyCompactList}\small\item\em Manipulators. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
\subsubsection*{template$<$typename V$>$ struct mln::accu::stat::min\_\-h$<$ V $>$}

Generic min function based on histogram over a value set with type {\ttfamily V}. 

Definition at line 100 of file min\_\-h.hh.



\subsection{Member Function Documentation}
\hypertarget{a00121_ad9c8ae7d69263b10f154c445b1c9d205}{
\index{mln::accu::stat::min\_\-h@{mln::accu::stat::min\_\-h}!init@{init}}
\index{init@{init}!mln::accu::stat::min_h@{mln::accu::stat::min\_\-h}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V $>$ void {\bf mln::accu::stat::min\_\-h}$<$ V $>$::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/dfa/a00121_ad9c8ae7d69263b10f154c445b1c9d205}


Manipulators. 



Definition at line 256 of file min\_\-h.hh.

\hypertarget{a00121_a8557461acfef7bfba0a4a163be28e19a}{
\index{mln::accu::stat::min\_\-h@{mln::accu::stat::min\_\-h}!is\_\-valid@{is\_\-valid}}
\index{is\_\-valid@{is\_\-valid}!mln::accu::stat::min_h@{mln::accu::stat::min\_\-h}}
\subsubsection[{is\_\-valid}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V $>$ bool {\bf mln::accu::stat::min\_\-h}$<$ V $>$::is\_\-valid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/dfa/a00121_a8557461acfef7bfba0a4a163be28e19a}


Check whether this accu is able to return a result. 

Always true here. 

Definition at line 298 of file min\_\-h.hh.

\hypertarget{a00026_a745794a4ef16926d3c09ebbaa8b6b557}{
\index{mln::accu::stat::min\_\-h@{mln::accu::stat::min\_\-h}!take\_\-as\_\-init@{take\_\-as\_\-init}}
\index{take\_\-as\_\-init@{take\_\-as\_\-init}!mln::accu::stat::min_h@{mln::accu::stat::min\_\-h}}
\subsubsection[{take\_\-as\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf mln::Accumulator}$<$ {\bf min\_\-h}$<$ V $>$  $>$::take\_\-as\_\-init (
\begin{DoxyParamCaption}
\item[{const T \&}]{ t}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inherited\mbox{]}}}}
\label{d6/d5b/a00026_a745794a4ef16926d3c09ebbaa8b6b557}


Take as initialization the value {\ttfamily t}. 

Dev note: this is a final method; override if needed by take\_\-as\_\-init\_\- (ending with '\_\-'). \hypertarget{a00026_a138e094daa1a85f345bbdfd852c9fc67}{
\index{mln::accu::stat::min\_\-h@{mln::accu::stat::min\_\-h}!take\_\-n\_\-times@{take\_\-n\_\-times}}
\index{take\_\-n\_\-times@{take\_\-n\_\-times}!mln::accu::stat::min_h@{mln::accu::stat::min\_\-h}}
\subsubsection[{take\_\-n\_\-times}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf mln::Accumulator}$<$ {\bf min\_\-h}$<$ V $>$  $>$::take\_\-n\_\-times (
\begin{DoxyParamCaption}
\item[{unsigned}]{ n, }
\item[{const T \&}]{ t}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inherited\mbox{]}}}}
\label{d6/d5b/a00026_a138e094daa1a85f345bbdfd852c9fc67}


Take {\ttfamily n} times the value {\ttfamily t}. 

Dev note: this is a final method; override if needed by take\_\-as\_\-init\_\- (ending with '\_\-'). \hypertarget{a00121_acc686f9875031fb9ca932463f98c0494}{
\index{mln::accu::stat::min\_\-h@{mln::accu::stat::min\_\-h}!to\_\-result@{to\_\-result}}
\index{to\_\-result@{to\_\-result}!mln::accu::stat::min_h@{mln::accu::stat::min\_\-h}}
\subsubsection[{to\_\-result}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename V $>$ const {\bf min\_\-h}$<$ V $>$::argument \& {\bf mln::accu::stat::min\_\-h}$<$ V $>$::to\_\-result (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d8/dfa/a00121_acc686f9875031fb9ca932463f98c0494}


Get the value of the accumulator. 



Definition at line 280 of file min\_\-h.hh.

