X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=lib%2Fgraph.njae%2Fgraph.rb;h=77b96da5fa7ea86d7b174cb7ddcedd1ebd24416e;hb=2f72fc8e85b5c9c8bdcf622dc3b512a3dee5060c;hp=acfc9e07e998ee3843aa19e990f7670d38a8bcce;hpb=e3fe1f33fea019106289edfae4e7a32f3ba3e03b;p=graph.njae.git diff --git a/lib/graph.njae/graph.rb b/lib/graph.njae/graph.rb index acfc9e0..77b96da 100644 --- a/lib/graph.njae/graph.rb +++ b/lib/graph.njae/graph.rb @@ -35,7 +35,7 @@ module GraphNjae end # Form a product graph of this graph and the other. - # Return the new graph. + # Return the product graph. def product(other) product_graph = Graph.new self.vertices.each do |v1| @@ -58,5 +58,9 @@ module GraphNjae product_graph end + # Performs similarity flooding on a graph + def similarity_flood(&normalization) + end + end # class end