get an edge between two nodes . this will return either a new edge or a shared instance if one already exists . concode_field_sep double NEARBY_THRESHOLD_M concode_elem_sep Map<Node,Set<Edge>> edgesAtNode concode_elem_sep OSMMap osmMap concode_elem_sep Collection<OSMIntersectionInfo> osmIntersections concode_elem_sep Set<Edge> edges concode_elem_sep Set<TemporaryRoad> tempRoads concode_elem_sep Set<TemporaryIntersection> tempIntersections concode_elem_sep double threshold concode_elem_sep Collection<OSMRoadInfo> osmRoads concode_elem_sep Set<TemporaryObject> allObjects concode_elem_sep int nextID concode_elem_sep Set<Node> nodes concode_elem_sep Map<Edge,Set<TemporaryObject>> objectsAtEdge concode_elem_sep Collection<OSMBuildingInfo> osmBuildings concode_elem_sep Set<TemporaryBuilding> tempBuildings concode_field_sep void setOSMInfo concode_elem_sep Set<Edge> getAttachedEdges concode_elem_sep Collection<TemporaryRoad> getRoads concode_elem_sep Node createNode concode_elem_sep void replaceEdge concode_elem_sep Edge createEdge concode_elem_sep Collection<Node> getAllNodes concode_elem_sep void addBuilding concode_elem_sep Collection<TemporaryIntersection> getIntersections concode_elem_sep void removeEdge concode_elem_sep void addIntersection concode_elem_sep boolean isNear concode_elem_sep boolean isNear concode_elem_sep Collection<OSMIntersectionInfo> getOSMIntersectionInfo concode_elem_sep Collection<TemporaryObject> getAllObjects concode_elem_sep void removeNode concode_elem_sep DirectedEdge getDirectedEdge concode_elem_sep Set<TemporaryObject> getAttachedObjects concode_elem_sep Collection<OSMRoadInfo> getOSMRoadInfo concode_elem_sep void removeIntersection concode_elem_sep List<Edge> splitEdge concode_elem_sep void addRoad concode_elem_sep void removeBuilding concode_elem_sep void addTemporaryObject concode_elem_sep void removeTemporaryObject concode_elem_sep void removeObject concode_elem_sep void setNearbyThreshold concode_elem_sep double getNearbyThreshold concode_elem_sep Collection<OSMBuildingInfo> getOSMBuildingInfo concode_elem_sep Collection<Edge> getAllEdges concode_elem_sep void addObject concode_elem_sep Node getNode concode_elem_sep Node getNode concode_elem_sep Collection<TemporaryBuilding> getBuildings concode_elem_sep void removeRoad concode_elem_sep OSMMap getOSMMap
Edge function ( Node arg0 , Node arg1 ) { for ( Edge loc0 : edges ) { if ( loc0 . getStart ( ) . equals ( arg0 ) && loc0 . getEnd ( ) . equals ( arg1 ) || loc0 . getStart ( ) . equals ( arg1 ) && loc0 . getEnd ( ) . equals ( arg0 ) ) { return loc0 ; } } return createEdge ( arg0 , arg1 ) ; }