git-svn-id: http://igraph.rubyforge.org/svn/trunk@32 71f48855-0bbf-4aa5-930d-4df415e86613

This commit is contained in:
alexgutteridge 2007-08-16 07:47:05 +00:00
parent 3f747f09eb
commit 34d6601684
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