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

relation_type.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  CRelationTypeLookup
 Provides Text->RelationType and RelationType->Text conversion for semantic relation types. More...

struct  RelationMapping
 Structure used for Type<->textual name mapping. More...


Typedefs

typedef int RelationType
 Semantic relation between two concepts.


Enumerations

enum  RelationTypeValue {
  RELATION_CAPABLE_OF, RELATION_CAPABLE_OF_STATE, RELATION_DESIRES_EVENT, RELATION_DESIRES_NOT_EVENT,
  RELATION_DO, RELATION_EFFECT_OF, RELATION_EFFECT_OF_IS_STATE, RELATION_EVENT_FOR_GOAL_EVENT,
  RELATION_EVENT_FOR_GOAL_STATE, RELATION_EVENT_REQUIRES_OBJECT, RELATION_FIRST_SUB_EVENT_OF, RELATION_IS_A,
  RELATION_LAST_SUB_EVENT_OF, RELATION_LOCATION_OF, RELATION_MADE_OF, RELATION_OFTEN_NEAR,
  RELATION_PART_OF, RELATION_POST_EVENT_OF, RELATION_PROPERTY_OF, RELATION_SUB_EVENT_OF,
  RELATION_USED_FOR, MAX_RELATIONS
}
 Enumerated list of semantic relation types. More...


Variables

const RelationType RELATION_NONE = (-1)
 Reserved relation type that indicates no relation has been set.

const RelationMapping g_RelationTypeNames [MAX_RELATIONS]
 Array of textual name <-> relation type mappings.


Detailed Description

Definition in file relation_type.h.


Typedef Documentation

typedef int RelationType
 

Semantic relation between two concepts.

Definition at line 25 of file relation_type.h.

Referenced by CPredicateDecoder::DecodePredicateText(), CSemanticLink::GetType(), CSemanticLink::Load(), CRelationTypeLookup::Lookup(), COMCSNet::p_AnalogousProcessLink(), and CSemanticLink::Save().


Enumeration Type Documentation

enum RelationTypeValue
 

Enumerated list of semantic relation types.

Enumeration values:
RELATION_CAPABLE_OF 
RELATION_CAPABLE_OF_STATE 
RELATION_DESIRES_EVENT 
RELATION_DESIRES_NOT_EVENT 
RELATION_DO 
RELATION_EFFECT_OF 
RELATION_EFFECT_OF_IS_STATE 
RELATION_EVENT_FOR_GOAL_EVENT 
RELATION_EVENT_FOR_GOAL_STATE 
RELATION_EVENT_REQUIRES_OBJECT 
RELATION_FIRST_SUB_EVENT_OF 
RELATION_IS_A 
RELATION_LAST_SUB_EVENT_OF 
RELATION_LOCATION_OF 
RELATION_MADE_OF 
RELATION_OFTEN_NEAR 
RELATION_PART_OF 
RELATION_POST_EVENT_OF 
RELATION_PROPERTY_OF 
RELATION_SUB_EVENT_OF 
RELATION_USED_FOR 
MAX_RELATIONS 

Definition at line 31 of file relation_type.h.


Variable Documentation

const RelationMapping g_RelationTypeNames[MAX_RELATIONS] [static]
 

Initial value:

{
        {"CapableOf",           RELATION_CAPABLE_OF},
        {"CapableOfState",      RELATION_CAPABLE_OF_STATE},
        {"DesiresEvent",        RELATION_DESIRES_EVENT},
        {"DesiresNotEvent",     RELATION_DESIRES_NOT_EVENT},
        {"Do",                  RELATION_DO},
        {"EffectOf",            RELATION_EFFECT_OF},
        {"EffectOfIsState",     RELATION_EFFECT_OF_IS_STATE},
        {"EventForGoalEvent",   RELATION_EVENT_FOR_GOAL_EVENT},
        {"EventForGoalState",   RELATION_EVENT_FOR_GOAL_STATE},
        {"EventRequiresObject", RELATION_EVENT_REQUIRES_OBJECT},
        {"FirstSubeventOf",     RELATION_FIRST_SUB_EVENT_OF},
        {"IsA",                 RELATION_IS_A},
        {"LastSubeventOf",      RELATION_LAST_SUB_EVENT_OF},
        {"LocationOf",          RELATION_LOCATION_OF},
        {"MadeOf",              RELATION_MADE_OF},
        {"OftenNear",           RELATION_OFTEN_NEAR},
        {"PartOf",              RELATION_PART_OF},
        {"PostEventOf",         RELATION_POST_EVENT_OF},
        {"PropertyOf",          RELATION_PROPERTY_OF},
        {"SubeventOf",          RELATION_SUB_EVENT_OF},
        {"UsedFor",             RELATION_USED_FOR}
}
Array of textual name <-> relation type mappings.

Definition at line 66 of file relation_type.h.

Referenced by CRelationTypeLookup::Lookup().

const RelationType RELATION_NONE = (-1) [static]
 

Reserved relation type that indicates no relation has been set.

Definition at line 28 of file relation_type.h.

Referenced by CRelationTypeLookup::Lookup().


Generated on Tue Sep 16 09:44:25 2003 for OMCSNetCPP by doxygen 1.3.3