org.jactr.core.production.action
Class StopAction

java.lang.Object
  extended by org.jactr.core.production.action.DefaultAction
      extended by org.jactr.core.production.action.StopAction
All Implemented Interfaces:
IAction

public class StopAction
extends DefaultAction


Field Summary
static org.apache.commons.logging.Log LOGGER
          logger definition
 
Constructor Summary
StopAction()
           
 
Method Summary
 IAction bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
          Bind is called during the creation of an instantiation of a produciton.
 double fire(IInstantiation instantiation, double firingTime)
          Description of the Method
 
Methods inherited from class org.jactr.core.production.action.DefaultAction
dispose, resolve
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final org.apache.commons.logging.Log LOGGER
logger definition

Constructor Detail

StopAction

public StopAction()
Method Detail

fire

public double fire(IInstantiation instantiation,
                   double firingTime)
Description copied from class: DefaultAction
Description of the Method

Specified by:
fire in interface IAction
Specified by:
fire in class DefaultAction
Parameters:
instantiation - Description of the Parameter
firingTime - when this production was fired
Returns:
Description of the Return Value

bind

public IAction bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
             throws CannotInstantiateException
Description copied from interface: IAction
Bind is called during the creation of an instantiation of a produciton. By the time this gets called, we know that all the conditions are matched and all the variables have been assigned. This method merely creates a copy of this action and applies those bindings. the IAction returned by this method will be the actual one that is fired. Normally, an action should not change the contents of variableBindings

Returns:
Throws:
CannotInstantiateException
See Also:
IAction.bind(java.util.Map)