\hypertarget{classCOMCSNet}{
\section{COMCSNet Class Reference}
\label{classCOMCSNet}\index{COMCSNet@{COMCSNet}}
}
Open\-Mind Common\-Sense Main API.  


{\tt \#include $<$omcsnet.h$>$}

Collaboration diagram for COMCSNet:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=250pt]{classCOMCSNet__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool \hyperlink{classCOMCSNet_COMCSNeta0}{Load} (const std::string \&a\_\-path)
\begin{CompactList}\small\item\em Loads an optimized binary predicates file from disk. \item\end{CompactList}\item 
bool \hyperlink{classCOMCSNet_COMCSNeta1}{Save} (const std::string \&a\_\-path)
\begin{CompactList}\small\item\em Saves an optimized binary predicates file to disk. \item\end{CompactList}\item 
bool \hyperlink{classCOMCSNet_COMCSNeta2}{Load\-Predicate\-File} (const std::string \&a\_\-path)
\begin{CompactList}\small\item\em Loads a raw text predicates file. \item\end{CompactList}\item 
std::string \hyperlink{classCOMCSNet_COMCSNeta3}{Lookup\-String} (const \hyperlink{semantic__id_8h_a0}{Semantic\-ID} a\_\-id)
\begin{CompactList}\small\item\em Lookup a string in the Text\-ID Map using a semantic ID. \item\end{CompactList}\item 
bool \hyperlink{classCOMCSNet_COMCSNeta4}{Find\-Analogous} (\hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \&a\_\-config)
\begin{CompactList}\small\item\em Find all concepts that are analogous to a concept. \item\end{CompactList}\item 
bool \hyperlink{classCOMCSNet_COMCSNeta5}{Find\-Context} (const std::string \&a\_\-concept\-List, \hyperlink{classCFindContextConfig}{CFind\-Context\-Config} \&a\_\-config)
\begin{CompactList}\small\item\em Finds all concepts within the same context as one of more source concepts. \item\end{CompactList}\item 
bool \hyperlink{classCOMCSNet_COMCSNeta6}{Find\-Path\-From\-A\_\-To\_\-B} (const std::string \&a\_\-src, const std::string \&a\_\-dst, \hyperlink{classCFindPathConfig}{CFind\-Path\-Config} \&a\_\-config)
\begin{CompactList}\small\item\em Finds all semantic paths between two concepts. \item\end{CompactList}\item 
\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ \hyperlink{classCOMCSNet_COMCSNeta7}{Lookup\-Concept} (const std::string \&a\_\-name)
\begin{CompactList}\small\item\em Lookup a specific concept using its textual name. \item\end{CompactList}\item 
\hyperlink{classCSemanticConcept}{CSemantic\-Concept} $\ast$ \hyperlink{classCOMCSNet_COMCSNeta8}{Lookup\-Concept} (const \hyperlink{semantic__id_8h_a0}{Semantic\-ID} a\_\-id)
\begin{CompactList}\small\item\em Lookup a specific concept using its numeric ID. \item\end{CompactList}\item 
\hyperlink{classCOMCSNet_COMCSNeta9}{COMCSNet} ()
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hyperlink{classCOMCSNet_COMCSNeta10}{$\sim$COMCSNet} ()
\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Member Functions}
\begin{CompactItemize}
\item 
bool \hyperlink{classCOMCSNet_COMCSNetd0}{p\_\-Analogous\-Process\-Link\-Map} (\hyperlink{classCLinkMap}{CLink\-Map} $\ast$a\_\-link\-Map, \hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \&a\_\-config)
\begin{CompactList}\small\item\em Process a link map during 'Find Analogous' searching. \item\end{CompactList}\item 
bool \hyperlink{classCOMCSNet_COMCSNetd1}{p\_\-Analogous\-Process\-Backward\-Link\-Map} (\hyperlink{classCLinkMap}{CLink\-Map} $\ast$a\_\-link\-Map, \hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \&a\_\-config, const \hyperlink{relation__type_8h_a0}{Relation\-Type} a\_\-relation)
\begin{CompactList}\small\item\em Process a backwards link map during 'Find Analogous' searching. \item\end{CompactList}\item 
void \hyperlink{classCOMCSNet_COMCSNetd2}{p\_\-Analogous\-Process\-Link} (\hyperlink{classCSemanticLink}{CSemantic\-Link} $\ast$a\_\-link, \hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \&a\_\-config)
\begin{CompactList}\small\item\em Process a semantic link during 'Find Analogous' searching. \item\end{CompactList}\item 
void \hyperlink{classCOMCSNet_COMCSNetd3}{p\_\-Analogous\-Process\-Backward\-Link} (\hyperlink{classCSemanticLink}{CSemantic\-Link} $\ast$a\_\-link, \hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \&a\_\-config, const \hyperlink{relation__type_8h_a0}{Relation\-Type} a\_\-relation)
\begin{CompactList}\small\item\em Process a backwards link during 'Find Analogous' searching. \item\end{CompactList}\item 
void \hyperlink{classCOMCSNet_COMCSNetd4}{p\_\-Analogous\-Process\-Weighted\-Node} (\hyperlink{classCAnalogousWeightNode}{CAnalogous\-Weight\-Node} $\ast$a\_\-node)
\begin{CompactList}\small\item\em Process a weighted candidate node during 'Find Analogous' searching. \item\end{CompactList}\item 
bool \hyperlink{classCOMCSNet_COMCSNetd5}{p\_\-Find\-Context\-Process\-Link\-Map} (\hyperlink{classCLinkMap}{CLink\-Map} $\ast$a\_\-link\-Map, \hyperlink{classCFindContextConfig}{CFind\-Context\-Config} \&a\_\-config, const float a\_\-old\-Score)
\begin{CompactList}\small\item\em Process a link map during 'Find Context' searching. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
\hyperlink{classCTextIDMap}{CText\-IDMap} \hyperlink{classCOMCSNet_COMCSNetr0}{m\_\-text\-IDMap}
\begin{CompactList}\small\item\em Map of Textual\-Name-$>$ID associations for concepts. \item\end{CompactList}\item 
\hyperlink{classCSemanticIDGenerator}{CSemantic\-IDGenerator} \hyperlink{classCOMCSNet_COMCSNetr1}{m\_\-id\-Factory}
\begin{CompactList}\small\item\em Generates unique IDs for concepts and semantic links. \item\end{CompactList}\item 
\hyperlink{classCConceptMap}{CConcept\-Map} \hyperlink{classCOMCSNet_COMCSNetr2}{m\_\-concept\-Map}
\begin{CompactList}\small\item\em Map of semantic concepts. \item\end{CompactList}\item 
\hyperlink{classCLinkMap}{CLink\-Map} \hyperlink{classCOMCSNet_COMCSNetr3}{m\_\-link\-Map}
\begin{CompactList}\small\item\em Map of semantic links. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Open\-Mind Common\-Sense Main API. 



Definition at line 39 of file omcsnet.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classCOMCSNet_COMCSNeta9}{
\index{COMCSNet@{COMCSNet}!COMCSNet@{COMCSNet}}
\index{COMCSNet@{COMCSNet}!COMCSNet@{COMCSNet}}
\subsubsection[COMCSNet]{\setlength{\rightskip}{0pt plus 5cm}COMCSNet::COMCSNet ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCOMCSNet_COMCSNeta9}


Constructor. 



Definition at line 139 of file omcsnet.h.\hypertarget{classCOMCSNet_COMCSNeta10}{
\index{COMCSNet@{COMCSNet}!~COMCSNet@{$\sim$COMCSNet}}
\index{~COMCSNet@{$\sim$COMCSNet}!COMCSNet@{COMCSNet}}
\subsubsection[$\sim$COMCSNet]{\setlength{\rightskip}{0pt plus 5cm}COMCSNet::$\sim$\hyperlink{classCOMCSNet}{COMCSNet} ()\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCOMCSNet_COMCSNeta10}


Destructor. 



Definition at line 142 of file omcsnet.h.

\subsection{Member Function Documentation}
\hypertarget{classCOMCSNet_COMCSNeta4}{
\index{COMCSNet@{COMCSNet}!FindAnalogous@{FindAnalogous}}
\index{FindAnalogous@{FindAnalogous}!COMCSNet@{COMCSNet}}
\subsubsection[FindAnalogous]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::Find\-Analogous (\hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \& {\em a\_\-config})}}
\label{classCOMCSNet_COMCSNeta4}


Find all concepts that are analogous to a concept. 



Definition at line 72 of file omcsnet.cpp.

References CFind\-Analogous\-Config::Add\-Node\-To\-Results(), CFind\-Analogous\-Config::Allow\-Visit(), CAnalogous\-Weight\-Node\-Map\_\-i, DPRINT, CSemantic\-Concept::Get\-Links(), CFind\-Analogous\-Config::Get\-Node\-Name(), CFind\-Analogous\-Config::Get\-Num\-Results(), CFind\-Analogous\-Config::Get\-Weighted\-Iterator(), CFind\-Analogous\-Config::Get\-Weighted\-Node(), CAnalogous\-Weight\-Node::Get\-Weight\-Value(), Lookup\-Concept(), MAX\_\-RELATIONS, p\_\-Analogous\-Process\-Link\-Map(), and p\_\-Analogous\-Process\-Weighted\-Node().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=353pt]{classCOMCSNet_COMCSNeta4_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNeta5}{
\index{COMCSNet@{COMCSNet}!FindContext@{FindContext}}
\index{FindContext@{FindContext}!COMCSNet@{COMCSNet}}
\subsubsection[FindContext]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::Find\-Context (const std::string \& {\em a\_\-concept\-List}, \hyperlink{classCFindContextConfig}{CFind\-Context\-Config} \& {\em a\_\-config})}}
\label{classCOMCSNet_COMCSNeta5}


Finds all concepts within the same context as one of more source concepts. 



Definition at line 232 of file omcsnet.cpp.

References CFind\-Context\-Config::Add\-Node\-To\-Results(), CFind\-Context\-Config::Allow\-Visit(), CResults\-List\_\-i, DPRINT, CSemantic\-Concept::Get\-ID(), CSemantic\-Concept::Get\-Links(), CFind\-Context\-Config::Get\-Num\-Results(), CFind\-Context\-Config::Get\-Score\-Iterator(), CFind\-Context\-Config::Get\-Score\-Queue(), CConcept\-Map::Lookup(), Lookup\-Concept(), m\_\-concept\-Map, MAX\_\-RELATIONS, p\_\-Find\-Context\-Process\-Link\-Map(), and CFind\-Context\-Config::Queue\-Score().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=349pt]{classCOMCSNet_COMCSNeta5_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNeta6}{
\index{COMCSNet@{COMCSNet}!FindPathFromA_To_B@{FindPathFromA\_\-To\_\-B}}
\index{FindPathFromA_To_B@{FindPathFromA\_\-To\_\-B}!COMCSNet@{COMCSNet}}
\subsubsection[FindPathFromA\_\-To\_\-B]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::Find\-Path\-From\-A\_\-To\_\-B (const std::string \& {\em a\_\-src}, const std::string \& {\em a\_\-dst}, \hyperlink{classCFindPathConfig}{CFind\-Path\-Config} \& {\em a\_\-config})}}
\label{classCOMCSNet_COMCSNeta6}


Finds all semantic paths between two concepts. 



Definition at line 571 of file omcsnet.cpp.

References CFind\-Path\-Config::Allow\-Visit(), CFind\-Path\-Config::Check\-Current\-Path(), CLink\-List\_\-ri, DPRINT, CSemantic\-Concept::Find\-Path\-To(), CSemantic\-Link::Get\-Dest(), CSemantic\-Concept::Get\-ID(), CSemantic\-Link\-List::Get\-Next(), CFind\-Path\-Config::Get\-Num\-Node\-Visits(), CFind\-Path\-Config::Get\-Num\-Results(), CFind\-Path\-Config::Get\-Queue\-Path(), CSemantic\-Link\-List::Get\-Reverse\-Iterator(), Lookup\-Concept(), Semantic\-ID, and CFind\-Path\-Config::Set\-Current\-Path().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=336pt]{classCOMCSNet_COMCSNeta6_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNeta0}{
\index{COMCSNet@{COMCSNet}!Load@{Load}}
\index{Load@{Load}!COMCSNet@{COMCSNet}}
\subsubsection[Load]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::Load (const std::string \& {\em a\_\-path})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCOMCSNet_COMCSNeta0}


Loads an optimized binary predicates file from disk. 



Definition at line 43 of file omcsnet.h.

References CLink\-Map::Load(), CConcept\-Map::Load(), m\_\-concept\-Map, m\_\-link\-Map, and m\_\-text\-IDMap.

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=232pt]{classCOMCSNet_COMCSNeta0_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNeta2}{
\index{COMCSNet@{COMCSNet}!LoadPredicateFile@{LoadPredicateFile}}
\index{LoadPredicateFile@{LoadPredicateFile}!COMCSNet@{COMCSNet}}
\subsubsection[LoadPredicateFile]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::Load\-Predicate\-File (const std::string \& {\em a\_\-path})}}
\label{classCOMCSNet_COMCSNeta2}


Loads a raw text predicates file. 



Definition at line 29 of file omcsnet.cpp.

References CPredicate\-File\-IO::Close\-Input\-File(), CPredicate\-Decoder::Decode\-Predicate\-Text(), DPRINT, CPredicate\-File\-IO::Get\-Predicate(), CLink\-Map::Get\-Size(), CConcept\-Map::Get\-Size(), m\_\-concept\-Map, m\_\-id\-Factory, m\_\-link\-Map, m\_\-text\-IDMap, and CPredicate\-File\-IO::Open\-Input\-File().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=229pt]{classCOMCSNet_COMCSNeta2_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNeta8}{
\index{COMCSNet@{COMCSNet}!LookupConcept@{LookupConcept}}
\index{LookupConcept@{LookupConcept}!COMCSNet@{COMCSNet}}
\subsubsection[LookupConcept]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCSemanticConcept}{CSemantic\-Concept}$\ast$ COMCSNet::Lookup\-Concept (const \hyperlink{semantic__id_8h_a0}{Semantic\-ID} {\em a\_\-id})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCOMCSNet_COMCSNeta8}


Lookup a specific concept using its numeric ID. 



Definition at line 133 of file omcsnet.h.

References CConcept\-Map::Lookup(), and m\_\-concept\-Map.

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=182pt]{classCOMCSNet_COMCSNeta8_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNeta7}{
\index{COMCSNet@{COMCSNet}!LookupConcept@{LookupConcept}}
\index{LookupConcept@{LookupConcept}!COMCSNet@{COMCSNet}}
\subsubsection[LookupConcept]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCSemanticConcept}{CSemantic\-Concept}$\ast$ COMCSNet::Lookup\-Concept (const std::string \& {\em a\_\-name})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCOMCSNet_COMCSNeta7}


Lookup a specific concept using its textual name. 



Definition at line 118 of file omcsnet.h.

References CConcept\-Map::Lookup(), CText\-IDMap::Lookup(), m\_\-concept\-Map, m\_\-text\-IDMap, and Semantic\-ID.

Referenced by Find\-Analogous(), Find\-Context(), and Find\-Path\-From\-A\_\-To\_\-B().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=182pt]{classCOMCSNet_COMCSNeta7_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNeta3}{
\index{COMCSNet@{COMCSNet}!LookupString@{LookupString}}
\index{LookupString@{LookupString}!COMCSNet@{COMCSNet}}
\subsubsection[LookupString]{\setlength{\rightskip}{0pt plus 5cm}std::string COMCSNet::Lookup\-String (const \hyperlink{semantic__id_8h_a0}{Semantic\-ID} {\em a\_\-id})}}
\label{classCOMCSNet_COMCSNeta3}


Lookup a string in the Text\-ID Map using a semantic ID. 



Definition at line 638 of file omcsnet.cpp.

References CSemantic\-Concept::Get\-Name(), CConcept\-Map::Lookup(), and m\_\-concept\-Map.

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=192pt]{classCOMCSNet_COMCSNeta3_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNetd3}{
\index{COMCSNet@{COMCSNet}!p_AnalogousProcessBackwardLink@{p\_\-AnalogousProcessBackwardLink}}
\index{p_AnalogousProcessBackwardLink@{p\_\-AnalogousProcessBackwardLink}!COMCSNet@{COMCSNet}}
\subsubsection[p\_\-AnalogousProcessBackwardLink]{\setlength{\rightskip}{0pt plus 5cm}void COMCSNet::p\_\-Analogous\-Process\-Backward\-Link (\hyperlink{classCSemanticLink}{CSemantic\-Link} $\ast$ {\em a\_\-link}, \hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \& {\em a\_\-config}, const \hyperlink{relation__type_8h_a0}{Relation\-Type} {\em a\_\-relation})\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetd3}


Process a backwards link during 'Find Analogous' searching. 



Definition at line 504 of file omcsnet.cpp.

References DPRINT, CSemantic\-Concept::Get\-Name(), CFind\-Analogous\-Config::Get\-Node\-Name(), CSemantic\-Link::Get\-Source(), CSemantic\-Link::Get\-Type(), CFind\-Analogous\-Config::Store\-Weighted\-Link(), and CFind\-Analogous\-Config::Visit\-Node().

Referenced by p\_\-Analogous\-Process\-Backward\-Link\-Map().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=397pt]{classCOMCSNet_COMCSNetd3_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNetd1}{
\index{COMCSNet@{COMCSNet}!p_AnalogousProcessBackwardLinkMap@{p\_\-AnalogousProcessBackwardLinkMap}}
\index{p_AnalogousProcessBackwardLinkMap@{p\_\-AnalogousProcessBackwardLinkMap}!COMCSNet@{COMCSNet}}
\subsubsection[p\_\-AnalogousProcessBackwardLinkMap]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::p\_\-Analogous\-Process\-Backward\-Link\-Map (\hyperlink{classCLinkMap}{CLink\-Map} $\ast$ {\em a\_\-link\-Map}, \hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \& {\em a\_\-config}, const \hyperlink{relation__type_8h_a0}{Relation\-Type} {\em a\_\-relation})\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetd1}


Process a backwards link map during 'Find Analogous' searching. 



Definition at line 443 of file omcsnet.cpp.

References CFind\-Analogous\-Config::Allow\-Visit(), CSemantic\-Link\-Map\_\-i, DPRINT, CLink\-Map::Get\-Iterator(), CLink\-Map::Get\-Next(), and p\_\-Analogous\-Process\-Backward\-Link().

Referenced by p\_\-Analogous\-Process\-Link().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=306pt]{classCOMCSNet_COMCSNetd1_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNetd2}{
\index{COMCSNet@{COMCSNet}!p_AnalogousProcessLink@{p\_\-AnalogousProcessLink}}
\index{p_AnalogousProcessLink@{p\_\-AnalogousProcessLink}!COMCSNet@{COMCSNet}}
\subsubsection[p\_\-AnalogousProcessLink]{\setlength{\rightskip}{0pt plus 5cm}void COMCSNet::p\_\-Analogous\-Process\-Link (\hyperlink{classCSemanticLink}{CSemantic\-Link} $\ast$ {\em a\_\-link}, \hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \& {\em a\_\-config})\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetd2}


Process a semantic link during 'Find Analogous' searching. 



Definition at line 475 of file omcsnet.cpp.

References CFind\-Analogous\-Config::Allow\-Visit(), CSemantic\-Concept::Get\-Backward\-Links(), CSemantic\-Link::Get\-Dest(), CSemantic\-Link::Get\-Type(), MAX\_\-RELATIONS, p\_\-Analogous\-Process\-Backward\-Link\-Map(), Relation\-Type, and CFind\-Analogous\-Config::Visit\-Node().

Referenced by p\_\-Analogous\-Process\-Link\-Map().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=391pt]{classCOMCSNet_COMCSNetd2_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNetd0}{
\index{COMCSNet@{COMCSNet}!p_AnalogousProcessLinkMap@{p\_\-AnalogousProcessLinkMap}}
\index{p_AnalogousProcessLinkMap@{p\_\-AnalogousProcessLinkMap}!COMCSNet@{COMCSNet}}
\subsubsection[p\_\-AnalogousProcessLinkMap]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::p\_\-Analogous\-Process\-Link\-Map (\hyperlink{classCLinkMap}{CLink\-Map} $\ast$ {\em a\_\-link\-Map}, \hyperlink{classCFindAnalogousConfig}{CFind\-Analogous\-Config} \& {\em a\_\-config})\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetd0}


Process a link map during 'Find Analogous' searching. 



Definition at line 413 of file omcsnet.cpp.

References CFind\-Analogous\-Config::Allow\-Visit(), CSemantic\-Link\-Map\_\-i, DPRINT, CLink\-Map::Get\-Iterator(), CLink\-Map::Get\-Next(), and p\_\-Analogous\-Process\-Link().

Referenced by Find\-Analogous().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=365pt]{classCOMCSNet_COMCSNetd0_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNetd4}{
\index{COMCSNet@{COMCSNet}!p_AnalogousProcessWeightedNode@{p\_\-AnalogousProcessWeightedNode}}
\index{p_AnalogousProcessWeightedNode@{p\_\-AnalogousProcessWeightedNode}!COMCSNet@{COMCSNet}}
\subsubsection[p\_\-AnalogousProcessWeightedNode]{\setlength{\rightskip}{0pt plus 5cm}void COMCSNet::p\_\-Analogous\-Process\-Weighted\-Node (\hyperlink{classCAnalogousWeightNode}{CAnalogous\-Weight\-Node} $\ast$ {\em a\_\-node})\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetd4}


Process a weighted candidate node during 'Find Analogous' searching. 



Definition at line 175 of file omcsnet.cpp.

References CAnalogous\-Weight\-Node::Add\-Weight\-Value(), CSemantic\-Link\-Map\_\-i, CAnalogous\-Weight\-Node::Get\-Link(), CAnalogous\-Weight\-Node::Get\-Link\-Iterator(), CSemantic\-Link::Get\-Type(), RELATION\_\-LOCATION\_\-OF, RELATION\_\-OFTEN\_\-NEAR, RELATION\_\-PROPERTY\_\-OF, and RELATION\_\-USED\_\-FOR.

Referenced by Find\-Analogous().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=361pt]{classCOMCSNet_COMCSNetd4_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNetd5}{
\index{COMCSNet@{COMCSNet}!p_FindContextProcessLinkMap@{p\_\-FindContextProcessLinkMap}}
\index{p_FindContextProcessLinkMap@{p\_\-FindContextProcessLinkMap}!COMCSNet@{COMCSNet}}
\subsubsection[p\_\-FindContextProcessLinkMap]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::p\_\-Find\-Context\-Process\-Link\-Map (\hyperlink{classCLinkMap}{CLink\-Map} $\ast$ {\em a\_\-link\-Map}, \hyperlink{classCFindContextConfig}{CFind\-Context\-Config} \& {\em a\_\-config}, const float {\em a\_\-old\-Score})\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetd5}


Process a link map during 'Find Context' searching. 



Definition at line 528 of file omcsnet.cpp.

References CFind\-Context\-Config::Allow\-Visit(), CSemantic\-Link\-Map\_\-i, DPRINT, CSemantic\-Link::Get\-Dest(), CFind\-Context\-Config::Get\-Discount\-Factor(), CLink\-Map::Get\-Iterator(), CLink\-Map::Get\-Next(), CFind\-Context\-Config::Queue\-Score(), and CFind\-Context\-Config::Visit\-Node().

Referenced by Find\-Context().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=264pt]{classCOMCSNet_COMCSNetd5_cgraph}
\end{center}
\end{figure}
\hypertarget{classCOMCSNet_COMCSNeta1}{
\index{COMCSNet@{COMCSNet}!Save@{Save}}
\index{Save@{Save}!COMCSNet@{COMCSNet}}
\subsubsection[Save]{\setlength{\rightskip}{0pt plus 5cm}bool COMCSNet::Save (const std::string \& {\em a\_\-path})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{classCOMCSNet_COMCSNeta1}


Saves an optimized binary predicates file to disk. 



Definition at line 73 of file omcsnet.h.

References m\_\-concept\-Map, m\_\-link\-Map, CLink\-Map::Save(), and CConcept\-Map::Save().

Here is the call graph for this function:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=146pt]{classCOMCSNet_COMCSNeta1_cgraph}
\end{center}
\end{figure}


\subsection{Member Data Documentation}
\hypertarget{classCOMCSNet_COMCSNetr2}{
\index{COMCSNet@{COMCSNet}!m_conceptMap@{m\_\-conceptMap}}
\index{m_conceptMap@{m\_\-conceptMap}!COMCSNet@{COMCSNet}}
\subsubsection[m\_\-conceptMap]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCConceptMap}{CConcept\-Map} \hyperlink{classCOMCSNet_COMCSNetr2}{COMCSNet::m\_\-concept\-Map}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetr2}


Map of semantic concepts. 



Definition at line 180 of file omcsnet.h.

Referenced by Find\-Context(), Load(), Load\-Predicate\-File(), Lookup\-Concept(), Lookup\-String(), and Save().\hypertarget{classCOMCSNet_COMCSNetr1}{
\index{COMCSNet@{COMCSNet}!m_idFactory@{m\_\-idFactory}}
\index{m_idFactory@{m\_\-idFactory}!COMCSNet@{COMCSNet}}
\subsubsection[m\_\-idFactory]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCSemanticIDGenerator}{CSemantic\-IDGenerator} \hyperlink{classCOMCSNet_COMCSNetr1}{COMCSNet::m\_\-id\-Factory}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetr1}


Generates unique IDs for concepts and semantic links. 



Definition at line 177 of file omcsnet.h.

Referenced by Load\-Predicate\-File().\hypertarget{classCOMCSNet_COMCSNetr3}{
\index{COMCSNet@{COMCSNet}!m_linkMap@{m\_\-linkMap}}
\index{m_linkMap@{m\_\-linkMap}!COMCSNet@{COMCSNet}}
\subsubsection[m\_\-linkMap]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCLinkMap}{CLink\-Map} \hyperlink{classCOMCSNet_COMCSNetr3}{COMCSNet::m\_\-link\-Map}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetr3}


Map of semantic links. 



Definition at line 183 of file omcsnet.h.

Referenced by Load(), Load\-Predicate\-File(), and Save().\hypertarget{classCOMCSNet_COMCSNetr0}{
\index{COMCSNet@{COMCSNet}!m_textIDMap@{m\_\-textIDMap}}
\index{m_textIDMap@{m\_\-textIDMap}!COMCSNet@{COMCSNet}}
\subsubsection[m\_\-textIDMap]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{classCTextIDMap}{CText\-IDMap} \hyperlink{classCOMCSNet_COMCSNetr0}{COMCSNet::m\_\-text\-IDMap}\hspace{0.3cm}{\tt  \mbox{[}private\mbox{]}}}}
\label{classCOMCSNet_COMCSNetr0}


Map of Textual\-Name-$>$ID associations for concepts. 



Definition at line 174 of file omcsnet.h.

Referenced by Load(), Load\-Predicate\-File(), and Lookup\-Concept().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
\hyperlink{omcsnet_8h}{omcsnet.h}\item 
\hyperlink{omcsnet_8cpp}{omcsnet.cpp}\end{CompactItemize}
