org.jactr.modules.pm.common.symbol
Class DefaultStringSymbolGrounder

java.lang.Object
  extended by org.jactr.modules.pm.common.symbol.DefaultStringSymbolGrounder
All Implemented Interfaces:
ISymbolGrounder

public class DefaultStringSymbolGrounder
extends java.lang.Object
implements ISymbolGrounder

default symbol grounder that merely returns the string version of the "text" properity (if it exists) otherwise, it returns the string version of the percepts identifier.

Author:
harrison

Constructor Summary
DefaultStringSymbolGrounder()
           
 
Method Summary
 java.lang.Object getSymbolForPercept(org.commonreality.object.IAfferentObject percept, IPerceptualModule perceivingModule, IDeclarativeModule declarativeModule)
          returns a consistent mapping to a percept value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStringSymbolGrounder

public DefaultStringSymbolGrounder()
Method Detail

getSymbolForPercept

public java.lang.Object getSymbolForPercept(org.commonreality.object.IAfferentObject percept,
                                            IPerceptualModule perceivingModule,
                                            IDeclarativeModule declarativeModule)
Description copied from interface: ISymbolGrounder
returns a consistent mapping to a percept value. The returned value may be a chunk, a string, or what-have-you. For spreading of activation purposes, a chunk is ideal.

Specified by:
getSymbolForPercept in interface ISymbolGrounder
Returns: