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/15 10:38:17 UTC

svn commit: r1135957 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java

Author: simonetripodi
Date: Wed Jun 15 08:38:17 2011
New Revision: 1135957

URL: http://svn.apache.org/viewvc?rev=1135957&view=rev
Log:
Edge is already a pair of Vertices, there's no need of connecting

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

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java?rev=1135957&r1=1135956&r2=1135957&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/MutableGraph.java Wed Jun 15 08:38:17 2011
@@ -61,22 +61,4 @@ public interface MutableGraph<V extends 
     void removeEdge( E e )
         throws GraphException;
 
-    /**
-     * Creates a connection between the input {@link Edge} and {@link Vertex}.
-     *
-     * @param e the {@link Edge} has to be connected
-     * @param v the {@link Vertex} has to be connected
-     */
-    void connect( E e, V v )
-        throws GraphException;
-
-    /**
-     * Breaks a connection between the input {@link Edge} and {@link Vertex}.
-     *
-     * @param e the {@link Edge} has to be disconnected
-     * @param v the {@link Vertex} has to be disconnected
-     */
-    void disconnect( E e, V v )
-        throws GraphException;
-
 }