|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.memphis.ccrg.lida.globalworkspace.triggers.NoBroadcastOccurringTrigger
edu.memphis.ccrg.lida.globalworkspace.triggers.NoCoalitionArrivingTrigger
public class NoCoalitionArrivingTrigger
A trigger that fires when a certain number of ticks have passed without
a new Coalition being added to the GlobalWorkspace.
Inherits most of its fields and methods from its parent class NoBroadcastOccurringTrigger.
NoBroadcastOccurringTrigger| Constructor Summary | |
|---|---|
NoCoalitionArrivingTrigger()
|
|
| Method Summary | |
|---|---|
void |
checkForTriggerCondition(java.util.Collection<Coalition> coalitions)
Called each time a new coalition is added to the GlobalWorkspace. |
| Methods inherited from class edu.memphis.ccrg.lida.globalworkspace.triggers.NoBroadcastOccurringTrigger |
|---|
getDelay, getTaskManager, init, reset, setTaskManager, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoCoalitionArrivingTrigger()
| Method Detail |
|---|
public void checkForTriggerCondition(java.util.Collection<Coalition> coalitions)
GlobalWorkspace.
Specifically for this trigger NoBroadcastOccurringTrigger.reset() is called which resets the TimerTask object.
Thus this trigger fires when a certain number of ticks have passed without a new Coalition entering the GlobalWorkspace.
checkForTriggerCondition in interface BroadcastTriggercheckForTriggerCondition in class NoBroadcastOccurringTriggercoalitions - Coalition objects the trigger can check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||