\hypertarget{classCFindContextConfig}{
\section{CFind\-Context\-Config Class Reference}
\label{classCFindContextConfig}\index{CFindContextConfig@{CFindContextConfig}}
}
Configuration for a 'Find Context Concepts' search.  


{\tt \#include $<$findc\_\-cfg.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool \hyperlink{classCFindContextConfig_CFindContextConfiga0}{Allow\-Visit} ()
\begin{CompactList}\small\item\em Gets whether an additional semantic concept can be visited during searching. \item\end{CompactList}\item 
void \hyperlink{classCFindContextConfig_CFindContextConfiga1}{Visit\-Node} ()
\begin{CompactList}\small\item\em Notifies the configuration class that a semantic concept was visited during searching. \item\end{CompactList}\item 
float \hyperlink{classCFindContextConfig_CFindContextConfiga2}{Get\-Discount\-Factor} () const
\begin{CompactList}\small\item\em Gets the score reduction factor used for discounting the weight of concepts during searching. \item\end{CompactList}\item 
bool \hyperlink{classCFindContextConfig_CFindContextConfiga3}{Add\-Node\-To\-Results} (\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$a\_\-concept, const float a\_\-score)
\begin{CompactList}\small\item\em Adds a concept to the search results list. \item\end{CompactList}\item 
u\_\-int \hyperlink{classCFindContextConfig_CFindContextConfiga4}{Get\-Num\-Results} () const
\begin{CompactList}\small\item\em Gets the number of search results. \item\end{CompactList}\item 
\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ \hyperlink{classCFindContextConfig_CFindContextConfiga5}{Get\-Result} (const u\_\-int a\_\-index, float $\ast$a\_\-score)
\begin{CompactList}\small\item\em Gets a specific search result. \item\end{CompactList}\item 
u\_\-int \hyperlink{classCFindContextConfig_CFindContextConfiga6}{Get\-Num\-Node\-Visits} () const
\begin{CompactList}\small\item\em Gets the current number of concepts visited during searching. \item\end{CompactList}\item 
\hyperlink{findc__cfg_8h_a2}{CResults\-List\_\-i} \hyperlink{classCFindContextConfig_CFindContextConfiga7}{Get\-Score\-Iterator} ()
\begin{CompactList}\small\item\em Gets an iterator pointing to the beginning of the scored concepts queue. \item\end{CompactList}\item 
\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ \hyperlink{classCFindContextConfig_CFindContextConfiga8}{Get\-Score\-Queue} (\hyperlink{findc__cfg_8h_a2}{CResults\-List\_\-i} \&a\_\-iter, float $\ast$a\_\-score)
\begin{CompactList}\small\item\em Gets a scored concept from the processing queue using an iterator. \item\end{CompactList}\item 
\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ \hyperlink{classCFindContextConfig_CFindContextConfiga9}{Get\-Score\-Queue} (float $\ast$a\_\-score)
\begin{CompactList}\small\item\em Gets the first available scored concept from the processing queue, removing it from the queue. \item\end{CompactList}\item 
void \hyperlink{classCFindContextConfig_CFindContextConfiga10}{Queue\-Score} (\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$a\_\-concept, const float a\_\-score)
\begin{CompactList}\small\item\em Queues a concept in the processing queue along with its associated score. \item\end{CompactList}\item 
\hyperlink{classCFindContextConfig_CFindContextConfiga11}{CFind\-Context\-Config} ()
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
virtual \hyperlink{classCFindContextConfig_CFindContextConfiga12}{$\sim$CFind\-Context\-Config} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
u\_\-int \hyperlink{classCFindContextConfig_CFindContextConfigr0}{m\_\-max\-Node\-Visits}
\begin{CompactList}\small\item\em Maximum number of concepts to be visited during searching. \item\end{CompactList}\item 
u\_\-int \hyperlink{classCFindContextConfig_CFindContextConfigr1}{m\_\-max\-Node\-Results}
\begin{CompactList}\small\item\em Maximum number of search results to return. \item\end{CompactList}\item 
u\_\-int \hyperlink{classCFindContextConfig_CFindContextConfigr2}{m\_\-cur\-Node\-Visits}
\begin{CompactList}\small\item\em Current number of concepts visited during search processing. \item\end{CompactList}\item 
\hyperlink{findc__cfg_8h_a1}{CResults\-List} \hyperlink{classCFindContextConfig_CFindContextConfigr3}{m\_\-results\-List}
\begin{CompactList}\small\item\em List of search results. \item\end{CompactList}\item 
\hyperlink{findc__cfg_8h_a1}{CResults\-List} \hyperlink{classCFindContextConfig_CFindContextConfigr4}{m\_\-score\-Queue}
\begin{CompactList}\small\item\em Processing queue of scored semantic concepts. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Configuration for a 'Find Context Concepts' search. 



Definition at line 42 of file findc\_\-cfg.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classCFindContextConfig_CFindContextConfiga11}{
\index{CFindContextConfig@{CFind\-Context\-Config}!CFindContextConfig@{CFindContextConfig}}
\index{CFindContextConfig@{CFindContextConfig}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[CFindContextConfig]{\setlength{\rightskip}{0pt plus 5cm}CFind\-Context\-Config::CFind\-Context\-Config ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga11}


Constructor. 



Definition at line 197 of file findc\_\-cfg.h.

References m\_\-cur\-Node\-Visits, m\_\-max\-Node\-Results, and m\_\-max\-Node\-Visits.\hypertarget{classCFindContextConfig_CFindContextConfiga12}{
\index{CFindContextConfig@{CFind\-Context\-Config}!~CFindContextConfig@{$\sim$CFindContextConfig}}
\index{~CFindContextConfig@{$\sim$CFindContextConfig}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[$\sim$CFindContextConfig]{\setlength{\rightskip}{0pt plus 5cm}virtual CFind\-Context\-Config::$\sim$\hyperlink{classCFindContextConfig}{CFind\-Context\-Config} ()\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga12}


Destructor. 



Definition at line 206 of file findc\_\-cfg.h.

\subsection{Member Function Documentation}
\hypertarget{classCFindContextConfig_CFindContextConfiga3}{
\index{CFindContextConfig@{CFind\-Context\-Config}!AddNodeToResults@{AddNodeToResults}}
\index{AddNodeToResults@{AddNodeToResults}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[AddNodeToResults]{\setlength{\rightskip}{0pt plus 5cm}bool CFind\-Context\-Config::Add\-Node\-To\-Results (\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ {\em a\_\-concept}, const float {\em a\_\-score})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga3}


Adds a concept to the search results list. 



Definition at line 69 of file findc\_\-cfg.h.

References CSemantic\-Concept\-Pair, m\_\-max\-Node\-Results, and m\_\-results\-List.

Referenced by COMCSNet::Find\-Context().\hypertarget{classCFindContextConfig_CFindContextConfiga0}{
\index{CFindContextConfig@{CFind\-Context\-Config}!AllowVisit@{AllowVisit}}
\index{AllowVisit@{AllowVisit}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[AllowVisit]{\setlength{\rightskip}{0pt plus 5cm}bool CFind\-Context\-Config::Allow\-Visit ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga0}


Gets whether an additional semantic concept can be visited during searching. 



Definition at line 46 of file findc\_\-cfg.h.

References m\_\-cur\-Node\-Visits, and m\_\-max\-Node\-Visits.

Referenced by COMCSNet::Find\-Context(), and COMCSNet::p\_\-Find\-Context\-Process\-Link\-Map().\hypertarget{classCFindContextConfig_CFindContextConfiga2}{
\index{CFindContextConfig@{CFind\-Context\-Config}!GetDiscountFactor@{GetDiscountFactor}}
\index{GetDiscountFactor@{GetDiscountFactor}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[GetDiscountFactor]{\setlength{\rightskip}{0pt plus 5cm}float CFind\-Context\-Config::Get\-Discount\-Factor () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga2}


Gets the score reduction factor used for discounting the weight of concepts during searching. 



Definition at line 63 of file findc\_\-cfg.h.

Referenced by COMCSNet::p\_\-Find\-Context\-Process\-Link\-Map().\hypertarget{classCFindContextConfig_CFindContextConfiga6}{
\index{CFindContextConfig@{CFind\-Context\-Config}!GetNumNodeVisits@{GetNumNodeVisits}}
\index{GetNumNodeVisits@{GetNumNodeVisits}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[GetNumNodeVisits]{\setlength{\rightskip}{0pt plus 5cm}u\_\-int CFind\-Context\-Config::Get\-Num\-Node\-Visits () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga6}


Gets the current number of concepts visited during searching. 



Definition at line 121 of file findc\_\-cfg.h.

References m\_\-cur\-Node\-Visits.\hypertarget{classCFindContextConfig_CFindContextConfiga4}{
\index{CFindContextConfig@{CFind\-Context\-Config}!GetNumResults@{GetNumResults}}
\index{GetNumResults@{GetNumResults}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[GetNumResults]{\setlength{\rightskip}{0pt plus 5cm}u\_\-int CFind\-Context\-Config::Get\-Num\-Results () const\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga4}


Gets the number of search results. 



Definition at line 88 of file findc\_\-cfg.h.

References m\_\-results\-List.

Referenced by COMCSNet::Find\-Context().\hypertarget{classCFindContextConfig_CFindContextConfiga5}{
\index{CFindContextConfig@{CFind\-Context\-Config}!GetResult@{GetResult}}
\index{GetResult@{GetResult}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[GetResult]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCSemanticConcept}{CSemantic\-Concept}$\ast$ CFind\-Context\-Config::Get\-Result (const u\_\-int {\em a\_\-index}, float $\ast$ {\em a\_\-score})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga5}


Gets a specific search result. 



Definition at line 94 of file findc\_\-cfg.h.

References CResults\-List\_\-ci, and m\_\-results\-List.\hypertarget{classCFindContextConfig_CFindContextConfiga7}{
\index{CFindContextConfig@{CFind\-Context\-Config}!GetScoreIterator@{GetScoreIterator}}
\index{GetScoreIterator@{GetScoreIterator}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[GetScoreIterator]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{findc__cfg_8h_a2}{CResults\-List\_\-i} CFind\-Context\-Config::Get\-Score\-Iterator ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga7}


Gets an iterator pointing to the beginning of the scored concepts queue. 



Definition at line 127 of file findc\_\-cfg.h.

References CResults\-List\_\-i, DPRINT, and m\_\-score\-Queue.

Referenced by COMCSNet::Find\-Context().\hypertarget{classCFindContextConfig_CFindContextConfiga9}{
\index{CFindContextConfig@{CFind\-Context\-Config}!GetScoreQueue@{GetScoreQueue}}
\index{GetScoreQueue@{GetScoreQueue}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[GetScoreQueue]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCSemanticConcept}{CSemantic\-Concept}$\ast$ CFind\-Context\-Config::Get\-Score\-Queue (float $\ast$ {\em a\_\-score})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga9}


Gets the first available scored concept from the processing queue, removing it from the queue. 



Definition at line 159 of file findc\_\-cfg.h.

References CResults\-List\_\-i, and m\_\-score\-Queue.\hypertarget{classCFindContextConfig_CFindContextConfiga8}{
\index{CFindContextConfig@{CFind\-Context\-Config}!GetScoreQueue@{GetScoreQueue}}
\index{GetScoreQueue@{GetScoreQueue}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[GetScoreQueue]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCSemanticConcept}{CSemantic\-Concept}$\ast$ CFind\-Context\-Config::Get\-Score\-Queue (\hyperlink{findc__cfg_8h_a2}{CResults\-List\_\-i} \& {\em a\_\-iter}, float $\ast$ {\em a\_\-score})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga8}


Gets a scored concept from the processing queue using an iterator. 



Definition at line 136 of file findc\_\-cfg.h.

References m\_\-score\-Queue.

Referenced by COMCSNet::Find\-Context().\hypertarget{classCFindContextConfig_CFindContextConfiga10}{
\index{CFindContextConfig@{CFind\-Context\-Config}!QueueScore@{QueueScore}}
\index{QueueScore@{QueueScore}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[QueueScore]{\setlength{\rightskip}{0pt plus 5cm}void CFind\-Context\-Config::Queue\-Score (\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ {\em a\_\-concept}, const float {\em a\_\-score})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga10}


Queues a concept in the processing queue along with its associated score. 



Definition at line 185 of file findc\_\-cfg.h.

References CSemantic\-Concept\-Pair, and m\_\-score\-Queue.

Referenced by COMCSNet::Find\-Context(), and COMCSNet::p\_\-Find\-Context\-Process\-Link\-Map().\hypertarget{classCFindContextConfig_CFindContextConfiga1}{
\index{CFindContextConfig@{CFind\-Context\-Config}!VisitNode@{VisitNode}}
\index{VisitNode@{VisitNode}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[VisitNode]{\setlength{\rightskip}{0pt plus 5cm}void CFind\-Context\-Config::Visit\-Node ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfiga1}


Notifies the configuration class that a semantic concept was visited during searching. 



Definition at line 57 of file findc\_\-cfg.h.

References m\_\-cur\-Node\-Visits.

Referenced by COMCSNet::p\_\-Find\-Context\-Process\-Link\-Map().

\subsection{Member Data Documentation}
\hypertarget{classCFindContextConfig_CFindContextConfigr2}{
\index{CFindContextConfig@{CFind\-Context\-Config}!m_curNodeVisits@{m\_\-curNodeVisits}}
\index{m_curNodeVisits@{m\_\-curNodeVisits}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[m\_\-curNodeVisits]{\setlength{\rightskip}{0pt plus 5cm}u\_\-int \hyperlink{classCFindContextConfig_CFindContextConfigr2}{CFind\-Context\-Config::m\_\-cur\-Node\-Visits}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfigr2}


Current number of concepts visited during search processing. 



Definition at line 215 of file findc\_\-cfg.h.

Referenced by Allow\-Visit(), CFind\-Context\-Config(), Get\-Num\-Node\-Visits(), and Visit\-Node().\hypertarget{classCFindContextConfig_CFindContextConfigr1}{
\index{CFindContextConfig@{CFind\-Context\-Config}!m_maxNodeResults@{m\_\-maxNodeResults}}
\index{m_maxNodeResults@{m\_\-maxNodeResults}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[m\_\-maxNodeResults]{\setlength{\rightskip}{0pt plus 5cm}u\_\-int \hyperlink{classCFindContextConfig_CFindContextConfigr1}{CFind\-Context\-Config::m\_\-max\-Node\-Results}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfigr1}


Maximum number of search results to return. 



Definition at line 212 of file findc\_\-cfg.h.

Referenced by Add\-Node\-To\-Results(), and CFind\-Context\-Config().\hypertarget{classCFindContextConfig_CFindContextConfigr0}{
\index{CFindContextConfig@{CFind\-Context\-Config}!m_maxNodeVisits@{m\_\-maxNodeVisits}}
\index{m_maxNodeVisits@{m\_\-maxNodeVisits}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[m\_\-maxNodeVisits]{\setlength{\rightskip}{0pt plus 5cm}u\_\-int \hyperlink{classCFindContextConfig_CFindContextConfigr0}{CFind\-Context\-Config::m\_\-max\-Node\-Visits}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfigr0}


Maximum number of concepts to be visited during searching. 



Definition at line 210 of file findc\_\-cfg.h.

Referenced by Allow\-Visit(), and CFind\-Context\-Config().\hypertarget{classCFindContextConfig_CFindContextConfigr3}{
\index{CFindContextConfig@{CFind\-Context\-Config}!m_resultsList@{m\_\-resultsList}}
\index{m_resultsList@{m\_\-resultsList}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[m\_\-resultsList]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{findc__cfg_8h_a1}{CResults\-List} \hyperlink{classCFindContextConfig_CFindContextConfigr3}{CFind\-Context\-Config::m\_\-results\-List}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfigr3}


List of search results. 



Definition at line 218 of file findc\_\-cfg.h.

Referenced by Add\-Node\-To\-Results(), Get\-Num\-Results(), and Get\-Result().\hypertarget{classCFindContextConfig_CFindContextConfigr4}{
\index{CFindContextConfig@{CFind\-Context\-Config}!m_scoreQueue@{m\_\-scoreQueue}}
\index{m_scoreQueue@{m\_\-scoreQueue}!CFindContextConfig@{CFind\-Context\-Config}}
\subsubsection[m\_\-scoreQueue]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{findc__cfg_8h_a1}{CResults\-List} \hyperlink{classCFindContextConfig_CFindContextConfigr4}{CFind\-Context\-Config::m\_\-score\-Queue}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCFindContextConfig_CFindContextConfigr4}


Processing queue of scored semantic concepts. 



Definition at line 221 of file findc\_\-cfg.h.

Referenced by Get\-Score\-Iterator(), Get\-Score\-Queue(), and Queue\-Score().

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
\hyperlink{findc__cfg_8h}{findc\_\-cfg.h}\end{CompactItemize}
