175176177178179180181182183184185
LinkedList<Edge> tempEdgeList = new LinkedList<Edge>(); for (Edge edge : edges) { Edge e = (Edge) graph.getCorrespMember(edge); assert e != null; tempEdgeList.add(e); } edges = tempEdgeList;
57585960616263646566
} } } else { Edge edge = (Edge) go; sign *= edge.getSign(); } } }
LinkedList<Edge> tempEdgeList = new LinkedList<Edge>(); for (Edge edge : edges) { Edge e = (Edge) graph.getCorresponding(edge); assert e != null; tempEdgeList.add(e); } edges = tempEdgeList;
209210211212213214215216217218219220
{ if (distanceSatisfies(go)) { if (go instanceof Edge) { Edge edge = (Edge) go; if (!goi.contains(edge.getSourceNode()) || !goi.contains(edge.getTargetNode())) { continue; } } goi.add(go);
326327328329330331332333334335336337338
{ for (GraphObject go : goi) { if (go instanceof Edge) { Edge edge = (Edge) go; assert goi.contains(edge.getSourceNode()); assert goi.contains(edge.getTargetNode()); } } return true; }