org.jactr.modules.pm.aural.memory.impl.filter
Class AttendedAudioEventFilter

java.lang.Object
  extended by org.jactr.modules.pm.common.memory.filter.AbstractIndexFilter<java.lang.Boolean>
      extended by org.jactr.modules.pm.aural.memory.impl.filter.AttendedAudioEventFilter
All Implemented Interfaces:
IIndexFilter

public class AttendedAudioEventFilter
extends AbstractIndexFilter<java.lang.Boolean>


Constructor Summary
AttendedAudioEventFilter()
           
 
Method Summary
 boolean accept(ChunkTypeRequest template)
          if we've gotten this far, then always accept
 java.util.Comparator<ChunkTypeRequest> getComparator()
          no comparator is used (how would you sort new, old, attended ?)
 IIndexFilter instantiate(ChunkTypeRequest request)
          these are self-templating.
 void normalizeRequest(ChunkTypeRequest request)
          can be used to expand variables or special values
 
Methods inherited from class org.jactr.modules.pm.common.memory.filter.AbstractIndexFilter
getPerceptualMemory, getWeight, setPerceptualMemory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttendedAudioEventFilter

public AttendedAudioEventFilter()
Method Detail

accept

public boolean accept(ChunkTypeRequest template)
if we've gotten this far, then always accept

Parameters:
template -
Returns:
See Also:
IIndexFilter.accept(org.jactr.core.production.request.ChunkTypeRequest)

getComparator

public java.util.Comparator<ChunkTypeRequest> getComparator()
no comparator is used (how would you sort new, old, attended ?)

Returns:
See Also:
IIndexFilter.getComparator()

instantiate

public IIndexFilter instantiate(ChunkTypeRequest request)
Description copied from interface: IIndexFilter
these are self-templating. The master copy is installed and during the search processing a copy is instantiated.

Returns:

normalizeRequest

public void normalizeRequest(ChunkTypeRequest request)
Description copied from interface: IIndexFilter
can be used to expand variables or special values

Specified by:
normalizeRequest in interface IIndexFilter
Overrides:
normalizeRequest in class AbstractIndexFilter<java.lang.Boolean>