rice.pastry.testing
Class ClosestRegrTest

java.lang.Object
  extended byrice.pastry.testing.ClosestRegrTest

public class ClosestRegrTest
extends java.lang.Object

ClosestRegrTest A test suite for the getClosest algorithm


Field Summary
static int NUM_NODES
           
static int NUM_TRIALS
           
 
Method Summary
protected  NodeHandle getBootstrap()
          Get pastryNodes.last() to bootstrap with, or return null.
static void main(java.lang.String[] args)
          main
protected  void run()
          initializes the network and prepares for testing
protected  void test(int i, NodeHandle handle)
          starts the testing process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_NODES

public static int NUM_NODES

NUM_TRIALS

public static int NUM_TRIALS
Method Detail

getBootstrap

protected NodeHandle getBootstrap()
Get pastryNodes.last() to bootstrap with, or return null.


run

protected void run()
initializes the network and prepares for testing


test

protected void test(int i,
                    NodeHandle handle)
starts the testing process


main

public static void main(java.lang.String[] args)
main






Imprint-Dataprotection