public class DefaultAssociativeLinkageSystem4 extends DefaultAssociativeLinkageSystem
Constructor and Description |
---|
DefaultAssociativeLinkageSystem4(IDeclarativeLearningModule4 learningModule,
java.util.concurrent.Executor executor) |
Modifier and Type | Method and Description |
---|---|
protected IChunkListener |
createChunkListener(IDeclarativeLearningModule4 learningModule,
java.util.concurrent.Executor executor)
allows us to detect slot changes and handle merging & encoding may return
null
|
protected IDeclarativeModuleListener |
createDeclarativeModuleListener(IDeclarativeLearningModule4 learningModule,
java.util.concurrent.Executor executor) |
protected IAssociativeLinkEquation |
createLinkEquation(IDeclarativeLearningModule4 learningModule) |
protected IProceduralModuleListener |
createProceduralListener(IDeclarativeLearningModule4 learningModule,
java.util.concurrent.Executor executor)
we use the production firing to trigger the learning may return null.
|
IChunkListener |
getChunkListener()
associative linkers will often require chunk listeners to perform their
job.
|
void |
install(IModel model)
called by the model during the install(IInstallable) call.
|
protected void |
linkSlotValue(IChunk iChunk,
IChunk value,
boolean valueIsOld)
will create (or remove) an associative link from value to iChunk,
establishing the containment link.
|
void |
uninstall(IModel model)
remove the element from this model.
|
addLink, chunkWillBeDisposed, copyAndRemapLinks, createLink, detachLink, getAssociativeLinkEquation, getParameterHandler, getParameterProcessor, remapAndInstall, removeLink, setAssociativeLinkEquation
public DefaultAssociativeLinkageSystem4(IDeclarativeLearningModule4 learningModule, java.util.concurrent.Executor executor)
protected IDeclarativeModuleListener createDeclarativeModuleListener(IDeclarativeLearningModule4 learningModule, java.util.concurrent.Executor executor)
protected IChunkListener createChunkListener(IDeclarativeLearningModule4 learningModule, java.util.concurrent.Executor executor)
protected IAssociativeLinkEquation createLinkEquation(IDeclarativeLearningModule4 learningModule)
protected IProceduralModuleListener createProceduralListener(IDeclarativeLearningModule4 learningModule, java.util.concurrent.Executor executor)
public IChunkListener getChunkListener()
DefaultAssociativeLinkageSystem
DeclarativeModuleListener
getChunkListener
in class DefaultAssociativeLinkageSystem
public void install(IModel model)
IInstallable
install
in interface IInstallable
install
in class DefaultAssociativeLinkageSystem
public void uninstall(IModel model)
IInstallable
uninstall
in interface IInstallable
uninstall
in class DefaultAssociativeLinkageSystem
protected void linkSlotValue(IChunk iChunk, IChunk value, boolean valueIsOld)
iChunk
- value
- valueIsOld
-