Author: simonetripodi
Date: Sat Jun 11 15:03:23 2011
New Revision: 1134665

URL: http://svn.apache.org/viewvc?rev=1134665&view=rev
Log:
fixed WeightedGraph interface description

Modified:
    
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedGraph.java

Modified: 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedGraph.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedGraph.java?rev=1134665&r1=1134664&r2=1134665&view=diff
==============================================================================
--- 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedGraph.java
 (original)
+++ 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedGraph.java
 Sat Jun 11 15:03:23 2011
@@ -17,7 +17,9 @@ package org.apache.commons.graph;
  */
 
 /**
- * Description of the Interface
+ * A graph is a {@code WeightedGraph} if a number (weight) is assigned to each 
edge.
+ * Such weights might represent, for example, costs, lengths or capacities, 
etc. depending on the problem.
+ * The weight of the graph is the sum of the weights given to all edges.
  */
 public interface WeightedGraph<V extends Vertex, W extends Number, WE extends 
WeightedEdge<W>>
     extends Graph<V, WE>


Reply via email to