This commit is contained in:
alexgutteridge 2007-08-16 07:47:05 +00:00
parent 0f93cffaa2
commit ab32e98b33
2 changed files with 0 additions and 1607 deletions

1585
setup.rb

File diff suppressed because it is too large Load Diff

View File

@ -1,22 +0,0 @@
require 'igraph'
require 'gratr/import'
require 'benchmark'
gratr_g = Digraph[1,2,2,3,3,4]
igraph_g = IGraph.new([1,2,2,3,3,4])
graph_g =
include Benchmark
bm(6) do |x|
x.report("igraph"){
50000.times{
igraph_g.topological_sorting(IGraph::OUT)
}
}
x.report("gratr"){
50000.times{
gratr_g.topsort
}
}
end