|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.module.declarative.four.learning.ProceduralModuleListener
public class ProceduralModuleListener
we use a proceduralmodule listener to track the chunks that are accessed in service of firing a production. We listen to two methods: productionWillFire() to snag all the chunks that the production requires to fire, and productionFired() to call the various parameter update methods on the chunks
| Constructor Summary | |
|---|---|
ProceduralModuleListener(DefaultDeclarativeLearningModule4 learning)
|
|
| Method Summary | |
|---|---|
void |
conflictSetAssembled(ProceduralModuleEvent pme)
called after the conflict set is assembled |
void |
parameterChanged(IParameterEvent pe)
|
void |
productionAdded(ProceduralModuleEvent pme)
called when a production is added to the procedural module |
void |
productionCreated(ProceduralModuleEvent pme)
called when a production has been created, but not necessarily configured with all its symbolic/subsymbolic contents |
void |
productionFired(ProceduralModuleEvent pme)
adjust the parameter values for the chunks that enabled this production to fire |
void |
productionsMerged(ProceduralModuleEvent pme)
called when two productions have been merged into one. |
void |
productionWillFire(ProceduralModuleEvent pme)
snag the chunks that the production that is about to fire is matched against |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProceduralModuleListener(DefaultDeclarativeLearningModule4 learning)
| Method Detail |
|---|
public void conflictSetAssembled(ProceduralModuleEvent pme)
IProceduralModuleListener
conflictSetAssembled in interface IProceduralModuleListenerpublic void productionAdded(ProceduralModuleEvent pme)
IProceduralModuleListener
productionAdded in interface IProceduralModuleListenerpublic void productionWillFire(ProceduralModuleEvent pme)
productionWillFire in interface IProceduralModuleListenerIProceduralModuleListener.productionWillFire(org.jactr.core.module.procedural.event.ProceduralModuleEvent)public void productionCreated(ProceduralModuleEvent pme)
IProceduralModuleListener
productionCreated in interface IProceduralModuleListenerpublic void productionFired(ProceduralModuleEvent pme)
productionFired in interface IProceduralModuleListenerIProceduralModuleListener.productionFired(org.jactr.core.module.procedural.event.ProceduralModuleEvent)public void productionsMerged(ProceduralModuleEvent pme)
IProceduralModuleListener
productionsMerged in interface IProceduralModuleListenerpublic void parameterChanged(IParameterEvent pe)
parameterChanged in interface IParameterListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||