rice.pastry.testing
Class PingTestRecord
java.lang.Object
rice.pastry.direct.TestRecord
rice.pastry.testing.PingTestRecord
- public class PingTestRecord
- extends TestRecord
PingAddress
A performance test suite for pastry.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PingTestRecord
public PingTestRecord(int n,
int k)
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()