org.jactr.modules.pm.common.memory.map
Interface IFeatureMap<T>

All Superinterfaces:
IAfferentObjectListener
All Known Subinterfaces:
IFINSTFeatureMap
All Known Implementing Classes:
AbstractAuralFeatureMap, AbstractFeatureMap, AbstractSortedAuralFeatureMap, AbstractSortedFeatureMap, AbstractSortedVisualFeatureMap, AbstractVisualFeatureMap, AudibleFeatureMap, ColorFeatureMap, DefaultFINSTFeatureMap, DimensionFeatureMap, DistanceFeatureMap, DurationFeatureMap, FINSTAuralFeatureMap, FINSTVisualFeatureMap, HeadingFeatureMap, KindFeatureMap, KindFeatureMap, OffsetFeatureMap, OnsetFeatureMap, PitchFeatureMap, SizeFeatureMap, ValueFeatureMap, VisibilityFeatureMap

public interface IFeatureMap<T>
extends IAfferentObjectListener

Author:
developer

Method Summary
 void addListener(IFeatureMapListener listener, java.util.concurrent.Executor executor)
           
 void clear()
           
 void dispose()
           
 void fillSlotValues(ChunkTypeRequest mutableRequest, org.commonreality.identifier.IIdentifier identifier, IChunk encodedChunk, ChunkTypeRequest originalSearchRequest)
          fill the slot values accordingly for this identifier at the mutablePattern location this is then used to further specify the actual location chunk that will be returned
 void getCandidateRealObjects(ChunkTypeRequest request, java.util.Set<org.commonreality.identifier.IIdentifier> container)
          return all the identifiers of all possible objects that can exist at the visual location defined by this search pattern if nothing is available, and empty collection is to be returned
 T getInformation(org.commonreality.identifier.IIdentifier identifier)
          returns the feature value for this object
 IPerceptualMemory getPerceptualMemory()
           
 boolean isInterestedIn(ChunkTypeRequest request)
           
 void normalizeRequest(ChunkTypeRequest request)
          provides an opportunity to normalize any varialbes.
 void removeListener(IFeatureMapListener listener)
           
 void setPerceptualMemory(IPerceptualMemory memory)
           
 
Methods inherited from interface org.jactr.modules.pm.common.afferent.IAfferentObjectListener
afferentObjectAdded, afferentObjectRemoved, afferentObjectUpdated, isInterestedIn
 

Method Detail

getCandidateRealObjects

void getCandidateRealObjects(ChunkTypeRequest request,
                             java.util.Set<org.commonreality.identifier.IIdentifier> container)
return all the identifiers of all possible objects that can exist at the visual location defined by this search pattern if nothing is available, and empty collection is to be returned

Parameters:
container -

getInformation

T getInformation(org.commonreality.identifier.IIdentifier identifier)
returns the feature value for this object

Parameters:
identifier -
Returns:

fillSlotValues

void fillSlotValues(ChunkTypeRequest mutableRequest,
                    org.commonreality.identifier.IIdentifier identifier,
                    IChunk encodedChunk,
                    ChunkTypeRequest originalSearchRequest)
fill the slot values accordingly for this identifier at the mutablePattern location this is then used to further specify the actual location chunk that will be returned

Parameters:
mutableRequest - the pseudo visual location to be setup
identifier -
encodedChunk - TODO
originalSearchRequest -

clear

void clear()

dispose

void dispose()

isInterestedIn

boolean isInterestedIn(ChunkTypeRequest request)

addListener

void addListener(IFeatureMapListener listener,
                 java.util.concurrent.Executor executor)

removeListener

void removeListener(IFeatureMapListener listener)

setPerceptualMemory

void setPerceptualMemory(IPerceptualMemory memory)

getPerceptualMemory

IPerceptualMemory getPerceptualMemory()

normalizeRequest

void normalizeRequest(ChunkTypeRequest request)
provides an opportunity to normalize any varialbes. will only be called if isInterestedIn(ChunkTypeRequest)

Parameters:
request -