com.vividsolutions.jcs.conflate.roads
Class EdgeMerger

java.lang.Object
  extended bycom.vividsolutions.jcs.conflate.roads.EdgeMerger

public class EdgeMerger
extends java.lang.Object


Constructor Summary
EdgeMerger(PlanarGraph graph)
           
 
Method Summary
static java.util.List findEdgesWithSingle2Node(java.util.Iterator edgeIt)
           
 java.util.List getMergedPaths()
          Compute the merged edges in the graph
static boolean isEdgeWithSingle2Node(Edge edge)
           
 boolean isMerged(Edge edge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeMerger

public EdgeMerger(PlanarGraph graph)
Method Detail

isEdgeWithSingle2Node

public static boolean isEdgeWithSingle2Node(Edge edge)

findEdgesWithSingle2Node

public static java.util.List findEdgesWithSingle2Node(java.util.Iterator edgeIt)

isMerged

public boolean isMerged(Edge edge)

getMergedPaths

public java.util.List getMergedPaths()
Compute the merged edges in the graph

Returns:
a List of Lists of DirectedEdges, each in the order of the merged edge