Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

CAnalogousWeightNode Class Reference

Weighted concept node used during FindAnalogous searches. More...

#include <finda_cfg.h>

Collaboration diagram for CAnalogousWeightNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void SetConcept (CSemanticConcept *a_concept)
 Sets the concept that the node represents.

CSemanticConceptGetConcept ()
 Gets the concept associated with the node.

void AddLink (CSemanticLink *a_link)
 Adds a new link to be used in the weighting process.

CSemanticLinkMap_i GetLinkIterator ()
 Gets an iterator pointing to the beginning of the link list.

CSemanticLinkGetLink (CSemanticLinkMap_i &a_iter)
 Gets a link from the link list using an iterator.

u_int GetWeightValue () const
 Gets the current node weight value.

void AddWeightValue (const u_int a_value)
 Adds to the current node weight value.

 CAnalogousWeightNode ()
 Constructor.

 ~CAnalogousWeightNode ()
 Destructor.


Private Attributes

CSemanticConceptm_concept
 Semantic concept represented by this node.

CLinkMap m_links
 List of links to be used during the weighting process.

u_int m_weight
 Current weight value for this node.


Detailed Description

Weighted concept node used during FindAnalogous searches.

Definition at line 32 of file finda_cfg.h.


Constructor & Destructor Documentation

CAnalogousWeightNode::CAnalogousWeightNode  )  [inline]
 

Constructor.

Definition at line 78 of file finda_cfg.h.

References m_concept, and m_weight.

CAnalogousWeightNode::~CAnalogousWeightNode  )  [inline]
 

Destructor.

Definition at line 86 of file finda_cfg.h.


Member Function Documentation

void CAnalogousWeightNode::AddLink CSemanticLink a_link  )  [inline]
 

Adds a new link to be used in the weighting process.

Definition at line 48 of file finda_cfg.h.

References m_links, and CLinkMap::Store().

Referenced by CFindAnalogousConfig::StoreWeightedLink().

Here is the call graph for this function:

void CAnalogousWeightNode::AddWeightValue const u_int  a_value  )  [inline]
 

Adds to the current node weight value.

Definition at line 72 of file finda_cfg.h.

References m_weight.

Referenced by COMCSNet::p_AnalogousProcessWeightedNode().

CSemanticConcept* CAnalogousWeightNode::GetConcept  )  [inline]
 

Gets the concept associated with the node.

Definition at line 42 of file finda_cfg.h.

References m_concept.

CSemanticLink* CAnalogousWeightNode::GetLink CSemanticLinkMap_i a_iter  )  [inline]
 

Gets a link from the link list using an iterator.

Definition at line 60 of file finda_cfg.h.

References CLinkMap::GetNext(), and m_links.

Referenced by COMCSNet::p_AnalogousProcessWeightedNode().

Here is the call graph for this function:

CSemanticLinkMap_i CAnalogousWeightNode::GetLinkIterator  )  [inline]
 

Gets an iterator pointing to the beginning of the link list.

Definition at line 54 of file finda_cfg.h.

References CSemanticLinkMap_i, CLinkMap::GetIterator(), and m_links.

Referenced by COMCSNet::p_AnalogousProcessWeightedNode().

Here is the call graph for this function:

u_int CAnalogousWeightNode::GetWeightValue  )  const [inline]
 

Gets the current node weight value.

Definition at line 66 of file finda_cfg.h.

References m_weight.

Referenced by COMCSNet::FindAnalogous().

void CAnalogousWeightNode::SetConcept CSemanticConcept a_concept  )  [inline]
 

Sets the concept that the node represents.

Definition at line 36 of file finda_cfg.h.

References m_concept.

Referenced by CFindAnalogousConfig::StoreWeightedLink().


Member Data Documentation

CSemanticConcept* CAnalogousWeightNode::m_concept [private]
 

Semantic concept represented by this node.

Definition at line 95 of file finda_cfg.h.

Referenced by CAnalogousWeightNode(), GetConcept(), and SetConcept().

CLinkMap CAnalogousWeightNode::m_links [private]
 

List of links to be used during the weighting process.

Definition at line 98 of file finda_cfg.h.

Referenced by AddLink(), GetLink(), and GetLinkIterator().

u_int CAnalogousWeightNode::m_weight [private]
 

Current weight value for this node.

Definition at line 101 of file finda_cfg.h.

Referenced by AddWeightValue(), CAnalogousWeightNode(), and GetWeightValue().


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 09:44:35 2003 for OMCSNetCPP by doxygen 1.3.3