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