1 25 42 package org.jgrapht.graph; 43 44 import org.jgrapht.*; 45 46 47 51 public class SimpleDirectedWeightedGraph<V, E> 52 extends SimpleDirectedGraph<V, E> 53 implements WeightedGraph<V, E> 54 { 55 56 58 private static final long serialVersionUID = 3904960841681220919L; 59 60 62 68 public SimpleDirectedWeightedGraph(EdgeFactory<V, E> ef) 69 { 70 super(ef); 71 } 72 73 78 public SimpleDirectedWeightedGraph(Class <? extends E> edgeClass) 79 { 80 this(new ClassBasedEdgeFactory<V, E>(edgeClass)); 81 } 82 } 83 | Popular Tags |