Rice Pastry API

rice.pastry.direct
Class EuclideanNetwork

java.lang.Object
  extended byrice.pastry.direct.GeometricNetworkSimulator
      extended byrice.pastry.direct.EuclideanNetwork
All Implemented Interfaces:
NetworkSimulator

public class EuclideanNetwork
extends GeometricNetworkSimulator

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 2860 2005-12-20 10:08:14Z jeffh $
Author:
Andrew Ladd, Rongmei Zhang

Field Summary
 
Fields inherited from class rice.pastry.direct.GeometricNetworkSimulator
logger, msgQueue, random, taskQueue
 
Constructor Summary
EuclideanNetwork(Environment env)
          Constructor.
 
Method Summary
 NodeRecord generateNodeRecord()
          DESCRIBE THE METHOD
 
Methods inherited from class rice.pastry.direct.GeometricNetworkSimulator
deliverMessage, deliverMessage, deliverMessage, deliverMessageFixedRate, destroy, getClosest, getEnvironment, getTestRecord, isAlive, proximity, registerNode, removeNode, setTestRecord, simulate, simulate, simulateFor, simulateUntil
 
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.

Parameters:
env - DESCRIBE THE PARAMETER
Method Detail

generateNodeRecord

public NodeRecord generateNodeRecord()
DESCRIBE THE METHOD

Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection