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/18 02:16:24 UTC

svn commit: r1137097 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UnirectedMutableWeightedGraph.java

Author: simonetripodi
Date: Sat Jun 18 00:16:24 2011
New Revision: 1137097

URL: http://svn.apache.org/viewvc?rev=1137097&view=rev
Log:
first checkin of UnirectedMutableWeightedGraph class

Added:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UnirectedMutableWeightedGraph.java   (with props)

Added: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UnirectedMutableWeightedGraph.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UnirectedMutableWeightedGraph.java?rev=1137097&view=auto
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UnirectedMutableWeightedGraph.java (added)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/model/UnirectedMutableWeightedGraph.java Sat Jun 18 00:16:24 2011
@@ -0,0 +1,37 @@
+package org.apache.commons.graph.model;
+
+/*
+ * 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.
+ */
+
+import org.apache.commons.graph.Vertex;
+import org.apache.commons.graph.WeightedEdge;
+import org.apache.commons.graph.WeightedGraph;
+
+/**
+ * A memory-based implementation of a mutable, undirected weighted Graph.
+ *
+ * @param <V> the Graph vertices type
+ * @param <WE> the WeightedEdge edges type
+ */
+public class UnirectedMutableWeightedGraph<V extends Vertex, WE extends WeightedEdge<V>>
+    extends UndirectedMutableGraph<V, WE>
+    implements WeightedGraph<V, WE>
+{
+
+}

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

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

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