Sha256: 738ea975f66b2ef1c256f5ee65cc9416568507873b996af9231211fe169691ab

Contents?: true

Size: 576 Bytes

Versions: 9

Compression:

Stored size: 576 Bytes

Contents

#!/usr/bin/env bash

# Directory to pagerank on.
work_dir=$1 ; shift
if [ "$work_dir" == '' ] ; then echo "Please specify the parent of the directory made by gen_initial_pagerank" ; exit ; fi


# How many rounds to run
max_iter=10
# this directory
script_dir="`dirname $0`"

for (( curr=0 , next=1 ; "$curr" < "$max_iter" ; curr++ , next++ )) ; do
  curr_str=`printf "%03d" ${curr}`
  next_str=`printf "%03d" ${next}`
  curr_dir=$work_dir/pagerank_graph_${curr_str}
  next_dir=$work_dir/pagerank_graph_${next_str}
  $script_dir/pagerank.rb --rm --run $curr_dir $next_dir
done

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mrflip-wukong-0.1.0 examples/pagerank/run_pagerank.sh
wukong-1.4.7 examples/pagerank/run_pagerank.sh
wukong-1.4.6 examples/pagerank/run_pagerank.sh
wukong-1.4.5 examples/pagerank/run_pagerank.sh
wukong-1.4.2 examples/pagerank/run_pagerank.sh
wukong-1.4.1 examples/pagerank/run_pagerank.sh
wukong-1.4.0 examples/pagerank/run_pagerank.sh
wukong-0.1.4 examples/pagerank/run_pagerank.sh
wukong-0.1.1 examples/pagerank/run_pagerank.sh