Package org.geotools.graph.util.graph
Interface GraphFuser.EdgeMerger
- Enclosing class:
- GraphFuser
public static interface GraphFuser.EdgeMerger
Merges the underlying objects represented by a number of edges into a single object.
- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
-
Method Summary
Modifier and TypeMethodDescriptionCreates a single object from collection of underlying objects represented by a collection of edges.void
setMergedObject
(Edge newEdge, Object merged, List<?> edges) Sets the object for the edge created to represented the merged object.
-
Method Details
-
merge
Creates a single object from collection of underlying objects represented by a collection of edges.- Parameters:
edges
- A collection of edges.- Returns:
- A single object.
-
setMergedObject
Sets the object for the edge created to represented the merged object.- Parameters:
newEdge
- The edge created to represent the merged object.merged
- The merged object.edges
- The original edges that were merged
-