From: Neil Smith Date: Fri, 16 Mar 2012 14:23:30 +0000 (+0000) Subject: Placeholder X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=20c71ab9aebc53f9884eb3c570772b83e573a5e9;p=graph.njae.git Placeholder --- diff --git a/lib/graph.njae/graph.rb b/lib/graph.njae/graph.rb index faaaf46..77b96da 100644 --- a/lib/graph.njae/graph.rb +++ b/lib/graph.njae/graph.rb @@ -58,5 +58,9 @@ module GraphNjae product_graph end + # Performs similarity flooding on a graph + def similarity_flood(&normalization) + end + end # class end diff --git a/spec/graph/graph_spec.rb b/spec/graph/graph_spec.rb index 670d252..d8f512b 100644 --- a/spec/graph/graph_spec.rb +++ b/spec/graph/graph_spec.rb @@ -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