Uses of Interface
repast.simphony.engine.schedule.ISchedulableAction
Package
Description
-
Uses of ISchedulableAction in repast.simphony.engine.graph
Modifier and TypeMethodDescriptionDefaultGraphSchedule.schedule
(ScheduleParameters baseParams, Object rootNode, GraphExecutor<?> executor) Schedules the execution of a graph starting with the specified root node.DefaultGraphSchedule.schedule
(ScheduleParameters baseParams, Object rootNode, Network topology, Executor<Object> nodeExecutor) Schedules a Repast network to be executed.IGraphSchedule.schedule
(ScheduleParameters baseParams, Object rootNode, GraphExecutor<?> executor) Schedules the execution of a graph starting with the specified root node.IGraphSchedule.schedule
(ScheduleParameters baseParams, Object rootNode, Network topology, Executor<Object> nodeExecutor) Schedules a Repast network to be executed.static <E> ISchedulableAction
GraphScheduleUtilities.scheduleGraph
(ISchedule schedule, ScheduleParameters baseParams, Object rootNode, Executor<GraphParams<E>> graphExecutor) Schedules the execution of a graph starting with the specified root node.static ISchedulableAction
GraphScheduleUtilities.scheduleGraph
(ISchedule schedule, ScheduleParameters baseParams, Object rootNode, Network topology, Executor<Object> nodeExecutor) Schedules a Repast network to be executed. -
Uses of ISchedulableAction in repast.simphony.engine.schedule
Modifier and TypeClassDescriptionclass
Abstract base action used by the default scheduling mechanism.class
Default SchedulableAction used by as a default by the scheduling mechanism.class
An ISchedulableAction that will run in the background for some specificable number of ticks (the duration).Modifier and TypeFieldDescriptionprotected List<ISchedulableAction>
ScheduleGroup.executedActions
List of executed actions.Modifier and TypeMethodDescriptionDefaultSchedulableActionFactory.createAction
(Object annotatedObj, Object... parameters) Creates an ISchedulableACtion from ScheduleMethod annotated methods in the specified annotatedObj.DefaultSchedulableActionFactory.createAction
(ScheduleParameters scheduleParams, Object annotatedObj, Object... parameters) Creates an ISchedulableAction from ScheduleMethod annotated methods in the specified annotatedObj.DefaultSchedulableActionFactory.createAction
(ScheduleParameters scheduleParams, Object target, String methodName, Object... parameters) Creates a ISchedulableAction from the specified scheduling parameters that will execute the named method on the target object with the specified parameters.DefaultSchedulableActionFactory.createAction
(ScheduleParameters scheduleParams, IAction action) Creates an ISchedulableAction from the specified scheduling parameters and executable IAction.ISchedulableActionFactory.createAction
(Object annotatedObj, Object... parameters) Creates an ISchedulableACtion from ScheduleMethod annotated methods in the specified annotatedObj.ISchedulableActionFactory.createAction
(ScheduleParameters scheduleParams, Object annotatedObj, Object... parameters) Creates an ISchedulableAction from ScheduleMethod annotated methods in the specified annotatedObj.ISchedulableActionFactory.createAction
(ScheduleParameters scheduleParams, Object target, String methodName, Object... parameters) Creates a ISchedulableAction from the specified scheduling parameters that will execute the named method on the target object with the specified parameters.ISchedulableActionFactory.createAction
(ScheduleParameters scheduleParams, IAction action) Creates an ISchedulableAction from the specified scheduling parameters and executable IAction.ISchedule.createAction
(ScheduleParameters scheduleParams, Object annotatedObj, Object... parameters) Schedules the best matching ScheduleMethod annotated method for execution.Schedule.createAction
(ScheduleParameters scheduleParams, Object annotatedObj, Object... parameters) Schedules the best matching ScheduleMethod annotated method for execution.DefaultSchedulableActionFactory.createActionForIterable
(ScheduleParameters scheduleParams, Iterable target, String methodName, boolean shuffle, Object... parameters) Creates a ISchedulableAction from the specified scheduling parameters that will execute the named method on the objects returned by target object with the specified parameters.ISchedulableActionFactory.createActionForIterable
(ScheduleParameters scheduleParams, Iterable target, String methodName, boolean shuffle, Object... parameters) Creates a ISchedulableAction from the specified scheduling parameters that will execute the named method on the objects returned by target object with the specified parameters.ActionQueue.peekMin()
Get the minimum element from the queque without removing it from the queue.Schedule.peekNextAction()
ActionQueue.popMin()
Remove the minimum element from the queque and return it.Schedules the best matching ScheduleMethod annotated method for execution.ISchedule.schedule
(ScheduleParameters scheduleParams, Object target, String methodName, Object... methodParams) Schedules the named method call on the specified target with the specified parameters.ISchedule.schedule
(ScheduleParameters scheduleParams, IAction action) Schedules the specified IAction for execution according to the specified schedule parameters.Schedules the best matching ScheduleMethod annotated method for execution.Schedule.schedule
(ScheduleParameters scheduleParams, Object target, String methodName, Object... methodParams) Schedules the named method call on the specified target with the specified parameters.Schedule.schedule
(ScheduleParameters scheduleParams, IAction action) Schedules the specified IAction for execution according to the specified schedule parameters.ISchedule.scheduleIterable
(ScheduleParameters scheduleParams, Iterable target, String methodName, boolean shuffle, Object... methodParams) Schedules the named method call on each object returned by specified target with the specified parameters.Schedule.scheduleIterable
(ScheduleParameters scheduleParams, Iterable target, String methodName, boolean shuffle, Object... methodParams) Schedules the named method call on each object returned by specified target with the specified parameters.Modifier and TypeMethodDescriptionDefaultSchedulableActionFactory.createActions
(Object obj) Creates a List of SchedulableActions from annotated methods.ISchedulableActionFactory.createActions
(Object obj) Creates a List of SchedulableActions from annotated methods.ActionList.iterator()
Schedules for execution any methods in the specified object that have been annotated with the ScheduledMethod annotation.Schedules for execution any methods in the specified object that have been annotated with the ScheduledMethod annotation.Modifier and TypeMethodDescriptionvoid
ActionList.add
(ISchedulableAction action) Adds the specified action.void
ScheduleGroup.addAction
(ISchedulableAction action) Add an IScheduleAction to this ScheduleGroup.void
ActionList.addNoSort
(int index, ISchedulableAction action) Adds the specified action at the specifed index without marking the list as dirty and needing to be sorted.void
ActionList.addNoSort
(ISchedulableAction action) Adds the specified action without marking the list as dirty and needing to be sorted.void
ActionQueue.insert
(ISchedulableAction action) Insert the specified action into the queue.boolean
ActionList.remove
(ISchedulableAction action) Removes the specified action.boolean
ScheduleGroup.remove
(ISchedulableAction action) Removes the specified action from this ScheduleGroup.boolean
ISchedule.removeAction
(ISchedulableAction action) Removes the specified action from this Schedule.boolean
Schedule.removeAction
(ISchedulableAction action) Removes the specified action from this Schedule.void
ActionQueue.toss
(ISchedulableAction action) Insert the specified action into the queue without maintain heap order.boolean
ActionQueue.voidAction
(ISchedulableAction action) Find the specified Action in the queue and void it.Modifier and TypeMethodDescriptionvoid
ActionList.sort
(Comparator<ISchedulableAction> comp, boolean force) Sorts this list using the specified Comparator. -
Uses of ISchedulableAction in repast.simphony.essentials
Modifier and TypeMethodDescriptionstatic ISchedulableAction
RepastEssentials.ScheduleAction
(Object agent, double optionalStartTime, double optionalRepeatInterval, String methodName, Object... parameters) static ISchedulableAction
RepastEssentials.ScheduleAction
(Object agent, double optionalStartTime, String methodName, Object... parameters) static ISchedulableAction
RepastEssentials.ScheduleAction
(Object agent, String methodName, Object... parameters) Modifier and TypeMethodDescriptionstatic IAction
RepastEssentials.CancelAction
(ISchedulableAction actionToCancel)