You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/06/11 15:14:43 UTC

svn commit: r1134625 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java

Author: simonetripodi
Date: Sat Jun 11 13:14:43 2011
New Revision: 1134625

URL: http://svn.apache.org/viewvc?rev=1134625&view=rev
Log:
added WeightedEdge interface description, kindly borrowed from Wikipedia

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

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java?rev=1134625&r1=1134624&r2=1134625&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java Sat Jun 11 13:14:43 2011
@@ -17,7 +17,10 @@ package org.apache.commons.graph;
  */
 
 /**
- * Description of the Interface
+ * A WeightedEdge is an {@link Edge} where a number (weight) is assigned to represent, for example,
+ * costs, lengths or capacities, etc. depending on the problem.
+ *
+ * @param <W> the {@link Edge} weight.
  */
 public interface WeightedEdge<W extends Number>
      extends Edge