Skip to content

combine.sedml.task

Task trees of SED-ML documents.

TaskNode

TaskNode(task, depth)

Tree implementation of task tree.

Initialize the node for the task at the given depth.

add_child

add_child(obj)

Add a child node.

is_leaf

is_leaf()

Check if the node has no children.

info

info()

Render the node.

Stack

Stack()

Stack implementation for nodes.

Initialize the empty stack.

isEmpty

isEmpty()

Check if the stack is empty.

push

push(item)

Push an item on the stack.

pop

pop()

Pop the top item.

peek

peek()

Return the top item without removing it.

size

size()

Number of items on the stack.

TaskTree

Tree of the tasks of a SED-ML document.

from_sedml_task staticmethod

from_sedml_task(sed_task, root_task)

Creates task tree for given SedTask.

The task tree is used to resolve the order of all simulations.

get_ordered_subtasks staticmethod

get_ordered_subtasks(repeated_task)

Ordered list of subtasks for repeated task.