org.jactr.core.module.procedural.six.learning.event
Class ProceduralLearningEvent

java.lang.Object
  extended by org.jactr.core.event.AbstractACTREvent<IProceduralLearningModule6,IProceduralLearningModule6Listener>
      extended by org.jactr.core.module.procedural.six.learning.event.ProceduralLearningEvent
All Implemented Interfaces:
IACTREvent<IProceduralLearningModule6,IProceduralLearningModule6Listener>

public class ProceduralLearningEvent
extends AbstractACTREvent<IProceduralLearningModule6,IProceduralLearningModule6Listener>


Nested Class Summary
static class ProceduralLearningEvent.Type
           
 
Field Summary
 
Fields inherited from class org.jactr.core.event.AbstractACTREvent
LOGGER
 
Constructor Summary
ProceduralLearningEvent(IProceduralLearningModule6 source, IProduction production, double reward)
           
 
Method Summary
 void fire(IProceduralLearningModule6Listener listener)
          dispatch this event to a listener on the provided executor
 IProduction getProduction()
           
 double getReward()
           
 ProceduralLearningEvent.Type getType()
           
 
Methods inherited from class org.jactr.core.event.AbstractACTREvent
getSimulationTime, getSource, getSystemTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProceduralLearningEvent

public ProceduralLearningEvent(IProceduralLearningModule6 source,
                               IProduction production,
                               double reward)
Method Detail

fire

public void fire(IProceduralLearningModule6Listener listener)
Description copied from interface: IACTREvent
dispatch this event to a listener on the provided executor

Specified by:
fire in interface IACTREvent<IProceduralLearningModule6,IProceduralLearningModule6Listener>
Specified by:
fire in class AbstractACTREvent<IProceduralLearningModule6,IProceduralLearningModule6Listener>

getType

public ProceduralLearningEvent.Type getType()

getProduction

public IProduction getProduction()

getReward

public double getReward()