Package | Description |
---|---|
yartiss.engine.simulation.io | |
yartiss.engine.simulation.system.schedulable |
Modifier and Type | Method and Description |
---|---|
void |
XmlFileWriter.visitSubTask(SubTask task) |
void |
TextWriter.visitSubTask(SubTask subTask) |
void |
ITaskElementVisitor.visitSubTask(SubTask subTask) |
Modifier and Type | Method and Description |
---|---|
SubTask |
GraphTask.getEndingSubtask()
Gets the ending subtask of a graph which is the subtask with no children
subtasks graph has one ending subtask
|
SubTask |
GraphTask.getStartingSubtask()
Gets the starting subtask of a graph which is the subtask with no parent
subtasks graph has one starting subtask
|
Modifier and Type | Method and Description |
---|---|
ArrayList<SubTask> |
SubTask.getChildrenTasks()
gets the children subtasks of the subtask
|
ArrayList<SubTask> |
SubTask.getParentTasks()
gets the parent subtasks of the subtask
|
ArrayList<SubTask> |
GraphTask.getSubtasks()
Gets the subtasks of the graph
|
Modifier and Type | Method and Description |
---|---|
void |
SubTask.addChildTask(SubTask child)
adds a child to the subtask
|
void |
GraphTask.addEdge(SubTask parent,
SubTask child)
Adds a directed edge between 2 subtasks in the graph
|
void |
SubTask.addParentTask(SubTask parent)
adds a parent to the subtask
|
void |
GraphTask.addTask(SubTask subtask)
Adds a subtask to the graph
|
boolean |
GraphTask.canAddEdge(SubTask subtask1,
SubTask subtask2)
Verify if an edge can be created between 2 subtasks in a graph an edge
can't be created if 2 subtasks share the same parent
|
void |
GraphTask.removeEdge(SubTask parent,
SubTask child)
Removes a directed edge between 2 subtasks in the graph
|
void |
GraphTask.removeTask(SubTask subtask)
Removes a subtask from the graph and its edges
|
Modifier and Type | Method and Description |
---|---|
void |
SubTask.setChildrenTasks(ArrayList<SubTask> children)
sets the children subtasks of the subtask
|
void |
SubTask.setIndex(ArrayList<SubTask> list)
Sets the index of a subtask in the graph according to the index of the
last subtask in the list
|
void |
SubTask.setIndex(CopyOnWriteArrayList<SubTask> list) |
void |
SubTask.setParentTasks(ArrayList<SubTask> parents)
sets the parent subtasks of the subtask
|
Constructor and Description |
---|
SubTask(SubTask subtask) |
Constructor and Description |
---|
GraphTask(long firstrelease,
long wcee,
long period,
long deadline,
int priority,
ArrayList<SubTask> subtasks,
IEnergyConsumptionProfile p) |
Copyright © 2012. All Rights Reserved.