org.jactr.core.module.declarative.four.learning
Class ChunkListener
java.lang.Object
org.jactr.core.chunk.event.ChunkListenerAdaptor
org.jactr.core.module.declarative.four.learning.ChunkListener
- All Implemented Interfaces:
- java.util.EventListener, IChunkListener
public class ChunkListener
- extends ChunkListenerAdaptor
we just listen for slot value changes so that Links can be created correctly.
- Author:
- developer
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkListener
public ChunkListener(DefaultDeclarativeLearningModule4 learning)
chunkEncoded
public void chunkEncoded(ChunkEvent ce)
- Specified by:
chunkEncoded in interface IChunkListener- Overrides:
chunkEncoded in class ChunkListenerAdaptor
mergingInto
public void mergingInto(ChunkEvent event)
- handles the updating of associative links
- Specified by:
mergingInto in interface IChunkListener- Overrides:
mergingInto in class ChunkListenerAdaptor
- Parameters:
event - - See Also:
ChunkListenerAdaptor.mergingInto(org.jactr.core.chunk.event.ChunkEvent)
mergingWith
public void mergingWith(ChunkEvent ce)
- Description copied from interface:
IChunkListener
ChunkEvent.getChunk() is about to be merged into
AbstractACTREvent.getSource()
- Specified by:
mergingWith in interface IChunkListener- Overrides:
mergingWith in class ChunkListenerAdaptor
slotChanged
public void slotChanged(ChunkEvent ce)
- Specified by:
slotChanged in interface IChunkListener- Overrides:
slotChanged in class ChunkListenerAdaptor