Index: branches/localSpectral/src/data/GraphBuilder.java
===================================================================
--- branches/localSpectral/src/data/GraphBuilder.java	(revision 27)
+++ branches/localSpectral/src/data/GraphBuilder.java	(revision 32)
@@ -2,4 +2,6 @@
 package data;
 
+import clustering.Edge;
+import clustering.VertexString;
 import edu.uci.ics.jung.graph.Graph;
 import edu.uci.ics.jung.graph.SparseGraph;
@@ -16,14 +18,14 @@
 
 
-public class GraphBuilder<V,E> {
+public class GraphBuilder {
 
-    Graph<String,Integer> graph;
+    Graph<String,Edge<String>> graph;
 
     public GraphBuilder(){
-        graph = new SparseGraph<String, Integer>();
+        graph = new SparseGraph<String, Edge<String>>();
 
     }
 
-    public Graph<String, Integer> getGraph() {
+    public Graph<String, Edge<String>> getGraph() {
         return graph;
     }
@@ -45,5 +47,5 @@
                     String[] splitted = read.trim().split(",");
                     vertex.addAll(Arrays.asList(splitted));
-                    graph.addEdge(edge, splitted[0], splitted[1]);
+                    graph.addEdge(new Edge<String>(splitted[0], splitted[1]), splitted[0], splitted[1]);
                     edge++;
                 }
