org.jactr.modules.pm.aural.six
Class DefaultAuralModule6

java.lang.Object
  extended by org.jactr.core.module.AbstractModule
      extended by org.jactr.core.module.asynch.AbstractAsynchronousModule
          extended by org.jactr.modules.pm.AbstractPerceptualModule
              extended by org.jactr.modules.pm.aural.AbstractAuralModule
                  extended by org.jactr.modules.pm.aural.six.DefaultAuralModule6
All Implemented Interfaces:
IAsynchronousModule, IModule, IInitializable, IInstallable, IParameterized, IAuralModule, IPerceptualMemoryModule, IPerceptualModule

public class DefaultAuralModule6
extends AbstractAuralModule

Author:
developer

Field Summary
 
Fields inherited from class org.jactr.modules.pm.aural.AbstractAuralModule
AURAL_DECAY_TIME_PARAM, ENABLE_BUFFER_STUFF_PARAM, ENCODING_TIME_EQUATION_PARAM
 
Fields inherited from interface org.jactr.modules.pm.aural.IAuralModule
ATTENDED_STATUS_SLOT, AUDIO_EVENT_CHUNK_TYPE, AURAL_BUFFER, AURAL_LOCATION_BUFFER, AZIMUTH_SLOT, CLEAR_CHUNK_TYPE, CONTENT_SLOT, DIGIT_CHUNK_TYPE, DURATION_SLOT, ELEVATION_SLOT, EVENT_SLOT, EXTERNAL_CHUNK, INTERNAL_CHUNK, KIND_SLOT, LOCATION_SLOT, OFFSET_SLOT, ONSET_SLOT, PITCH_SLOT, SOUND_CHUNK_TYPE, SPEECH_CHUNK_TYPE, TONE_CHUNK_TYPE, WORD_CHUNK_TYPE
 
Fields inherited from interface org.jactr.modules.pm.IPerceptualModule
GREATER_THAN_CURRENT_CHUNK, HIGHEST_CHUNK, LESS_THAN_CURRENT_CHUNK, LOWEST_CHUNK
 
Fields inherited from interface org.jactr.core.module.asynch.IAsynchronousModule
STRICT_SYNCHRONIZATION_PARAM
 
Constructor Summary
DefaultAuralModule6()
           
 
Method Summary
 java.util.concurrent.Future<IChunk> attendTo(PerceptualSearchResult result, double requestTime)
          attend to some search result, potentially returning some attended perceptual representation in the future.
 void initialize()
          this will be called after all the modules have been installed permitting the module to attach listeners to other modules.
 void reset()
          reset the module.
 void reset(boolean resetFINSTs)
           
 java.util.concurrent.Future<PerceptualSearchResult> search(ChunkTypeRequest request, double requestTime, boolean isStuffRequest)
          search perceptual memory, returning some result in the future
 
Methods inherited from class org.jactr.modules.pm.aural.AbstractAuralModule
addListener, dispatch, dispose, getAudioEventChunkType, getAuralActivationBuffer, getAuralDecayTime, getAuralLocationBuffer, getAuralMemory, getClearChunkType, getEncodingTimeEquation, getExternalChunk, getHighestChunk, getInternalChunk, getLowestChunk, getParameter, getPerceptualMemory, getRecodeTime, getSetableParameters, getSoundChunkType, hasListeners, isBufferStuffEnabled, removeListener, setAuralDecayTime, setParameter, setRecodeTime
 
Methods inherited from class org.jactr.modules.pm.AbstractPerceptualModule
getBusyChunk, getCommonRealityExecutor, getErrorChunk, getExecutor, getFreeChunk, getRequestedChunk, getSymbolGrounder, getUnrequestedChunk
 
Methods inherited from class org.jactr.core.module.asynch.AbstractAsynchronousModule
getPossibleParameters, isStrictSynchronizationEnabled, setStrictSynchronizationEnabled, synchronizedTimedEvent
 
Methods inherited from class org.jactr.core.module.AbstractModule
delayedFuture, getModel, getName, immediateFuture, immediateReturn, install, uninstall
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jactr.modules.pm.IPerceptualModule
getCommonRealityExecutor, getSymbolGrounder
 
Methods inherited from interface org.jactr.core.module.asynch.IAsynchronousModule
getExecutor, isStrictSynchronizationEnabled, setStrictSynchronizationEnabled, synchronizedTimedEvent
 
Methods inherited from interface org.jactr.core.module.IModule
getModel, getName, install
 
Methods inherited from interface org.jactr.core.utils.IInstallable
uninstall
 
Methods inherited from interface org.jactr.core.utils.parameter.IParameterized
getPossibleParameters
 

Constructor Detail

DefaultAuralModule6

public DefaultAuralModule6()
Method Detail

initialize

public void initialize()
Description copied from interface: IModule
this will be called after all the modules have been installed permitting the module to attach listeners to other modules. if you want to get access to chunks,types, or productions before the model runs, attach a model listener and do that during the modelStarted call

Specified by:
initialize in interface IModule
Specified by:
initialize in interface IInitializable
Overrides:
initialize in class AbstractAuralModule
See Also:
AbstractModule.initialize()

attendTo

public java.util.concurrent.Future<IChunk> attendTo(PerceptualSearchResult result,
                                                    double requestTime)
Description copied from interface: IPerceptualMemoryModule
attend to some search result, potentially returning some attended perceptual representation in the future.

Returns:

search

public java.util.concurrent.Future<PerceptualSearchResult> search(ChunkTypeRequest request,
                                                                  double requestTime,
                                                                  boolean isStuffRequest)
Description copied from interface: IPerceptualMemoryModule
search perceptual memory, returning some result in the future

Returns:

reset

public void reset(boolean resetFINSTs)

reset

public void reset()
Description copied from interface: IModule
reset the module. This will typically clear the owned buffers and abort any module specific operations