Package sc.fiji.snt.analysis.graph
Class AnnotationGraphUtils
java.lang.Object
sc.fiji.snt.analysis.graph.AnnotationGraphUtils
Utilities for AnnotationGraph handling and manipulation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationGraphdifference(AnnotationGraph graph1, AnnotationGraph graph2) Return the graph representing the difference of edge sets of graph1 - graph2static AnnotationGraphintersection(Collection<AnnotationGraph> graphs) Return the graph representing the intersection of the edge sets of a collection of graphs.static AnnotationGraphsymDifference(AnnotationGraph graph1, AnnotationGraph graph2) Return the graph representing the symmetric difference of the edge sets of graph1 and graph2static AnnotationGraphunion(Collection<AnnotationGraph> graphs) Return the graph representing the union of the edge sets of a collection of graphs.
-
Constructor Details
-
AnnotationGraphUtils
public AnnotationGraphUtils()
-
-
Method Details
-
union
Return the graph representing the union of the edge sets of a collection of graphs.- Parameters:
graphs- the graph collection- Returns:
- the union graph
-
intersection
Return the graph representing the intersection of the edge sets of a collection of graphs.- Parameters:
graphs- the graph collection- Returns:
- the intersection graph
-
difference
Return the graph representing the difference of edge sets of graph1 - graph2- Parameters:
graph1-graph2-- Returns:
- the difference graph
-
symDifference
Return the graph representing the symmetric difference of the edge sets of graph1 and graph2- Parameters:
graph1-graph2-- Returns:
- the symmetric difference graph
-