rice.pastry.direct.proximitygenerators
Class SphereNetworkProximityGenerator

java.lang.Object
  extended by rice.pastry.direct.proximitygenerators.SphereNetworkProximityGenerator
All Implemented Interfaces:
ProximityGenerator

public class SphereNetworkProximityGenerator
extends Object
implements ProximityGenerator


Constructor Summary
SphereNetworkProximityGenerator(int maxDiameter)
           
 
Method Summary
 NodeRecord generateNodeRecord()
           
static void main(String[] argz)
           
 void setRandom(RandomSource random)
           
 void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SphereNetworkProximityGenerator

public SphereNetworkProximityGenerator(int maxDiameter)
Method Detail

generateNodeRecord

public NodeRecord generateNodeRecord()
Specified by:
generateNodeRecord in interface ProximityGenerator

test

public void test()

main

public static void main(String[] argz)

setRandom

public void setRandom(RandomSource random)
Specified by:
setRandom in interface ProximityGenerator


Copyright © 2010. All Rights Reserved.