bcds.phison.cmd
Class PrintJDD<V,E>

java.lang.Object
  extended by bcds.phison.cmd.PrintJDD<V,E>

public class PrintJDD<V,E>
extends java.lang.Object

/** Prints the joint degree distribution (JDD) of a given topology. It uses the AverageNeighborConnectivity graph metric. The output is as follows:

 # BEGIN topology
 topology_name
 # END topology
 # 
 # BEGIN values
 K1 K2 JDD
 ...
 Kn Kn JDD
 # END values 
 

Author:
mmanzano

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

Constructor Detail

PrintJDD

public PrintJDD()
Method Detail

readGraph

public void readGraph()

parseArgs

public void parseArgs(java.lang.String[] args)
Checks the arguments passed to PrintJDD. The topology file name is the only one needed.


run

public void run()

main

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