lsst.pipe.base  16.0-25-g2c6bf4a+2
Public Member Functions | Public Attributes | List of all members
lsst.pipe.base.graph.QuantumGraphNodes Class Reference

Public Member Functions

def __init__ (self, taskDef, quanta)
 

Public Attributes

 taskDef
 
 quanta
 

Detailed Description

QuantumGraphNodes represents a bunch of nodes in an quantum graph.

The node in quantum graph is represented by the `PipelineTask` and a
single `Quantum` instance. One possible representation of the graph is
just a list of nodes without edges (edges can be deduced from nodes'
quantum inputs and outputs if needed). That representation can be reduced
to the list of PipelineTasks and the corresponding list of Quanta.
This class defines this reduced representation.

Different frameworks may use different graph representation, this
representation was based mostly on requirements of command-line
executor which does not need explicit edges information.

Attributes
----------
taskDef : :py:class:`TaskDef`
    Task defintion for this set of nodes.
quanta : `list` of :py:class:`lsst.daf.butler.Quantum`
    List of quanta corresponding to the task.

Definition at line 51 of file graph.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.base.graph.QuantumGraphNodes.__init__ (   self,
  taskDef,
  quanta 
)

Definition at line 72 of file graph.py.

Member Data Documentation

◆ quanta

lsst.pipe.base.graph.QuantumGraphNodes.quanta

Definition at line 74 of file graph.py.

◆ taskDef

lsst.pipe.base.graph.QuantumGraphNodes.taskDef

Definition at line 73 of file graph.py.


The documentation for this class was generated from the following file: