projects
/
graph.njae.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Placeholder
[graph.njae.git]
/
lib
/
graph.njae
/
graph.rb
diff --git
a/lib/graph.njae/graph.rb
b/lib/graph.njae/graph.rb
index acfc9e07e998ee3843aa19e990f7670d38a8bcce..77b96da5fa7ea86d7b174cb7ddcedd1ebd24416e 100644
(file)
--- 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.
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|
def product(other)
product_graph = Graph.new
self.vertices.each do |v1|
@@
-58,5
+58,9
@@
module GraphNjae
product_graph
end
product_graph
end
+ # Performs similarity flooding on a graph
+ def similarity_flood(&normalization)
+ end
+
end # class
end
end # class
end