Class DiffGraph
java.lang.Object
org.variantsync.diffdetective.variation.diff.DiffGraph
Deprecated.
Generalisation of VariationDiffs to arbitrary change graphs with variability information.
The DiffGraph class currently does not model a graph itself but rather
turns a given graph into a VariationDiff by equipping it with a synthetic root.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VariationDiff<DiffLinesLabel>
fromNodes
(Collection<DiffNode<DiffLinesLabel>> nodes) Deprecated.InvokesfromNodes(Collection, VariationDiffSource)
)} with an unknown VariationDiffSource.static VariationDiff<DiffLinesLabel>
fromNodes
(Collection<DiffNode<DiffLinesLabel>> nodes, VariationDiffSource source) Deprecated.Takes a set of DiffNodes that forms a DiffGraph (i.e., similar to a VariationDiff but with no explicit root) and converts it to a VariationDiff by equipping it with a synthetic root node.
-
Field Details
-
DIFFGRAPH_LABEL
Deprecated.- See Also:
-
-
Constructor Details
-
DiffGraph
private DiffGraph()Deprecated.
-
-
Method Details
-
fromNodes
Deprecated.InvokesfromNodes(Collection, VariationDiffSource)
)} with an unknown VariationDiffSource. -
fromNodes
public static VariationDiff<DiffLinesLabel> fromNodes(Collection<DiffNode<DiffLinesLabel>> nodes, VariationDiffSource source) Deprecated.Takes a set of DiffNodes that forms a DiffGraph (i.e., similar to a VariationDiff but with no explicit root) and converts it to a VariationDiff by equipping it with a synthetic root node.- Parameters:
nodes
- a DiffGraphsource
- the source where the DiffGraph came from.- Returns:
- A VariationDiff representing the DiffGraph with a synthetic root node.
-