From 20c71ab9aebc53f9884eb3c570772b83e573a5e9 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Fri, 16 Mar 2012 14:23:30 +0000 Subject: [PATCH] Placeholder --- lib/graph.njae/graph.rb | 4 ++++ spec/graph/graph_spec.rb | 14 ++++++++++++++ 2 files changed, 18 insertions(+) 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 -- 2.34.1