commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1142422 - in /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph: shared/ shortestpath/
Date Sun, 03 Jul 2011 12:15:34 GMT
Author: simonetripodi
Date: Sun Jul  3 12:15:33 2011
New Revision: 1142422

URL: http://svn.apache.org/viewvc?rev=1142422&view=rev
Log:
ShortestDistances class moved in a shared section since shortest path/MST algorithms need
it

Added:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/ShortestDistances.java
  (contents, props changed)
      - copied, changed from r1138575, commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/ShortestDistances.java
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/package-info.java
  (with props)
Removed:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/ShortestDistances.java
Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/AStar.java
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/BellmannFord.java
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/Dijkstra.java

Copied: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/ShortestDistances.java
(from r1138575, commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/ShortestDistances.java)
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/ShortestDistances.java?p2=commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/ShortestDistances.java&p1=commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/ShortestDistances.java&r1=1138575&r2=1142422&rev=1142422&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/ShortestDistances.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/ShortestDistances.java
Sun Jul  3 12:15:33 2011
@@ -1,4 +1,4 @@
-package org.apache.commons.graph.shortestpath;
+package org.apache.commons.graph.shared;
 
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
@@ -30,7 +30,7 @@ import org.apache.commons.graph.Vertex;
  *
  * @param <V> the Graph vertices type
  */
-final class ShortestDistances<V extends Vertex>
+public final class ShortestDistances<V extends Vertex>
     implements Comparator<V>
 {
 

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/ShortestDistances.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/ShortestDistances.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/ShortestDistances.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/package-info.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/package-info.java?rev=1142422&view=auto
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/package-info.java
(added)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/package-info.java
Sun Jul  3 12:15:33 2011
@@ -0,0 +1,23 @@
+/**
+ * Shared Data Structures across different problems/algorithms implementation.
+ */
+package org.apache.commons.graph.shared;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/package-info.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shared/package-info.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/AStar.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/AStar.java?rev=1142422&r1=1142421&r2=1142422&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/AStar.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/AStar.java
Sun Jul  3 12:15:33 2011
@@ -28,6 +28,7 @@ import org.apache.commons.graph.Vertex;
 import org.apache.commons.graph.WeightedEdge;
 import org.apache.commons.graph.WeightedGraph;
 import org.apache.commons.graph.WeightedPath;
+import org.apache.commons.graph.shared.ShortestDistances;
 
 /**
  * Contains the A* shortest path algorithm implementation.

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/BellmannFord.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/BellmannFord.java?rev=1142422&r1=1142421&r2=1142422&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/BellmannFord.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/BellmannFord.java
Sun Jul  3 12:15:33 2011
@@ -6,6 +6,7 @@ import org.apache.commons.graph.VertexPa
 import org.apache.commons.graph.WeightedEdge;
 import org.apache.commons.graph.WeightedGraph;
 import org.apache.commons.graph.WeightedPath;
+import org.apache.commons.graph.shared.ShortestDistances;
 
 /*
  * Licensed to the Apache Software Foundation (ASF) under one

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/Dijkstra.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/Dijkstra.java?rev=1142422&r1=1142421&r2=1142422&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/Dijkstra.java
(original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/shortestpath/Dijkstra.java
Sun Jul  3 12:15:33 2011
@@ -28,6 +28,7 @@ import org.apache.commons.graph.Vertex;
 import org.apache.commons.graph.WeightedEdge;
 import org.apache.commons.graph.WeightedGraph;
 import org.apache.commons.graph.WeightedPath;
+import org.apache.commons.graph.shared.ShortestDistances;
 
 /**
  * Contains the Dijkstra's shortest path algorithm implementation.



Mime
View raw message