Rice Pastry API

rice.pastry.direct
Class EuclideanNetwork<Identifier,MessageType>

java.lang.Object
  extended by rice.pastry.direct.NetworkSimulatorImpl<Identifier,MessageType>
      extended by rice.pastry.direct.EuclideanNetwork<Identifier,MessageType>
All Implemented Interfaces:
NetworkSimulator<Identifier,MessageType>

public class EuclideanNetwork<Identifier,MessageType>
extends NetworkSimulatorImpl<Identifier,MessageType>

Euclidean network topology and idealized node life. Emulates a network of nodes that are randomly placed in a plane. Proximity is based on euclidean distance in the plane.

Version:
$Id: EuclideanNetwork.java 3926 2007-10-24 15:44:09Z jeffh $
Author:
Andrew Ladd, Rongmei Zhang

Field Summary
 
Fields inherited from class rice.pastry.direct.NetworkSimulatorImpl
generator, livenessProvider, random, simulator
 
Constructor Summary
EuclideanNetwork(Environment env)
          Constructor.
 
Method Summary
 
Methods inherited from class rice.pastry.direct.NetworkSimulatorImpl
addSimulatorListener, destroy, enqueueDelivery, generateNodeRecord, getClosest, getEnvironment, getGenericSimulator, getLivenessProvider, getNodeRecord, getTestRecord, isAlive, networkDelay, notifySimulatorListenersReceived, notifySimulatorListenersSent, proximity, registerNode, removeNode, removeSimulatorListener, setFullSpeed, setMaxSpeed, setTestRecord, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EuclideanNetwork

public EuclideanNetwork(Environment env)
Constructor.


Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection