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])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:
- edges: Dict[RegressionTraceStatement, List[int]]#
- node2index: Dict[RegressionTraceStatement, int]#
- nodes: List[RegressionTraceStatement]#