public Adjacency createSingleEdge(T n1, T n2, int weight) { Adjacency adj = adjFactory.createAdjacency(n2, weight); n1.addAdjacency(adj); return adj; }
public int edgeCount() { return adjFactory.maxID(); }