|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--AgendaManager
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
void |
addAgenda(TaskCell Task)
|
void |
addAgendaNOPROV(java.lang.String root_task,
java.lang.String Message)
Adds all Tasks in Tasks to Agenda that have NOPROV as thier provision. |
void |
DebugSched(java.lang.String str)
|
void |
dip(TaskCell Task,
ProvisionCell Parg)
|
void |
distributeInputProvision(TaskCell Task,
java.lang.String Provision,
java.lang.String Value)
The idea here is to get the list of receiver for each provision and distribute the data to the apropriate values of the receiving tasks. |
void |
distributeOutcomeProvision(TaskCell Task,
ProvisionCell Parg)
|
LinkedListQ |
getMsgList(java.lang.String message)
|
void |
RemoveTasks(TaskCell T)
|
void |
run_Scheduler()
The Schedular takes a TaskQuCell off the TaskQ, merges the tasks in the TaskQuCell with Tasks, then checks to see if any of the tasks can be run immediately (because they have no input provisions), distributes input provisions, and checks to see if a task can be run as the input provisions are filled in. |
void |
run()
|
boolean |
TaskCompleted(TaskCell T)
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void run_Scheduler() throws CriticalAgentException, NonCriticalAgentException
CriticalAgentException
NonCriticalAgentException
public void distributeInputProvision(TaskCell Task, java.lang.String Provision, java.lang.String Value)
public void distributeOutcomeProvision(TaskCell Task, ProvisionCell Parg)
public void dip(TaskCell Task, ProvisionCell Parg)
public void addAgenda(TaskCell Task)
public boolean TaskCompleted(TaskCell T)
public void RemoveTasks(TaskCell T)
public void addAgendaNOPROV(java.lang.String root_task, java.lang.String Message)
public LinkedListQ getMsgList(java.lang.String message)
public void DebugSched(java.lang.String str)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |