ePOST API

rice.pastry.testing
Class PingTestRecord

java.lang.Object
  extended by rice.pastry.direct.TestRecord
      extended by rice.pastry.testing.PingTestRecord

public class PingTestRecord
extends TestRecord

PingAddress A performance test suite for pastry.

Version:
$Id: PingTestRecord.java 2805 2005-11-17 16:22:24Z jeffh $
Author:
Rongmei Zhang

Field Summary
 
Fields inherited from class rice.pastry.direct.TestRecord
nNodes, nTests
 
Constructor Summary
PingTestRecord(int n, int k, int baseBitLength)
           
 
Method Summary
 void addDistance(double rDistance)
           
 void addHops(int index)
           
 void doneTest()
           
 double getAveDistance()
           
 double getAveHops()
           
 double[] getProbability()
           
 
Methods inherited from class rice.pastry.direct.TestRecord
getNodeNumber, getTestNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingTestRecord

public PingTestRecord(int n,
                      int k,
                      int baseBitLength)
Method Detail

doneTest

public void doneTest()
Specified by:
doneTest in class TestRecord

addHops

public void addHops(int index)

addDistance

public void addDistance(double rDistance)

getAveHops

public double getAveHops()

getAveDistance

public double getAveDistance()

getProbability

public double[] getProbability()

ePOST API

Copyright © 2001-2005 - Rice Pastry.