ostore.bloom
Class CreateSossTest
java.lang.Object
|
+--ostore.bloom.CreateSossTest
- public class CreateSossTest
- extends Object
Creates scf's based on a graph, a number of participating nodes, and a
number of files per node.
Example invocation:
rm /tmp/bar/*; ./run-java ostore.bloom.CreateSossTest /tmp/bar 1 ../regression/graphs/ts495-1.hier 100 100 1000 true 4 3 999
- Author:
- Ben Y. Zhao
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateSossTest
public CreateSossTest()
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)