\section{Recommendation\+Visitor$<$ Neighbor\+Search\+Policy, Interpolation\+Policy $>$ Class Template Reference}
\label{classmlpack_1_1cf_1_1RecommendationVisitor}\index{Recommendation\+Visitor$<$ Neighbor\+Search\+Policy, Interpolation\+Policy $>$@{Recommendation\+Visitor$<$ Neighbor\+Search\+Policy, Interpolation\+Policy $>$}}


\doxyref{Recommendation\+Visitor}{p.}{classmlpack_1_1cf_1_1RecommendationVisitor} uses the \doxyref{C\+F\+Type}{p.}{classmlpack_1_1cf_1_1CFType} object to get recommendations for the given users.  




Inheritance diagram for Recommendation\+Visitor$<$ Neighbor\+Search\+Policy, Interpolation\+Policy $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=169pt]{classmlpack_1_1cf_1_1RecommendationVisitor__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Recommendation\+Visitor} (const size\+\_\+t num\+Recs, arma\+::\+Mat$<$ size\+\_\+t $>$ \&recommendations, const arma\+::\+Col$<$ size\+\_\+t $>$ \&users, const bool users\+Given)
\begin{DoxyCompactList}\small\item\em Visitor constructor. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Decomposition\+Policy , typename Normalization\+Type  = No\+Normalization$>$ }\\void \textbf{ operator()} (\textbf{ C\+F\+Type}$<$ Decomposition\+Policy, Normalization\+Type $>$ $\ast$c) const
\begin{DoxyCompactList}\small\item\em Generates the given number of recommendations. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Neighbor\+Search\+Policy, typename Interpolation\+Policy$>$\newline
class mlpack\+::cf\+::\+Recommendation\+Visitor$<$ Neighbor\+Search\+Policy, Interpolation\+Policy $>$}

\doxyref{Recommendation\+Visitor}{p.}{classmlpack_1_1cf_1_1RecommendationVisitor} uses the \doxyref{C\+F\+Type}{p.}{classmlpack_1_1cf_1_1CFType} object to get recommendations for the given users. 

Definition at line 93 of file cf\+\_\+model.\+hpp.



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1cf_1_1RecommendationVisitor_ab148dd4c7bfb8ea61eccc26b32bf2ce8}} 
\index{mlpack\+::cf\+::\+Recommendation\+Visitor@{mlpack\+::cf\+::\+Recommendation\+Visitor}!Recommendation\+Visitor@{Recommendation\+Visitor}}
\index{Recommendation\+Visitor@{Recommendation\+Visitor}!mlpack\+::cf\+::\+Recommendation\+Visitor@{mlpack\+::cf\+::\+Recommendation\+Visitor}}
\subsubsection{Recommendation\+Visitor()}
{\footnotesize\ttfamily \textbf{ Recommendation\+Visitor} (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{num\+Recs,  }\item[{arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{recommendations,  }\item[{const arma\+::\+Col$<$ size\+\_\+t $>$ \&}]{users,  }\item[{const bool}]{users\+Given }\end{DoxyParamCaption})}



Visitor constructor. 



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1cf_1_1RecommendationVisitor_ade99078fc9da65fc340b5c2288deb7d0}} 
\index{mlpack\+::cf\+::\+Recommendation\+Visitor@{mlpack\+::cf\+::\+Recommendation\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::cf\+::\+Recommendation\+Visitor@{mlpack\+::cf\+::\+Recommendation\+Visitor}}
\subsubsection{operator()()}
{\footnotesize\ttfamily void operator() (\begin{DoxyParamCaption}\item[{\textbf{ C\+F\+Type}$<$ Decomposition\+Policy, Normalization\+Type $>$ $\ast$}]{c }\end{DoxyParamCaption}) const}



Generates the given number of recommendations. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+2/src/mlpack/methods/cf/\textbf{ cf\+\_\+model.\+hpp}\end{DoxyCompactItemize}
