Placeholder
authorNeil Smith <neil.github@njae.me.uk>
Fri, 16 Mar 2012 14:23:30 +0000 (14:23 +0000)
committerNeil Smith <neil.github@njae.me.uk>
Fri, 16 Mar 2012 14:23:30 +0000 (14:23 +0000)
lib/graph.njae/graph.rb
spec/graph/graph_spec.rb

index faaaf46bca692f1f4367a5aec36b8db4fc290aa2..77b96da5fa7ea86d7b174cb7ddcedd1ebd24416e 100644 (file)
@@ -58,5 +58,9 @@ module GraphNjae
       product_graph
     end
     
+    # Performs similarity flooding on a graph
+    def similarity_flood(&normalization)
+    end
+    
   end # class
 end
index 670d252892cbf0a3d1f6bbc09f0a04915ed61d63..d8f512b5b51db936cb7449770c01c0cd2b3f3565 100644 (file)
@@ -127,8 +127,22 @@ module GraphNjae
         pg.should have(4).vertices
         pg.should have(2).edges
       end
+      
+      it "finds a product graph of not-quite-simple graph" do
+      end
 
     end
     
+    describe "similarity flood" do
+        it "similarity floods a graph of two nodes" do
+        end
+        
+        it "similarity floods a graph of three nodes, a -- b -- c" do
+        end
+        
+        it "simialrity floods a sample graph" do
+        end
+    end
+    
   end
 end