Lines Matching refs:dest
128 public boolean EdgeIn(String src, String dest) {
130 return getEdge(getNode(src), dest) != null;
171 * @param dest Name des Zielknotens
174 public boolean removeEdge(String orig, String dest) {
175 if(EdgeIn(orig, dest)){
176 getNode(orig).getEdges().remove(getEdge(getNode(orig), dest));
178 getNode(dest).getEdges().remove(getEdge(getNode(dest), orig));
209 public boolean addEdge(String src, String dest, double w) {
210 if(EdgeIn(src,dest)){
211 removeEdge(src,dest);
212 addEdge(src,dest,w);
215 if (NodeIn(src) && NodeIn(dest) && !EdgeIn(src, dest)) {
216 getNode(src).getEdges().add(new Edge(getNode(dest), w));
219 getNode(dest).getEdges().add(new Edge(getNode(src), w));