Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Version:
  $Id: PingTestRecord.java 3613 2007-02-15 14:45:14Z jstewart $
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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.