Lines Matching refs:nodes
76 * Lege nodes als eine List von List mit Edges als Füllung an.
78 protected List<List<Edge>> nodes;
85 * nodes ist eine List<List<...>>.
89 * Wuerden wir ArrayList<ArrayList<...>> sagen, waere das zu restriktiv, da nodes oben als
91 * nodes sieht ja nach aussen nur als List<List<...>> aus, weswegen wir
93 * nodes.add(new LinkedList<Edge>());
94 * nodes.add(new ArrayList<Edge>());
99 nodes = new ArrayList<List<Edge>>();
109 nodes.add(new ArrayList<Edge>());
110 int idx = nodes.size() - 1;
122 nodes.get(getNodeID(src)).add((new Edge(getNodeID(dest), cost)));
138 for (Edge e : nodes.get(u)) {
169 for (Edge e : nodes.get(nr)) {
186 + nodes.get(getNodeID(l)) + "\n";