ostore.bloom
Class CreateSurgeTest

java.lang.Object
  |
  +--ostore.bloom.CreateSurgeTest

public class CreateSurgeTest
extends Object

Creates scf's based on a graph, a number of participating nodes, and a SURGE trace. Example invocation: rm /tmp/bar/*; ./run-java ostore.bloom.CreateTest /tmp/bar 1 ../regression/graphs/ts495-1.hier /home/eecs/srhea/oceanstore/papers/bloomfilters/surge/zipf_20000_2000-match_1 100 true 4


Constructor Summary
CreateSurgeTest()
           
 
Method Summary
static double avg_reachability(Map neighbor_sets, int depth)
           
static void bfs(Integer src, Map neighbor_sets, Set visited, int hops_left)
           
static int get_node(Set available_nodes, Random rand)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateSurgeTest

public CreateSurgeTest()
Method Detail

get_node

public static int get_node(Set available_nodes,
                           Random rand)

bfs

public static void bfs(Integer src,
                       Map neighbor_sets,
                       Set visited,
                       int hops_left)

avg_reachability

public static double avg_reachability(Map neighbor_sets,
                                      int depth)

main

public static void main(String[] args)