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 Detail

      • merge

        Object merge​(List<Edge> edges)
        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

        void setMergedObject​(Edge newEdge,
                             Object merged,
                             List<?> edges)
        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