Package | Description |
---|---|
cz.cuni.mff.corrector.corrector |
Implementations of correction algorithms.
|
cz.cuni.mff.corrector.execution |
Supporting classes for corrector implementations.
|
Modifier and Type | Field and Description |
---|---|
protected Task |
Handler.associatedTask
Associated task representing the goal of this handler execution.
|
Modifier and Type | Field and Description |
---|---|
protected Store<Task> |
Corrector.tasksCache
Internal store for managing existing tasks.
|
Modifier and Type | Method and Description |
---|---|
Task |
Corrector.createExtendedTask(Intent correctionIntent)
Creates a new instance of an extended task.
|
Task |
Corrector.createSimpleTask(Intent correctionIntent)
Creates a new instance of a simple task.
|
Task |
Handler.getAssociatedTask()
Returns the associated correction task.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Handler.activateInvokingIterative(Task nestedTask,
Quota grantedQuota)
Activates the particular invoked task.
|
protected void |
Handler.activateInvokingStandard(Task nestedTask)
Activates the particular invoked task.
|
protected Handler |
Corrector.createHandlerInstance(Task associatedTask)
Creates a new instance of the correction handler.
|
void |
Corrector.removeCachedTask(Task cachedTask)
Removes the provided task from the cache of tasks.
|
protected void |
Handler.scheduleIterativeExtended(Requests requestsData,
Task nestedTask,
Quota grantedQuota)
Activates the particular scheduled task.
|
protected void |
Handler.scheduleIterativeSimple(Requests requestsData,
Task nestedTask,
Quota grantedQuota)
Activates the particular scheduled task.
|
protected void |
Handler.scheduleStandardExtended(Requests requestsData,
Task nestedTask,
Edge nestedEdge)
Activates the particular scheduled task.
|
protected void |
Handler.scheduleStandardSimple(Requests requestsData,
Task nestedTask,
Edge nestedEdge)
Activates the particular scheduled task.
|
protected void |
Handler.triggerInvokingSingle(Task nestedTask,
Quota grantedQuota)
Requests the invoked refinement execution for a given task.
|
Modifier and Type | Method and Description |
---|---|
void |
Handler.dispatchIterativeRequests(java.util.List<Edge> nestedEdges,
java.util.List<Task> nestedTasks,
java.util.List<Quota> nestedQuotas)
Dispatches all requests to the iterative refinement processing.
|
protected void |
Handler.requestInvokingMultiple(java.util.List<Task> nestedTasks,
java.util.List<Quota> grantedQuotas)
Requests the invoked refinement execution for a set of tasks.
|
protected void |
Handler.requestInvokingSingle(java.util.List<Task> nestedTasks,
java.util.List<Quota> grantedQuotas)
Requests the invoked refinement execution for a set of tasks.
|
protected void |
Handler.requestMultipleScheduling(java.util.List<Task> nestedTasks,
java.util.List<Quota> grantedQuotas)
Requests the scheduled refinement execution for a set of tasks.
|
protected void |
Handler.requestNestingSingle(java.util.List<Task> nestedTasks,
java.util.List<Quota> grantedQuotas)
Requests the nested refinement execution for a set of tasks.
|
protected void |
Handler.requestSchedulingSingle(java.util.List<Task> nestedTasks,
java.util.List<Quota> grantedQuotas)
Requests the scheduled refinement execution for a set of tasks.
|
Constructor and Description |
---|
Handler(Corrector correctorReference,
Task associatedTask)
Creates a new correction handler instance.
|
Modifier and Type | Field and Description |
---|---|
Task |
Wrapper.taskReference
Optional reference to the associated task structure.
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Task> |
Requests.preparedTasks
List of postponed and not yet evaluated tasks and their intents.
|
java.util.List<Task> |
Requests.requestedTasks
List of requested nested tasks during the last execution.
|
Modifier and Type | Method and Description |
---|---|
static Task |
Task.createExtendedTask(Intent correctionIntent)
Creates a new extended task with initialised dependencies.
|
static Task |
Task.createSimpleTask(Intent correctionIntent)
Creates a new simple task that only holds the intent reference.
|
Task |
Variables.getCachedTask(Intent nestedIntent)
fetched the required task from the local cache if it exists.
|
Task |
Dependencies.getRequestingTask()
Fetches some requesting task from the internal container.
|
Task |
Task.getRequestingTask()
Returns the parental requesting task.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Task> |
Dependencies.getRequestedTasks()
Returns the set of tasks requested by this task.
|
java.util.List<Task> |
Dependencies.getRequestingTasks()
Returns the set of tasks that have requested execution of this task.
|
Modifier and Type | Method and Description |
---|---|
void |
Variables.addCachedTask(Intent nestedIntent,
Task nestedTask)
Adds a new task into the local cache of tasks for reached intents.
|
void |
Dependencies.addRequestedTask(Task requestedTask)
Adds a new requesting task into the internal container.
|
void |
Dependencies.addRequestingTask(Task requestingTask)
Adds a new requesting task into the internal container.
|
void |
Dependencies.removeRequestedTask(Task requestedTask)
Removes the requested task from the internal container.
|
void |
Dependencies.removeRequestingTask(Task requestingTask)
Removes the requesting task from the internal container.
|
void |
Task.setRequestingTask(Task parentalTask)
Sets the reference of the parental requesting task.
|
Constructor and Description |
---|
Wrapper(Task taskReference)
Creates a new wrapper instance from the provided task.
|