Module tornado.api

Class ImmutableTaskGraph

java.lang.Object
uk.ac.manchester.tornado.api.ImmutableTaskGraph

public class ImmutableTaskGraph extends Object
A TaskGraph is encapsulated in this class and all actions over a task graph are coded from this class. For instance, execution.

This class does not allow a task-graph to mutate (e.g., add/remove tasks or data from the graph itself). To mutate a graph, we need to create a new ImmutableTaskGraph object from a mutated . Note that, developers can mutate task-graph objects (of type ) without affecting the execution of graphs encapsulated in ImmutableTaskGraph.

Since:
0.15