concepts.dm.crow.planners.regression_dependency.RegressionDependencyGraph#
- class RegressionDependencyGraph[source]#
Bases:
object
Methods
add_node
(node)connect
(x, y)Connect two nodes in the dependency graph.
print
([i, indent_level])render_graphviz
([filename])Render the dependency graph using graphviz.
Attributes
- __new__(**kwargs)#
- add_node(node)[source]#
- Parameters:
node (RegressionTraceStatement)
- Return type:
- connect(x, y)[source]#
Connect two nodes in the dependency graph. x is the “parent” of y.
- Parameters:
x (RegressionTraceStatement) – the parent node.
y (RegressionTraceStatement) – the child node.
- Return type:
- render_graphviz(filename=None)[source]#
Render the dependency graph using graphviz.
- Parameters:
filename (str | None)
- Return type:
None
- nodes: List[RegressionTraceStatement]#