src/main/java/org/jboss/util/graph/Vertex.java
public void addIncomingEdge(Vertex<T> from, int cost)
   {
      Edge<T> out = new Edge<T>(this, from, cost);
      incomingEdges.add(out);
   }
public void addIncomingEdge(Vertex<T> from, int cost)
   {
      Edge<T> out = new Edge<T>(this, from, cost);
      incomingEdges.add(out);
   }
public void addIncomingEdge ( Vertex < T > from , int cost ) { Edge < T > out = new Edge < T > ( this , from , cost ) ; incomingEdges . add ( out ) ; }
Add an incoming edge starting at from

@param from - the starting vertex
@param cost the edge cost
Add an incoming edge starting at from