tl = new IntersectionVertex(graph, "tl", -74.01, 40.01);
tr = new IntersectionVertex(graph, "tr", -74.0, 40.01);
bl = new IntersectionVertex(graph, "bl", -74.01, 40.0);
br = new IntersectionVertex(graph, "br", -74.00, 40.0);
top = new StreetEdge(tl, tr,
GeometryUtils.makeLineString(-74.01, 40.01, -74.0, 40.01), "top", 1500,
StreetTraversalPermission.CAR, false);
bottom = new StreetEdge(br, bl,
GeometryUtils.makeLineString(-74.01, 40.0, -74.0, 40.0), "bottom", 1500,
StreetTraversalPermission.BICYCLE_AND_CAR, false);
left = new StreetEdge(bl, tl,
GeometryUtils.makeLineString(-74.01, 40.0, -74.01, 40.01), "left", 1500,
StreetTraversalPermission.BICYCLE_AND_CAR, false);
right = new StreetEdge(br, tr,
GeometryUtils.makeLineString(-74.0, 40.0, -74.0, 40.01), "right", 1500,
StreetTraversalPermission.PEDESTRIAN_AND_BICYCLE, false);
StreetEdge topBack = new StreetEdge(tr, tl, (LineString) top.getGeometry().reverse(),
"topBack", 1500, StreetTraversalPermission.CAR, true);
StreetEdge bottomBack = new StreetEdge(br, bl, (LineString) bottom.getGeometry()
.reverse(), "bottomBack", 1500, StreetTraversalPermission.BICYCLE_AND_CAR, true);
StreetEdge leftBack = new StreetEdge(tl, bl,
(LineString) left.getGeometry().reverse(), "leftBack", 1500,
StreetTraversalPermission.BICYCLE_AND_CAR, true);
StreetEdge rightBack = new StreetEdge(tr, br, (LineString) right.getGeometry()
.reverse(), "rightBack", 1500, StreetTraversalPermission.CAR, true);
StreetVertexIndexServiceImpl myFinder = new StreetVertexIndexServiceImpl(graph);
finder = myFinder;
}