Public Member Functions | |
| void | addEdge (Component from, Component to) |
| void | addEdge (Component from, Component to, double prob_df) |
| FailureDepNode | addNode (Component comp) |
| Object | clone () |
| void | computeCommonAncestorGraph (boolean computeMinDistances) |
| void | computeIndirectDeps () |
| ArrayList | computeTransPiPartitions (LinkedList comps, int maxPathLen) |
| FailureDepGraph (boolean useProbabilities) | |
| boolean | hasIndirectDependency (Component from, Component to) |
| boolean | haveCommonAncestor (Component c1, Component c2) |
| boolean | isAncestorConnected (Component c1, Component c2, int maxPathLen) |
| String | toString () |
Protected Member Functions | |
| boolean | isAncestorConnected_Impl (Component c1, Component c2, int maxPathLen) |
Protected Attributes | |
| GraphMatrix | commonAncestorGraph |
| GraphMatrix | indirectDeps |
| boolean | useProbabilities |
Package Functions | |
| boolean | useProbabilities () |
Definition at line 30 of file FailureDepGraph.java.
| dfengine.FailureDepGraph.FailureDepGraph | ( | boolean | useProbabilities | ) | [inline] |
Definition at line 38 of file FailureDepGraph.java.
| void dfengine.FailureDepGraph.addEdge | ( | Component | from, |
| Component | to | ||
| ) | [inline] |
Creates a directed edge between two components.
The passed components must be added to the graph before the edge can be created.
Definition at line 99 of file FailureDepGraph.java.
| void dfengine.FailureDepGraph.addEdge | ( | Component | from, |
| Component | to, | ||
| double | prob_df | ||
| ) | [inline] |
Creates a directed edge between two components, and assigns a probability to the edge.
The passed components must be added to the graph before the edge can be created.
Definition at line 110 of file FailureDepGraph.java.
| FailureDepNode dfengine.FailureDepGraph.addNode | ( | Component | comp | ) | [inline] |
Create a FailureDepNode for the passed component and add it to the graph.
Returns the new node.
Definition at line 85 of file FailureDepGraph.java.
| Object dfengine.FailureDepGraph.clone | ( | ) | [inline] |
Definition at line 72 of file FailureDepGraph.java.
| void dfengine.FailureDepGraph.computeCommonAncestorGraph | ( | boolean | computeMinDistances | ) | [inline] |
Definition at line 165 of file FailureDepGraph.java.
| void dfengine.FailureDepGraph.computeIndirectDeps | ( | ) | [inline] |
Definition at line 124 of file FailureDepGraph.java.
| ArrayList dfengine.FailureDepGraph.computeTransPiPartitions | ( | LinkedList | comps, |
| int | maxPathLen | ||
| ) | [inline] |
Definition at line 266 of file FailureDepGraph.java.
| boolean dfengine.FailureDepGraph.hasIndirectDependency | ( | Component | from, |
| Component | to | ||
| ) | [inline] |
Definition at line 131 of file FailureDepGraph.java.
| boolean dfengine.FailureDepGraph.haveCommonAncestor | ( | Component | c1, |
| Component | c2 | ||
| ) | [inline] |
Definition at line 141 of file FailureDepGraph.java.
| boolean dfengine.FailureDepGraph.isAncestorConnected | ( | Component | c1, |
| Component | c2, | ||
| int | maxPathLen | ||
| ) | [inline] |
Definition at line 228 of file FailureDepGraph.java.
| boolean dfengine.FailureDepGraph.isAncestorConnected_Impl | ( | Component | c1, |
| Component | c2, | ||
| int | maxPathLen | ||
| ) | [inline, protected] |
Definition at line 238 of file FailureDepGraph.java.
| String dfengine.FailureDepGraph.toString | ( | ) | [inline] |
Definition at line 42 of file FailureDepGraph.java.
| boolean dfengine.FailureDepGraph.useProbabilities | ( | ) | [inline, package] |
Definition at line 76 of file FailureDepGraph.java.
GraphMatrix dfengine.FailureDepGraph.commonAncestorGraph [protected] |
Definition at line 34 of file FailureDepGraph.java.
GraphMatrix dfengine.FailureDepGraph.indirectDeps [protected] |
Definition at line 32 of file FailureDepGraph.java.
boolean dfengine.FailureDepGraph.useProbabilities [protected] |
Definition at line 36 of file FailureDepGraph.java.