public class InducedGraph
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.logging.Logger |
logger
The logger for graphs.
|
| Constructor and Description |
|---|
InducedGraph(Template template,
NodeRelations relations,
java.util.LinkedList<Node> graphNodes)
Create an induced graph, using the given node relations, topological
sorting and the graph nodes inducing the new graph.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashSet<Node> |
getPredecessors(Node node)
Finds all predecessors of the given node within the induced graph.
|
protected final java.util.logging.Logger logger
public InducedGraph(Template template, NodeRelations relations, java.util.LinkedList<Node> graphNodes)
template - the template containing the graphrelations - graphNodes - Topologically sorted nodes which induce the graph.