|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOperatorScheduler
Interface for operator scheduler
Method Summary | |
---|---|
void |
abort(ScheduledOperator sa)
Aborts a scheduled operator |
int |
calcDuration(Operator theOperator)
Calculates the duration of given Action in a certain knowledge context |
int |
calcInterruptableDuration(Operator theOperator)
Calculates the interruptableDuration of given Operator in a certain knowledge context |
void |
clearOperatorResults()
Clears the history of scheduled actions |
java.util.List<ScheduledOperator> |
getOperatorResults()
Returns the history of scheduled actions, including their state (like aborted or finished) |
java.util.List<ScheduledOperator> |
getScheduledOperators()
Returns the list of scheduled actions |
void |
pulse()
Increases the time step and handles everything that has to be done in response to it |
boolean |
schedule(Operator newOperator)
Schedules an operator |
void |
unschedule(ScheduledOperator sa)
Removes a scheduled operator |
Methods inherited from interface vs.IAgentModule |
---|
getAgent |
Method Detail |
---|
void abort(ScheduledOperator sa)
sa
- the scheduled operator to abortint calcDuration(Operator theOperator)
theOperator
- the operator to work with
int calcInterruptableDuration(Operator theOperator)
theOperator
- the Operator to work with
void clearOperatorResults()
java.util.List<ScheduledOperator> getOperatorResults()
java.util.List<ScheduledOperator> getScheduledOperators()
void pulse()
boolean schedule(Operator newOperator)
newOperator
- the operator to schedule
void unschedule(ScheduledOperator sa)
sa
- the scheduled operator to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |