commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1134625 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/WeightedEdge.java
Date Sat, 11 Jun 2011 13:14:43 GMT
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



Mime
View raw message