Skip to content

Commit

Permalink
Add DirectedAcyclicGraph constructor that takes an EdgeFactory.
Browse files Browse the repository at this point in the history
  • Loading branch information
awallgren committed May 13, 2014
1 parent 74c5543 commit 3bad3de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jgrapht-core/src/main/java/org/jgrapht/experimental/dag/DirectedAcyclicGraph.java
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ public DirectedAcyclicGraph(Class<? extends E> arg0)
initialize();
}

public DirectedAcyclicGraph(EdgeFactory<V, E> ef)
{
super(ef);
initialize();
}

DirectedAcyclicGraph(
Class<? extends E> arg0,
VisitedFactory visitedFactory,
Expand Down

0 comments on commit 3bad3de

Please sign in to comment.