bcds.phison.cmd
Class RndZoneMap

java.lang.Object
  extended by bcds.phison.cmd.RndZoneMap

public class RndZoneMap
extends java.lang.Object

Generates a "zone map" with random reliability data (MTTR, MTBF) of a given topology. Every link is placed within a "zone" with randomly-generated MTTR and MTBF The inputs are (among others): a) the mean length of the cable-cut "segment" b) the variation of (a), either as a percentaje (when sigma_cc < 1.0) or as an absolute number. (a) and (b) are used as parameter for a gaussian random generator. c) the range of MTTR values from which to draw a uniformly-distributed random MTTR. The output goes to stdout.


Constructor Summary
RndZoneMap()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void parseArgs(java.lang.String[] args)
           
 void readGraph()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RndZoneMap

public RndZoneMap()
Method Detail

readGraph

public void readGraph()

parseArgs

public void parseArgs(java.lang.String[] args)

run

public void run()

main

public static void main(java.lang.String[] args)