public class Transitive extends Object
| Constructor and Description |
|---|
Transitive() |
| Modifier and Type | Method and Description |
|---|---|
static Map<Node,Collection<Node>> |
transitive(Graph graph,
Node property)
Calculate the transitive closure of a property.
|
static void |
transitiveExc(Graph graph,
boolean forward,
Node node,
Node predicate,
Collection<Node> output)
Transitive closure of a property from a start node, excluding the start node unless reachable via a cycle.
|
static void |
transitiveInc(Graph graph,
boolean forward,
Node node,
Node predicate,
Collection<Node> output)
Transitive closure of a property from a start node, and including the start node.
|
public static Map<Node,Collection<Node>> transitive(Graph graph, Node property)
public static void transitiveInc(Graph graph, boolean forward, Node node, Node predicate, Collection<Node> output)
public static void transitiveExc(Graph graph, boolean forward, Node node, Node predicate, Collection<Node> output)
Licenced under the Apache License, Version 2.0