org.jactr.modules.pm.visual.memory.impl.encoder
Class LineEncoder

java.lang.Object
  extended by org.jactr.modules.pm.visual.memory.impl.encoder.AbstractVisualEncoder
      extended by org.jactr.modules.pm.visual.memory.impl.encoder.LineEncoder
All Implemented Interfaces:
IPerceptualEncoder

public class LineEncoder
extends AbstractVisualEncoder


Field Summary
static java.lang.String[][] KEYS
           
 
Fields inherited from interface org.jactr.modules.pm.common.memory.IPerceptualEncoder
COMMONREALITY_IDENTIFIER_META_KEY
 
Constructor Summary
LineEncoder()
           
 
Method Summary
 boolean isDirty(org.commonreality.object.IAfferentObject afferentObject, IChunk oldChunk, IPerceptualMemory memory)
          checks the expected visual location against the previously encoded visual location.
 
Methods inherited from class org.jactr.modules.pm.visual.memory.impl.encoder.AbstractVisualEncoder
encode, exceedsMovementTolerance, getLocation, getVisualLocation, getVisualLocation, isInterestedIn, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEYS

public static final java.lang.String[][] KEYS
Constructor Detail

LineEncoder

public LineEncoder()
Method Detail

isDirty

public boolean isDirty(org.commonreality.object.IAfferentObject afferentObject,
                       IChunk oldChunk,
                       IPerceptualMemory memory)
Description copied from class: AbstractVisualEncoder
checks the expected visual location against the previously encoded visual location. The read lock will already have been acquired.

Specified by:
isDirty in interface IPerceptualEncoder
Overrides:
isDirty in class AbstractVisualEncoder
Returns:
See Also:
IPerceptualEncoder.isDirty(org.commonreality.object.IAfferentObject, org.jactr.core.chunk.IChunk, org.jactr.modules.pm.common.memory.IPerceptualMemory)