|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.production.action.SleepAction
public class SleepAction
An action, that when fired will block the model thread until a chunk appears in the goal buffer
| Constructor Summary | |
|---|---|
SleepAction()
|
|
| 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. |
void |
dispose()
Dispose is called to explicitly release resources when we are done with the IAction. |
double |
fire(IInstantiation instantiation,
double firingTime)
wait until the goal buffer isn't empty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SleepAction()
| Method Detail |
|---|
public IAction bind(java.util.Map<java.lang.String,java.lang.Object> variableBindings)
throws CannotInstantiateException
IAction
bind in interface IActionCannotInstantiateExceptionIAction.bind(java.util.Map)public void dispose()
IAction
dispose in interface IActionIAction.dispose()
public double fire(IInstantiation instantiation,
double firingTime)
fire in interface IActionfiringTime - when this production was firedIAction.fire(org.jactr.core.production.IInstantiation, double)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||