ostore.bloom
Class CreateStaticTest
java.lang.Object
|
+--ostore.bloom.CreateStaticTest
- public class CreateStaticTest
- 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.CreateStaticTest /tmp/bar 1 ../regression/graphs/ts495-1.hier 100 100 1000 true 4 3 999
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateStaticTest
public CreateStaticTest()
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)