ePOST API

rice.pastry.direct
Class GenericNetwork

java.lang.Object
  extended by rice.pastry.direct.BasicNetworkSimulator
      extended by rice.pastry.direct.GenericNetwork
All Implemented Interfaces:
NetworkSimulator

public class GenericNetwork
extends BasicNetworkSimulator


Nested Class Summary
static class GenericNetwork.Coordinate
           
 
Field Summary
 java.util.Vector assignedIndices
           
 java.lang.String inFile_Coord
           
 java.lang.String inFile_Matrix
           
static int MAXOVERLAYSIZE
           
 java.util.Hashtable nodePos
           
 java.lang.String outFile_RawGNPError
           
 
Fields inherited from class rice.pastry.direct.BasicNetworkSimulator
logger, manager, MIN_DELAY, random, taskQueue
 
Constructor Summary
GenericNetwork(Environment env)
           
 
Method Summary
 void computeRawGNPError()
           
 NodeRecord generateNodeRecord()
          Generates a random node record
 void readOverlayMatrix()
           
 void readOverlayPos()
           
 
Methods inherited from class rice.pastry.direct.BasicNetworkSimulator
deliverMessage, deliverMessage, deliverMessage, deliverMessageFixedRate, destroy, getClosest, getEnvironment, getTestRecord, isAlive, proximity, registerNode, removeNode, setTestRecord, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodePos

public java.util.Hashtable nodePos

MAXOVERLAYSIZE

public static int MAXOVERLAYSIZE

assignedIndices

public java.util.Vector assignedIndices

inFile_Matrix

public java.lang.String inFile_Matrix

inFile_Coord

public java.lang.String inFile_Coord

outFile_RawGNPError

public java.lang.String outFile_RawGNPError
Constructor Detail

GenericNetwork

public GenericNetwork(Environment env)
Method Detail

generateNodeRecord

public NodeRecord generateNodeRecord()
Description copied from interface: NetworkSimulator
Generates a random node record

Returns:

readOverlayMatrix

public void readOverlayMatrix()

readOverlayPos

public void readOverlayPos()

computeRawGNPError

public void computeRawGNPError()

ePOST API

Copyright © 2001-2005 - Rice Pastry.