|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.production.action.DefaultAction
public abstract class DefaultAction
DefaultAction is the general base class for all the of the Actions presented (aside, of course, for IAction itself). It provides general implementations of bind(), fire(), and duplicate(). The most important of these is the bind() method which handles all the variable resolution for Actions.
| Constructor Summary | |
|---|---|
DefaultAction()
Constructor for the DefaultAction object |
|
| Method Summary | |
|---|---|
void |
dispose()
Description of the Method |
abstract double |
fire(IInstantiation instantiation,
double firingTime)
Description of the Method |
static java.lang.Object |
resolve(java.lang.String variableName,
java.util.Map<java.lang.String,java.lang.Object> bindings)
resolve the value of variableName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jactr.core.production.action.IAction |
|---|
bind |
| Constructor Detail |
|---|
public DefaultAction()
| Method Detail |
|---|
public void dispose()
dispose in interface IAction
public abstract double fire(IInstantiation instantiation,
double firingTime)
fire in interface IActioninstantiation - Description of the ParameterfiringTime - when this production was fired
public static java.lang.Object resolve(java.lang.String variableName,
java.util.Map<java.lang.String,java.lang.Object> bindings)
variableName - Description of the Parameterbindings - Description of the Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||